* term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
832966e5
JD
12013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2
3 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4 and default-process-coding-system to utf-8-unix (Bug#15402).
5
6cfe977d
XF
62013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7
8 * subr.el (looking-back): Do not recommend using looking-back.
9
38de11bd
AM
102013-09-28 Alan Mackenzie <acm@muc.de>
11
12 Fix indentation/fontification of Java enum with "implements".
13
14 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
15 regexp which matches "implements", etc., in Java.
16 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17 specifier clauses coming after "enum".
18 * progmodes/cc-fonts.el (c-font-lock-declarations)
19 (c-font-lock-enum-tail): Check for extra specifier clauses coming
20 after "enum".
21
1610938f
JD
222013-09-28 Jan Djärv <jan.h.d@swipnet.se>
23
24 * faces.el (region): Change ns_selection_color to
25 ns_selection_fg_color, add ns_selection_bg_color.
26
e090f499
LL
272013-09-28 Leo Liu <sdl.web@gmail.com>
28
4d2e94d1
LL
29 * progmodes/octave.el (inferior-octave-completion-table)
30 (inferior-octave-completion-at-point): Minor tweaks.
31
e090f499
LL
32 * textmodes/ispell.el (ispell-lookup-words): Rename from
33 lookup-words. (Bug#15460)
34 (lookup-words): Obsolete.
35 (ispell-complete-word, ispell-command-loop): All uses changed.
36
7e138a62
RS
372013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
38
39 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
40 (octave-mode-menu): Add octave-send-buffer.
41 (octave-send-buffer): New function.
42
5af5ed08
RS
432013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
44
45 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
46 octave-lookfor.
47 (octave-mode-menu): Add octave-lookfor.
48 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
49 octave-lookfor.
50 (octave-lookfor): New function.
51
3b7b2692
SM
522013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
53
54 * emacs-lisp/cl-macs.el:
55 (cl--loop-destr-temps): Remove.
56 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
57 its convention.
58 (cl--loop-set-iterator-function): New function.
59 (cl-loop): Adjust accordingly, so as not to use cl-subst.
60 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
61 Bind `it' with `let' instead of substituting it with `cl-subst'.
62 (cl--unused-var-p): New function.
63 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
64 Eliminate some unused variable warnings (bug#15326).
65
529fb53f
TH
662013-09-27 Tassilo Horn <tsdh@gnu.org>
67
68 * doc-view.el (doc-view-scale-reset): Rename from
69 `doc-view-reset-zoom-level'.
70 (doc-view-scale-adjust): New command.
71 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
72 `doc-view-scale-adjust'.
73
0550c95a
TH
742013-09-26 Tassilo Horn <tsdh@gnu.org>
75
76 * doc-view.el (doc-view-reset-zoom-level): New command.
77 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
78 zoom commands (bug#15466).
79
6950f152
KH
802013-09-26 Kenichi Handa <handa@gnu.org>
81
82 * international/quail.el (quail-help): Make it not a command.
83
39587580
LL
842013-09-26 Leo Liu <sdl.web@gmail.com>
85
86 * minibuffer.el (completion-all-sorted-completions): Make args
87 optional as they are.
88
00578659
DC
892013-09-25 Daniel Colascione <dancol@dancol.org>
90
91 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
92 specs are and that they're not evaluated.
93
0c173878
SS
942013-09-24 Sam Steingold <sds@gnu.org>
95
96 * midnight.el (clean-buffer-list-kill-regexps)
97 (clean-buffer-list-kill-buffer-names): Update for the new Man
98 buffer naming which includes the object name.
99
84998447
SM
1002013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * eshell/esh-cmd.el (eshell--sep-terms): New var.
103 (eshell-parse-command, eshell-parse-pipeline): Use it since
104 eshell-separate-commands requires a dynamic scoped var.
105 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
106
33215353
LL
1072013-09-23 Leo Liu <sdl.web@gmail.com>
108
109 * autoinsert.el (auto-insert-alist): Make the value of
110 lexical-binding match its file setting.
111
57b16162
JB
1122013-09-23 Juanma Barranquero <lekktu@gmail.com>
113
c8af4e67
JB
114 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
115
57b16162
JB
116 * autoarg.el (autoarg-kp-digit-argument):
117 * electric.el (Electric-command-loop):
118 * kmacro.el (kmacro-step-edit-insert):
119 Do not set universal-argument-num-events.
120
7186ba60
LL
1212013-09-22 Leo Liu <sdl.web@gmail.com>
122
123 * files.el (interpreter-mode-alist): Add octave.
124
ece15004
AM
1252013-09-21 Alan Mackenzie <acm@muc.de>
126
127 C++: fontify identifier in declaration following "public:" correctly.
128 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
129 to match "public", etc.
130 (c-decl-prefix-re): Add ":" into the C++ value.
131 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
132 bit. Add a check for a ":" preceded by "public", etc.
133
75d83e22
EZ
1342013-09-21 Eli Zaretskii <eliz@gnu.org>
135
136 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
137 recognized by GDB 7.5 and later.
138
d052d3bd
XF
1392013-09-21 Xue Fuqiao <xfq.free@gmail.com>
140
141 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
142
31dca772
R
1432013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * subr.el (internal--call-interactively): New const.
146 (called-interactively-p): Use it (bug#3984).
147
98ccf24e
XF
1482013-09-20 Xue Fuqiao <xfq.free@gmail.com>
149
150 * vc/pcvs.el (cvs-mode-ignore):
151 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore): Rename
152 cvs-append-to-ignore to vc-cvs-append-to-ignore.
153
c39cc7d1
SM
1542013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
155
156 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
157 (eshell-ls-orig-insert-directory): Remove.
158 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
159 (eshell-ls-use-in-dired): Use advice-add/remove.
160 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
161 Add `orig-fun' arg for use in :around advice.
162 Make it check (redundantly) eshell-ls-use-in-dired.
163
9a0289a2
GM
1642013-09-19 Glenn Morris <rgm@gnu.org>
165
a2c501b8
GM
166 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
167
c440407a
GM
168 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
169
9a0289a2
GM
170 * emacs-lisp/eieio.el (class-parent): Undo previous change.
171
85e05915
MA
1722013-09-19 Michael Albinus <michael.albinus@gmx.de>
173
174 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
175 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
176 (tramp-get-remote-python): New defuns.
177 (tramp-get-remote-uid-with-perl)
178 (tramp-get-remote-gid-with-perl): New defuns. Perl code
179 contributed by yary <not.com@gmail.com> (tiny change).
180 (tramp-get-remote-uid-with-python)
181 (tramp-get-remote-gid-with-python): New defuns. Python code
182 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
183 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
184
ce503312
GM
1852013-09-19 Glenn Morris <rgm@gnu.org>
186
f7544773
GM
187 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
188
72fd2877
GM
189 * eshell/em-unix.el (eshell-remove-entries):
190 Rename argument to avoid name-clash with global `top-level'.
191
336b5a56
GM
192 * eshell/esh-proc.el (eshell-kill-process-function):
193 Remove eshell-reset-after-proc from eshell-kill-hook if present.
194 (eshell-reset-after-proc): Remove unused arg `proc'.
195
57a3a53d
GM
196 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
197 (directory-files-and-attributes): Mark unused arg.
198
3261d4af
GM
199 * eshell/em-unix.el (eshell-remove-entries):
200 Remove unused arg `path'. Update callers.
201
8e51b5d0
GM
202 * eshell/em-hist.el (eshell-hist-parse-arguments):
203 Remove unused arg `silent'. Update callers.
204
ce503312
GM
205 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
206 Fix (f)boundp mix-up.
207
208 * eshell/em-smart.el (eshell-smart-scroll-window)
209 (eshell-disable-after-change):
336b5a56 210 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 211
ee3ce8a7
AM
2122013-09-18 Alan Mackenzie <acm@muc.de>
213
214 Fix fontification of type when followed by "const".
215 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
216 "known" types from fontification.
217
ec9177ba
GM
2182013-09-18 Glenn Morris <rgm@gnu.org>
219
7bb3e768
GM
220 * emacs-lisp/chart.el (x-display-color-cells): Declare.
221 (chart-face-list): Drop Emacsen without display-color-p.
222
5148da15
GM
223 * net/eww.el (libxml-parse-html-region): Declare.
224 (eww-display-html): Explicit error if no libxml2 support.
225
2f68e157
GM
226 * doc-view.el (doc-view-mode): Silence --without-x compilation.
227
9019d095
GM
228 * image.el (image-type-from-buffer, image-multi-frame-p):
229 Remove --without-x warning/error.
67645389 230
5f30349b 231 * mouse.el (mouse-yank-primary):
45069b2e 232 * term.el (term-mouse-paste):
5f30349b
GM
233 Reorder to silence --without-x compilation.
234
cd8edbbe
GM
235 * mpc.el (doc-view-mode): Silence --without-x compilation.
236
8a78544e
GM
237 * mail/rmailmm.el (rmail-mime-set-bulk-data):
238 Silence --without-x compilation.
239
12679bfd
GM
240 * progmodes/gud.el (gud-find-file, gud-mode):
241 Silence --without-x compilation.
242 (tooltip-mode): Declare.
30810a05 243
f0047cb9
GM
244 * wdired.el (dired-backup-overwrite): Remove declaration.
245 (wdired-mode-map): Add doc string.
246
e740f9d2
GM
247 * custom.el (x-get-resource): Declare.
248
92d77c89
GM
249 * eshell/em-glob.el (ange-cache):
250 * eshell/em-unix.el (ange-cache): Declare.
251
76e69577
GM
252 * faces.el (x-display-list, x-open-connection, x-get-resource):
253 Declare.
7e58af4b
GM
254
255 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
256 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
257 Declare.
76e69577 258
4bd4c0af 259 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 260
ffb82dbd
GM
261 * net/gnutls.el (gnutls-log-level): Declare.
262
986ed135
GM
263 * net/shr.el (image-size, image-animate): Declare.
264
e740f9d2
GM
265 * simple.el (font-info): Declare.
266
d2f3e9f8
GM
267 * subr.el (x-popup-dialog): Declare.
268
047a1a4c
GM
269 * term/common-win.el (x-select-enable-primary)
270 (x-last-selected-text-primary, x-last-selected-text-clipboard):
271 Declare.
272
f4a1d572
GM
273 * term/ns-win.el (x-handle-args): Declare.
274
e843de77
GM
275 * term/x-win.el (x-select-enable-clipboard): Declare.
276
5fa89513
GM
277 * term/w32-win.el (create-default-fontset): Declare.
278
38702b5b
GM
279 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
280 Declare.
281
e740f9d2
GM
282 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
283 (fit-frame-to-buffer): Explicit error if --without-x.
284 (mouse-autoselect-window-select): Silence compiler.
285
49a053fc
GM
286 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
287
288 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
289 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
290 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 291 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
292 Remove unused local variables.
293
294 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
295
ec9177ba
GM
296 * textmodes/two-column.el: Make 2C-split work for --without-x.
297 (scroll-bar-columns): Autoload.
298 (top-level): Require fringe when compiling.
299
9f25cb77
LL
3002013-09-18 Leo Liu <sdl.web@gmail.com>
301
302 * subr.el (add-hook): Robustify to handle closure as well.
303
2b42da98
GM
3042013-09-17 Glenn Morris <rgm@gnu.org>
305
306 * simple.el (messages-buffer-mode-map): Unbind "g".
307
e8b66a6a
SM
3082013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
309
9c0ad4f7
SM
310 * help-mode.el (help-mode-finish): Use derived-mode-p.
311 Remove obsolete highlighting.
312
7a806dfb
SM
313 * play/life.el (life-mode): Use define-derived-mode. Derive from
314 special-mode.
315 (life): Let-bind inhibit-read-only.
316 (life-setup): Avoid `setq'. Use `life-mode'.
317
96dbf5a8
SM
318 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
319 which should not be needed any more.
320 (package-menu-refresh, package-menu-describe-package): Use user-error.
321
e8b66a6a
SM
322 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
323 (eshell-post-rewrite-command-hook): Make obsolete.
324 (eshell-parse-command): Simplify.
325 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
326 (eshell--cmd): Declare.
327 (eshell-parse-pipeline): Remove unused var `final-p'.
328 Pass a dynvar to eshell-post-rewrite-command-hook.
329 Implement the new eshell-post-rewrite-command-function.
330 (eshell-invoke-directly): Remove unused arg `input'.
331 * eshell/esh-io.el (eshell-io-initialize):
332 Use eshell-post-rewrite-command-function (bug#15399).
333 (eshell--apply-redirections): Rename from eshell-apply-redirections;
334 adjust to new calling convention.
335 (eshell-create-handles): Rename args to avoid clashing with dynvar
336 `standard-output'.
337
90582f05
GM
3382013-09-17 Glenn Morris <rgm@gnu.org>
339
340 * simple.el (messages-buffer-mode): New major mode.
341 (messages-buffer): New function.
342 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
343 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 344 (ert-run-test): Use `messages-buffer' function.
90582f05 345 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
346 * help.el (view-echo-area-messages): Use `messages-buffer' function.
347 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 348
39eb0cb5 3492013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
350
351 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
352
1f1e06e2
SM
353 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
354
70568a90
SM
3552013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
356
504a0381
SM
357 * icomplete.el (icomplete-in-buffer): New var.
358 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
359 vars and replace them with functions.
360 (icomplete-minibuffer-setup): Adjust accordingly.
361 (icomplete--completion-table, icomplete--completion-predicate)
362 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
363 New functions.
364 (icomplete-forward-completions, icomplete-backward-completions)
365 (icomplete-simple-completing-p, icomplete-exhibit)
366 (icomplete-completions): Use them.
367 (icomplete--in-region-buffer): New var.
368 (icomplete--in-region-setup): New function.
369 (icomplete-mode): Use it.
370
70568a90
SM
371 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
372 (bug#15379).
373 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
374 return args and options.
375 (eshell-eval-using-options): Use the new return value of
376 eshell--do-opts to set the options's vars in their scope.
377 (eshell--set-option): Rename from eshell-set-option.
378 Add arg `opt-vals'.
379 (eshell--process-option): Rename from eshell-process-option.
380 Add arg `opt-vals'.
381 (eshell--process-args): Use an `opt-vals' alist to store the options's
382 values during their processing and return them additionally to the
383 remaining args.
384
578c21bc
DG
3852013-09-15 Dmitry Gutov <dgutov@yandex.ru>
386
387 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
388 continuation character an operator, as far as indentation is
389 concerned (Bug#15369).
390
c089653d
MR
3912013-09-15 Martin Rudalics <rudalics@gmx.at>
392
393 * window.el (window--state-put-2): Don't process buffer state
394 when buffer doesn't exist any more (Bug#15382).
395
1e53bb4b
GM
3962013-09-15 Glenn Morris <rgm@gnu.org>
397
30753242
GM
398 * eshell/em-unix.el (eshell/rm):
399 Make -f ignore missing files. (Bug#15373)
400
1e53bb4b
GM
401 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
402 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
403 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
404
0d8863b3
GM
4052013-09-14 Glenn Morris <rgm@gnu.org>
406
407 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
408
d3fc6549
GM
4092013-09-13 Glenn Morris <rgm@gnu.org>
410
411 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
412 (dired-guess-default): Make `file' available in the env. (Bug#15363)
413
fcd42c11
DA
4142013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
415
416 * frame.el (x-focus-frame): Mark as declared in frame.c.
417
7830899f
SM
4182013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * ls-lisp.el: Use advice-add.
421 (original-insert-directory): Remove.
422 (ls-lisp--insert-directory): Rename from insert-directory; add
423 `orig-fun' argument.
424 (insert-directory): Advise.
425
84387cd2
EZ
4262013-09-13 Eli Zaretskii <eliz@gnu.org>
427
428 * term.el (term-emulate-terminal): Decode the command string
429 before passing it to term-command-hook. (Bug#15337)
430
35ffc6ba
GM
4312013-09-13 Glenn Morris <rgm@gnu.org>
432
5c3f9bcc
GM
433 * eshell/esh-util.el (ange-cache): Move declaration earlier.
434
2ada368a
GM
435 * eshell/esh-ext.el (eshell-search-path): Declare.
436
fcef2e13
GM
437 * eshell/em-prompt.el (eshell/pwd): Autoload it.
438 Otherwise an error occurs if eshell-dirs module not loaded.
439
35ffc6ba
GM
440 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
441
35c3d36e
MA
4422013-09-13 Michael Albinus <michael.albinus@gmx.de>
443
444 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
445 `tramp-check-proper-host'. Check for a valid method name.
446
447 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
448 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
449 * net/tramp-sh.el (tramp-maybe-open-connection):
450 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
451
452 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
453 also for hash values.
454
ae5e4c48
SM
4552013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
456
379add74
SM
457 * term/ns-win.el (parameters): Don't declare as dynamic.
458 (before-make-frame-hook): Don't add ineffective function.
459
ae5e4c48
SM
460 * eshell/*.el: Use lexical-binding (bug#15231).
461
b5623270
KH
4622013-09-12 Kenichi Handa <handa@gnu.org>
463
ae5e4c48 464 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 465
30213927
GM
4662013-09-12 Glenn Morris <rgm@gnu.org>
467
be94d713 468 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 469 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 470
44915370
GM
471 * subr.el (do-after-load-evaluation): Also give compiler warnings
472 when obsolete files are used (except by obsolete files).
473
a6ae021f
GM
474 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
475 in the status output, assume `filename' is the first. (Bug#15322)
476
40e64f0c
GM
477 * vc/vc.el (vc-deduce-fileset): Doc fix.
478
16d9f896
GM
479 * calc/calc-help.el (Info-goto-node):
480 * progmodes/cperl-mode.el (Info-find-node):
481 * vc/ediff.el (Info-goto-node): Update declarations.
482
dea01c6e
GM
483 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
484
759880bf 485 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
486 (vc-bzr-pull): Require vc-dispatcher.
487 * vc/vc-git.el (vc-compilation-mode): Declare.
488 (vc-git-pull): Require vc-dispatcher.
489
08d66420
GM
490 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
491
30b626e9
GM
492 * progmodes/octave.el (help-button-action): Declare.
493
8c05cb10
GM
494 * shell.el (shell-directory-tracker): Output error as a message
495 rather than just returning it as a string.
496 (shell-process-pushd): Remove useless use of message.
497
30213927
GM
498 * dframe.el (dframe-timer-fn):
499 * files.el (dir-locals-read-from-file):
500 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
501 (mpc-format):
502 * reveal.el (reveal-post-command):
503 * saveplace.el (load-save-place-alist-from-file):
504 * shell.el (shell-resync-dirs):
505 * w32-common-fns.el (x-get-selection-value):
506 * emacs-lisp/copyright.el (copyright-find-copyright):
507 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
508 * emulation/tpu-edt.el (tpu-copy-keyfile):
509 * play/bubbles.el (bubbles--mark-neighbourhood):
510 * progmodes/executable.el
511 (executable-make-buffer-file-executable-if-script-p):
512 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
513
d3b049e6
SM
5142013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
515
170266d0
SM
516 Cleanup Eshell to rely less on dynamic scoping.
517 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
518 last-value, and ext-command here. Bind `args' closer to `body'.
519 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
520 (eshell--args): Declare new dynamic var.
521 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
522 last-value, and ext-command. Pass `args' to `body'.
523 (eshell-process-args): Bind eshell--args.
524 (eshell-set-option): Use eshell--args.
525 * eshell/eshell.el (eshell): Use derived-mode-p.
526 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
527 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
528 (eshell-glob-function): Declare.
529 * eshell/esh-util.el: Require cl-lib.
530 (eshell-read-hosts-file): Avoid add-to-list.
531 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
532 `err'.
533 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
534 Declare.
535 (eshell/diff): Remove unused var `err'.
536 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
537 `killflag'.
538 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
539 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
540 first use.
541 * eshell/em-glob.el (eshell-glob-matches, message-shown):
542 Move declaration before first use.
543 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
544 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
545 rely on cl-return.
546
56834f3b
GM
5472013-09-12 Glenn Morris <rgm@gnu.org>
548
549 * term/ns-win.el (global-map): Remove binding for ispell-next,
550 deleted 1999-05-29. (Bug#15357)
551
5c91a2b8
GM
5522013-09-11 Glenn Morris <rgm@gnu.org>
553
da712f22
GM
554 * echistory.el (electric-command-history): Remove call to deleted func.
555
512e4cdc
GM
556 * play/landmark.el (landmark-mode): Fix typos.
557
d3506ca5
GM
558 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
559 Check cvs-sort-ignore-file is bound.
560
5c91a2b8
GM
561 * savehist.el: No need for cl when compiling on Emacs.
562
feeff482
SM
5632013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
564
656bd483
SM
565 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
566 (bug#15338).
d3b049e6
SM
567 (eshell-self-insert-command, eshell-send-invisible):
568 Remove unused argument.
656bd483
SM
569 (eshell-handle-control-codes): Remove unused var `orig'.
570 Avoid delete-backward-char.
571
feeff482
SM
572 * files.el (set-auto-mode): Simplify a bit further.
573
2a08047a
GM
5742013-09-11 Glenn Morris <rgm@gnu.org>
575
576 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
577 (set-auto-mode): Don't regexp-quote elements.
578 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
579 * progmodes/cc-mode.el (interpreter-mode-alist):
580 * progmodes/ruby-mode.el (interpreter-mode-alist):
581 Revert previous change.
582
34675540
SM
5832013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
584
1b3b87df
SM
585 * play/snake.el (snake-mode):
586 * play/mpuz.el (mpuz-mode):
587 * play/landmark.el (lm-mode):
588 * play/blackbox.el (blackbox-mode):
589 * play/5x5.el (5x5-mode):
590 * obsolete/options.el (Edit-options-mode):
591 * net/quickurl.el (quickurl-list-mode):
592 * net/newst-treeview.el (newsticker-treeview-mode):
593 * mail/rmailsum.el (rmail-summary-mode):
594 * mail/mspools.el (mspools-mode):
595 * locate.el (locate-mode):
596 * ibuffer.el (ibuffer-mode):
597 * emulation/ws-mode.el (wordstar-mode):
598 * emacs-lisp/debug.el (debugger-mode):
599 * array.el (array-mode):
600 * net/eudc.el (eudc-mode): Use define-derived-mode.
601 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
602 Move initialization into declaration.
603 (mairix-searches-mode): Use define-derived-mode.
604 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
605 (eudc-edit-hotlist): Use dolist.
606 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
607 (Man-mode): Use define-derived-mode.
608 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
609 (Info-edit-mode): Use define-derived-mode.
610 (Info-cease-edit): Use Info-mode.
611 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
612 into declaration.
613 (eshell-mode): Use define-derived-mode.
614 * chistory.el (command-history-mode-map): Rename from
615 command-history-map.
616 (command-history-mode): Use define-derived-mode.
da712f22 617 (Command-history-setup): Remove function.
1b3b87df
SM
618 * calc/calc.el (calc-trail-mode-map): New var.
619 (calc-trail-mode): Use define-derived-mode.
620 (calc-trail-buffer): Set calc-main-buffer manually.
621 * bookmark.el (bookmark-insert-annotation): New function.
622 (bookmark-edit-annotation): Use it.
623 (bookmark-edit-annotation-mode): Make it a proper major mode.
624 (bookmark-send-edited-annotation): Use derived-mode-p.
625 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
626 closer to its ideal place. Use \' to match EOS.
627
34675540
SM
628 * profiler.el (profiler-calltree-find): Use function-equal.
629
6a5c15d9
GM
6302013-09-10 Glenn Morris <rgm@gnu.org>
631
1af4c220
GM
632 * files.el (interpreter-mode-alist): Convert to regexps.
633 (set-auto-mode): Adapt for this. (Bug#15306)
634 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
635 Comment out unused variable.
636 * progmodes/cc-mode.el (interpreter-mode-alist):
637 * progmodes/python.el (interpreter-mode-alist):
638 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
639 * progmodes/sh-script.el (sh-set-shell):
640 No longer use interpreter-mode-alist to get list of shells.
641
6a5c15d9
GM
642 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
643
8c27f5ff
SM
6442013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
645
02ef6c1a 646 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 647 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
648 Bind switch-frame explicitly. Replace universal-argument-minus with
649 a conditional binding.
650 (universal-argument-num-events, saved-overriding-map): Remove.
651 (restore-overriding-map): Remove.
652 (universal-argument--mode): Rename from save&set-overriding-map,
653 and rewrite.
654 (universal-argument, universal-argument-more, negative-argument)
655 (digit-argument): Adjust accordingly.
656 (universal-argument-minus): Remove.
657 (universal-argument-other-key): Remove.
658
8c27f5ff
SM
659 * subr.el (with-demoted-errors): Add `format' argument.
660
6480194c
MA
6612013-09-10 Michael Albinus <michael.albinus@gmx.de>
662
663 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
664 `tramp-cleanup-connection'.
665
666 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
667 parameters KEEP-DEBUG and KEEP-PASSWORD.
668
669 * net/tramp.el (tramp-file-name-handler):
670 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
671 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
672 (tramp-maybe-open-connection):
8c27f5ff
SM
673 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
674 Use `tramp-cleanup-connection'.
6480194c 675
8c27f5ff
SM
676 * net/tramp-sh.el (tramp-maybe-open-connection):
677 Catch 'uname-changed inside the progress reporter.
6480194c 678
e5e916d8
GM
6792013-09-10 Glenn Morris <rgm@gnu.org>
680
9a2c9b47
GM
681 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
682
e5e916d8
GM
683 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
684 returns "alternate access method" in mode (eg "-rw-r--r--.").
685
144e38fe
GM
6862013-09-08 Glenn Morris <rgm@gnu.org>
687
688 * saveplace.el (load-save-place-alist-from-file):
689 Demote errors. (Bug#15305)
690
af9ff9e8
MA
6912013-09-08 Michael Albinus <michael.albinus@gmx.de>
692
693 Improve compatibility with older Emacsen, and XEmacs.
694
695 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
696 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
697 (with-tramp-progress-reporter): Do not let-bind `result'.
698 This yields to scoping errors in XEmacs.
af9ff9e8
MA
699 (tramp-handle-make-auto-save-file-name): New function, moved from
700 tramp-sh.el.
701
702 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
703 for `make-auto-save-file-name'.
8c27f5ff
SM
704 (tramp-adb--gnu-switches-to-ash):
705 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
706
707 * net/tramp-cache.el (tramp-cache-print): Call
708 `substring-no-properties' only if it is bound. It isn't for XEmacs.
709
710 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
711 bound. It isn't for XEmacs.
712
8c27f5ff
SM
713 * net/tramp-compat.el (tramp-compat-copy-file):
714 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
715 (tramp-compat-replace-regexp-in-string): New defun.
716
717 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
718 for `make-auto-save-file-name'.
719 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
720 `copy-file'.
721 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
722 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
723 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
724
8c27f5ff
SM
725 * net/tramp-gw.el (tramp-gw-open-network-stream):
726 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 727
8c27f5ff
SM
728 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
729 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
730 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
731 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
732 (tramp-sh-file-inotifywait-process-filter):
733 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
734 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
735
736 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
737 for `make-auto-save-file-name'.
8c27f5ff
SM
738 (tramp-smb-handle-copy-directory):
739 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
740 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
741 (tramp-smb-handle-copy-file): Improve error message.
742 (tramp-smb-handle-rename-file): Rename directly only in case
743 `newname' does not exist yet. This is a restriction of smbclient.
744 (tramp-smb-maybe-open-connection): Rerun the function only when
745 `auth-sources' is non-nil.
746
0ca754d0
KH
7472013-09-08 Kenichi Handa <handa@gnu.org>
748
749 * international/characters.el: Set category "^" (Combining) for
750 more characters.
751
e8dd0787
AM
7522013-09-07 Alan Mackenzie <acm@muc.de>
753
754 Correctly fontify Java class constructors.
755 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
756 in Java Mode.
757 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
758 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
759 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
760 "typeless" declaration there.
761
f2f248e7
RW
7622013-09-07 Roland Winkler <winkler@gnu.org>
763
764 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
765 field subtitle for entry type book.
766
67982e2b
SM
7672013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * minibuffer.el: Make minibuffer-complete call completion-in-region
770 rather than other way around.
771 (completion--some, completion-pcm--find-all-completions):
772 Don't delay signals when debugging.
773 (minibuffer-completion-contents): Beware fields within the
774 minibuffer contents.
775 (completion-all-sorted-completions): Use defvar-local.
776 (completion--do-completion, completion--cache-all-sorted-completions)
777 (completion-all-sorted-completions, minibuffer-force-complete):
778 Add args `beg' and `end'.
779 (completion--in-region-1): New fun, extracted from minibuffer-complete.
780 (minibuffer-complete): Use completion-in-region.
781 (completion-complete-and-exit): New fun, extracted from
782 minibuffer-complete-and-exit.
783 (minibuffer-complete-and-exit): Use it.
784 (completion--complete-and-exit): Rename from
785 minibuffer--complete-and-exit.
786 (completion-in-region--single-word): New function, extracted from
787 minibuffer-complete-word.
788 (minibuffer-complete-word): Use it.
789 (display-completion-list): Make `common-substring' argument obsolete.
790 (completion--in-region): Call completion--in-region-1 instead of
791 minibuffer-complete.
792 (completion-help-at-point): Pass boundaries to
793 minibuffer-completion-help as args rather than via an overlay.
794 (completion-pcm--string->pattern): Use `any-delim'.
795 (completion-pcm--optimize-pattern): New function.
796 (completion-pcm--pattern->regex): Handle `any-delim'.
797 * icomplete.el (icomplete-forward-completions)
798 (icomplete-backward-completions, icomplete-completions):
799 Adjust calls to completion-all-sorted-completions and
800 completion--cache-all-sorted-completions.
801 (icomplete-with-completion-tables): Default to t.
802 * emacs-lisp/crm.el (crm--current-element): Rename from
803 crm--select-current-element. Don't put an overlay but return the
804 boundaries instead.
805 (crm--completion-command): Take two new args to bind to the boundaries.
806 (crm-completion-help): Adjust accordingly.
807 (crm-complete): Use completion-in-region.
808 (crm-complete-word): Use completion-in-region--single-word.
809 (crm-complete-and-exit): Use completion-complete-and-exit.
810
e17d94a5
SM
8112013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
814 than dynamically.
815
96727100
JL
8162013-09-06 Juri Linkov <juri@jurta.org>
817
818 * info.el (Info-display-images-node): When image file doesn't exist
819 display text version of the image if it's provided in the Info file.
820 Otherwise, display the location of missing image from SRC attribute.
821 Add help-echo text property from ALT attribute. (Bug#15279)
822
86cf7329
SM
8232013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
826 (edit-abbrevs-mode): Use define-derived-mode.
827
828 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
829 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
830 that it's defined.
831 (epa-key-list-mode, epa-key-mode, epa-info-mode):
832 Use define-derived-mode.
833
834 * epg.el (epg-start-encrypt): Minor CSE simplification.
835
816244a2
WX
8362013-09-06 William Xu <william.xwl@gmail.com>
837
838 * arc-mode.el: Add support for 7za (bug#15264).
839 (archive-7z-program): New var.
840 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
841 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
842 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
843
1486fa31
MA
8442013-09-06 Michael Albinus <michael.albinus@gmx.de>
845
846 Remove URL syntax.
847
848 * net/tramp.el (tramp-syntax, tramp-prefix-format)
849 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
850 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
851 (tramp-postfix-host-format, tramp-file-name-regexp)
852 (tramp-completion-file-name-regexp)
853 (tramp-completion-dissect-file-name)
854 (tramp-handle-substitute-in-file-name): Remove 'url case.
855 (tramp-file-name-regexp-url)
856 (tramp-completion-file-name-regexp-url): Remove constants.
857
39785324
GM
8582013-09-06 Glenn Morris <rgm@gnu.org>
859
860 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
861
1f896cb7
DG
8622013-09-05 Dmitry Gutov <dgutov@yandex.ru>
863
864 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
865 keywords" below "here-doc beginnings" (Bug#15270).
866
c0458e0b
SM
8672013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
868
869 * subr.el (pop): Use `car-safe'.
870 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
871 to detect unused `pop' return value.
872
873 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
874 var `block-regexp'.
875 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
876 (python-fill-string): Remove unused var `marker'.
877 (python-skeleton-add-menu-items): Remove unused var `items'.
878
879 * international/mule-cmds.el: Require CL.
880 (find-coding-systems-for-charsets): Avoid add-to-list.
881 (sanitize-coding-system-list): New function, extracted from
882 select-safe-coding-system-interactively.
883 (select-safe-coding-system-interactively): Use it.
884 (read-input-method-name): Accept symbols for `default'.
885
886 * emacs-lisp/advice.el (defadvice): Add indent rule.
887
6c42fc3e
DH
8882013-09-05 Daniel Hackney <dan@haxney.org>
889
890 * dired-x.el:
891 * net/ange-ftp.el:
892 * net/browse-url.el:
893 * net/dbus.el:
894 * net/eudc.el:
895 * net/eudcb-ldap.el:
896 * net/eww.el:
897 * net/imap.el:
898 * printing.el:
899 * vc/ediff-diff.el:
900 * vc/ediff-init.el:
901 * vc/ediff-merg.el:
902 * vc/ediff-mult.el:
903 * vc/ediff-util.el:
904 * vc/ediff-wind.el:
905 * vc/ediff.el:
906 * vc/emerge.el:
907 * vc/pcvs.el:
908 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
909 byte compiler. Remove some unused let-bound variables.
910
4c528aab
SM
9112013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
912
913 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
914 a "ref-cell", since it gets better optimized (bug#14883).
915
bd15c390
GM
9162013-09-05 Glenn Morris <rgm@gnu.org>
917
918 * progmodes/cc-awk.el (c-forward-sws): Declare.
919
1c3ac2e5
GM
9202013-09-04 Glenn Morris <rgm@gnu.org>
921
922 * generic-x.el [rul-generic-mode]: Require cc-mode.
923 (c++-mode-syntax-table): Declare.
924 (rul-generic-mode-syntax-table): Init in the defvar.
925
52b1cc79
SM
9262013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
927
c828af56
SM
928 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
929 (vc-do-command, vc-set-async-update):
930 * vc/vc-mtn.el (vc-mtn-dir-status):
931 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
932 (vc-hg-pull, vc-hg-merge-branch):
933 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
934 (vc-git-merge-branch):
935 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
936 (vc-cvs-dir-status-files):
937 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
938 (vc-bzr-dir-status-files):
939 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
940 * vc/vc-annotate.el: Use lexical-binding.
941 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
942 (vc-sentinel-movepoint): Declare.
943 (vc-annotate): Don't use `goto-line'.
944 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
945 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
946 (vc-sentinel-movepoint): Declare.
947 * vc/vc-svn.el: Use lexical-binding.
948 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
949 * vc/vc-sccs.el:
950 * vc/vc-rcs.el: Use lexical-binding.
951
abae272c
SM
952 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
953 `deleted'. Don't drop errors silently.
954
52b1cc79
SM
955 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
956
63191d9f
XF
9572013-09-04 Xue Fuqiao <xfq.free@gmail.com>
958
959 * vc/vc.el (vc-ignore): Rewrite.
960 (vc-default-ignore): New function.
961 (vc-default-ignore-completion-table): Use find-ignore-file.
962
963 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
964 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
965 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
966 Remove. Most code moved to vc.el.
967
9d3f707c
SM
9682013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
969
abae272c 970 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
971 * net/tramp-smb.el (tramp-smb-get-file-entries):
972 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
973 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
974
fde38d49
SM
975 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
976 Update call to it.
977 (eww-change-select): Remove unused var `properties'.
978 (eww-make-unique-file-name): Remove unused var `base'.
979
980 * finder.el (finder-compile-keywords): Don't mess with windows.
981
84032db7
SM
982 * calculator.el (calculator-funcall): Fix typo in last change.
983
724f5e41
SM
984 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
985
14b511d4
SM
986 * emacs-lisp/package.el (package-activate-1): Don't let a missing
987 <pkg>-autoloads.el file stop us.
988
9d3f707c 989 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 990 warnings, and factor out common code.
9d3f707c 991
88527bc0
DG
9922013-09-03 Dmitry Gutov <dgutov@yandex.ru>
993
994 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
995 two-character operators and whether the character preceding them
996 changes their meaning (Bug#15208).
997
96edb677
FEG
9982013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
999
1000 Format code sent to Python shell for robustness.
9d3f707c
SM
1001 * progmodes/python.el (python-shell-buffer-substring):
1002 New function.
96edb677
FEG
1003 (python-shell-send-region, python-shell-send-buffer): Use it.
1004
95beaef3
MA
10052013-09-02 Michael Albinus <michael.albinus@gmx.de>
1006
1007 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1008 * net/tramp.el (tramp-user-error): ... here.
1009 (tramp-find-method, tramp-check-proper-host)
1010 (tramp-dissect-file-name, tramp-debug-message)
1011 (tramp-handle-shell-command):
1012 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1014
1015 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1016
f167c27b
MR
10172013-09-02 Martin Rudalics <rudalics@gmx.at>
1018
1019 * avoid.el (mouse-avoidance-point-position)
1020 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1021 returns nil.
1022
cd16c5f1
FEG
10232013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1024
1025 * progmodes/python.el (python-shell-completion-get-completions):
1026 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 1027 (python-nav-if-name-main): New command.
cd16c5f1 1028
e73c3a0d
GM
10292013-09-01 Glenn Morris <rgm@gnu.org>
1030
f8ccce03
GM
1031 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1032 Avoid leading space in $wins. Otherwise the sed command used by
1033 eg compile-main ends up containing "/*.el". (Bug#15170)
1034
e73c3a0d
GM
1035 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1036
415f808e
GM
10372013-08-30 Glenn Morris <rgm@gnu.org>
1038
1039 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1040 Fix is-this-a-directory logic. (Bug#15220)
1041
f069bba8
SM
10422013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1043
112798c1
SM
1044 * textmodes/css-mode.el: Use SMIE.
1045 (css-smie-grammar): New var.
1046 (css-smie--forward-token, css-smie--backward-token)
1047 (css-smie-rules): New functions.
1048 (css-mode): Use them.
1049 (css-navigation-syntax-table): Remove var.
1050 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1051 (css-indent-calculate, css-indent-line): Remove functions.
1052
1053 Misc changes to reduce use of `(lambda...); and other cleanups.
1054 * cus-edit.el: Use lexical-binding.
1055 (customize-push-and-save, customize-apropos)
1056 (custom-buffer-create-internal): Use closures.
1057 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1058 * progmodes/ada-xref.el: Use setq.
1059 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1060 * dframe.el: Use lexical-binding.
1061 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1062 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1063 * descr-text.el: Use lexical-binding.
1064 (describe-text-widget, describe-text-sexp, describe-property-list):
1065 Use closures.
1066 * comint.el (comint-history-isearch-push-state): Use a closure.
1067 * calculator.el: Use lexical-binding.
1068 (calculator-number-to-string): Make it work with lexical-binding.
1069 (calculator-funcall): Same and use cl-letf.
1070
2da4c3ab
SM
1071 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1072 (lisp--company-doc-string, lisp--company-location): New functions.
1073 (lisp-completion-at-point): Use them to improve Company support.
1074
f069bba8
SM
1075 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1076 params of lambda expressions.
1077 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1078 (ruby-smie--opening-pipe-p): New function.
1079 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1080 symbols and matched |...| for formal params.
1081 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1082 from being treated as hanging. Handle "rescue".
1083
6758b6a8
GM
10842013-08-29 Glenn Morris <rgm@gnu.org>
1085
1086 * progmodes/cc-engine.el (c-pull-open-brace):
1087 Move definition before use.
1088
e8dfd197
SM
10892013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1092 are immutable. Don't use `unsafe' any more.
1093 (cl--defsubst-expand): Don't substitute at the same time as keeping
1094 a residual unused let-binding. Don't use `unsafe' any more.
1095
cc585c96
GM
10962013-08-29 Glenn Morris <rgm@gnu.org>
1097
ba579ea6
GM
1098 * calendar/cal-china.el (calendar-chinese-year-cache):
1099 Recenter on 2015.
1100
8201a87e
GM
1101 * nxml/nxml-util.el (nxml-debug-clear-inside):
1102 Use cl-loop rather than loop.
1103
6ee877c7
GM
1104 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1105
cc585c96
GM
1106 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1107
27be8d39
GM
11082013-08-28 Glenn Morris <rgm@gnu.org>
1109
397440a1
GM
1110 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1111
2bb762d4
GM
1112 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1113
27be8d39
GM
1114 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1115
2d69b99e
SM
11162013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1117
f663baa7
SM
1118 * simple.el (repeat-complex-command--called-interactively-skip):
1119 New function.
1120 (repeat-complex-command): Use it (bug#14136).
1121
dd4f8b74
SM
1122 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1123 (c-define-abbrev-table): Add `doc' argument.
1124 (c-mode-abbrev-table, c++-mode-abbrev-table)
1125 (objc-mode-abbrev-table, java-mode-abbrev-table)
1126 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1127 (awk-mode-abbrev-table): Use it.
1128 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1129 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1130 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1131 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1132 Move initialization into the declaration; and remove any
1133 autoload cookie.
1134
b58969f7
SM
1135 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1136 and dynamic let binding.
1137
4021d6a6
SM
1138 * vc/smerge-mode.el: Remove redundant :group args.
1139
2d69b99e
SM
1140 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1141 to load-path.
1142
274919fd
JL
11432013-08-28 Juri Linkov <juri@jurta.org>
1144
1145 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1146 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1147 (isearch-other-meta-char): Handle an undefined shifted printing
1148 character by downshifting it. (Bug#15200)
1149
121f8c95
JL
11502013-08-28 Juri Linkov <juri@jurta.org>
1151
1152 * isearch.el (isearch-search): Change regexp error message for
1153 non-regexp searches. (Bug#15166)
1154
50b13cde
PE
11552013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1156
1157 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1158 for portability to hosts where /bin/sh has problems.
1159
95888bca
SM
11602013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1161
1162 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1163
bbe558f1
JL
11642013-08-27 Juri Linkov <juri@jurta.org>
1165
1166 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1167 in the keyboard macro. (Bug#15126)
1168
26f98a7d
JL
11692013-08-27 Juri Linkov <juri@jurta.org>
1170
1171 * isearch.el (isearch-quote-char): Comment out converting unibyte
1172 to multibyte, thus syncing with its `quoted-insert' counterpart.
1173 (Bug#15166)
1174
7c97d35e
MR
11752013-08-27 Martin Rudalics <rudalics@gmx.at>
1176
1177 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
1178 argument in call of get-largest-window (Bug#15185).
1179 Reported by Stephen Leake.
7c97d35e 1180
a0b5606e 11812013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
1182
1183 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1184
9e89d835
SM
11852013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1186
1187 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1188 from a matcher-function unless there's no more matches (bug#15161).
1189
78fc2530
MA
11902013-08-26 Michael Albinus <michael.albinus@gmx.de>
1191
1192 * minibuffer.el: Revert change from 2013-08-20.
1193
1194 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1195 with text property `tramp-default', if appropriate.
1196 (tramp-check-proper-host): New defun.
1197 (tramp-dissect-file-name): Do not check hostname. Revert change
1198 of 2013-03-18.
1199 (tramp-backtrace): Make VEC-OR-PROC optional.
1200
1201 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1202 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1203 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
1204 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1205 Apply `tramp-check-proper-host'.
78fc2530 1206
edca97cd
TH
12072013-08-26 Tassilo Horn <tsdh@gnu.org>
1208
1209 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1210 lambda expression in order to have `describe-variable' display it.
1211
df54bcbd
MA
12122013-08-26 Michael Albinus <michael.albinus@gmx.de>
1213
1214 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1215 BUF can be optional. (Bug#15186)
1216
eed99101
XF
12172013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1218
1219 * progmodes/flymake.el (flymake-get-real-file-name-function):
1220 Fix broken customization. (Bug#15184)
1221
b5eb9035
AM
12222013-08-25 Alan Mackenzie <acm@muc.de>
1223
8a51e842
AM
1224 Improve indentation of bracelists defined by macros (without "=").
1225
1226 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1227 expansion begins with "{", regard it as bracelist when it doesn't
1228 contain a ";".
1229
869455d4
AM
1230 Parse C++ inher-intro when there's a template split over 2 lines.
1231
1232 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1233 rigorously the search for "class" etc. followed by ":".
1234
1235 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1236 random languages a regexp which never matches rather than nil.
1237
b5eb9035
AM
1238 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1239
1240 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1241 (c-awk-regexp-one-line-possibly-open-char-list-re)
1242 (c-awk-one-line-possibly-open-regexp-re)
1243 (c-awk-one-line-non-syn-ws*-re): Remove.
1244 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1245 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1246 (c-awk-space*-unclosed-regexp-/-re): New constants.
1247 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1248 aren't regexp delimiters.
1249
1250 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1251 handling for a rare situation in AWK Mode involving unterminated
1252 strings/regexps.
1253
61611d54
GM
12542013-08-23 Glenn Morris <rgm@gnu.org>
1255
2d85dc34
GM
1256 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1257
cb8d2612
GM
1258 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1259
bb35f42f
GM
1260 * files.el (create-file-buffer): If the result would begin with
1261 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 1262
b9808e77
SM
12632013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1264
e3a66363
SM
1265 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1266 text-properties (bug#15155).
1267
b9808e77
SM
1268 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1269 exist any more.
1270 (calc-keypad-redraw): Remove unused var `pad'.
1271 (calc-keypad-press): Remove unused var `menu'.
1272
7fd5f65e
MR
12732013-08-23 Martin Rudalics <rudalics@gmx.at>
1274
b9808e77
SM
1275 * window.el (display-buffer-pop-up-frame):
1276 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
1277 use it as the new frame's buffer (Bug#15133).
1278
8352b530
SM
12792013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * calendar/timeclock.el: Minor cleanups.
1282 (timeclock-ask-before-exiting, timeclock-use-display-time):
1283 Use `symbol'.
1284 (timeclock-modeline-display): Define as alias before the
1285 actual definition.
1286 (timeclock-mode-line-display): Use define-minor-mode.
1287 (timeclock-day-list-template): Make it a function, add an argument.
1288 (timeclock-day-list-required, timeclock-day-list-length)
1289 (timeclock-day-list-debt, timeclock-day-list-span)
1290 (timeclock-day-list-break): Adjust calls accordingly.
1291
9f7b1925
SM
12922013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1295 Use read--expression so that completion works again.
1296
6e50e983
SS
12972013-08-21 Sam Steingold <sds@gnu.org>
1298
1299 Add rudimentary inferior shell interaction
1300 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1301 (sh-set-shell): Reset it.
9f7b1925
SM
1302 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1303 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 1304
dbb0d350
SM
13052013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * align.el: Use lexical-binding.
1308 (align-region): Simplify accordingly.
1309
c88586a9
MA
13102013-08-20 Michael Albinus <michael.albinus@gmx.de>
1311
1312 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1313
1314 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1315 `non-essential' up.
1316
f95527c8
MA
13172013-08-17 Michael Albinus <michael.albinus@gmx.de>
1318
1319 * net/tramp.el:
1320 * net/tramp-adb.el:
1321 * net/tramp-cmds.el:
1322 * net/tramp-ftp.el:
1323 * net/tramp-gvfs.el:
1324 * net/tramp-gw.el:
1325 * net/tramp-sh.el: Don't wrap external variable declarations by
1326 `eval-when-compile'.
1327
4b5fe4ee
LMI
13282013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1329
1330 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1331 now that Emacs supports ImageMagick animations.
1332
13c366c9
MA
13332013-08-16 Michael Albinus <michael.albinus@gmx.de>
1334
1335 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1336 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1337
3dfc5cd6
MR
13382013-08-16 Martin Rudalics <rudalics@gmx.at>
1339
1340 * window.el (mouse-autoselect-window-select): Do autoselect when
1341 mouse pointer is on margin.
1342
4bbb4381
WP
13432013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1344
1345 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1346
3a2ddc2d
GM
13472013-08-16 Glenn Morris <rgm@gnu.org>
1348
e8bedf5a
GM
1349 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1350 Handle "Remote Directory" response of some clients. (Bug#15058)
1351
58c4682f
GM
1352 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1353 Tweak warning. (Bug#14926)
1354
57953f49
GM
1355 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1356 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1357
3a2ddc2d
GM
1358 * image-mode.el (image-mode-map): Add menu items to reverse,
1359 increase, decrease, reset animation speed.
1360 (image--set-speed, image-increase-speed, image-decrease-speed)
1361 (image-reverse-speed, image-reset-speed): New functions.
1362 (image-mode-map): Add bindings for speed commands.
1363
1364 * image.el (image-animate-get-speed, image-animate-set-speed):
1365 New functions.
1366 (image-animate-timeout): Respect image :speed property.
1367
10fa0ed3
SM
13682013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1369
1370 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1371 previous line (bug#15101).
1372 (debugger-eval-expression, debugger-record-expression):
1373 Use read--expression (bug#15102).
1374
5d89d9d2
MA
13752013-08-15 Michael Albinus <michael.albinus@gmx.de>
1376
1377 Remove byte compiler warnings, visible when compiling with
1378 `byte-compile-force-lexical-warnings' set to t.
1379
1380 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1381 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1382 (tramp-handle-unhandled-file-name-directory)
1383 (tramp-handle-file-notify-add-watch, tramp-action-login)
1384 (tramp-action-succeed, tramp-action-permission-denied)
1385 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1386 arguments with "_".
1387
1388 * net/tramp-adb.el (tramp-adb-parse-device-names)
1389 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1390 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1391 (tramp-adb-handle-file-truename): Remove unused arguments.
1392
1393 * net/tramp-cache.el (tramp-flush-directory-property)
1394 (tramp-flush-connection-property, tramp-list-connections)
1395 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1396
10fa0ed3
SM
1397 * net/tramp-compat.el (tramp-compat-make-temp-file):
1398 Rename FILENAME to F.
5d89d9d2
MA
1399
1400 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1401 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1402 (tramp-zeroconf-parse-workstation-device-names)
1403 (tramp-zeroconf-parse-webdav-device-names)
1404 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1405
1406 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1407 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1408
1409 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1410 arguments.
1411 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1412 (tramp-sh-handle-insert-file-contents-literally)
1413 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1414 with "_".
1415 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1416 Remove unused variables.
1417
1418 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1419 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1420 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1421
1422 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1423 Make them a defconst.
1424 (tramp-uuencode-region): Remove unused variable.
1425
62f33bae
JB
14262013-08-14 Juanma Barranquero <lekktu@gmail.com>
1427
1428 * frameset.el (frameset--prop-setter): New function.
1429 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
1430 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1431 parameter was already set in FILTERED. Doc fix.
1432 (frameset--record-minibuffer-relationships): Allow saving a
1433 minibufferless frame without its corresponding minibuffer frame.
1434 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1435 frame, if the frame id matches.
1436 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1437 frames before orphaned ones.
1438 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 1439
c660a885
MR
14402013-08-14 Martin Rudalics <rudalics@gmx.at>
1441
1442 * window.el (window-make-atom): Don't overwrite parameter
1443 already present.
1444 (display-buffer-in-atom-window): Handle special case where we
1445 split an already atomic window.
1446 (window--major-non-side-window, display-buffer-in-side-window)
1447 (window--side-check): Ignore minibuffer window when walking
1448 window tree.
1449 (window-deletable-p): Return 'frame only if no other frame uses
1450 our minibuffer window.
1451 (record-window-buffer): Run buffer-list-update-hook.
1452 (split-window): Make sure window--check-frame won't destroy an
1453 existing atomic window in case the new window gets nested
1454 inside.
1455 (display-buffer-at-bottom): Ignore minibuffer window when
1456 walking window tree. Don't split a side window.
1457 (pop-to-buffer): Don't set-buffer here, the select-window call
1458 should do that.
1459 (mouse-autoselect-window-select): Autoselect only if we are in the
1460 text portion of the window.
1461
8259030d
LMI
14622013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1463
21c58ae2
LMI
1464 * net/shr.el (shr-parse-image-data): New function to grab both the
1465 data itself and the Content-Type.
1466 (shr-put-image): Use it.
1467
1468 * net/eww.el (eww-display-image): Ditto.
1469
8259030d
LMI
1470 * image.el (image-content-type-suffixes): New variable.
1471
ad756449
FEG
14722013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1473
1474 * progmodes/python.el (python-imenu--build-tree)
1475 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1476
f73f4ce6
XF
14772013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1478
1479 * simple.el (backward-word): Mention the optional argument.
1480
1f585e65
SM
14812013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1482
1483 * frameset.el (frameset--make): Rename constructor from make-frameset.
1484 (frameset-p, frameset-valid-p): Don't autoload.
1485 (frameset-valid-p): Use normal accessors.
1486
af1c6c84
GM
14872013-08-13 Glenn Morris <rgm@gnu.org>
1488
55e47f95
GM
1489 * progmodes/compile.el (compile-command): Tweak example in doc.
1490 * obsolete/scribe.el (scribe-mode):
1491 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1492
f0024d8c
GM
1493 * mail/feedmail.el (feedmail-confirm-outgoing)
1494 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1495
1496 * cus-start.el (truncate-partial-width-windows): Fix type.
1497
1498 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1499
af1c6c84
GM
1500 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1501
5514cc4c
SM
15022013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1503
1504 * emacs-lisp/timer.el (timer--time-setter): New function.
1505 (timer--time): Use it as gv-setter.
1506
1507 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1508 setter is not a symbol.
1509
7997a2f1
GJ
15102013-08-12 Grégoire Jadi <daimrod@gmail.com>
1511
1512 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1513 if sending fails. This makes debugging easier.
1514
01f1a9ab
JB
15152013-08-12 Juanma Barranquero <lekktu@gmail.com>
1516
1517 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1518 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1519 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1520
594a4307
EZ
15212013-08-12 Eli Zaretskii <eliz@gnu.org>
1522
1523 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1524
7a22490f 15252013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
1526
1527 * format.el (format-annotate-function):
1528 Handle read-only text properties in the source. (Bug#14887)
1529
3e41a054
LMI
15302013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1531
5514cc4c
SM
1532 * net/eww.el (eww-display-html): Ignore coding system errors.
1533 One web site uses "utf-8lias" as the coding system.
3e41a054 1534
7ec326db
JB
15352013-08-11 Juanma Barranquero <lekktu@gmail.com>
1536
1537 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1538
5660113b
JB
15392013-08-10 Juanma Barranquero <lekktu@gmail.com>
1540
9a4ebc74
JB
1541 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1542 (tutorial--detailed-help): Remove unused local variables.
1543 (tutorial--save-tutorial-to): Use ignore-errors.
1544 (help-with-tutorial): Use looking-at-p.
1545
1546 * view.el (view-buffer-other-window, view-buffer-other-frame):
1547 Mark unused arguments.
1548
1549 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1550 (woman-select-symbol-fonts, woman, woman-find-file)
1551 (woman-insert-file-contents, woman-non-underline-faces):
1552 Use string-match-p.
1553 (woman1-unquote): Move declaration.
1554
1555 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1556 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1557 argument. Remove unused local variable.
1558 (xml-parse-elem-type): Use string-match-p.
1559 (xml-substitute-numeric-entities): Use ignore-errors.
1560
45fdb482
JB
1561 * calculator.el (calculator): Mark unused argument.
1562 (calculator-paste, calculator-quit, calculator-integer-p):
1563 Use ignore-errors.
1564 (calculator-string-to-number, calculator-decimal, calculator-exp)
1565 (calculator-op-or-exp): Use string-match-p.
1566
1567 * dired.el (dired-buffer-more-recently-used-p): Declare.
1568 (dired-insert-set-properties, dired-insert-old-subdirs):
1569 Use ignore-errors.
1570
1571 * dired-aux.el (dired-compress): Use ignore-errors.
1572 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1573 (dired-do-async-shell-command, dired-do-shell-command)
1574 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1575 (dired-insert-subdir-validate): Use string-match-p.
1576 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1577 (dired-add-entry): Use string-match-p, looking-at-p.
1578 (dired-insert-subdir-newpos): Remove unused local variable.
1579
1580 * filenotify.el (file-notify-callback): Remove unused local variable.
1581
1582 * filesets.el (filesets-error): Mark unused argument.
1583 (filesets-which-command-p, filesets-filter-dir-names)
1584 (filesets-directory-files, filesets-get-external-viewer)
1585 (filesets-ingroup-get-data): Use string-match-p.
1586
1587 * find-file.el (ff-other-file-name, ff-other-file-name)
1588 (ff-find-the-other-file, ff-cc-hh-converter):
1589 Remove unused local variables.
1590 (ff-get-file-name): Use string-match-p.
1591 (ff-all-dirs-under): Use ignore-errors.
1592
1593 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1594 (follow-select-if-visible): Remove unused local variable.
1595
1596 * forms.el (read-file-filter): Move declaration.
1597 (forms--make-format, forms--make-parser, forms-insert-record):
1598 Quote function with #'.
1599 (forms--update): Use string-match-p. Quote function with #'.
1600
1601 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1602 (help-make-xrefs): Use looking-at-p.
1603 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1604
1605 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1606 (ibuffer-confirm-operation-on): Use string-match-p.
1607
1608 * msb.el (msb-item-handler, msb-dired-item-handler):
1609 Mark unused arguments.
1610
1611 * ses.el (ses-decode-cell-symbol)
1612 (ses-kill-override): Remove unused local variable.
1613 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1614 (ses-load): Use ignore-errors, looking-at-p.
1615 (ses-jump-safe): Use ignore-errors.
1616 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1617
1618 * tabify.el (untabify, tabify): Mark unused arguments.
1619
1620 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1621 Mark unused argument.
1622 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1623 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1624
c880af52
JB
1625 * emacs-lisp/timer.el (timer--time): Define setter with
1626 gv-define-setter to avoid deprecation warning.
1627
5660113b 1628 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 1629 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
1630 (cmpl-statistics-block): Remove (body was commented out).
1631 All callers changed.
1632 (add-completions-from-buffer, load-completions-from-file):
1633 Remove unused variables.
1634
156aab80
JB
16352013-08-09 Juanma Barranquero <lekktu@gmail.com>
1636
5c5dee78
JB
1637 * filecache.el (file-cache-delete-file-list):
1638 Print message only when told so.
1639 (file-cache-files-matching): Use #' in mapconcat argument.
1640
156aab80
JB
1641 * ffap.el (ffap-url-at-point): Fix reference to variable
1642 thing-at-point-default-mail-uri-scheme.
1643
ad9dcd70
SM
16442013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1645
54bd972f
SM
1646 * subr.el (define-error): New function.
1647 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1648 error-file-not-found and define with define-error.
1649 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1650 and define with define-error.
1651 * userlock.el (file-locked, file-supersession):
1652 * simple.el (mark-inactive):
1653 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1654 * progmodes/ada-mode.el (ada-mode-errors):
1655 * play/life.el (life-extinct):
1656 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1657 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1658 * nxml/rng-util.el (rng-error):
1659 * nxml/rng-uri.el (rng-uri-error):
1660 * nxml/rng-match.el (rng-compile-error):
1661 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1662 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1663 * nxml/nxml-rap.el (nxml-scan-error):
1664 * nxml/nxml-outln.el (nxml-outline-error):
1665 * net/soap-client.el (soap-error):
1666 * net/gnutls.el (gnutls-error):
1667 * net/ange-ftp.el (ftp-error):
1668 * mpc.el (mpc-proc-error):
1669 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1670 (json-number-format, json-string-escape, json-string-format)
1671 (json-key-format, json-object-format):
1672 * jka-compr.el (compression-error):
1673 * international/quail.el (quail-error):
1674 * international/kkc.el (kkc-error):
1675 * emacs-lisp/ert.el (ert-test-failed):
1676 * calc/calc.el (calc-error, inexact-result, math-overflow)
1677 (math-underflow):
1678 * bookmark.el (bookmark-error-no-filename):
1679 * epg.el (epg-error): Define with define-error.
1680
0ea9e53a
SM
1681 * time.el (display-time-event-handler)
1682 (display-time-next-load-average): Don't call sit-for since it seems
1683 unnecessary (bug#15045).
1684
b0429158
SM
1685 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1686 Use #' instead of ' to quote functions.
1687 (checkdoc-output-mode): Use setq-local.
1688 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1689 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1690 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1691 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1692 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1693 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1694 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1695 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1696
ad9dcd70
SM
1697 * ido.el (ido-completion-help): Fix up compiler warning.
1698
77187e6f
JB
16992013-08-09 Juanma Barranquero <lekktu@gmail.com>
1700
1701 * frameset.el (frameset-p): Add autoload cookie.
1702 (frameset--jump-to-register): New function, based on code moved from
1703 register.el.
1704 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1705
1706 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1707 (frameset-restore, frameset-save, frameset-session-filter-alist):
1708 Remove declarations.
1709 (register-alist): Doc fix.
1710 (frameset-to-register): Move to frameset.el.
1711 (jump-to-register, describe-register-1): Remove frameset-specific code.
1712
9d3aa82c
JB
17132013-08-08 Juanma Barranquero <lekktu@gmail.com>
1714
1715 * allout-widgets.el (allout-widgets-pre-command-business)
1716 (allout-widgets-post-command-business)
1717 (allout-widgets-after-change-handler)
1718 (allout-decorate-item-and-context, allout-set-boundary-marker)
1719 (allout-body-modification-handler)
1720 (allout-graphics-modification-handler): Mark ignored arguments.
1721 (allout-widgets-post-command-business)
1722 (allout-widgets-exposure-change-processor)
1723 (allout-widgets-exposure-undo-processor)
1724 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1725 (allout-parse-item-at-point, allout-decorate-item-guides)
1726 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1727 * allout.el (epa-passphrase-callback-function): Declare.
1728 (allout-overlay-insert-in-front-handler)
1729 (allout-overlay-interior-modification-handler)
1730 (allout-isearch-end-handler, allout-chart-siblings)
1731 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1732 (allout-yank-processing, allout-process-exposed)
1733 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 1734 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
1735 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1736 (lisp-indent-defform): Mark ignored arguments.
1737 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1738 (calculate-lisp-indent): Remove unused variables.
1739 * international/characters.el (indian-2-column, arabic-2-column)
1740 (tibetan): Mark ignored arguments.
1741 (use-cjk-char-width-table): Mark ignored arguments.
1742 Remove unused variables.
1743 * international/fontset.el (build-default-fontset-data)
1744 (x-compose-font-name, create-fontset-from-fontset-spec):
1745 Mark ignored arguments.
1746 (fontset-plain-name): Remove unused variables.
1747 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1748 (keyboard-coding-system): Mark ignored arguments.
1749 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1750 * help.el (resize-temp-buffer-window):
1751 * window.el (display-buffer-in-major-side-window)
1752 (display-buffer-in-side-window, display-buffer-in-previous-window):
1753 Remove unused variables.
1754 * isearch.el (isearch-forward-symbol):
1755 * version.el (emacs-bzr-version-bzr):
1756 * international/mule-cmds.el (current-language-environment):
1757 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1758 (x-handle-display):
1759 * term/pc-win.el (x-list-fonts, x-display-planes)
1760 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1761 (x-server-version, x-display-screens, x-display-mm-height)
1762 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1763 (x-selection-owner-p, x-own-selection-internal)
1764 (x-disown-selection-internal, x-get-selection-internal)
1765 (msdos-initialize-window-system):
1766 * term/tty-colors.el (tty-color-alist, tty-color-clear):
1767 * term/x-win.el (x-handle-no-bitmap-icon):
1768 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1769 (vc-default-find-file-hook, vc-default-extra-menu):
1770 Mark ignored arguments.
1771
0ca3f70e
SM
17722013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1773
1774 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1775 break-condition in the context of the debugged code (bug#12685).
1776
74c5d24c
CS
17772013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
1778
1779 * comint.el:
1780 Do not use an overlay to highlight the last prompt. (Bug#14744)
1781 (comint-mode): Make comint-last-prompt buffer local.
1782 (comint-last-prompt): New variable.
1783 (comint-last-prompt-overlay): Remove. Superseded by
1784 comint-last-prompt.
0ca3f70e
SM
1785 (comint-snapshot-last-prompt, comint-output-filter):
1786 Use comint-last-prompt.
74c5d24c 1787
c03c02ee
JB
17882013-08-08 Juanma Barranquero <lekktu@gmail.com>
1789
a3738d20 1790 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
1791 (frameset-save): Check validity of the resulting frameset.
1792
04263d23
XF
17932013-08-08 Xue Fuqiao <xfq.free@gmail.com>
1794
1795 * ido.el (ido-record-command): Add doc string.
1796
76c5e5ab
JB
17972013-08-08 Juanma Barranquero <lekktu@gmail.com>
1798
1799 * frameset.el (frameset): Do not disable creation of the default
1800 frameset-p predicate. Doc fix.
1801 (frameset-valid-p): New function, copied from the old predicate-p.
1802 Add additional checks.
1803 (frameset-restore): Check with frameset-valid-p.
1804 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1805 (frameset-name, frameset-description, frameset-properties)
1806 (frameset-states): Add docstring.
f9dbf1cb
JB
1807 (frameset-session-filter-alist, frameset-persistent-filter-alist)
1808 (frameset-filter-alist): Doc fixes.
76c5e5ab 1809
bd0c3c0b
JB
18102013-08-08 Juanma Barranquero <lekktu@gmail.com>
1811
1812 * frameset.el (frameset-p, frameset-prop): Doc fixes.
1813
c735544c
SM
18142013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1815
1816 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
1817 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
1818 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
1819 (byte-compile-normal-call): Remove obsolescence check.
1820
2805a651
JB
18212013-08-08 Juanma Barranquero <lekktu@gmail.com>
1822
3677ffeb
JB
1823 * frameset.el (frameset-restore): Doc fix.
1824
2805a651
JB
1825 * register.el (frameset-frame-id, frameset-frame-with-id)
1826 (frameset-p, frameset-restore, frameset-save): Declare.
1827 (register-alist): Document framesets.
1828 (frameset-session-filter-alist): Declare.
1829 (frameset-to-register): New function.
1830 (jump-to-register): Implement jumping to framesets. Doc fix.
1831 (describe-register-1): Describe framesets.
1832
1833 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
1834
a912c016
JB
18352013-08-07 Juanma Barranquero <lekktu@gmail.com>
1836
1837 * desktop.el (desktop-save-frameset): Use new frameset-save args.
1838 Use lexical-binding.
1839
1840 * frameset.el (frameset): Use type vector, not list (incompatible
1841 change). Do not declare a new constructor, use the default one.
1842 Upgrade suggested properties `app', `name' and `desc' to slots `app',
1843 `name' and `description', respectively, and add read-only slot
1844 `timestamp'. Doc fixes.
1845 (frameset-copy, frameset-persistent-filter-alist)
1846 (frameset-filter-alist, frameset-switch-to-gui-p)
1847 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
1848 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
1849 (frameset-filter-iconified, frameset-keep-original-display-p):
1850 Doc fixes.
1851 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
1852 Rename from frameset-filter-(save|restore)-param. All callers changed.
1853 Doc fix.
1854 (frameset-p): Adapt to change to vector and be more thorough.
1855 Change arg name to OBJECT. Doc fix.
1856 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
1857 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1858 All callers changed.
1859 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1860 All callers changed.
1861 (frameset--record-minibuffer-relationships): Rename from
1862 frameset--process-minibuffer-frames. All callers changed.
1863 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1864 Use new default constructor (again). Doc fix.
1865 (frameset--find-frame-if): Rename from `frameset--find-frame.
1866 All callers changed.
1867 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1868 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1869 Doc fix.
1870 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1871 PARAMETERS and WINDOW-STATE, respectively.
1872 (frameset-restore): Add new keyword argument PREDICATE.
1873 Reset frameset--target-display to nil. Doc fix.
1874
bb41480a
SM
18752013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1876
f001e98e
SM
1877 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1878 (bat-mode): Use it.
1879 (bat-mode-syntax-table): Mark \n as end-of-comment.
1880 (bat-font-lock-keywords): Remove comment rule.
1881
7679edb1
SM
1882 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
1883 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
1884
bb41480a
SM
1885 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1886 (byte-compile-callargs-warn): Use `push'.
1887 (byte-compile-arglist-warn): Ignore higher-order "calls".
1888 (byte-compile-file-form-autoload): Use `pcase'.
1889 (byte-compile-function-form): If quoting a symbol, check that it exists.
1890
cdc1ebb9
EZ
18912013-08-07 Eli Zaretskii <eliz@gnu.org>
1892
1893 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1894 and add a few popular commands found in batch files.
1895 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1896 (dos-mode): Doc fixes.
1897
312b1740
SM
18982013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1901 (dos-mode): Use setq-local. Add space after "rem".
1902 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1903 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1904
400a3178
AM
19052013-08-07 Arni Magnusson <arnima@hafro.is>
1906
1907 * progmodes/dos.el: New file.
1908 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1909 dos-mode.
1910
3b5c03d3
GM
19112013-08-06 Glenn Morris <rgm@gnu.org>
1912
1913 * calendar/calendar.el: Add new faces, and day-header-array.
1914 (calendar-weekday-header, calendar-weekend-header)
1915 (calendar-month-header): New faces.
1916 (calendar-day-header-construct): New function.
1917 (calendar-day-header-width): Also :set calendar-day-header-array.
1918 (calendar-american-month-header, calendar-european-month-header)
1919 (calendar-iso-month-header): Use calendar- faces.
1920 (calendar-generate-month):
1921 Use calendar-day-header-array for day headers; apply faces to them.
1922 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1923 (calendar-abbrev-construct): Add optional maxlen argument.
1924 (calendar-day-name-array): Doc fix.
1925 (calendar-day-name-array, calendar-abbrev-length)
1926 (calendar-day-abbrev-array):
1927 Also :set calendar-day-header-array, and maybe redraw.
1928 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 1929 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
1930 (calendar-day-name): Add option to use header array.
1931
ec6a2d7a
LMI
19322013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1933
1934 * net/shr.el (shr-render-td): Remove debugging.
1935 (shr-render-td): Make width computation consistent by defaulting
1936 all zero-width columns to 10 characters. This may not be optimal,
1937 but it's at least consistent.
2122cb6d
LMI
1938 (shr-make-table-1): Redo last change to fix the real problem in
1939 colspan handling.
ec6a2d7a 1940
ed4fd9c5
DA
19412013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1942
0ca3f70e
SM
1943 * files.el (cache-long-line-scans):
1944 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 1945
64e22afe
JB
19462013-08-06 Juanma Barranquero <lekktu@gmail.com>
1947
024b38fc
JB
1948 * frameset.el (frameset, frameset-filter-alist)
1949 (frameset-filter-params, frameset-save, frameset--reuse-frame)
1950 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1951 (frameset-compute-pos): Rename from frameset--compute-pos,
1952 and add docstring.
1953 (frameset-move-onscreen): Use frameset-compute-pos.
1954 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1955
64e22afe
JB
1956 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1957 Fix typos in docstrings.
1958
c8c2aca8
DA
19592013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1960
1961 * frame.el (get-other-frame): Tiny cleanup.
1962
1d237bba
JB
19632013-08-06 Juanma Barranquero <lekktu@gmail.com>
1964
8951efef
JB
1965 * vc/vc.el (vc-default-ignore-completion-table):
1966 Silence byte-compiler warning.
1967
307764cc
JB
1968 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1969 slot , which can indeed be nil.
1970 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1971 Move entry for `left' from persistent to live filter alist.
1972 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1973 Doc fixes.
1974 (frameset-filter-params): When restoring a frame, copy items added to
1975 `filtered', to avoid unwittingly modifying the original parameters.
1976 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1977 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1978
1d237bba
JB
1979 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1980 to use looking-at-p instead of looking-at. (Bug#15028)
1981
dc6c0eda
SM
19822013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1983
1984 Revert introduction of isearch-filter-predicates (bug#14714).
1985 Rely on add-function instead.
1986 * isearch.el (isearch-filter-predicates): Rename it back to
1987 isearch-filter-predicate.
1988 (isearch-message-prefix): Use advice-function-mapc and advice
1989 properties to get the isearch-message-prefix.
1990 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1991 instead of run-hook-with-args-until-failure.
1992 (isearch-filter-visible): Not obsolete any more.
1993 * loadup.el: Preload nadvice.
1994 * replace.el (perform-replace): Revert to funcall
1995 instead of run-hook-with-args-until-failure.
1996 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1997 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1998 dired-isearch-filenames-toggle; make it into a proper minor mode.
1999 Use add/remove-function.
2000 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2001 Call the minor-mode rather than add/remove-hook.
2002 (dired-isearch-filter-filenames):
2003 Remove isearch-message-prefix property.
2004 * info.el (Info--search-loop): New function, extracted from Info-search.
2005 Funcall isearch-filter-predicate instead of
2006 run-hook-with-args-until-failure isearch-filter-predicates.
2007 (Info-search): Use it.
2008 (Info-mode): Use isearch-filter-predicate instead of
2009 isearch-filter-predicates.
2010
290d5b58
DA
20112013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2012
2013 Do not call to `selected-window' where it is assumed by default.
2014 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2015 `window-hscroll', `window-width', `window-height', `window-buffer',
2016 `window-frame', `window-start', `window-point', `next-window'
2017 and `window-display-table'.
2018 * abbrev.el (abbrev--default-expand):
2019 * bs.el (bs--show-with-configuration):
2020 * buff-menu.el (Buffer-menu-mouse-select):
2021 * calc/calc.el (calc):
2022 * calendar/calendar.el (calendar-generate-window):
2023 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2024 (diary-make-entry):
2025 * comint.el (send-invisible, comint-dynamic-complete-filename)
2026 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2027 * completion.el (complete):
2028 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2029 * disp-table.el (describe-current-display-table):
2030 * doc-view.el (doc-view-insert-image):
2031 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2032 * ehelp.el (with-electric-help):
2033 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2034 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2035 * emacs-lisp/helper.el (Helper-help-scroller):
2036 * emulation/cua-base.el (cua--post-command-handler-1):
2037 * eshell/esh-mode.el (eshell-output-filter):
2038 * ffap.el (ffap-gnus-wrapper):
2039 * help-macro.el (make-help-screen):
2040 * hilit-chg.el (highlight-compare-buffers):
2041 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2042 * hl-line.el (global-hl-line-highlight):
2043 * icomplete.el (icomplete-simple-completing-p):
2044 * isearch.el (isearch-done):
2045 * jit-lock.el (jit-lock-stealth-fontify):
2046 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2047 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2048 * mpc.el (mpc-tagbrowser, mpc):
2049 * net/rcirc.el (rcirc-any-buffer):
2050 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2051 * play/landmark.el (landmark-max-width, landmark-max-height):
2052 * play/zone.el (zone):
2053 * progmodes/compile.el (compilation-goto-locus):
2054 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2055 * progmodes/etags.el (find-tag-other-window):
2056 * progmodes/fortran.el (fortran-column-ruler):
2057 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2058 * progmodes/verilog-mode.el (verilog-point-text):
2059 * reposition.el (reposition-window):
2060 * rot13.el (toggle-rot13-mode):
2061 * server.el (server-switch-buffer):
2062 * shell.el (shell-dynamic-complete-command)
2063 (shell-dynamic-complete-environment-variable):
2064 * simple.el (insert-buffer, set-selective-display)
2065 (delete-completion-window):
2066 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2067 (speedbar-recenter):
2068 * startup.el (fancy-splash-head):
2069 * textmodes/ispell.el (ispell-command-loop):
2070 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2071 * tutorial.el (help-with-tutorial):
2072 * vc/add-log.el (add-change-log-entry):
2073 * vc/compare-w.el (compare-windows):
2074 * vc/ediff-help.el (ediff-indent-help-message):
2075 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2076 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2077 (ediff-setup-control-frame):
2078 * vc/emerge.el (emerge-position-region):
2079 * vc/pcvs-util.el (cvs-bury-buffer):
2080 * window.el (walk-windows, mouse-autoselect-window-select):
2081 * winner.el (winner-set-conf, winner-undo): Related users changed.
2082
38276e01
JB
20832013-08-05 Juanma Barranquero <lekktu@gmail.com>
2084
2085 * frameset.el (frameset--set-id): Doc fix.
2086 (frameset-frame-id, frameset-frame-id-equal-p)
2087 (frameset-locate-frame-id): New functions.
2088 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2089 (frameset-restore): Use them.
2090
12b4c0ea
DA
20912013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2092
2093 Do not call to `selected-frame' where it is assumed by default.
2094 Affected functions are `raise-frame', `redraw-frame',
2095 `frame-first-window', `frame-terminal' and `delete-frame'.
2096 * calendar/appt.el (appt-disp-window):
2097 * epg.el (epg-wait-for-completion):
2098 * follow.el (follow-delete-other-windows-and-split)
2099 (follow-avoid-tail-recenter):
2100 * international/mule.el (set-terminal-coding-system):
2101 * mail/rmail.el (rmail-mail-return):
2102 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2103 * progmodes/f90.el (f90-add-imenu-menu):
2104 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2105 * server.el (server-switch-buffer):
2106 * simple.el (delete-completion-window):
2107 * talk.el (talk):
2108 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2109 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2110 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2111 * vc/ediff.el (ediff-documentation): Related users changed.
2112 * frame.el (selected-terminal): Remove the leftover.
2113
17f25e76
GM
21142013-08-05 Glenn Morris <rgm@gnu.org>
2115
2116 * calendar/calendar.el (calendar-generate-month):
2117 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
2118 (calendar-generate-month, calendar-font-lock-keywords):
2119 Fix for calendar-day-header-width > length of any day name.
17f25e76 2120
063233c3
JB
21212013-08-05 Juanma Barranquero <lekktu@gmail.com>
2122
2123 * desktop.el (desktop-clear): Use new name of sort predicate.
2124
2125 * frameset.el (frameset): Add docstring. Move :version property to its
2126 own `version' slot.
2127 (frameset-copy): Rename from copy-frameset.
2128 (frameset-p): Check more thoroughly.
2129 (frameset-prop): Do not check for :version, which is no longer a prop.
2130 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2131 Use new :never value instead of t.
2132 (frameset-filter-alist): Expand and clarify docstring.
2133 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2134 (frameset-filter-minibuffer, frameset-filter-save-param)
2135 (frameset-filter-restore-param, frameset-filter-iconified):
2136 Add pointer to docstring of frameset-filter-alist.
2137 (frameset-filter-params): Rename filter values to be more meaningful:
2138 :never instead of t, and reverse the meanings of :save and :restore.
2139 (frameset--process-minibuffer-frames): Clarify error message.
2140 (frameset-save): Avoid unnecessary and confusing call to framep.
2141 Use new BOA constructor for framesets.
2142 (frameset--reuse-list): Doc fix.
2143 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2144 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2145 (frameset-minibufferless-first-p): Doc fix.
2146 Rename from frameset-sort-frames-for-deletion.
2147 (frameset-restore): Doc fixes. Use new function names.
2148 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2149
d5671a82
JB
21502013-08-04 Juanma Barranquero <lekktu@gmail.com>
2151
2152 * desktop.el (desktop-restore-forces-onscreen)
2153 (desktop-restore-reuses-frames): Document :keyword constant values.
2154 (desktop-filter-parameters-alist): Remove, now identical to
2155 frameset-filter-alist.
2156 (desktop--filter-tty*): Remove, moved to frameset.el.
2157 (desktop-save-frameset, desktop-restore-frameset):
2158 Do not pass :filters argument.
2159
2160 * frameset.el (frameset-live-filter-alist)
2161 (frameset-persistent-filter-alist): New variables.
2162 (frameset-filter-alist): Use them. Add autoload cookie.
2163 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2164 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2165 `frameset--id' (it's supposed to be internal to frameset.el).
2166 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2167 (frameset--initial-params): New function.
2168 (frameset--get-frame): Use it. Doc fix.
2169 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2170 Accept :all, not 'all.
2171 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2172 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2173 with fbound symbols. Fix frame id matching, and remove matching ids if
2174 the frame being restored is deleted. Obey :delete.
2175
671d5c16
SM
21762013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * subr.el (macrop): New function.
2179 (text-clone--maintaining): New var.
2180 (text-clone--maintain): Rename from text-clone-maintain. Use it
2181 instead of inhibit-modification-hooks.
2182
2183 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2184 a proxy, so as handle autoloads and redefinitions of the target.
2185 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2186
2187 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2188 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2189 (pcase--mutually-exclusive-p): New function.
2190 (pcase--split-consp): Use it.
2191 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2192 mutually exclusive with the current predicate.
2193
2194 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2195 (edebug-macrop): Remove. Use `macrop' instead.
2196 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2197 (ad-macro-p):
2198 * eshell/esh-cmd.el (eshell-macrop):
2199 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2200
1d44e9dc
SM
22012013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2204 (advice-mapc): New function, using it.
2205 (advice-function-member-p): New function.
2206 (advice--normalize): Store the cdr in advice--saved-rewrite since
2207 that's the part that will be changed.
2208 (advice--symbol-function): New function.
2209 (advice-remove): Handle removal before the function is defined.
2210 Adjust to new advice--saved-rewrite.
2211 (advice-member-p): Use advice-function-member-p and
2212 advice--symbol-function.
2213
5414a283
JB
22142013-08-04 Juanma Barranquero <lekktu@gmail.com>
2215
51d30f2c
JB
2216 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2217 (frameset-filter-minibuffer): Doc fix.
2218 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
2219 (frameset--set-id, frameset--process-minibuffer-frames)
2220 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2221 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 2222
5414a283
JB
2223 * desktop.el (desktop-clear): Only delete frames when called
2224 interactively and desktop-restore-frames is non-nil. Doc fix.
2225 (desktop-read): Set desktop-saved-frameset to nil.
2226
ab419665
XF
22272013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2228
2229 * vc/vc.el (vc-ignore): Rewrite.
2230 (vc-default-ignore-completion-table):
2231 (vc--read-lines):
2232 (vc--add-line, vc--remove-regexp): New functions.
2233
2234 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2235 (vc-svn-ignore-completion-table): New function.
2236
2237 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2238 (vc-hg-ignore-completion-table):
2239 (vc-hg-find-ignore-file): New functions.
2240
2241 * vc/vc-git.el (vc-git-ignore): Rewrite.
2242 (vc-git-ignore-completion-table):
2243 (vc-git-find-ignore-file): New functions.
2244
2245 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2246
2247 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2248 (vc-bzr-ignore-completion-table):
2249 (vc-bzr-find-ignore-file): New functions.
2250
2613dea2
JB
22512013-08-03 Juanma Barranquero <lekktu@gmail.com>
2252
2253 * frameset.el (frameset-prop): New function and setter.
2254 (frameset-save): Do not modify frame list passed by the caller.
2255
9c959872
SM
22562013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2259
a104f656
SM
22602013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2261
70122acf
SM
2262 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2263 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2264
a104f656
SM
2265 * custom.el (custom-initialize-default, custom-initialize-set)
2266 (custom-initialize-reset, custom-initialize-changed): Affect the
2267 toplevel-default-value (bug#6275, bug#14586).
2268 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2269 for bug#6275.
2270
f078d570
JB
22712013-08-02 Juanma Barranquero <lekktu@gmail.com>
2272
185e3b5a
JB
2273 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2274 Add cl-def* expressions.
2275
f078d570
JB
2276 * frameset.el (frameset-filter-params): Fix order of arguments.
2277
9421876d
JB
22782013-08-02 Juanma Barranquero <lekktu@gmail.com>
2279
2280 Move code related to saving frames to frameset.el.
2281 * desktop.el: Require frameset.
2282 (desktop-restore-frames): Doc fix.
2283 (desktop-restore-reuses-frames): Rename from
2284 desktop-restoring-reuses-frames.
2285 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2286 (desktop-clear): Clear frames too.
2287 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2288 (desktop--filter-tty*, desktop-save, desktop-read):
2289 Use frameset functions.
2290 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2291 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2292 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2293 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2294 (desktop--process-minibuffer-frames, desktop-save-frames)
2295 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2296 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2297 (desktop--sort-states, desktop-restoring-frames-p)
2298 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2299 (desktop-restoring-frameset-p, desktop-restore-frameset)
2300 (desktop--check-dont-save, desktop-save-frameset): New functions.
2301 (desktop--app-id): New constant.
2302 (desktop-first-buffer, desktop-buffer-ok-count)
2303 (desktop-buffer-fail-count): Move before first use.
2304 * frameset.el: New file.
2305
76dc5996
SM
23062013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * files.el: Use lexical-binding.
2309 (dir-locals-read-from-file): Remove unused `err' variable.
2310 (hack-dir-local-variables--warned-coding): New var.
2311 (hack-dir-local-variables): Use it to avoid repeated warnings.
2312 (make-backup-file-name--default-function): New function.
2313 (make-backup-file-name-function): Use it as default.
2314 (buffer-stale--default-function): New function.
2315 (buffer-stale-function): Use it as default.
2316 (revert-buffer-insert-file-contents--default-function): New function.
2317 (revert-buffer-insert-file-contents-function): Use it as default.
2318 (insert-directory): Avoid add-to-list.
2319
2320 * autorevert.el (auto-revert-handler): Simplify.
2321 Use buffer-stale--default-function.
2322
06d36e2b
TH
23232013-08-01 Tassilo Horn <tsdh@gnu.org>
2324
5f648ab4
TH
2325 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2326
06d36e2b
TH
2327 * whitespace.el (whitespace-ensure-local-variables): New function.
2328 (whitespace-cleanup-region): Call it.
2329 (whitespace-turn-on): Call it.
2330
a43dc424
MA
23312013-08-01 Michael Albinus <michael.albinus@gmx.de>
2332
2333 Complete file name handlers.
2334
2335 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2336 (tramp-handle-verify-visited-file-modtime)
2337 (tramp-handle-file-notify-rm-watch): New functions.
2338 (tramp-call-process): Do not bind `default-directory'.
2339
44e18199
JB
2340 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2341 Order alphabetically.
a43dc424
MA
2342 [access-file, add-name-to-file, dired-call-process]:
2343 [dired-compress-file, file-acl, file-notify-rm-watch]:
2344 [file-ownership-preserved-p, file-selinux-context]:
2345 [make-directory-internal, make-symbolic-link, set-file-acl]:
2346 [set-file-selinux-context, set-visited-file-modtime]:
2347 [verify-visited-file-modtime]: Add handler.
2348 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2349
2350 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2351 [file-notify-add-watch, file-notify-rm-watch]:
2352 [set-file-times, set-visited-file-modtime]:
2353 [verify-visited-file-modtime]: Add handler.
2354 (with-tramp-gvfs-error-message)
2355 (tramp-gvfs-handle-set-visited-file-modtime)
2356 (tramp-gvfs-fuse-file-name): Remove.
2357 (tramp-gvfs-handle-file-notify-add-watch)
2358 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2359 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2360
44e18199
JB
2361 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2362 Order alphabetically.
a43dc424
MA
2363 [file-notify-rm-watch ]: Use default Tramp handler.
2364 [executable-find]: Remove private handler.
2365 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2366 `default-directory'.
2367 (tramp-sh-handle-executable-find)
2368 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2369 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2370 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2371 Do not use `format' in `tramp-message'.
2372
2373 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2374 [file-notify-rm-watch, set-visited-file-modtime]:
2375 [verify-visited-file-modtime]: Add handler.
2376 (tramp-smb-call-winexe): Do not bind `default-directory'.
2377
7188b515
XF
23782013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2379
2380 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2381
2412ee1a
DG
23822013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2383
2384 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2385 use it.
2386 (log-view-diff-changeset): Same.
2387 (log-view-diff-common): Call backend command `previous-revision'
2388 to find out the previous revision, in both cases. Swap the
2389 variables `to' and `fr', so that `fr' usually refers to the
2390 earlier revision (Bug#14989).
2391
5002a754
KRC
23922013-07-31 Kan-Ru Chen <kanru@kanru.info>
2393
2394 * ibuf-ext.el (ibuffer-filter-by-filename):
2395 Make it work with dired buffers too.
2396
44e18199 23972013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
2398
2399 * emacs-lisp/re-builder.el (reb-color-display-p):
2400 * files.el (save-buffers-kill-terminal):
2401 * net/browse-url.el (browse-url):
2402 * server.el (server-save-buffers-kill-terminal):
2403 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2404 Prefer nil to selected-frame for the first arg of frame-parameter.
2405
aeca3fbb
XF
24062013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2407
2408 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2409
158bc55c
SB
24102013-07-30 Stephen Berman <stephen.berman@gmx.net>
2411
2412 * minibuffer.el (completion--twq-all): Try and preserve each
2413 completion's case choice (bug#14907).
2414
d50fceab
LMI
24152013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2416
ac38e731
LMI
2417 * net/network-stream.el (open-network-stream): Mention the new
2418 :nogreeting parameter.
2419 (network-stream-open-starttls): Use the :nogreeting parameter
2420 (bug#14938).
2421
1211de50
LMI
2422 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2423
997798bf
LMI
2424 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2425 more natural than popping.
2426
d50fceab 2427 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 2428 (shr-urlify): Highlight under mouse.
d50fceab 2429
5c09de04
XF
24302013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2431
207d1d04
XF
2432 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2433
2434 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2435
5c09de04
XF
2436 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2437 buffer for output.
2438
3cd51eaa
XF
2439 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2440 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 2441
44e18199 2442 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 2443 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
2444
2445 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2446
2447 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2448 buffer for output.
2449
35a89bdd
EZ
24502013-07-29 Eli Zaretskii <eliz@gnu.org>
2451
2452 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2453 initial frame is minibuffer-less. (Bug#14841)
2454
78822e94
MA
24552013-07-29 Michael Albinus <michael.albinus@gmx.de>
2456
2457 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2458 option.
2459
2460 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2461 (tramp-maybe-open-connection): Use it.
2462
9503c190
JB
24632013-07-28 Juanma Barranquero <lekktu@gmail.com>
2464
2465 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2466 minimal set of parameters passed when creating a frame, because
2467 the minibuffer status of a frame cannot be changed later.
2468
d5a845b4
SB
24692013-07-28 Stephen Berman <stephen.berman@gmx.net>
2470
2471 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2472 replace-regexp-in-string and inadvertent omissions in previous change.
2473 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 2474 name of filtered items buffer.
d5a845b4 2475
ddeffb17
JB
24762013-07-28 Juanma Barranquero <lekktu@gmail.com>
2477
2478 * desktop.el: Optionally force offscreen frames back onscreen.
2479 (desktop-restoring-reuses-frames): New option.
2480 (desktop--compute-pos, desktop--move-onscreen): New functions.
2481 (desktop--make-frame): Use desktop--move-onscreen.
2482
f5950f7a
AM
24832013-07-27 Alan Mackenzie <acm@muc.de>
2484
2485 Fontify a Java generic method as a function.
2486 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2487 value to t.
2488
ae43b66a
SB
24892013-07-27 Stephen Berman <stephen.berman@gmx.net>
2490
2491 * calendar/todo-mode.el: Add command to rename todo files.
2492 (todo-rename-file): New command.
2493 (todo-key-bindings-t): Add key binding for it. Change the
2494 bindings of todo-filter-regexp-items(-multifile) to use `x'
2495 instead of `r', since the latter is better suited to the new
2496 renaming command.
2497
5ab78d3d
AM
24982013-07-27 Alan Mackenzie <acm@muc.de>
2499
2500 Make Java try-with-resources statement parse properly.
2501 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2502 (c-block-stmt-1-2-key): New language constants/variables.
2503 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2504 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2505 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 2506 with c-block-stmt-1-2-key.
5ab78d3d 2507
d85c4d50
JB
25082013-07-27 Juanma Barranquero <lekktu@gmail.com>
2509
2510 * desktop.el (desktop--make-frame): Apply most frame parameters after
2511 creating the frame to force (partially or totally) offscreen frames to
2512 be restored as such.
2513
e4c467f9
XF
25142013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2515
2516 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 2517 (Bug#14948)
e4c467f9 2518
7ced0d04
SM
25192013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2522 `base' arg of backtrace-frame.
2523
fec92060
EZ
25242013-07-26 Eli Zaretskii <eliz@gnu.org>
2525
2526 * simple.el (list-processes): Doc fix.
2527
d58d31fb
JB
25282013-07-26 Juanma Barranquero <lekktu@gmail.com>
2529
2530 * desktop.el (desktop--select-frame):
d85c4d50 2531 Try harder to reuse existing frames.
d58d31fb 2532
53ff3e77
SM
25332013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2534
2535 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2536 (edebug-eval): Use backtrace-eval.
2537 (edebug--display, edebug--recursive-edit): Don't let-bind the
2538 edebug-outer-* vars that keep track of variables we locally let-bind.
2539 (edebug-outside-excursion): Don't restore outside values of locally
2540 let-bound vars.
2541 (edebug--display): Use user-error.
2542 (cl-lexical-debug, cl-debug-env): Remove.
2543
045f7a53
JB
25442013-07-26 Juanma Barranquero <lekktu@gmail.com>
2545
2546 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2547 are restored to be sure that they are visible before deleting any
2548 remaining ones.
2549
59070b32
MM
25502013-07-26 Matthias Meulien <orontee@gmail.com>
2551
742a3501
XF
2552 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2553 vc-print-root-log. (Bug#14948)
59070b32 2554
b1fb3596
RS
25552013-07-26 Richard Stallman <rms@gnu.org>
2556
2557 Add aliases for encrypting mail.
2558 * epa.el (epa-mail-aliases): New option.
2559 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2560 Bind inhibit-read-only so read-only text doesn't ruin everything.
2561 (epa-mail-default-recipients): New subroutine broken out.
2562 Handle epa-mail-aliases.
2563
56ea7291
SM
25642013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 Add support for lexical variables to the debugger's `e' command.
2567 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2568 vars, except for debugger-outer-match-data.
2569 (debugger-frame-number): Move check for "on a function call" from
2570 callers into it. Add `skip-base' argument.
2571 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2572 (debugger-env-macro): Only reset the state stored in non-variables,
2573 i.e. current-buffer and match-data.
2574 (debugger-eval-expression): Rewrite using backtrace-eval.
2575 * subr.el (internal--called-interactively-p--get-frame): Remove.
2576 (called-interactively-p):
2577 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2578 `base' arg of backtrace-frame instead.
2579
15ac32d5
GM
25802013-07-26 Glenn Morris <rgm@gnu.org>
2581
8358a09d
GM
2582 * align.el (align-regexp): Doc fix. (Bug#14857)
2583 (align-region): Explicit error if subexpression missing/does not match.
2584
15ac32d5
GM
2585 * simple.el (global-visual-line-mode):
2586 Do not duplicate the mode lighter. (Bug#14858)
2587
f47ad11b
MR
25882013-07-25 Martin Rudalics <rudalics@gmx.at>
2589
2590 * window.el (display-buffer): In display-buffer bind
2591 split-window-keep-point to t, bug#14829.
2592
02530987
JB
25932013-07-25 Juanma Barranquero <lekktu@gmail.com>
2594
2595 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2596 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2597 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2598 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2599 Change accordingly.
f63ebeb5
JB
2600 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2601 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 2602
6ccb9cab 26032013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 2604
6ccb9cab 2605 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 2606
cb3a56d2
JB
26072013-07-25 Juanma Barranquero <lekktu@gmail.com>
2608
2609 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2610 parameter to modify-frame-parameters if the value has not changed;
2611 this is a workaround for bug#14949.
2612 (desktop--make-frame): On cl-delete-if call, check parameter name,
2613 not full parameter.
2614
7aa7fff0
XF
26152013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2616
2617 * vc/vc.el (vc-ignore): New function.
2618
2619 * vc/vc-svn.el (vc-svn-ignore): New function.
2620
2621 * vc/vc-hg.el (vc-hg-ignore): New function.
2622
2623 * vc/vc-git.el (vc-git-ignore): New function.
2624
2625 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2626 (vc-dir-ignore): New function.
2627
2628 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 2629 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
2630
2631 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2632
2633 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2634
889acc5c
JB
26352013-07-24 Juanma Barranquero <lekktu@gmail.com>
2636
2637 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2638 (desktop-restore-frames): Warn when deleting an existing frame failed.
2639
86c40970
GM
26402013-07-24 Glenn Morris <rgm@gnu.org>
2641
2642 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2643
d5d3c58a
MA
26442013-07-24 Michael Albinus <michael.albinus@gmx.de>
2645
2646 * filenotify.el (file-notify-supported-p):
2647 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2648 Remove functions.
2649
2650 * autorevert.el (auto-revert-use-notify):
2651 (auto-revert-notify-add-watch):
2652 * net/tramp.el (tramp-file-name-for-operation):
2653 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2654 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2655 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2656 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2657 Remove `file-notify-supported-p' entry.
2658
d100084b
GM
26592013-07-24 Glenn Morris <rgm@gnu.org>
2660
2661 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 2662 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 2663
ac93e56b
SM
26642013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2665
249eea30
SM
2666 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2667 checked with memq (bug#14935).
2668
ac93e56b
SM
2669 * files.el (revert-buffer-function): Use a non-nil default.
2670 (revert-buffer-preserve-modes): Declare var to
2671 provide access to the `preserve-modes' argument.
2672 (revert-buffer): Let-bind it.
2673 (revert-buffer--default): New function, extracted from revert-buffer.
2674
2cdeb903
SM
26752013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * lpr.el: Signal print errors more prominently.
2678 (print-region-function): Don't default to nil.
2679 (lpr-print-region): New function, extracted from print-region-1.
2680 Check lpr's return value and signal an error in case of problem.
2681 (print-region-1): Use it.
2682 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2683 versions instead.
2684 (ps-printer-name): Default to nil.
2685 (ps-printer-name-option): Default to lpr-printer-switch.
2686 (ps-print-region-function): Don't default to nil.
2687 (ps-postscript-code-directory): Simplify default.
2688 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2689 (ps-string-list, ps-eval-switch, ps-flatten-list)
2690 (ps-flatten-list-1): Remove.
2691 (ps-multibyte-buffer): Avoid setq.
2692 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2693 (print-region-function, ps-print-region-function): Don't set them here.
2694
73600831
XF
26952013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2696
0e55c076
XF
2697 * ido.el (ido-fractionp):
2698 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2699 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2700 (ido-max-directory-size, ido-max-dir-file-cache)
2701 (ido-decorations): Doc fix.
2702
73600831
XF
2703 * ansi-color.el: Fix old URL.
2704
3d012865
MM
27052013-07-23 Michael R. Mauger <michael@mauger.com>
2706
2707 * progmodes/sql.el Version 3.3
2708 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2709 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2710 (sql-interactive-remove-continuation-prompt): Rewrite, use
2711 functions above. Fix continuation prompt and complete output line
2712 handling.
2713 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2714 redirected output buffer.
2715 (sql-mode): Restore deleted code (Bug#13591).
2716
da77a2e2
JB
27172013-07-23 Juanma Barranquero <lekktu@gmail.com>
2718
2719 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2720
80ff0c71
MA
27212013-07-23 Michael Albinus <michael.albinus@gmx.de>
2722
2723 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2724
2725 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2726 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2727 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2728
b61d71e4
JB
27292013-07-23 Juanma Barranquero <lekktu@gmail.com>
2730
2731 * desktop.el (desktop-clear): Simplify; remove useless checks
2732 against invalid buffer names.
2733 (desktop-list*): Use cl-list*.
2734 (desktop-buffer-info, desktop-create-buffer): Simplify.
2735
c3512092
LL
27362013-07-23 Leo Liu <sdl.web@gmail.com>
2737
2738 * bookmark.el (bookmark-make-record): Restore NAME as a default
2739 value. (Bug#14933)
2740
0ac26976
SM
27412013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2742
7d22ce18
SM
2743 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2744 extracted from autoload--insert-text.
2745 (autoload--insert-text): Remove.
2746 (autoload--print-cookie-text): New function, extracted from
2747 autoload--insert-cookie-text.
2748 (autoload--insert-cookie-text): Remove.
2749 (autoload-generate-file-autoloads): Adjust calls accordingly.
2750
9b2607e8
SM
2751 * winner.el (winner-hook-installed-p): Remove.
2752 (winner-mode): Simplify accordingly.
2753
c43a8618
SM
2754 * subr.el (add-to-list): Fix compiler-macro when `append' is
2755 not constant. Don't use `cl-member' for the base case.
2756
0ac26976
SM
2757 * progmodes/subword.el: Fix boundary case (bug#13758).
2758 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2759 own group.
2760 (subword-backward-regexp): Make it a constant.
2761 (subword-forward-internal): Don't treat a trailing capital as the
2762 beginning of a word.
2763
6874724a
AR
27642013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2765
2766 * emacs-lisp/package.el (package-menu-mode): Don't modify the
2767 global value of tabulated-list-revert-hook (bug#14930).
2768
70f1b5e8
JB
27692013-07-22 Juanma Barranquero <lekktu@gmail.com>
2770
a1c80d9d
JB
2771 * desktop.el: Require 'cl-lib.
2772 (desktop-before-saving-frames-functions): New hook.
2773 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2774 for frames being saved. Rename from desktop--save-minibuffer-frames.
2775 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
2776 Do not save frames with non-nil `desktop-dont-save' parameter.
2777 Filter out deleted frames.
a1c80d9d
JB
2778 (desktop--find-frame): Use cl-find-if.
2779 (desktop--select-frame): Use cl-(first|second|third) to access values
2780 of desktop-mini.
2781 (desktop--make-frame): Use cl-delete-if.
2782 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2783 (desktop-restore-frames): Use cl-(first|second|third) to access values
2784 of desktop-mini. Look for visible frame at the end, not while
2785 restoring frames.
2786
70f1b5e8
JB
2787 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2788 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2789 Use string-match-p, looking-at-p (bug#14927).
2790
728dc3cc
JB
27912013-07-21 Juanma Barranquero <lekktu@gmail.com>
2792
56bc453c
JB
2793 * desktop.el (desktop-saved-frame-states):
2794 Rename from desktop--saved-states; all users changed.
2795 (desktop-save-frames): Rename from desktop--save-frames.
2796 Do not save state to desktop file.
2797 (desktop-save): Save desktop-saved-frame-states to desktop file
2798 and reset to nil.
2799 (desktop-restoring-frames-p): New function.
2800 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
2801 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
2802 buffer-lists when restoring frames. Suggested by Martin Rudalics.
2803
728dc3cc
JB
2804 * desktop.el: Correctly restore iconified frames.
2805 (desktop--filter-iconified-position): New function.
2806 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2807
862f1c9c
GM
28082013-07-20 Glenn Morris <rgm@gnu.org>
2809
c4074c9f
GM
2810 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
2811 Let `message' do the formatting.
2812 (def-gdb-preempt-display-buffer): Add explicit format.
2813
d828e5f9
GM
2814 * image-dired.el (image-dired-track-original-file):
2815 Use with-current-buffer.
2816 (image-dired-track-thumbnail): Use with-current-buffer.
2817 Avoid changing point of wrong window.
2818
862f1c9c
GM
2819 * image-dired.el (image-dired-track-original-file):
2820 Avoid changing point of wrong window. (Bug#14909)
2821
f0398ec1 28222013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
2823
2824 * progmodes/gdb-mi.el (gdb-done-or-error):
2825 Guard against "%" in gdb output. (Bug#14127)
2826
1451928f
AS
28272013-07-20 Andreas Schwab <schwab@linux-m68k.org>
2828
763a086d
JB
2829 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
2830 (Bug#14826)
f7a03897 2831
1451928f
AS
2832 * international/mule.el (coding-system-iso-2022-flags): Fix last
2833 change.
2834
99107004
KH
28352013-07-20 Kenichi Handa <handa@gnu.org>
2836
763a086d
JB
2837 * international/mule.el (coding-system-iso-2022-flags):
2838 Add `8-bit-level-4'. (Bug#8522)
99107004 2839
48494e06
LMI
28402013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2841
8ba8eec5
LMI
2842 * net/shr.el (shr-mouse-browse-url): New command and keystroke
2843 (bug#14815).
2844
dfbc66e3
LMI
2845 * net/eww.el (eww-process-text-input): Allow inputting when the
2846 point is at the start of the line, as the properties aren't
2847 front-sticky.
2848
48494e06
LMI
2849 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
2850 degenerate widths.
2851
77c92cb9
RS
28522013-07-19 Richard Stallman <rms@gnu.org>
2853
aec7da77
RS
2854 * epa.el (epa-popup-info-window): Doc fix.
2855
77c92cb9
RS
2856 * subr.el (split-string): New arg TRIM.
2857
945c5bb1
JB
28582013-07-18 Juanma Barranquero <lekktu@gmail.com>
2859
2860 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2861 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2862
e06ec67f
MA
28632013-07-18 Michael Albinus <michael.albinus@gmx.de>
2864
c7064f05 2865 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
2866 `file-notify-support'. Do not autoload. Adapt all uses.
2867 (file-notify-supported-p): New defun.
2868
c7064f05
JB
2869 * autorevert.el (auto-revert-use-notify):
2870 Use `file-notify-supported-p' instead of `file-notify-support'.
2871 Adapt docstring.
e06ec67f
MA
2872 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2873
2874 * net/tramp.el (tramp-file-name-for-operation):
2875 Add `file-notify-supported-p'.
2876
2877 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2878 New defun.
2879 (tramp-sh-file-name-handler-alist): Add it as handler for
2880 `file-notify-supported-p '.
2881
2882 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2883 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2884 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2885 Add `ignore' as handler for `file-notify-*' functions.
2886
5dc8a629
EZ
28872013-07-17 Eli Zaretskii <eliz@gnu.org>
2888
2889 * simple.el (line-move-partial, line-move): Don't start vscroll or
2890 scroll-up if the current line is not taller than the window.
2891 (Bug#14881)
2892
77aea2fb
DG
28932013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2894
2895 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2896 highlight question marks in the method names as strings.
ac72c08d
DG
2897 (ruby-block-beg-keywords): Inline.
2898 (ruby-font-lock-keyword-beg-re): Extract from
2899 `ruby-font-lock-keywords'.
77aea2fb 2900
18c26d81
JD
29012013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2902
2903 * frame.el (blink-cursor-blinks): New defcustom.
2904 (blink-cursor-blinks-done): New defvar.
2905 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2906 (blink-cursor-timer-function): Check if number of blinks has been
2907 done on X and NS.
2908 (blink-cursor-suspend, blink-cursor-check): New defuns.
2909
da48522e
GM
29102013-07-15 Glenn Morris <rgm@gnu.org>
2911
2912 * edmacro.el (edmacro-format-keys): Fix previous change.
2913
0463c1ef
PE
29142013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2915
2916 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2917 The hack didn't work outside English locales anyway.
2918
b43f6451
JB
29192013-07-15 Juanma Barranquero <lekktu@gmail.com>
2920
2921 * simple.el (define-alternatives): Rename from alternatives-define,
2922 per RMS' suggestion.
2923
b958c0ad
JB
29242013-07-14 Juanma Barranquero <lekktu@gmail.com>
2925
2926 * desktop.el (desktop-restore-frames): Change default to t.
2927 (desktop-restore-in-current-display): Now offer more options.
2928 (desktop-restoring-reuses-frames): New customization option.
2929 (desktop--saved-states): Doc fix.
2930 (desktop-filter-parameters-alist): New variable, renamed and expanded
2931 from desktop--excluded-frame-parameters.
2932 (desktop--target-display): New variable.
2933 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2934 (desktop--filter-tty*, desktop--filter-*-color)
2935 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2936 (desktop--filter-save-desktop-parm)
2937 (desktop-restore-in-original-display-p): New functions.
2938 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2939 (desktop--save-minibuffer-frames): New function, inspired by a similar
2940 function from Martin Rudalics.
2941 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2942 (desktop--restore-in-this-display-p): Remove.
2943 (desktop--find-frame): Rename from desktop--find-frame-in-display
2944 and add predicate argument.
2945 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2946 (desktop--reuse-list): New variable.
2947 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2948 New functions.
2949 (desktop--restore-frames): Add support for "minibuffer-special" frames.
2950
f6dd8b36
MA
29512013-07-14 Michael Albinus <michael.albinus@gmx.de>
2952
2953 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2954
2ce3c565
DG
29552013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2956
763a086d
JB
2957 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2958 Highlight conversion methods on Kernel.
2ce3c565 2959
2cdb7698
AM
29602013-07-13 Alan Mackenzie <acm@muc.de>
2961
2962 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2963 and comment it out. This out-commenting enables certain C++
2964 declarations to be parsed correctly.
2965
1a67b811
EZ
29662013-07-13 Eli Zaretskii <eliz@gnu.org>
2967
1b796d6b
EZ
2968 * international/mule.el (define-coding-system): Doc fix.
2969
1a67b811
EZ
2970 * simple.el (default-font-height): Don't call font-info if the
2971 frame's default font didn't change since the frame was created.
2972 (Bug#14838)
2973
58fbe886
LL
29742013-07-13 Leo Liu <sdl.web@gmail.com>
2975
2976 * ido.el (ido-read-file-name): Guard against non-symbol value.
2977
1f0480d4
FEG
29782013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2979
2980 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2981 in nested defuns.
2982
97ead0e5
LL
29832013-07-13 Leo Liu <sdl.web@gmail.com>
2984
2985 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2986 ido-set-matches call. (Bug#6852)
2987
0880a952
DG
29882013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2989
2990 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2991 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2992 Ruby 2.0.
2993 (ruby-font-lock-keywords): Distinguish calls to functions with
2994 module-like names from module references. Highlight character
2995 literals.
2996
a7d8babb
SDJ
29972013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2998
2999 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 3000 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 3001
acfcc8c5
JB
30022013-07-12 Juanma Barranquero <lekktu@gmail.com>
3003
3004 * desktop.el (desktop--v2s): Remove unused local variable.
3005 (desktop-save-buffer): Make defvar-local; adjust docstring.
3006 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3007 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3008
051f2775
AS
30092013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3010
3011 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3012
f24e7572
GM
30132013-07-12 Eli Zaretskii <eliz@gnu.org>
3014
3015 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3016 (Bug#14842)
3017
539a920c
GM
30182013-07-12 Glenn Morris <rgm@gnu.org>
3019
3020 * doc-view.el: Require cl-lib at runtime too.
3021 (doc-view-remove-if): Remove.
3022 (doc-view-search-next-match, doc-view-search-previous-match):
3023 Use cl-remove-if.
3024
3025 * edmacro.el: Require cl-lib at runtime too.
3026 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3027 (edmacro-mismatch, edmacro-subseq): Remove.
3028
3029 * shadowfile.el: Require cl-lib.
3030 (shadow-remove-if): Remove.
3031 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3032 Use cl-remove-if.
3033
3034 * wid-edit.el: Require cl-lib.
3035 (widget-choose): Use cl-remove-if.
3036 (widget-remove-if): Remove.
3037
3038 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3039 (ebrowse-delete-if-not): Remove.
3040 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3041 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3042 Use cl-delete-if-not.
3043
1048af7c
JB
30442013-07-12 Juanma Barranquero <lekktu@gmail.com>
3045
3046 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3047 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3048
6c0674ee
LL
30492013-07-12 Leo Liu <sdl.web@gmail.com>
3050
3051 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3052
a19b3c2d
GM
30532013-07-11 Glenn Morris <rgm@gnu.org>
3054
4582a01c
GM
3055 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3056 (edebug-gensym-index, edebug-gensym):
3057 Remove reimplementation of cl-gensym.
3058 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3059
3060 * thumbs.el: Require cl-lib at run-time too.
3061 (thumbs-gensym-counter, thumbs-gensym):
3062 Remove reimplementation of cl-gensym.
3063 (thumbs-temp-file): Use cl-gensym.
3064
a19b3c2d
GM
3065 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3066 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3067 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3068 (ert--union, ert--gensym-counter, ert--gensym-counter)
3069 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3070 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3071 (ert-make-test-unbound, ert--expand-should-1)
3072 (ert--expand-should, ert--should-error-handle-error)
3073 (should-error, ert--explain-equal-rec)
3074 (ert--plist-difference-explanation, ert-select-tests)
3075 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3076 Use cl-lib functions rather than reimplementations.
3077
88f6a933
MA
30782013-07-11 Michael Albinus <michael.albinus@gmx.de>
3079
3080 * net/tramp.el (tramp-methods): Extend docstring.
3081 (tramp-connection-timeout): New defcustom.
3082 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3083 (with-tramp-progress-reporter): Simplify.
3084 (tramp-process-actions): Improve messages.
3085
3086 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3087 * net/tramp-sh.el (tramp-maybe-open-connection):
3088 Use `tramp-connection-timeout'.
3089 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3090 (Bug#14808)
3091
a43d577e
LL
30922013-07-11 Leo Liu <sdl.web@gmail.com>
3093
3094 * ido.el (ido-read-file-name): Conform to the requirements of
3095 read-file-name. (Bug#11861)
3096 (ido-read-directory-name): Conform to the requirements of
3097 read-directory-name.
3098
d77974bf
JB
30992013-07-11 Juanma Barranquero <lekktu@gmail.com>
3100
3101 * subr.el (delay-warning): New function.
3102
35cb8a3e
EZ
31032013-07-10 Eli Zaretskii <eliz@gnu.org>
3104
3105 * simple.el (default-line-height): New function.
3106 (line-move-partial, line-move): Use it instead of computing the
3107 line height inline.
3108 (line-move-partial): Always compute ROWH. If the last line is
3109 partially-visible, but its text is completely visible, allow
3110 cursor to enter such a partially-visible line.
3111
525c5c77
MA
31122013-07-10 Michael Albinus <michael.albinus@gmx.de>
3113
3114 Improve error messages. (Bug#14808)
3115
3116 * net/tramp.el (tramp-current-connection): New defvar, moved from
3117 tramp-sh.el.
0ac26976 3118 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 3119 needed anymore.
0ac26976
SM
3120 (tramp-error-with-buffer): Show message in minibuffer.
3121 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
3122 (with-tramp-progress-reporter): Improve messages.
3123 (tramp-process-actions): Use progress reporter. Delete process in
3124 case of error. Improve messages.
3125
763a086d
JB
3126 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3127 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 3128 (tramp-current-connection): Remove.
525c5c77
MA
3129 (tramp-maybe-open-connection): The car of
3130 `tramp-current-connection' are the first 3 slots of the vector.
3131
c7a4d368
TZ
31322013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3133
3134 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3135 inside continued strings.
3136
954b166e
PE
31372013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3138
3139 Timestamp fixes for undo (Bug#14824).
3140 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3141
56973319
LL
31422013-07-10 Leo Liu <sdl.web@gmail.com>
3143
3144 * files.el (require-final-newline): Allow safe local value.
3145 (Bug#14834)
3146
5550a72c
LL
31472013-07-09 Leo Liu <sdl.web@gmail.com>
3148
3149 * ido.el (ido-read-directory-name): Handle fallback.
3150 (ido-read-file-name): Update DIR to ido-current-directory.
3151 (Bug#1516)
c28b9050 3152 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 3153
70c46b28
DG
31542013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3155
3156 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3157 "autoload". Remove "warn lower camel case" section, previously
3158 commented out. Highlight negation char. Do not highlight the
3159 target in singleton method definitions.
3160
0b64b838
SM
31612013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3162
7fd72e2c
SM
3163 * faces.el (tty-setup-hook): Declare the hook.
3164
0b64b838
SM
3165 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3166 and detect when a guard/pred depends on local vars (bug#14773).
3167 (pcase--u1): Adjust caller.
3168
ab49d60b
EZ
31692013-07-08 Eli Zaretskii <eliz@gnu.org>
3170
3171 * simple.el (line-move-partial, line-move): Account for
3172 line-spacing.
701d79aa
EZ
3173 (line-move-partial): Avoid setting vscroll when the last
3174 partially-visible line in window is of default height.
ab49d60b 3175
2d756ae0
LMI
31762013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3177
3178 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3179 been used a while.
3180
ed095bd7
JB
31812013-07-07 Juanma Barranquero <lekktu@gmail.com>
3182
3183 * subr.el (read-quoted-char): Remove unused local variable `char'.
3184
f1e6674b
MK
31852013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3186
584ee3fc
GM
3187 * ediff.el (ediff-version): Version update.
3188 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3189 (ediff-merge-with-ancestor-command, ediff-directories-command)
3190 (ediff-directories3-command, ediff-merge-directories-command)
3191 (ediff-merge-directories-with-ancestor-command): New functions.
3192 All are command-line interfaces to ediff: to facilitate calling
3193 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
3194
3195 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3196 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 3197
584ee3fc
GM
3198 * viper.el (viper-version): Version update.
3199 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 3200
584ee3fc
GM
32012013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3202
3203 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3204 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3205 (viper-intercept-ESC-key): Simplify.
3206 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3207 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3208 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3209 (viper-setup-ESC-to-escape): New functions.
3210 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3211 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 3212
9aff9b38
EZ
32132013-07-07 Eli Zaretskii <eliz@gnu.org>
3214
5165d44a
JB
3215 * simple.el (default-font-height, window-screen-lines):
3216 New functions.
9aff9b38
EZ
3217 (line-move, line-move-partial): Use them instead of
3218 frame-char-height and window-text-height. This makes scrolling
3219 text smoother when the buffer's default face uses a font that is
3220 different from the frame's default font.
3221
1afb1d07
JD
32222013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3223
3224 * files.el (write-file): Do not display confirm dialog for NS,
3225 it does its own dialog, which can't be cancelled (Bug#14578).
3226
23de972a
EZ
32272013-07-06 Eli Zaretskii <eliz@gnu.org>
3228
3229 * simple.el (line-move-partial): Adjust the row returned by
3230 posn-at-point for the current window-vscroll. (Bug#14567)
3231
54a42486
MA
32322013-07-06 Michael Albinus <michael.albinus@gmx.de>
3233
3234 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3235 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3236 spaces.
3237
34ada5f4
MR
32382013-07-06 Martin Rudalics <rudalics@gmx.at>
3239
3240 * window.el (window-state-put-stale-windows): New variable.
3241 (window--state-put-2): Save list of windows without matching buffer.
3242 (window-state-put): Remove "bufferless" windows if possible.
3243
11e03d89
JB
32442013-07-06 Juanma Barranquero <lekktu@gmail.com>
3245
3246 * simple.el (alternatives-define): Remove leftover :group keyword.
3247 Tweak docstring.
3248
3504a4be
LL
32492013-07-06 Leo Liu <sdl.web@gmail.com>
3250
3251 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3252 (ido-enable-virtual-buffers): New variable.
3253 (ido-buffer-internal, ido-toggle-virtual-buffers)
3254 (ido-make-buffer-list): Use it.
3255 (ido-exhibit): Support turning on and off virtual buffers
3256 automatically.
3257
61e56e2c
JB
32582013-07-06 Juanma Barranquero <lekktu@gmail.com>
3259
3260 * simple.el (alternatives-define): New macro.
3261
321e1a9c
SM
32622013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * subr.el (read-quoted-char): Use read-key.
3265 (sit-for): Let read-event decode tty input (bug#14782).
3266
d610f6dd
SB
32672013-07-05 Stephen Berman <stephen.berman@gmx.net>
3268
3269 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
3270 mode command and externally. Fix various related bugs.
3271 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
3272 (todo-delete-file): New command.
3273 (todo-check-file): New function.
3274 (todo-show): Handle external deletion of the file we're trying to
3275 show (bug#14688). Replace called-interactively-p by an optional
3276 prefix argument to avoid problematic interaction with catch form
3277 when byte compiled (bug#14702).
3278 (todo-quit): Handle external deletion of the archive's todo file.
3279 Make sure the buffer that was visiting the archive file is still
3280 live before trying to bury it.
3281 (todo-category-completions): Handle external deletion of any
3282 category completion files.
3283 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3284 of todo files, in case of external deletion.
3285 (todo-add-file): Replace unnecessary setq by let-binding.
3286 (todo-find-archive): Check whether there are any archives.
3287 Replace unnecessary setq by let-binding.
3288 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
3289 archive buffer whether or not the archive already exists.
3290 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
3291 check if the archive is new; if it is, update list of archives.
3292 (todo-default-todo-file): Allow nil to be a valid value for when
3293 there are no todo files.
3294 (todo-reevaluate-default-file-defcustom): Use corrected definition
3295 of todo-default-todo-file.
3296 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3297 (todo-delete-category, todo-show-categories-table)
3298 (todo-category-number): Clarify comment.
3299 (todo-filter-items): Clarify documentation string.
3300 (todo-show-current-file, todo-display-as-todo-file)
3301 (todo-reset-and-enable-done-separator): Tweak documentation string.
3302 (todo-done-separator): Make separator length window-width, since
3303 bug#2749 is now fixed.
3304
ddbdfd6f
MA
33052013-07-05 Michael Albinus <michael.albinus@gmx.de>
3306
321e1a9c
SM
3307 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3308 Support both "gvfs-monitor-dir" and "inotifywait".
3309 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
3310 `tramp-sh-file-notify-process-filter'.
3311 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3312 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3313
96eb829a
LL
33142013-07-05 Leo Liu <sdl.web@gmail.com>
3315
3316 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3317
cf13177e
YM
33182013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3319
3320 * frame.el (display-pixel-height, display-pixel-width)
3321 (display-mm-height, display-mm-width): Mention behavior on
3322 multi-monitor setups in docstrings.
3323 (w32-display-monitor-attributes-list): Declare function.
3324 (display-monitor-attributes-list): Use it.
3325
864c58ca
MA
33262013-07-04 Michael Albinus <michael.albinus@gmx.de>
3327
3328 * filenotify.el: New package.
3329
3330 * autorevert.el (top): Require filenotify.el.
3331 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3332 instead.
3333 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3334 (auto-revert-notify-handler): Use `file-notify-*' functions.
3335
3336 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3337
321e1a9c
SM
3338 * net/tramp.el (tramp-file-name-for-operation):
3339 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
3340
3341 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3342 for `file-notify-add-watch' and `file-notify-rm-watch'.
3343 (tramp-process-sentinel): Improve trace.
3344 (tramp-sh-handle-file-notify-add-watch)
3345 (tramp-sh-file-notify-process-filter)
3346 (tramp-sh-handle-file-notify-rm-watch)
3347 (tramp-get-remote-inotifywait): New defuns.
3348
96673afe
JL
33492013-07-03 Juri Linkov <juri@jurta.org>
3350
3351 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3352 call of `occur-read-primary-args' to interactive spec.
3353
3354 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3355 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3356
924494f4
MM
33572013-07-03 Matthias Meulien <orontee@gmail.com>
3358
3359 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3360 `Buffer-menu-multi-occur'. Add it to the menu.
3361 (Buffer-menu-mode): Document it in docstring.
3362 (Buffer-menu-multi-occur): New command. (Bug#14673)
3363
56f75efc
DG
33642013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3365
3366 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3367 keywords and built-ins.
3368
9b057d61
GM
33692013-07-03 Glenn Morris <rgm@gnu.org>
3370
208dee4d
GM
3371 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3372
9b057d61
GM
3373 Make info-xref checks case-sensitive by default
3374 * info.el (Info-find-node, Info-find-in-tag-table)
3375 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3376 Add option for exact case matching of nodes.
3377 * info-xref.el (info-xref): New custom group.
3378 (info-xref-case-fold): New option.
3379 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3380
e01aa29c
LL
33812013-07-03 Leo Liu <sdl.web@gmail.com>
3382
3383 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3384
3086ca2e
DG
33852013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3386
3387 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3388 middle of block statement initially, lower the depth. Remove
3389 FIXME comment, not longer valid. Remove middle of block statement
3390 detection, no need to do that anymore since we've been using
3391 `ruby-parse-region' here.
3392
a3b49114
JD
33932013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3394
3395 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3396
08e5c823 33972013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
3398
3399 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3400
2addf922
JB
34012013-07-01 Juanma Barranquero <lekktu@gmail.com>
3402
3403 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3404 (desktop-restore-in-current-display): New customization option.
3405 (desktop--excluded-frame-parameters): Add `font'.
3406 (desktop--save-frames): Rename from desktop--save-windows.
3407 (desktop--restore-in-this-display-p): New function.
3408 (desktop--make-full-frame): Remove unwanted width/height from
3409 full(width|height) frames.
3410 (desktop--restore-frames): Rename from desktop--restore-windows.
3411 Obey desktop-restore-current-display. Do not delete old frames or
3412 select a new frame unless we were able to restore at least one frame.
3413
ef099a94
MN
34142013-06-30 Michal Nazarewicz <mina86@mina86.com>
3415
3416 * files.el (find-file-noselect): Simplify conditional expression.
3417
3418 * remember.el (remember-append-to-file):
3419 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3420
3421 Add `remember-notes' function to store random notes across Emacs
3422 restarts.
3423 * remember.el (remember-data-file): Add :set callback to affect
3424 notes buffer (if any).
3425 (remember-notes): New command.
3426 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3427 New defcustoms for the `remember-notes' function.
3428 (remember-notes-save-and-bury-buffer): New command.
3429 (remember-notes-mode-map): New variable.
3430 (remember-mode): New minor mode.
3431 (remember-notes--kill-buffer-query): New function.
3432 * startup.el (initial-buffer-choice): Add notes to custom type.
3433
0865d506
EZ
34342013-06-30 Eli Zaretskii <eliz@gnu.org>
3435
0ba54312
EZ
3436 * bindings.el (right-char, left-char): Don't call sit-for, this is
3437 no longer needed. Use arithmetic comparison only for numerical
3438 arguments.
3439
ef099a94
MN
3440 * international/mule-cmds.el (select-safe-coding-system):
3441 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 3442
2fae38e5
LMI
34432013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3444
3445 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3446 progression on degenerate tables.
ef099a94 3447 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 3448
a47cbd64
JB
34492013-06-30 Juanma Barranquero <lekktu@gmail.com>
3450
3451 Some fixes and improvements for desktop frame restoration.
3452 It is still experimental and disabled by default.
3453 * desktop.el (desktop--save-windows): Put the selected frame at
3454 the head of the list.
3455 (desktop--make-full-frame): New function.
3456 (desktop--restore-windows): Try to re-select the frame that was
3457 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
3458 just show an error message and continue. Set up maximized frames
3459 so they have default non-maximized dimensions.
a47cbd64 3460
6dbafa30
DG
34612013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3462
ef099a94
MN
3463 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3464 Don't start heredoc inside a string or comment.
6dbafa30 3465
4c672a0f
EZ
34662013-06-29 Eli Zaretskii <eliz@gnu.org>
3467
3468 * bindings.el (visual-order-cursor-movement): New defcustom.
3469 (right-char, left-char): Provide visual-order cursor motion by
3470 calling move-point-visually. Update the doc strings.
3471
50960f36
KH
34722013-06-28 Kenichi Handa <handa@gnu.org>
3473
3474 * international/mule.el (define-coding-system): New coding system
3475 properties :inhibit-null-byte-detection,
3476 :inhibit-iso-escape-detection, and :prefer-utf-8.
3477 (set-buffer-file-coding-system): If :charset-list property of
3478 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3479 appropriate for setting.
3480
c1ea3abf
JB
3481 * international/mule-cmds.el (select-safe-coding-system):
3482 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3483 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
3484
3485 * international/mule-conf.el (prefer-utf-8): New coding system.
3486 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3487 files.
3488
75dbaf9d
IK
34892013-06-28 Ivan Kanis <ivan@kanis.fr>
3490
eadb6068
IK
3491 * net/shr.el (shr-render-region): New function.
3492
75dbaf9d
IK
3493 * net/eww.el: Autoload `eww-browse-url'.
3494
9ea5cf9f
DG
34952013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3496
c1ea3abf
JB
3497 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3498 Adapt to `package-desc-version' being a list.
3499 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
3500 archive element.
3501
39c0e36f
JB
35022013-06-27 Juanma Barranquero <lekktu@gmail.com>
3503
3504 New experimental feature to save&restore window and frame setup.
3505 * desktop.el (desktop-save-windows): New defcustom.
3506 (desktop--saved-states): New var.
3507 (desktop--excluded-frame-parameters): New defconst.
3508 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3509 (desktop--restore-windows, desktop--save-windows): New functions.
3510 (desktop-save): Call `desktop--save-windows'.
3511 (desktop-read): Call `desktop--restore-windows'.
3512
7f13406b
LMI
35132013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3514
ef099a94 3515 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 3516
1e072639
SB
35172013-06-27 Stephen Berman <stephen.berman@gmx.net>
3518
3519 * info.el (Info-try-follow-nearest-node): Move search for footnote
3520 above search for node name to prevent missing a footnote (bug#14717).
3521
f3e2cbde
SB
35222013-06-27 Stephen Berman <stephen.berman@gmx.net>
3523
3524 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3525
99906aa0
LL
35262013-06-27 Leo Liu <sdl.web@gmail.com>
3527
3528 * net/eww.el (eww-read-bookmarks): Check file size.
3529
539f75f4
SM
35302013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3533 advice--pending if newdef is nil or an autoload (bug#13820).
3534 (advice-mapc): New function.
3535
843571cb
LMI
35362013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3537
3538 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3539 probably.
23a75d7f 3540 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
3541 (eww-add-bookmark): New command.
3542 (eww-bookmark-mode): New mode and commands.
a285ce99 3543 (eww-add-bookmark): Remove newlines from the title.
47fd571b 3544 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 3545
f2136e1e
GM
35462013-06-26 Glenn Morris <rgm@gnu.org>
3547
eab35f39
GM
3548 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3549 (hfy-size): Handle ttys. (Bug#14668)
3550
f2136e1e
GM
3551 * info-xref.el: Update for Texinfo 5 change in *note format.
3552 (info-xref-node-re, info-xref-note-re): New constants.
3553 (info-xref-check-buffer): Use info-xref-note-re.
3554
a49ff80c
SM
35552013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3556
a343d218
SM
3557 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3558
a49ff80c
SM
3559 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3560 nil terminate the loop (bug#14718).
3561
8308f184
LMI
35622013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3563
3564 * net/eww.el: Rework history traversal. When going forward/back,
3565 put these actions into the history, too, so that they can be
3566 replayed.
26bf2b82 3567 (eww-render): Move the history reset to the correct buffer.
8308f184 3568
ec64c273
JL
35692013-06-25 Juri Linkov <juri@jurta.org>
3570
3571 * files-x.el (modify-dir-local-variable): Change the header comment
3572 in the file with directory local variables. (Bug#14692)
3573
e080a9d7
JL
3574 * files-x.el (read-file-local-variable-value): Add `default'.
3575 (Bug#14710)
3576
bfbc93a1
IK
35772013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3578
3579 * net/eww.el (eww-make-unique-file-name): Create a unique file
3580 name before saving to entering `y' accidentally asynchronously.
3581
35822013-06-25 Ivan Kanis <ivan@kanis.fr>
3583
3584 * net/eww.el (eww-download): New command and keystroke.
3585
16f74f10
LMI
35862013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3587
a49ff80c 3588 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
3589
3590 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3591 be more consistent with Info and dired.
3592
3593 * net/eww.el (eww-mode-map): Ditto.
3594
12059709
SM
35952013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3596
3597 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3598 packages from archives.
3599 (package-archive-contents): Change format; include obsolete packages.
3600 (package-desc): Use `dir' to mark builtin packages.
3601 (package--from-builtin): Set the `dir' field to `builtin'.
3602 (generated-autoload-file, version-control): Declare.
3603 (package-compute-transaction): Change first arg and return value to be
3604 lists of package-descs. Adjust to new package-archive-contents format.
3605 (package--add-to-archive-contents): Adjust to new
3606 package-archive-contents format.
3607 (package-download-transaction): Arg is now a list of package-descs.
3608 (package-install): If `pkg' is a package name, pass it as
3609 a requirement, so it is subject to the usual (e.g. disabled) checks.
3610 (describe-package): Accept package-desc as well.
3611 (describe-package-1): Describe a specific package-desc. Add links to
3612 other package-descs for the same package name.
3613 (package-menu-describe-package): Pass the actual package-desc.
3614 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3615 works correctly.
3616 (package-desc-status): New function.
3617 (package-menu--refresh): New function, extracted
3618 from package-menu--generate.
3619 (package-menu--generate): Use it.
3620 (package-delete): Update package-alist.
3621 (package-menu-execute): Don't call package-initialize.
3622
3623 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3624 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3625 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3626 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3627 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3628 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3629
8bbdea0f
MR
36302013-06-25 Martin Rudalics <rudalics@gmx.at>
3631
3632 * window.el (window--state-get-1): Workaround for bug#14527.
3633 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3634
e82b0991
LMI
36352013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3636
3637 * net/eww.el (eww-back-url): Implement the history by stashing all
3638 the data into a list.
d3f0f918 3639 (eww-forward-url): Allow going forward in the history, too.
e82b0991 3640
c763842b
SM
36412013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3644 for values and use read--expression for expressions (bug#14710).
3645 (read-file-local-variable): Avoid setq.
3646 (read-file-local-variable-mode): Use minor-mode-list.
3647
bceff189
RW
36482013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3649
864c58ca 3650 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
3651 for DOI URLs.
3652
45f431c6
RW
36532013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3654
864c58ca 3655 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
3656 Update imenu-support when dialect changes.
3657
f42d8237
LL
36582013-06-25 Leo Liu <sdl.web@gmail.com>
3659
3660 * ido.el (ido-read-internal): Allow forward slash on windows.
3661
be549ce6
LMI
36622013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3663
3664 * net/eww.el (eww): Start of strings is \\`, not ^.
3665
71d4c19d
IK
36662013-06-24 Ivan Kanis <ivan@kanis.fr>
3667
5196f88a
IK
3668 * net/shr.el (shr-browse-url): Fix interactive spec.
3669
71d4c19d
IK
3670 * net/eww.el (eww): Add a trailing slash to domain names.
3671
ae36ca55
JB
36722013-06-24 Juanma Barranquero <lekktu@gmail.com>
3673
3674 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3675
0ebd92a3
LMI
36762013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3677
bdaa086b
LMI
3678 * net/shr.el (shr-browse-url): Use an external browser if given a
3679 prefix.
3680
c763842b 3681 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 3682
b89fc156
IK
36832013-06-24 Ivan Kanis <ivan@kanis.fr>
3684
3685 * net/eww.el (eww): Work more correctly for file: URLs.
3686 (eww-detect-charset): Allow quoted charsets.
3687 (eww-yank-page-url): New command and keystroke.
3688
18eb4bca
DU
36892013-06-24 Daiki Ueno <ueno@gnu.org>
3690
3691 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3692 file name of gpg executable.
3693 (epg-context-program): New function.
3694 (epg-context-home-directory): New function.
3695 (epg-context-set-program): New function.
3696 (epg-context-set-home-directory): New function.
3697 (epg--start): Use `epg-context-program' instead of
3698 'epg-gpg-program'.
3699 (epg--list-keys-1): Likewise.
3700
6c6268c8
LL
37012013-06-24 Leo Liu <sdl.web@gmail.com>
3702
3703 * ido.el (ido-read-internal): Fix bug#14620.
3704
5e400cb3
JB
37052013-06-23 Juanma Barranquero <lekktu@gmail.com>
3706
3707 * faces.el (face-documentation): Simplify.
3708 (read-face-attribute, tty-find-type, x-resolve-font-name):
3709 Use `string-match-p'.
3710 (list-faces-display): Use `string-match-p'. Simplify.
3711 (face-spec-recalc): Check face to avoid face alias loops.
3712 (read-color): Use `string-match-p' and non-capturing parenthesis.
3713
f3f9606c
LMI
37142013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3715
3716 * net/shr.el (shr-rescale-image): Use the new
3717 :max-width/:max-height functionality.
3718
a3ca09b9
IK
37192013-06-23 Ivan Kanis <ivan@kanis.fr>
3720
3721 * net/eww.el (eww-search-prefix): New variable.
3722 (eww): Use it.
f865b474
IK
3723 (eww-external-browser): New variable.
3724 (eww-mode-map): New keystroke.
3725 (eww-browse-with-external-browser): New command.
a3ca09b9 3726
e854cfc7
IK
3727 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3728
18bb9e21
JB
37292013-06-23 Juanma Barranquero <lekktu@gmail.com>
3730
3731 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3732 Don't skip aligning the next header field when padding is 0;
3733 otherwise, field width is not respected unless the title is as
3734 wide as the field.
3735
5b165ade
SM
37362013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3737
3738 * emacs-lisp/package.el (package-el-version): Remove.
3739 (package-process-define-package): Fix inf-loop.
3740 (package-install): Allow symbols as arguments again.
3741
12adebe9
DG
37422013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3743
3744 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3745 add some more keyword-like methods.
3746 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3747
388573ee
JB
37482013-06-22 Juanma Barranquero <lekktu@gmail.com>
3749
3750 * bs.el (bs-buffer-show-mark): Make defvar-local.
3751 (bs-mode): Use setq-local.
3752
3753 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3754 (emacs-lock--try-unlocking): Make defvar-local.
3755
4582a01c 37562013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 3757
2663dd23
GM
3758 * play/cookie1.el (cookie-apropos): Minor simplification.
3759
3d94f3ad
GM
3760 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3761
f72e2fdb
DG
37622013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3763
3764 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3765 `regexp-opt', it breaks the build during dumping.
3766
73eab938
DG
37672013-06-21 Dmitry Gutov <dgutov@yandex.ru>
3768
c763842b
SM
3769 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3770 Highlight keyword-like methods on Kernel and Module with
73eab938 3771 font-lock-builtin-face.
5cf8176d
DG
3772 (auto-mode-alist): Consolidate different entries into one regexp
3773 and add more *file-s.
73eab938 3774
d26255f6
SB
37752013-06-21 Stephen Berman <stephen.berman@gmx.net>
3776
3777 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3778
3779 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3780 (diary-entry): Use it in the action of this button type instead of
3781 diary-goto-entry.
3782
3783 * calendar/todo-mode.el: New version.
3784 (todo-add-category): Append new category to end of file and give
3785 it the highest number, instead of putting it at the beginning and
3786 giving it 0. Incorporate noninteractive functionality.
3787 (todo-forward-category): Adapt to 1-based category numbering.
3788 Allow skipping over archived categories.
3789 (todo-backward-category): Derive from todo-forward-category.
3790 (todo-backward-item, todo-forward-item): Make noninteractive and
3791 delegate interactive part to new commands. Make sensitive to done items.
3792 (todo-categories): Make value an alist of category names and
3793 vectors of item counts.
3794 (todo-category-beg): Make a defconst.
3795 (todo-category-number): Use 1 instead of 0 as initial value.
3796 (todo-category-select): Make sensitive to overlays, optional item
3797 highlighting and done items.
3798 (todo-delete-item): Make sensitive to overlays and marked and done items.
3799 (todo-edit-item): Make sensitive to overlays and editing of
3800 date/time header optional. Add format checks.
3801 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
3802 no-op if point is not on an item. Advertise using todo-edit-quit.
3803 (todo-edit-mode): Make sensitive to new format, font-locking, and
3804 multiple todo files.
3805 (todo-insert-item, todo-insert-item-here): Derive from
3806 todo-basic-insert-item and extend functionality.
3807 (todo-item-end, todo-item-start): Make sensitive to done items.
3808 (todo-item-string): Don't return text properties. Restore point.
3809 (todo-jump-to-category): Make sensitive to multiple todo files and
3810 todo archives. Use extended category completion.
3811 (todo-lower-item, todo-raise-item): Rename to *-priority and
3812 derive from todo-set-item-priority.
3813 (todo-mode): Derive from special-mode. Make sensitive to new
3814 format, font-locking and multiple todo files. Make read-only.
3815 (todo-mode-map): Don't suppress digit keys, so they can supply
3816 prefix arguments. Add many new key bindings.
3817 (todo-prefix): Insert as an overlay instead of file text.
3818 Change semantics from diary date expression to purely visual mark.
3819 (todo-print): Rename to todo-print-buffer. Make buffer display
3820 features printable. Remove option to restrict number of items
3821 printed. Add option to print to file.
3822 (todo-print-function): Rename to todo-print-buffer-function.
3823 (todo-quit): Extend to handle exiting new todo modes.
3824 (todo-remove-item): Make sensitive to overlays.
3825 (todo-save): Extend to buffers of filtered items.
3826 (todo-show): Make sensitive to done items, multiple todo files and
3827 new todo modes. Offer to convert legacy todo file before creating
3828 first new todo file.
3829 (todo-show-priorities): Rename to todo-top-priorities.
3830 Change semantics of value 0.
3831 (todo-top-priorities): Rename to todo-filter-top-priorities,
3832 derive from todo-filter-items and extend functionality.
3833 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
3834 and extend functionality to other types of filtered items.
3835 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
3836 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
3837 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
3838 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
3839 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
3840 (todo-edit-mode-hook, todo-entry-prefix-function)
3841 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
3842 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
3843 (todo-initials, todo-insert-threshold, todo-item-string-start)
3844 (todo-line-string, todo-menu, todo-mode-hook)
3845 (todo-more-important-p, todo-previous-answer, todo-previous-line)
3846 (todo-print-priorities, todo-remove-separator)
3847 (todo-save-top-priorities-too, todo-string-count-lines)
3848 (todo-string-multiline-p, todo-time-string-format)
3849 (todo-tmp-buffer-name): Remove.
3850 (todo-add-file, todo-archive-done-item, todo-choose-archive)
3851 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
3852 (todo-edit-category-diary-inclusion)
3853 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
3854 (todo-edit-file, todo-edit-item-date-day)
3855 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
3856 (todo-edit-item-date-month, todo-edit-item-date-to-today)
3857 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3858 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3859 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3860 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3861 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3862 (todo-filter-top-priorities-multifile, todo-find-archive)
3863 (todo-find-filtered-items-file, todo-go-to-source-item)
3864 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3865 (todo-jump-to-archive-category, todo-lower-category)
3866 (todo-mark-category, todo-marked-item-p, todo-merge-category)
3867 (todo-move-category, todo-move-item, todo-next-button)
3868 (todo-next-item, todo-padded-string, todo-powerset)
3869 (todo-previous-button, todo-previous-item)
3870 (todo-print-buffer-to-file, todo-raise-category)
3871 (todo-rename-category, todo-repair-categories-sexp, todo-search)
3872 (todo-set-category-number, todo-set-item-priority)
3873 (todo-set-top-priorities-in-category)
3874 (todo-set-top-priorities-in-file, todo-show-categories-table)
3875 (todo-sort-categories-alphabetically-or-numerically)
3876 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3877 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3878 (todo-toggle-item-header, todo-toggle-item-highlighting)
3879 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3880 (todo-toggle-view-done-items, todo-toggle-view-done-only)
3881 (todo-unarchive-items, todo-unmark-category): New commands.
3882 (todo-absolute-file-name, todo-add-to-buffer-list)
3883 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3884 (todo-basic-insert-item, todo-category-completions)
3885 (todo-category-number, todo-category-string-matcher-1)
3886 (todo-category-string-matcher-2, todo-check-filtered-items-file)
3887 (todo-check-format, todo-clear-matches)
3888 (todo-comment-string-matcher, todo-convert-legacy-date-time)
3889 (todo-current-category, todo-date-string-matcher)
3890 (todo-define-insertion-command, todo-diary-expired-matcher)
3891 (todo-diary-goto-entry, todo-diary-item-p)
3892 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3893 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3894 (todo-done-item-section-p, todo-done-separator)
3895 (todo-done-string-matcher, todo-files, todo-filter-items)
3896 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3897 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3898 (todo-insert-category-line, todo-insert-item-from-calendar)
3899 (todo-insert-sort-button, todo-insert-with-overlays)
3900 (todo-insertion-command-name, todo-insertion-key-bindings)
3901 (todo-label-to-key, todo-longest-category-name-length)
3902 (todo-make-categories-list, todo-mode-external-set)
3903 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3904 (todo-modes-set-3, todo-multiple-filter-files)
3905 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3906 (todo-read-category, todo-read-date, todo-read-dayname)
3907 (todo-read-file-name, todo-read-time)
3908 (todo-reevaluate-category-completions-files-defcustom)
3909 (todo-reevaluate-default-file-defcustom)
3910 (todo-reevaluate-filelist-defcustoms)
3911 (todo-reevaluate-filter-files-defcustom)
3912 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3913 (todo-reset-done-separator, todo-reset-done-separator-string)
3914 (todo-reset-done-string, todo-reset-global-current-todo-file)
3915 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3916 (todo-reset-prefix, todo-set-categories)
3917 (todo-set-date-from-calendar, todo-set-show-current-file)
3918 (todo-set-top-priorities, todo-short-file-name)
3919 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3920 (todo-total-item-counts, todo-update-buffer-list)
3921 (todo-update-categories-display, todo-update-categories-sexp)
3922 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3923 New functions.
3924 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3925 New major modes.
3926 (todo-categories, todo-display, todo-edit, todo-faces)
3927 (todo-filtered): New defgroups.
3928 (todo-archived-only, todo-button, todo-category-string, todo-date)
3929 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3930 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3931 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3932 (todo-add-item-if-new-category, todo-always-add-time-string)
3933 (todo-categories-align, todo-categories-archived-label)
3934 (todo-categories-category-label, todo-categories-diary-label)
3935 (todo-categories-done-label, todo-categories-number-separator)
3936 (todo-categories-todo-label, todo-categories-totals-label)
3937 (todo-category-completions-files, todo-completion-ignore-case)
3938 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3939 (todo-done-separator-string, todo-done-string)
3940 (todo-files-function, todo-filter-done-items, todo-filter-files)
3941 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3942 (todo-initial-category, todo-initial-file, todo-item-mark)
3943 (todo-legacy-date-time-regexp, todo-mode-line-function)
3944 (todo-nondiary-marker, todo-number-prefix)
3945 (todo-print-buffer-function, todo-show-current-file)
3946 (todo-show-done-only, todo-show-first, todo-show-with-done)
3947 (todo-skip-archived-categories, todo-top-priorities-overrides)
3948 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3949 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3950 New defcustoms.
3951 (todo-category-done, todo-date-pattern, todo-date-string-start)
3952 (todo-diary-items-buffer, todo-done-string-start)
3953 (todo-filtered-items-buffer, todo-item-start)
3954 (todo-month-abbrev-array, todo-month-name-array)
3955 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3956 (todo-top-priorities-buffer): New defconsts.
3957 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3958 (todo-categories-with-marks, todo-category-string-face)
3959 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3960 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3961 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3962 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3963 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3964 (todo-font-lock-keywords, todo-global-current-todo-file)
3965 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3966 (todo-insertion-commands-args)
3967 (todo-insertion-commands-args-genlist)
3968 (todo-insertion-commands-names, todo-insertion-map)
3969 (todo-key-bindings-t, todo-key-bindings-t+a)
3970 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3971 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3972 (todo-nondiary-face, todo-print-buffer, todo-time-face)
3973 (todo-visited): New variables.
3974
cad5d1cb
GM
39752013-06-21 Glenn Morris <rgm@gnu.org>
3976
3977 * play/cookie1.el (cookie-apropos): Add optional display argument.
3978 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3979 (psychoanalyze-pinhead): Use cookie-doctor.
3980
9e277302
JB
39812013-06-21 Juanma Barranquero <lekktu@gmail.com>
3982
3983 * emacs-lisp/package.el (tar-get-file-descriptor)
3984 (tar--extract): Declare.
3985
c5b0993e
EW
39862013-06-21 Eduard Wiebe <usenet@pusto.de>
3987
3988 Extend flymake's warning predicate to be a function (bug#14217).
3989 * progmodes/flymake.el (flymake-warning-predicate): New.
3990 (flymake-parse-line): Use it.
3991 (flymake-warning-re): Make obsolete alias to
3992 `flymake-warning-predicate'.
3993
a7d2d465
SM
39942013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3997 (package-obsolete-list): Remove.
3998 (package-activate): Remove min-version argument. Add `force' argument.
3999 Adjust to new package-alist format.
4000 (package-mark-obsolete): Remove.
4001 (package-unpack): Force reload of the package's autoloads.
4002 (package-installed-p): Check builtins if the installed package is not
4003 recent enough.
4004 (package-initialize): Don't reset package-obsolete-list.
4005 Don't specify which package version to activate.
4006 (package-process-define-package, describe-package-1)
4007 (package-menu--generate): Adjust to new package-alist format.
4008
cedf5c9d
JB
40092013-06-21 Juanma Barranquero <lekktu@gmail.com>
4010
4011 * allout-widgets.el (allout-widgets-mode-off)
4012 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4013 (allout-widgets-post-command-business)
4014 (allout-widgets-after-copy-or-kill-function)
4015 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4016 (allout-decorate-item-and-context)
4017 (allout-graphics-modification-handler): Fix typos in docstrings.
4018 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4019
4020 * cmuscheme.el (scheme-start-file): Doc fix.
4021 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4022 (scheme-input-filter): Use `string-match-p'.
4023
4024 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4025
4026 * dired-x.el: Use Dired consistently in docstrings.
4027
4028 * dired.el: Use Dired consistently in docstrings.
4029 (dired-readin, dired-mode): Use `setq-local'.
4030 (dired-switches-alist): Make defvar-local.
4031 (dired-buffers-for-dir): Use `zerop'.
4032 (dired-safe-switches-p, dired-switches-escape-p)
4033 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4034 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4035 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4036 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4037 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4038 (dired-toggle-marks, dired-mark-files-containing-regexp)
4039 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4040 (dired-flag-auto-save-files, dired-flag-backup-files):
4041 Use `looking-at-p'.
4042 (dired-mark-files-regexp, dired-build-subdir-alist):
4043 Use `string-match-p', `looking-at-p'.
4044
4045 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4046 (direct-print-region-helper): Use `string-match-p'.
4047
aed838b5
LL
40482013-06-21 Leo Liu <sdl.web@gmail.com>
4049
cedf5c9d
JB
4050 * comint.el (comint-redirect-results-list-from-process):
4051 Fix infinite loop.
aed838b5 4052
d80a808f
LMI
40532013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4054
4055 * net/eww.el (eww-update-header-line-format): Quote % characters.
4056
e7a526e3
GM
40572013-06-21 Glenn Morris <rgm@gnu.org>
4058
4059 * play/cookie1.el (cookie): New custom group.
4060 (cookie-file): New option.
4061 (cookie-check-file): New function.
4062 (cookie): Make it interactive. Make start and end messages optional.
4063 Interactively, display the result. Default to cookie-file.
4064 (cookie-insert): Default to cookie-file.
4065 (cookie-snarf): Make start and end messages optional.
4066 Default to cookie-file. Use with-temp-buffer.
4067 (cookie-read): Rename from read-cookie.
4068 Make start and end messages optional. Default to cookie-file.
4069 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 4070 Do not autoload it.
e7a526e3
GM
4071 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4072 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4073
62efb35e
LL
40742013-06-21 Leo Liu <sdl.web@gmail.com>
4075
4076 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4077
21e3f963
GM
40782013-06-21 Glenn Morris <rgm@gnu.org>
4079
4080 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4081
fd846ab4
SM
40822013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4083 Daniel Hackney <dan@haxney.org>
4084
4085 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4086 Consolidate the single-file vs tarball code.
4087 (package-desc-suffix): New function.
4088 (package-desc-full-name): Don't bother inlining it.
4089 (package-load-descriptor): Return the new package-desc.
4090 (package-mark-obsolete): Remove unused arg `package'.
4091 (package-unpack): Make it work for single files as well.
4092 Make it update package-alist.
4093 (package--make-autoloads-and-stuff): Rename from
4094 package--make-autoloads-and-compile. Don't compile any more.
4095 (package--compile): New function.
4096 (package-generate-description-file): New function, extracted from
4097 package-unpack-single.
4098 (package-unpack-single): Remove.
4099 (package--with-work-buffer): Add indentation and debugging info.
4100 (package-download-single): Remove.
4101 (package-install-from-archive): Rename from package-download-tar, make
4102 it take a pkg-desc, and make it work for single files as well.
4103 (package-download-transaction): Simplify.
4104 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4105 external tar program.
4106 (package-install-from-buffer): Remove `pkg-desc' argument.
4107 Use package-tar-file-info for tar-mode buffers.
4108 (package-install-file): Simplify accordingly.
4109 (package-archive-base): Change to take a pkg-desc.
4110 * tar-mode.el (tar--check-descriptor): New function, extracted from
4111 tar-get-descriptor.
4112 (tar-get-descriptor): Use it.
4113 (tar-get-file-descriptor): New function.
4114 (tar--extract): New function, extracted from tar-extract.
4115 (tar--extract): Use it.
4116 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4117 case the summary uses non-ascii. Adjust to new calling convention of
4118 package-tar-file-info.
4119
b7deae5e
LL
41202013-06-21 Leo Liu <sdl.web@gmail.com>
4121
fd846ab4
SM
4122 * comint.el (comint-redirect-results-list-from-process):
4123 Fix random delay. (Bug#14681)
b7deae5e 4124
7a65a0b2
JB
41252013-06-21 Juanma Barranquero <lekktu@gmail.com>
4126
4127 * profiler.el (profiler-format-number): Use log, not log10.
4128
1493c2af
JB
41292013-06-20 Juanma Barranquero <lekktu@gmail.com>
4130
4131 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4132
aff6371e
SM
41332013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4136 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4137 yet available.
4138 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4139 (AUTOGENEL): ... here.
4140 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4141 (cl--defsubst-expand): Use it.
4142
89561f72
PE
41432013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4144
4145 * subr.el (log10): Move here from C code, and declare as obsolete.
4146 All uses of (log10 X) replaced with (log X 10).
4147
47199123
JB
41482013-06-20 Juanma Barranquero <lekktu@gmail.com>
4149
4150 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4151 Declare with `defvar-local'.
4152 (tabulated-list-use-header-line, tabulated-list-entries)
4153 (tabulated-list-padding, tabulated-list-printer)
4154 (tabulated-list-sort-key): Declare with `defvar-local'.
4155 (tabulated-list-init-header, tabulated-list-print-fake-header):
4156 Use `setq-local'.
4157
4a172eab
MA
41582013-06-20 Michael Albinus <michael.albinus@gmx.de>
4159
47199123
JB
4160 * arc-mode.el (archive-mode): Add `archive-write-file' to
4161 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 4162
5fc0acc0
JB
41632013-06-20 Juanma Barranquero <lekktu@gmail.com>
4164
d5b27848
JB
4165 * cus-edit.el (custom-commands): Fix typos.
4166 (custom-display): Fix tooltip text.
4167 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4168 Fix typos in docstrings.
4169 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4170 (custom-unlispify-menu-entry, custom-magic-value-create)
4171 (custom-add-see-also, custom-group-value-create): Use ?\s.
4172 (custom-guess-type, customize-apropos, editable-field)
4173 (custom-face-value-create): Use `string-match-p'.
4174 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4175
4176 * custom.el (custom-load-symbol): Use `string-match-p'.
4177
a5c581d8
JB
4178 * ansi-color.el: Convert to lexical binding.
4179 (ansi-colors): Fix URL.
4180 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4181 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4182 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4183
970ad972
G
41842013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4185
4186 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4187
4188 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4189
41902013-06-19 Tom Tromey <tromey@redhat.com>
4191
4192 * net/eww.el (eww-top-url): Remove.
4193 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4194 (eww-render): Set new variables. Don't set eww-top-url.
4195 (eww-handle-link): Handle "prev", "home", and "contents".
4196 Downcase the rel text.
4197 (eww-top-url): Choose best top URL.
4198
41992013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4200
4201 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4202 relying in widget.el. Using widget.el leads to too many
4203 user interface inconsistencies.
4204 (eww-self-insert): Implement entering commands in text fields.
4205 (eww-process-text-input): New function to make text input field editing
4206 work.
4207 (eww-submit): Rewrite to use the new-style form methods.
4208 (eww-select-display): Display the correct selected item.
4209 (eww-change-select): Implement changing the select value.
4210 (eww-toggle-checkbox): Implement radio/checkboxes.
4211 (eww-update-field): Fix compilation error.
4212 (eww-tag-textarea): Implement <textarea>.
4213
4214 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4215 we don't shadow mode-specific bindings.
4216
4217 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4218 nothing to push.
4219
4220 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4221
4582a01c 42222013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
4223
4224 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4225
15b263dc
MA
42262013-06-19 Michael Albinus <michael.albinus@gmx.de>
4227
4228 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4229 not needed.
4230
4231 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4232
8f5297f7
LMI
42332013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4234
4235 * net/browse-url.el (browse-url-browser-function):
4236 `eww-browse-url' has the right calling signature, `eww' does not.
4237
011c4552
GM
42382013-06-19 Glenn Morris <rgm@gnu.org>
4239
2285bd27
GM
4240 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4241 Only eval autoloaded macros.
4242 (byte-compile-autoload): Only give the macro warning for macros.
4243
1d653303
GM
4244 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4245 (ps-underlined-faces): Declare.
4246
bdd779ec
GM
4247 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4248 (speedbar-add-supported-extension): Declare.
4249
011c4552
GM
4250 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4251 Don't include a date stamp in the header of the generated file;
4252 it leads to needless differences between output files.
4253
e59dfb0e
MA
42542013-06-19 Michael Albinus <michael.albinus@gmx.de>
4255
c763842b
SM
4256 * net/secrets.el (secrets-struct-secret-content-type):
4257 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 4258 Some servers do not offer introspection.
e59dfb0e 4259
102626e2
SM
42602013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4262 * electric.el (electric-pair-mode): Improve interaction with
4263 electric-layout-mode.
4264 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4265 (electric-pair-syntax): Use text-mode-syntax-table in comments
4266 and strings.
4267 (electric-pair--insert): New function.
4268 (electric-pair-post-self-insert-function): Use it and
4269 electric--after-char-pos.
4270
ad528125
LL
42712013-06-19 Leo Liu <sdl.web@gmail.com>
4272
4273 * progmodes/octave.el (octave-help): Fix regexp.
4274
924d6997
G
42752013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4276
4277 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4278 (shr-table-horizontal-line): Allow nil as a value, and change the
4279 default.
4280 (shr-insert-table-ruler): Respect the nil value.
4281
42822013-06-18 Tom Tromey <tromey@barimba>
4283
4284 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4285 New defvars.
4286 (eww-open-file): New defun.
4287 (eww-render): Initialize new variables.
4288 (eww-display-html): Handle "link" and "a".
4289 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4290 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4291 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
4292 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4293 New defuns.
924d6997 4294
d1bbba4f
DG
42952013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4296
4297 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4298 Distinguish ternary operator tokens from slash symbol and slash
4299 char literal.
4300
14dd22d2
JB
43012013-06-18 Juanma Barranquero <lekktu@gmail.com>
4302
4303 Convert symbol prettification into minor mode and global minor mode.
4304
4305 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4306 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4307 (prettify-symbols--keywords): Rename from
4308 `prog-prettify-symbols-alist' and make a local defvar.
4309 (prettify-symbols--compose-symbol): Rename from
4310 `prog--prettify-font-lock-compose-symbol'.
4311 (prettify-symbols--make-keywords): Rename from
4312 `prog-prettify-font-lock-symbols-keywords' and simplify.
4313 (prog-prettify-install): Remove.
4314 (prettify-symbols-mode): New minor mode, based on
4315 `prog-prettify-install'.
4316 (turn-on-prettify-symbols-mode): New function.
4317 (global-prettify-symbols-mode): New globalized minor mode.
4318
4319 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4320 * progmodes/cfengine.el (cfengine3-mode):
4321 * progmodes/perl-mode.el (perl-mode): Don't call
4322 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4323
292c880c
JL
43242013-06-18 Juri Linkov <juri@jurta.org>
4325
4326 * files-x.el (modify-file-local-variable-message): New function.
4327 (modify-file-local-variable)
4328 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4329 and call `modify-file-local-variable-message' when it's non-nil.
4330 (add-file-local-variable, delete-file-local-variable)
4331 (add-file-local-variable-prop-line)
4332 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4333 and use it. (Bug#9820)
4334
0950aa27
JL
43352013-06-18 Juri Linkov <juri@jurta.org>
4336
4337 * emulation/vi.el (vi-shell-op):
4338 * emulation/vip.el (vip-execute-com, ex-command):
4339 * emulation/viper-cmd.el (viper-exec-bang):
4340 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4341 the call of `shell-command-on-region'. (Bug#14637)
4342
4343 * simple.el (shell-command-on-region): Doc fix.
4344
8fbcca16
SM
43452013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4346
4347 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4348 (bug#14633).
4349
dd7426ea
GM
43502013-06-18 Glenn Morris <rgm@gnu.org>
4351
4ba54f7d
GM
4352 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4353
dd7426ea
GM
4354 * newcomment.el (comment-search-forward, comment-search-backward):
4355 Doc fix. (Bug#14376)
4356
58aa805b
JB
43572013-06-18 Juanma Barranquero <lekktu@gmail.com>
4358
4359 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4360 (buffer-face-mode-invoke): Doc fix.
4361
9a08a617
MM
43622013-06-18 Matthias Meulien <orontee@gmail.com>
4363
4364 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 4365 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 4366
f2f426ca
GM
43672013-06-18 Glenn Morris <rgm@gnu.org>
4368
9445f99b
GM
4369 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4370 Replace obsolete function generic-make-keywords with its expansion.
4371
e0df2d14
GM
4372 * progmodes/python.el (ffap-alist): Declare.
4373
f2f426ca
GM
4374 * textmodes/reftex.el (bibtex-mode-map): Declare.
4375
f7f9a720
SM
43762013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4377
4378 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4379 (package-unpack, package-unpack-single): Return the pkg-dir.
4380 (package-download-transaction): Use it to update package-alist.
4381
57ff04e0
LMI
43822013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4383
4384 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4385 possible choice.
4386
c048c022
JL
43872013-06-17 Juri Linkov <juri@jurta.org>
4388
4389 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4390
b5bcaee5
DG
43912013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4392
a020afb9
JB
4393 * emacs-lisp/package.el (package-load-descriptor):
4394 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
4395 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4396
551e07e5
JB
43972013-06-17 Juanma Barranquero <lekktu@gmail.com>
4398
4399 * startup.el (command-line): Expand package name returned by
4400 `package--description-file' (bug#14639).
4401
d363bffb
DG
44022013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4403
4404 * emacs-lisp/package.el (package-load-descriptor): Do not call
4405 `emacs-lisp-mode', just use its syntax table.
4406
f612933b
JB
44072013-06-17 Juanma Barranquero <lekktu@gmail.com>
4408
4409 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4410 `font-lock-extra-managed-props' if any prettifying keyword is added.
4411 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4412 (prog-mode): Use `setq-local'.
4413
db3b7db5
SM
44142013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4415
4416 * international/characters.el (standard-case-table): Set syntax of ?»
4417 and ?« to punctuation.
4418
f3d674df
JB
44192013-06-16 Juanma Barranquero <lekktu@gmail.com>
4420
4421 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4422 Save relevant match data before calling `syntax-ppss' (bug#14595).
4423
31489a32
JL
44242013-06-15 Juri Linkov <juri@jurta.org>
4425
4426 * files-x.el (modify-file-local-variable-prop-line): Add local
4427 variables to the end of the existing comment on the first line.
4428 Use `file-auto-mode-skip' to skip interpreter magic line,
4429 and also skip XML declaration.
4430
66bd25ab
SM
44312013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * startup.el (package--builtin-versions): New var.
4434 (package-subdirectory-regexp): Remove.
4435 (package--description-file): Hard code its value instead.
4436
4437 * emacs-lisp/package.el: Don't activate packages older than builtin.
4438 (package-obsolete-list): Rename from package-obsolete-alist, and make
4439 it into a simple list of package-desc.
4440 (package-strip-version): Remove.
4441 (package-built-in-p): Use package--builtin-versions.
4442 (package-mark-obsolete): Simplify.
4443 (package-process-define-package): Mark it obsolete if older than the
4444 builtin version.
4445 (package-handle-response): Use line-end-position.
4446 (package-read-archive-contents, package--download-one-archive):
4447 Simplify.
4448 (package--add-to-archive-contents): Skip if older than the builtin or
4449 installed version.
4450 (package-menu-describe-package): Fix last change.
4451 (package-list-unversioned): New var.
4452 (package-menu--generate): Use it.
4453
4454 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4455 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4456 (autoload-builtin-package-versions): New variable.
4457 (autoload-generate-file-autoloads): Use them.
4458 Remove the list of autoloaded functions/macros from the
4459 (autoload...) comments.
4460
4461 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4462
9583ec36
EZ
44632013-06-15 Eli Zaretskii <eliz@gnu.org>
4464
4465 * simple.el (line-move-partial): Don't jump to the next screen
4466 line as soon as it becomes visible. Instead, continue enlarging
4467 the vscroll until the portion of a tall screen line that's left on
4468 display is about the height of the frame's default font.
4469 (Bug#14567)
4470
f0100d8a
GM
44712013-06-15 Glenn Morris <rgm@gnu.org>
4472
b86a85ca
GM
4473 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4474 compilation-error-regexp-alist void, or local while let-bound.
4475
f0100d8a
GM
4476 * progmodes/make-mode.el (makefile-mode-syntax-table):
4477 Treat "=" as punctuation. (Bug#14614)
4478
05e7ce90
JB
44792013-06-15 Juanma Barranquero <lekktu@gmail.com>
4480
4481 * help-fns.el (describe-variable):
4482 Add extra line for permanent-local variables.
4483
12e5e86e
SH
44842013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4485
4486 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4487 Add export, import, library. (Bug#9164)
4488 (library): Set indent function.
4489
230dcbaf
GM
44902013-06-14 Glenn Morris <rgm@gnu.org>
4491
4492 * term/xterm.el (xterm--query):
4493 Stop after first matching handler. (Bug#14615)
4494
e36b2d20 44952013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
4496
4497 Add support for dired in saveplace.
4498 * dired.el (dired-initial-position-hook): New variable.
4499 (dired-initial-position): Call hook to place cursor position.
4500 * saveplace.el (save-place-to-alist): Add dired position.
4501 (save-place-dired-hook): New function.
4502
0b31660d
SM
45032013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4504
bf1e6ae8
SM
4505 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4506 through a symbol rather than letrec.
4507
1b8dff23
SM
4508 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4509 (package-desc): Add `dir' field.
4510 (package-desc-full-name): New function.
4511 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4512 (package-maybe-load-descriptor): Remove.
4513 (package-load-all-descriptors): Just call package-load-descriptor.
4514 (package--disabled-p): New function.
4515 (package-desc-vers, package-desc-doc): Remove aliases.
4516 (package--dir): Remove function.
4517 (package-activate): Check if a package is disabled.
4518 (package-process-define-package): New function, extracted from
4519 define-package.
4520 (define-package): Turn into a place holder.
4521 (package-unpack-single, package-tar-file-info):
4522 Use package--description-file.
4523 (package-compute-transaction): Use package--disabled-p.
4524 (package-download-transaction): Don't call
4525 package-maybe-load-descriptor since they're all loaded anyway.
4526 (package-install): Change argument to be a pkg-desc.
4527 (package-delete): Use a single pkg-desc argument.
4528 (describe-package-1): Use package-desc-dir instead of package--dir.
4529 Use package-desc property instead of package-symbol.
4530 (package-install-button-action): Adjust accordingly.
4531 (package--push): Rewrite.
4532 (package-menu--print-info): Adjust accordingly. Change the ID format
4533 to be a pkg-desc.
4534 (package-menu-describe-package, package-menu-get-status)
4535 (package-menu--find-upgrades, package-menu-mark-upgrades)
4536 (package-menu-execute, package-menu--name-predicate):
4537 Adjust accordingly.
4538 * startup.el (package--description-file): New function.
4539 (command-line): Use it.
4540 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4541 Use package-desc-version.
4542
0b31660d
SM
4543 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4544 (byte-compile-preprocess): Use it.
4545 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4546 can't quite recognize.
4547 (byte-compile-add-to-list): Remove.
4548 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4549 (cconv-closure-convert): Add assertion.
4550
4551 * emacs-lisp/map-ynp.el: Use lexical-binding.
4552 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4553 Factor out some repeated code.
4554
de0503df
SM
45552013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4556
4557 * subr.el (with-eval-after-load): New macro.
4558 (eval-after-load): Allow form to be a function.
4559 take advantage of lexical-binding.
4560 (do-after-load-evaluation): Use dolist and adjust to new format.
4561 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4562
bc5c8c5a
JL
45632013-06-13 Juri Linkov <juri@jurta.org>
4564
4565 * replace.el (perform-replace): Display "symbol " and other search
4566 modes from `isearch-message-prefix' in the *Help* buffer.
4567
4568 * isearch.el (isearch-query-replace): Add " symbol" and other
4569 possible search modes from `isearch-message-prefix' to the prompt.
4570 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4571 when reading a regexp to collect.
4572
a22289f7
JL
45732013-06-13 Juri Linkov <juri@jurta.org>
4574
4575 * isearch.el (word-search-regexp): Match whitespace if the search
4576 string begins or ends in whitespace. The LAX arg is applied to
4577 both ends of the search string. Use `regexp-quote' and explicit
4578 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4579 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4580 boundaries are replaced with symbol boundaries, and characters
4581 between symbols match non-word non-symbol syntax. (Bug#14602)
4582
cb89acab
JL
45832013-06-13 Juri Linkov <juri@jurta.org>
4584
4585 * isearch.el (isearch-del-char): Don't exceed the length of
4586 `isearch-string' by the prefix arg. (Bug#14563)
4587
6e8cfc81
JL
45882013-06-13 Juri Linkov <juri@jurta.org>
4589
4590 * isearch.el (isearch-yank-word, isearch-yank-line)
4591 (isearch-char-by-name, isearch-quote-char)
4592 (isearch-printing-char, isearch-process-search-char):
4593 Add optional count prefix arg. (Bug#14563)
4594
4595 * international/isearch-x.el
4596 (isearch-process-search-multibyte-characters):
4597 Add optional count prefix arg.
4598
c23d55f4
VS
45992013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4602 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4603 lexical-binding.
4604
46052013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4606
4607 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4608
ba947bc4
GM
46092013-06-13 Glenn Morris <rgm@gnu.org>
4610
8baeb37a
GM
4611 * startup.el (tty-handle-args):
4612 Don't just discard "--" and anything after. (Bug#14608)
4613
ba947bc4
GM
4614 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4615
9abefce4
MA
46162013-06-13 Michael Albinus <michael.albinus@gmx.de>
4617
4618 Implement changes in Secret Service API. Make it backward compatible.
4619 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4620 (secrets-create-item): Use it. Prefix properties with interface.
4621
5755011f
MH
46222013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4623
4624 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4625 (term-emulate-terminal): Respect term-suppress-hard-newline.
4626
1261d2da
S
46272013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4628
4629 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4630 Only remove a `thumb-file' overlay. (Bug#14548)
4631
868490bb
GJ
46322013-06-12 Grégoire Jadi <daimrod@gmail.com>
4633
4634 * mail/reporter.el (reporter-submit-bug-report):
4635 Handle missing package-name. (Bug#14600)
4636
79d7167f
TH
46372013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4638
4639 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4640 (reftex-citation-prompt, reftex-default-bibliography)
4641 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4642 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4643 (reftex-bib-sort-author, reftex-bib-sort-year)
4644 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4645 (reftex-extract-bib-entries-from-thebibliography)
4646 (reftex-get-bibkey-default, reftex-get-bib-names)
4647 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4648 (reftex-format-bib-entry, reftex-parse-bibitem)
4649 (reftex-format-bibitem, reftex-do-citation)
4650 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4651 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4652 (reftex-insert-bib-matches, reftex-format-citation)
4653 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4654 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4655 existing comments into docstrings.
4656
5f9dbd7a
XF
46572013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4658
4659 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4660
94df41ab
AS
46612013-06-12 Andreas Schwab <schwab@suse.de>
4662
4663 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4664 for auto-save files.
4665
a7f3fecc
GM
46662013-06-12 Glenn Morris <rgm@gnu.org>
4667
001809f6
GM
4668 * ido.el (ido-delete-ignored-files): Remove.
4669 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4670 Go back to calling ido-ignore-item-p directly.
a7f3fecc 4671
834b5ded
EL
46722013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4673
08c73ed2
EL
4674 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4675
834b5ded
EL
4676 * ido.el (ido-delete-ignored-files): New function,
4677 split from ido-make-file-list-1.
4678 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4679 (ido-make-file-list-1): Use ido-delete-ignored-files.
4680
daabf15a
LL
46812013-06-12 Leo Liu <sdl.web@gmail.com>
4682
4683 * progmodes/octave.el (inferior-octave-startup)
4684 (inferior-octave-completion-table)
4685 (inferior-octave-track-window-width-change)
4686 (octave-eldoc-function-signatures, octave-help)
4687 (octave-find-definition): Use single quoted strings.
4688 (inferior-octave-startup-args): Change default value.
4689 (inferior-octave-startup): Do not hard code "-i" and
4690 "--no-line-editing".
4691 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4692 (inferior-octave-directory-tracker): Use it.
4693 (octave-goto-function-definition): Robustify.
4694 (octave-help): Support highlighting operators in 'See also'.
4695 (octave-find-definition): Find subfunctions only in Octave mode.
4696
cf4e5178
SM
46972013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4698
4699 * help-fns.el (help-fns--compiler-macro): If the handler function is
4700 named, then put a link to it.
4701 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4702 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4703 (cl-typep): Use it.
4704 (cl-eval-when): Simplify debug spec.
4705 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4706 compiler-macro function instead of setting `compiler-macro-file'.
4707
99c81280 47082013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
4709
4710 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4711 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4712
f56be016
SM
47132013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4714 Daniel Hackney <dan@haxney.org>
4715
4716 First part of Daniel Hackney's patch to package.el.
4717 * emacs-lisp/package.el: Use defstruct.
4718 (package-desc): New, main struct.
4719 (package--bi-desc, package--ac-desc): New structs, used to describe the
4720 format in external files.
4721 (package-desc-vers): Replace with package-desc-version accessor.
4722 (package-desc-doc): Replace with package-desc-summary accessor.
4723 (package-activate-1): Remove `package' arg since the pkg-vec now
4724 includes the name.
4725 (define-package): Use package-desc-from-define.
4726 (package-unpack-single): Change file-name arg to be a symbol.
4727 (package--add-to-archive-contents): Use package-desc-create and new
4728 accessor functions to package--ac-desc.
4729 (package-buffer-info, package-tar-file-info): Return a package-desc.
4730 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4731 arg to be a package-desc.
4732 (package-install-file): Adjust accordingly. Use \' to match EOS.
4733 (package--from-builtin): New function.
4734 (describe-package-1, package-menu--generate): Use it.
4735 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4736 (package-generate-autoloads): Idem and return the name of the file.
4737 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4738 Change pkg-info arg to be a package-desc.
4739 Use package-make-ac-desc.
4740 (package-upload-file): Use \' to match EOS.
4741 * finder.el (finder-compile-keywords): Use package-make-builtin.
4742
31119d63
SM
47432013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4744
931a2762
SM
4745 * vc/vc.el (vc-deduce-fileset): Change error message.
4746 (vc-read-backend): New function.
4747 (vc-next-action): Use it.
4748
5a3eb0c6
SM
4749 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4750
e3eb1bb7
SM
4751 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4752 (prolog-font-lock-keywords): Use regexp-opt instead.
4753 Don't manually highlight strings.
4754 (prolog-mode-variables): Simplify comment-start-skip.
4755 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4756
31119d63
SM
4757 * emacs-lisp/generic.el (generic--normalise-comments)
4758 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4759 (generic-mode-set-comments): Use them.
4760 (generic-bracket-support): Use setq-local.
4761 (generic-make-keywords-list): Declare obsolete.
4762
7de135d0
GM
47632013-06-11 Glenn Morris <rgm@gnu.org>
4764
4765 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4766 Prettify after setting font-lock-defaults. (Bug#14574)
4767
fa6bc6fd
JB
47682013-06-11 Juanma Barranquero <lekktu@gmail.com>
4769
4770 * replace.el (query-replace, occur-read-regexp-defaults-function)
4771 (replace-search):
4772 * subr.el (declare-function, number-sequence, local-set-key)
4773 (substitute-key-definition, locate-user-emacs-file)
4774 (with-silent-modifications, split-string, eval-after-load):
4775 Fix typos, remove unneeded backslashes and reflow some docstrings.
4776
cf1f9b9a
SM
47772013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4778
4779 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4780 default for Elisp files.
4781
56602a4b
GM
47822013-06-11 Glenn Morris <rgm@gnu.org>
4783
4784 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4785 although define-derived-mode was doing this anyway. (Bug#14583)
4786
30ae0b2c
JB
47872013-06-10 Juanma Barranquero <lekktu@gmail.com>
4788
4789 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4790 Fix make-variable-buffer-local call to refer to the correct variable.
4791
fa472906
AG
47922013-06-10 Aidan Gauland <aidalgol@amuri.net>
4793
4794 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
4795 (eshell-visual-subcommands, eshell-visual-options):
4796 Add summary line to docstrings. Add cross-references.
fa472906 4797
ff4871b9
GM
47982013-06-10 Glenn Morris <rgm@gnu.org>
4799
4800 * epa.el (epa-read-file-name): New function. (Bug#14510)
4801 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
4802
04fcf1b0
AG
48032013-06-09 Aidan Gauland <aidalgol@amuri.net>
4804
4805 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4806 output redirection to be ignored with visual commands.
4807
88b00caa
AG
48082013-06-09 Aidan Gauland <aidalgol@amuri.net>
4809
4810 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
4811 (eshell-term-initialize): Move long lambda to separate function
4812 eshell-visual-command-p.
e7b41c4c
JB
4813 * eshell/em-dirs.el (eshell-dirs-initialise):
4814 * eshell/em-script.el (eshell-script-initialize):
4815 Add missing #' to lambda.
88b00caa 4816
fda74125
LL
48172013-06-08 Leo Liu <sdl.web@gmail.com>
4818
4819 * progmodes/octave.el (octave-add-log-current-defun): New function.
4820 (octave-mode): Set add-log-current-defun-function.
4821 (octave-goto-function-definition): Do not move point if not found.
4822 (octave-find-definition): Enhance to try subfunctions first.
4823
467f3b33
GM
48242013-06-08 Glenn Morris <rgm@gnu.org>
4825
4826 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4827 (byte-compile-backward-char, byte-compile-backward-word):
4828 Improve previous change, to handle non-explicit nil.
4829
544badc3
SM
48302013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4831
4832 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
4833 (smie--opener/closer-at-point): New function.
4834 (smie--matching-block-data): Use it. Don't match from right after an
4835 opener or right before a closer. Obey smie-blink-matching-inners.
4836 Don't signal a mismatch for repeated inners like "switch..case..case".
4837
a175bf33
LL
48382013-06-07 Leo Liu <sdl.web@gmail.com>
4839
4840 * progmodes/octave.el (octave-mode): Set comment-use-global-state
4841 to t. (Bug#14303)
ce8209d4
LL
4842 (octave-function-header-regexp): Fix. (Bug#14570)
4843 (octave-help-mode-finish-hook, octave-help-mode-finish):
4844 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
4845
4846 * newcomment.el (comment-search-backward): Revert last change.
4847 (Bug#14434)
4848
4849 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
4850
a822acff
EZ
48512013-06-07 Eli Zaretskii <eliz@gnu.org>
4852
4853 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
4854 through xargs, to avoid failure due to MS-Windows limitations on
4855 command-line length.
4856
961166f5
GM
48572013-06-06 Glenn Morris <rgm@gnu.org>
4858
d0341459
GM
4859 * font-lock.el (lisp-font-lock-keywords-2):
4860 Treat user-error like error.
4861
961166f5
GM
4862 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4863 (byte-compile-backward-char, byte-compile-backward-word):
4864 Handle explicit nil arguments. (Bug#14565)
4865
80fa505f
AM
48662013-06-05 Alan Mackenzie <acm@muc.de>
4867
4868 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 4869 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 4870 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 4871 (Bug#9706)
80fa505f 4872
fccdc796
SM
48732013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4874
4875 * autorevert.el (auto-revert-notify-handler): Use memq.
4876 Hide assertion failure.
4877
4878 * skeleton.el: Use cl-lib.
4879 (skeleton-further-elements): Use defvar-local.
4880 (skeleton-insert): Use cl-progv.
4881
9bfff84b
TZ
48822013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4883
4884 * progmodes/prog-mode.el (prog-prettify-symbols)
4885 (prog-prettify-install): Update docstrings.
4886
55577e7c
SM
48872013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4888
4889 * simple.el: Move all the prog-mode code to prog-mode.el.
4890 * progmodes/prog-mode.el: New file.
4891 * loadup.el: Add prog-mode.el.
4892
8fc57765
TZ
48932013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4894
4895 * simple.el (prog-prettify-symbols): Add version.
4896 (prog-prettify-install): Add convenience function to prettify symbols.
4897
4898 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4899 (perl--augmented-font-lock-keywords-1)
4900 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4901 variables and use it.
4902
4903 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4904 (cfengine3-mode): Remove unneeded variable and use it.
4905
4906 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4907 (lisp--augmented-font-lock-keywords-1)
4908 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4909 Remove unneeded variables and use it.
4910
650645d5 49112013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
4912
4913 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 4914 to point when opening the connection. (Bug#14380)
28f5da6d 4915
781b4af6
SM
49162013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 * subr.el (load-history-regexp, load-history-filename-element)
4919 (eval-after-load, after-load-functions, do-after-load-evaluation)
4920 (eval-next-after-load, display-delayed-warnings)
4921 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4922 definition of save-match-data.
4923 (overriding-local-map): Remove accidental obsolescence declaration.
4924
4925 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4926
3ca0d0b4
TZ
49272013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4928
4929 Generalize symbol prettify support to prog-mode and implement it
4930 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4931 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4932 (prog--prettify-font-lock-compose-symbol)
4933 (prog-prettify-font-lock-symbols-keywords): New variables and
4934 functions to support symbol prettification.
4935 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4936 (lisp--augmented-font-lock-keywords-1)
4937 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4938 (lisp--prettify-symbols-alist): Implement prettify of lambda.
4939 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
4940 (cfengine3--prettify-symbols-alist, cfengine3-mode):
4941 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
4942 * progmodes/perl-mode.el (perl-prettify-symbols)
4943 (perl--font-lock-compose-symbol)
4944 (perl--font-lock-symbols-keywords): Move to prog-mode.
4945 (perl--prettify-symbols-alist): Prettify -> => :: strings.
4946 (perl-font-lock-keywords-1)
4947 (perl-font-lock-keywords-2): Remove explicit prettify support.
4948 (perl--augmented-font-lock-keywords)
4949 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
4950 (perl--augmented-font-lock-keywords-2, perl-mode):
4951 Implement prettify support.
3ca0d0b4 4952
976cb066
LL
49532013-06-05 Leo Liu <sdl.web@gmail.com>
4954
4955 Re-implement smie matching block highlight using
4956 show-paren-data-function. (Bug#14395)
4957 * emacs-lisp/smie.el (smie-matching-block-highlight)
4958 (smie--highlight-matching-block-overlay)
4959 (smie--highlight-matching-block-lastpos)
4960 (smie-highlight-matching-block)
4961 (smie-highlight-matching-block-mode): Remove.
4962 (smie--matching-block-data-cache): New variable.
4963 (smie--matching-block-data): New function.
4964 (smie-setup): Use smie--matching-block-data for
4965 show-paren-data-function.
4966
4967 * progmodes/octave.el (octave-mode-menu): Fix.
4968 (octave-find-definition): Skip garbage lines.
4969
208d0342
SM
49702013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 Fix compilation error with simultaneous dynamic+lexical scoping.
4973 Add warning when a defvar appears after the first let-binding.
4974 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4975 (byte-compile-close-variables): Initialize it.
4976 (byte-compile--declare-var): New function.
4977 (byte-compile-file-form-defvar)
4978 (byte-compile-file-form-define-abbrev-table)
4979 (byte-compile-file-form-custom-declare-variable): Use it.
4980 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4981 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4982 (byte-compile-bind): Handle dynamic bindings that shadow
4983 lexical bindings.
4984 (byte-compile-unbind): Make arg non-optional.
4985 (byte-compile-let): Simplify.
4986 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4987 (cconv--analyse-function, cconv-analyse-form): Populate it.
4988 Protect byte-compile-bound-variables to limit the scope of defvars.
4989 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4990 Remove unneeded rule for `declare'.
4991
4992 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4993 so as to avoid depending on cl-adjoin at run-time.
4994 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4995
4996 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4997 (macroexp--warn-and-return): Use it.
4998
2587b005
LL
49992013-06-05 Leo Liu <sdl.web@gmail.com>
5000
5001 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5002
f1da3c88
LL
50032013-06-04 Leo Liu <sdl.web@gmail.com>
5004
5005 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5006 (compilation-auto-jump): Suppress the "Mark set" message to give
5007 way to exit message.
5008
3caa391f
AM
50092013-06-04 Alan Mackenzie <acm@muc.de>
5010
5011 Remove faulty optimisation from indentation calculation.
5012 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5013 search limit based on 2000 characters back from indent-point.
5014
068922a2
TH
50152013-06-03 Tassilo Horn <tsdh@gnu.org>
5016
5017 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5018
1f8fdd53
SM
50192013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5020
bbcc4d97
SM
5021 * emacs-lisp/lisp.el: Use lexical-binding.
5022 (lisp--local-variables-1, lisp--local-variables): New functions.
5023 (lisp--local-variables-completion-table): New var.
208d0342 5024 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 5025
1f8fdd53
SM
5026 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5027 eagerly (bug#14422).
5028
c9628c79
MA
50292013-06-03 Michael Albinus <michael.albinus@gmx.de>
5030
5031 * autorevert.el (auto-revert-notify-enabled)
5032 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5033 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5034 (auto-revert-notify-handler): Handle also gfilenotify.
5035
e7b41c4c 5036 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 5037 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 5038 Remove.
c9628c79 5039
e5e4a942
JL
50402013-06-03 Juri Linkov <juri@jurta.org>
5041
5042 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5043 `M-s h .'. (Bug#14427)
5044
5045 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5046 command `hi-lock-face-symbol-at-point'.
5047 (hi-lock-face-symbol-at-point): New command.
5048 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5049 (hi-lock-menu): Add `highlight-symbol-at-point'.
5050 (hi-lock-mode): Doc fix.
5051
5052 * isearch.el (isearch-forward-symbol-at-point): New command.
5053 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5054 (isearch-highlight-regexp): Add a regexp which matches
5055 words/symbols for word/symbol mode.
5056
5057 * subr.el (find-tag-default-bounds): New function with the body
5058 mostly moved from `find-tag-default'.
5059 (find-tag-default): Move most code to `find-tag-default-bounds',
5060 call it and apply `buffer-substring-no-properties' afterwards.
5061
26b3353a
TH
50622013-06-03 Tassilo Horn <tsdh@gnu.org>
5063
781b4af6
SM
5064 * eshell/em-term.el (eshell-term-initialize):
5065 Use `cl-intersection' rather than `intersection'.
26b3353a 5066
51b60f53
XF
50672013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5068
fe054b63 5069 * vc/log-view.el: Doc fix.
d3ffe17c 5070 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 5071
a0eb10b3 50722013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
5073
5074 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5075 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5076 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5077 (eieio-unbound, eieio-default-superclass)
5078 (eieio--define-field-accessors, method-static, method-before)
5079 (method-primary, method-after, method-num-lists)
5080 (method-generic-before, method-generic-primary)
5081 (method-generic-after, method-num-slots)
5082 (eieio-specialized-key-to-generic-key)
5083 (eieio--check-type, class-v, class-p)
5084 (eieio-class-name, define-obsolete-function-alias)
5085 (eieio-class-parents-fast, eieio-class-children-fast)
5086 (same-class-fast-p, class-constructor, generic-p)
5087 (generic-primary-only-p, generic-primary-only-one-p)
5088 (class-option-assoc, class-option, eieio-object-p)
5089 (class-abstract-p, class-method-invocation-order)
5090 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5091 (eieio-class-un-autoload, eieio-defclass)
5092 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5093 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5094 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5095 (eieio-defgeneric-reset-generic-form)
5096 (eieio-defgeneric-form-primary-only)
5097 (eieio-defgeneric-reset-generic-form-primary-only)
5098 (eieio-defgeneric-form-primary-only-one)
5099 (eieio-defgeneric-reset-generic-form-primary-only-one)
5100 (eieio-unbind-method-implementations)
5101 (eieio--defmethod, eieio--typep)
5102 (eieio-perform-slot-validation, eieio-validate-slot-value)
5103 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5104 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5105 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5106 (eieio-slot-name-index, eieio-class-slot-name-index)
5107 (eieio-set-defaults, eieio-initarg-to-attribute)
5108 (eieio-attribute-to-initarg, eieio-c3-candidate)
5109 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5110 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5111 (eieio-class-precedence-list, eieio-generic-call-methodname)
5112 (eieio-generic-call-arglst, eieio-generic-call-key)
5113 (eieio-generic-call-next-method-list)
5114 (eieio-pre-method-execution-functions, eieio-generic-call)
5115 (eieio-generic-call-primary-only, eieiomt-method-list)
5116 (eieiomt-optimizing-obarray, eieiomt-install)
5117 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5118 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 5119 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
5120 (defclass): Remove `eval-and-compile' from macro.
5121 (call-next-method, shared-initialize): Instead of using
5122 `scoped-class' variable, use new eieio--scoped-class, and
5123 eieio--with-scoped-class.
5124 (initialize-instance): Rename local variable 'scoped-class' to
5125 'this-class' to remove ambiguitity from old global.
5126
5127 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5128 eieio.el.
4f405069
JB
5129 (eieio--scoped-class-stack): New variable.
5130 (eieio--scoped-class): New fcn.
890f7890
DE
5131 (eieio--with-scoped-class): New scoping macro.
5132 (eieio-defclass): Use pushnew instead of add-to-list.
5133 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5134 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5135 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5136 `scoped-class' variable, use new eieio--scoped-class, and
5137 eieio--with-scoped-class.
5138
5139 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5140
d105b0e2
TH
51412013-06-02 Tassilo Horn <tsdh@gnu.org>
5142
5143 * eshell/esh-ext.el (eshell-external-command): Pass args to
5144 `eshell-find-interpreter'.
5145 (eshell-find-interpreter): Add new second parameter ARGS.
5146
5147 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 5148 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5149
5150 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 5151 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5152
5153 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5154 (eshell-visual-options): New defcustom.
5155 (eshell-escape-control-x): Adapt docstring.
5156 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5157 `eshell-visual-options' in addition to `eshell-visual-commands'.
5158 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5159
f46305c8 51602013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
5161
5162 * progmodes/python.el (python-indent-block-enders): Add break,
5163 continue and raise keywords.
5164
d870df21
GM
51652013-06-01 Glenn Morris <rgm@gnu.org>
5166
9133b82e
GM
5167 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5168
02c992ec 5169 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
5170 * progmodes/cc-cmds.el (delete-forward-p):
5171 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5172 * progmodes/cc-engine.el (buffer-syntactic-context):
5173 * progmodes/cc-fonts.el (face-property-instance):
5174 * progmodes/cc-mode.el (set-keymap-parents):
5175 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5176 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5177 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
5178 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5179 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 5180
31e7b090
GM
5181 * progmodes/cc-vars.el (other): Emacs has this widget since
5182 at least 21.1, so don't (re)define it.
5183
d870df21
GM
5184 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5185 Replace the obsolete alias pcomplete-arg-quote-list.
5186
c75c93c7
LL
51872013-06-01 Leo Liu <sdl.web@gmail.com>
5188
5189 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5190 punctuation syntax.
5191 (inferior-octave-minimal-columns)
5192 (inferior-octave-last-column-width): New variables.
5193 (inferior-octave-track-window-width-change): New function.
5194 (inferior-octave-mode): Adjust column width so that Octave output,
5195 for example from 'ls', can fit into the window nicely.
5196
973d1e12
DG
51972013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5198
5199 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5200 Highlight expansions inside regexp literals.
5201
0888c286
GM
52022013-05-31 Glenn Morris <rgm@gnu.org>
5203
e26aac1f
GM
5204 * obsolete/sym-comp.el (symbol-complete):
5205 Replace obsolete completion-annotate-function.
5206
0888c286
GM
5207 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5208
19bb8e62
DG
52092013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5210
781b4af6
SM
5211 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5212 New function, checks if point is inside a literal that allows
19bb8e62
DG
5213 expression expansion.
5214 (ruby-syntax-propertize-expansion): Use it.
5215 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5216 around the body.
5217
01dea85f
JL
52182013-05-30 Juri Linkov <juri@jurta.org>
5219
5220 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5221 to "\M-si".
5222 (isearch-invisible): New variable.
5223 (isearch-forward): Doc fix.
5224 (isearch-mode): Set `isearch-invisible'
5225 to the value of `search-invisible'.
5226 (isearch-toggle-case-fold): Doc fix.
5227 (isearch-toggle-invisible): New command.
5228 (isearch-query-replace): Let-bind `search-invisible'
5229 to the value of `isearch-invisible'.
5230 (isearch-search): Use `isearch-invisible' instead of
5231 `search-invisible'. Let-bind `search-invisible'
5232 to the value of `isearch-invisible'. (Bug#11378)
5233
ab1bdce5
JL
52342013-05-30 Juri Linkov <juri@jurta.org>
5235
5236 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5237 call when `query-flag' is nil and `search-invisible' is non-nil.
5238 (Bug#11746)
5239
d6d236e2
GM
52402013-05-30 Glenn Morris <rgm@gnu.org>
5241
8accd027
GM
5242 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5243
2a8bed1c
GM
5244 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5245 (cc-require): Suppress spurious "noruntime" warnings.
5246 (cc-require-when-compile): Use fboundp, for sake of compiler.
5247
d6d236e2
GM
5248 * progmodes/cc-mode.el: Move load of cc-vars before that of
5249 cc-langs (which in turn loads cc-vars), to quieten compiler.
5250
9190b35b
SM
52512013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5252
5253 * paren.el: Simplify the code.
5254 (show-paren-mode): Always start the timer.
5255 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5256 (show-paren--overlay, show-paren--overlay-1): Rename from
5257 show-paren-overlay and show-paren-overlay-1, and initialize to an
5258 overlay rather than to nil.
5259 (show-paren-function): Misc cleanup and simplifications.
5260
4f8d1cf6
SM
52612013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 * paren.el (show-paren-data-function): New hook.
5264 (show-paren--default): New function, extracted from show-paren-function.
5265 (show-paren-function): Use show-paren-data-function.
5266
02d844b5
GM
52672013-05-30 Glenn Morris <rgm@gnu.org>
5268
d209d4a9
GM
5269 * ielm.el (ielm-map, ielm-complete-symbol):
5270 Use completion-at-point rather than obsolete functions.
5271 (inferior-emacs-lisp-mode): Doc fix.
5272 Set completion-at-point-functions, rather than
5273 comint-dynamic-complete-functions.
5274
2082faa6
GM
5275 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5276 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5277 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5278
dd8620de
GM
5279 * image.el (image-animated-p): Tweak definition.
5280
ceca95b1
GM
5281 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5282 (rlogin-process-connection-type): Tweak default. Add set-after.
5283 (rlogin-host): Doc fix.
5284 (rlogin): Tweak prompt.
5285 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5286
ee9f1acc
GM
5287 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5288 * progmodes/tcl.el (inferior-tcl-mode-map):
5289 Use completion-at-point rather than obsolete alias.
5290
45ce222e
GM
5291 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5292
02d844b5
GM
5293 * minibuffer.el (read-file-name-completion-ignore-case):
5294 Move before completion--in-region, for eager macro expansion.
5295
ac44d6c1
JL
52962013-05-29 Juri Linkov <juri@jurta.org>
5297
5298 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5299 for total count of matching lines. Add `global-matches' for total
5300 count of matches. Rename `matches' to `lines' for count of
5301 matching lines. Add `matches' for count of matches.
5302 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5303 to `prev-line' for line number of prev match endpt.
5304 Increment `matches' for every match. Print the number of
5305 matching lines in the header.
5306 (occur-context-lines): Rename `lines' to `curr-line'.
5307 Rename `prev-lines' to `prev-line'. (Bug#14017)
5308
3c9c9d38
JL
53092013-05-29 Juri Linkov <juri@jurta.org>
5310
5311 * replace.el (perform-replace): Add `skip-read-only-count',
5312 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5313 Increment them for corresponding conditions and report the number
5314 of skipped occurrences in the final message. (Bug#11746)
5315 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5316 (replace-string, replace-regexp): Doc fix.
5317
33e249a2
SM
53182013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5319
8e399682
SM
5320 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5321
33e249a2 5322 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 5323 prog-mode-map (bug#14504).
33e249a2 5324
f236dd84
LL
53252013-05-29 Leo Liu <sdl.web@gmail.com>
5326
5327 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5328 (octave-help): Small simplification.
5329
5330 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5331 off the highlight first.
5332
3694d13f
GM
53332013-05-29 Glenn Morris <rgm@gnu.org>
5334
03983bdc
GM
5335 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5336 Handle idlwave-last-system-routine-info-cons-cell being nil.
5337
bc74a74a
GM
5338 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5339 (idlwave-write-paths): Simplify via with-temp-buffer.
5340
8b394200
GM
5341 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5342 * emulation/cua-rect.el: Also load cua-base at run time.
5343
3694d13f
GM
5344 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5345 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5346 (cperl-imenu-on-info): Require imenu.
5347
336d7284
AM
53482013-05-28 Alan Mackenzie <acm@muc.de>
5349
5350 Handle "capitalised keywords" correctly.
33e249a2 5351 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 5352
cb29c582
AG
53532013-05-28 Aidan Gauland <aidalgol@amuri.net>
5354
781b4af6 5355 * eshell/em-unix.el: Add -r option to cp.
cb29c582 5356
690e44b2
GM
53572013-05-28 Glenn Morris <rgm@gnu.org>
5358
e658d75c
GM
5359 * vc/vc-arch.el (vc-exec-after): Declare.
5360 (vc-switches): Autoload.
5361 * vc/vc-bzr.el: No need to require vc when compiling.
5362 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5363 (vc-resynch-buffer, vc-dir-refresh): Declare.
5364 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
5365 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5366 (vc-resynch-buffer): Declare.
5367 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 5368 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
5369 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5370 (grep-read-regexp, grep-read-files, grep-expand-template)
5371 (vc-dir-refresh): Declare.
5372 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5373 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5374 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
5375 * vc/vc-mtn.el (vc-exec-after): Declare.
5376 (vc-switches): Autoload.
5377 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5378 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5379 (vc-file-tree-walk): Declare.
712b9732
GM
5380 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5381 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5382 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
5383 * vc/vc-svn.el (vc-exec-after): Declare.
5384 (vc-switches, vc-setup-buffer): Autoload.
5385 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5386 Autoload.
5387 (vc-resynch-buffer): Declare.
5388
98e87fb3
GM
5389 * obsolete/fast-lock.el (byte-compile-warnings):
5390 Don't warn about obsolete features in this obsolete file.
5391
f5379553
GM
5392 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5393 Move definition before use.
5394
7a20ef83
GM
5395 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5396 (dun-unix-verbs): Remove dun-zippy.
5397 (dun-zippy): Remove function.
5398
690e44b2
GM
5399 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5400
3a52ccf7
JL
54012013-05-27 Juri Linkov <juri@jurta.org>
5402
5403 * replace.el (replace-search): New function with code moved out
5404 from `perform-replace'.
5405 (replace-highlight, replace-dehighlight): Move function definitions
5406 up closer to `replace-search'. (Bug#11746)
5407
d289938a
JL
54082013-05-27 Juri Linkov <juri@jurta.org>
5409
5410 * replace.el (perform-replace): Ignore invisible matches.
5411 In addition to checking `query-replace-skip-read-only', also
5412 filter out matches by calling `run-hook-with-args-until-failure'
5413 on `isearch-filter-predicates', and also check `search-invisible'
5414 for t or call `isearch-range-invisible'.
5415 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5416
66fc57e3
JL
54172013-05-27 Juri Linkov <juri@jurta.org>
5418
5419 * isearch.el (isearch-filter-predicates): Rename from
5420 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5421 (isearch-message-prefix): Display text from the property
5422 `isearch-message-prefix' of the currently active filters.
5423 (isearch-search): Don't compare `isearch-filter-predicate' with
5424 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5425 on `isearch-filter-predicates'. Also check `search-invisible' for t
5426 or call `isearch-range-invisible'.
5427 (isearch-filter-visible): Make obsolete.
5428 (isearch-lazy-highlight-search):
5429 Call `run-hook-with-args-until-failure' on
5430 `isearch-filter-predicates' and use `isearch-range-invisible'.
5431
5432 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5433 `isearch-filter-predicates' instead of `funcall'ing
5434 `isearch-filter-predicate'.
5435 (Info-mode): Set `Info-isearch-filter' to
5436 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5437
5438 * dired-aux.el (dired-isearch-filter-predicate-orig):
5439 Remove variable.
5440 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5441 (dired-isearch-filenames-end): Add and remove
5442 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5443 instead of changing the value of `isearch-filter-predicate'.
5444 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5445 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5446 Put property `isearch-message-prefix' to "filename " on
5447 `dired-isearch-filter-filenames'.
5448
5449 * wdired.el (wdired-change-to-wdired-mode):
5450 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5451 locally instead of changing `isearch-filter-predicate'.
5452 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5453
f1a60a0f
DG
54542013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5455
5456 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5457 return the commit hash (Bug#14459). Also set the
5458 `vc-git-detached' property.
5459 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5460 (vc-git-mode-line-string): Use the same help-echo format whether
5461 in detached mode or not, because we know the actual revision now.
5462 When in detached mode, shorten the revision to 7 chars.
5463
7f17cc40
SM
54642013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5465
5466 * emacs-lisp/easy-mmode.el (define-minor-mode):
5467 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5468 mode hook and provide a docstring.
5469
25c8401c
AM
54702013-05-27 Alan Mackenzie <acm@muc.de>
5471
5472 Remove spurious syntax-table text properties inserted by C-y.
5473 * progmodes/cc-mode.el (c-after-change): Also clear hard
5474 syntax-table property with value nil.
5475
dde84790
MA
54762013-05-27 Michael Albinus <michael.albinus@gmx.de>
5477
5478 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5479 when reading the events; the buffer layout shall not be changed.
5480
837fd9af
LL
54812013-05-27 Leo Liu <sdl.web@gmail.com>
5482
5483 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5484 New variable.
5485 (inferior-octave-directory-tracker): Automatically re-sync
5486 default-directory.
5487 (octave-help): Improve handling of 'See also'.
5488
4fd996b3
SM
54892013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5490
416f1802
SM
5491 * doc-view.el: Minor naming convention tweaks.
5492 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5493
4fd996b3
SM
5494 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5495 even if there's no `display' property yet (bug#14435).
5496
a052ef3b
EZ
54972013-05-25 Eli Zaretskii <eliz@gnu.org>
5498
4fd996b3 5499 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
5500
5501 * Makefile.in (custom-deps, finder-data, autoloads)
5502 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5503 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5504 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5505
c9023370
SM
55062013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5509 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 5510 Don't burp at EOB.
c9023370 5511
24d699fa
LL
55122013-05-25 Leo Liu <sdl.web@gmail.com>
5513
5514 * comint.el (comint-previous-matching-input): Do not flood the
5515 *Messages* buffer with trivial messages.
5516
17e5c0cc
SM
55172013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * progmodes/flymake.el (flymake-nop): Don't return a string.
5520 (flymake-set-at): Fix typo.
5521
5522 * simple.el (read--expression): New function, extracted from
5523 eval-expression. Set completion-at-point-functions (bug#14465).
5524 (eval-expression, eval-minibuffer): Use it.
5525
5d028165
XF
55262013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5527
5528 * progmodes/flymake.el (flymake-save-buffer-in-file)
5529 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5530 (flymake-selected-frame, flymake-log, flymake-ins-after)
5531 (flymake-set-at, flymake-get-buildfile-from-cache)
5532 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5533 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5534 Refine the doc string.
5535 (flymake-get-file-name-mode-and-masks): Reformat.
5536 (flymake-get-real-file-name-function): Fix a minor bug.
5537
7a1d7ba7
JL
55382013-05-24 Juri Linkov <juri@jurta.org>
5539
5540 * progmodes/grep.el (grep-mode-font-lock-keywords):
5541 Support =linenumber= format used by git-grep for lines with
5542 function names. (Bug#13549)
5543
650cff3d
SM
55442013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5545
5546 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5547 0 after a semi-colon; it works better for smie-auto-fill.
5548 (octave--indent-new-comment-line): New function.
5549 (octave-indent-new-comment-line): Use it (indirectly).
5550 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5551 modify comment-line-break-function.
5552
5553 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5554 (smie-setup): Use add-function to set it.
5555
9631677d
SS
55562013-05-24 Sam Steingold <sds@gnu.org>
5557
5558 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5559 argument (before the `interactive' argument).
5560
50105835
SM
55612013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5562
5563 * image-mode.el (image-mode-winprops): Add winprops to
5564 image-mode-winprops-alist before running
5565 image-mode-new-window-functions.
5566 * doc-view.el (doc-view-new-window-function): Don't delay
5567 doc-view-goto-page via timers (bug#14435).
5568
57b9823e
TH
55692013-05-24 Tassilo Horn <tsdh@gnu.org>
5570
5571 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5572 (doc-view-desktop-save-buffer): New function.
5573 (doc-view-restore-desktop-buffer): New function.
50105835
SM
5574 (desktop-buffer-mode-handlers):
5575 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
5576 handler.
5577 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5578 `desktop-save-buffer' function.
5579
91aafa16
MA
55802013-05-24 Michael Albinus <michael.albinus@gmx.de>
5581
5582 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5583 (tramp-gvfs-file-name-handler): Raise a user error when
5584 `tramp-gvfs-enabled' is nil.
5585 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5586 Do not raise a user error when loading package. (Bug#14447)
5587
ec076379
MA
5588 * net/xesam.el: Move to obsolete/.
5589
db785726
GM
55902013-05-24 Glenn Morris <rgm@gnu.org>
5591
af5c7606
GM
5592 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5593
e5d1916a
GM
5594 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5595
ded62b08
GM
5596 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5597 (Info-find-node, Man-getpage-in-background): Declare.
5598
9e614a3f
GM
5599 * mail/unrmail.el (unrmail):
5600 Replace obsolete detect-coding-with-priority.
5601
892f8ca3
GM
5602 * net/socks.el (socks-split-string): Use this rather than split-string.
5603 (socks-nslookup-host): Update for above change.
5604 (dynamic-choice, s5-dynamic-choice-match)
5605 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5606 Comment out unused code.
5607
3c291973
GM
5608 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5609 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5610 (gud-tooltip-echo-area): Make obsolete.
5611 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5612
43cc956b
GM
5613 * progmodes/js.el (js--optimize-arglist): Declare.
5614
dab49a3b
GM
5615 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5616
36b9d085
GM
5617 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5618 (ediff-window-C): Declare.
5619
e354ae76
GM
5620 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5621 Tweak requires to silence compiler.
5622
b8e57bf4
GM
5623 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5624 (he-search-string, he-tried-table, he-expand-list)
5625 (he-init-string, he-string-member, he-substitute-string)
5626 (he-reset-string): Declare.
5627
db785726
GM
5628 * obsolete/options.el (list-options): Use custom-variable-p,
5629 rather than obsolete alias.
5630
b3531901
SS
56312013-05-23 Sam Steingold <sds@gnu.org>
5632
5633 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 5634 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
5635 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5636
bdda4c66
SM
56372013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5638
5639 * emacs-lisp/smie.el (smie-indent-forward-token)
5640 (smie-indent-backward-token): Handle string tokens (bug#14381).
5641
c43d45f9
TH
56422013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5643
fe1eb856
RS
5644 * ielm.el (ielm-menu): New menu.
5645 (inferior-emacs-lisp-mode): Set comment-start.
96172128 5646
fe1eb856
RS
56472013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5648
5649 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5650 Fix deactivate action.
5651
5652 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5653 Add cleveref macros.
074dd971 5654
c43d45f9
TH
5655 * lisp/textmodes/reftex-parse.el
5656 (reftex-locate-bibliography-files): Accept options for
5657 bibliography commands.
5658 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5659 Add addbibresource. Basic Biblatex support.
5660
7764286e
MA
56612013-05-23 Michael Albinus <michael.albinus@gmx.de>
5662
5663 * net/tramp-gvfs.el (top):
5664 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5665 when loading package. (Bug#14447)
5666
d361bc10
GM
56672013-05-23 Glenn Morris <rgm@gnu.org>
5668
8fa23984
GM
5669 * progmodes/js.el: No need to load comint when compiling.
5670 (ring-insert, comint-send-string, comint-send-input)
5671 (comint-last-input-end, ido-chop): Declare.
5672
a5c7df1a
GM
5673 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5674 * vc/ediff-mult.el: Adjust requires.
5675 (ediff-directories-internal, ediff-directory-revisions-internal)
5676 (ediff-patch-file-internal): Declare.
5677 * vc/ediff-ptch.el: Adjust requires.
5678 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5679 (ediff-find-file): Autoload.
5680 * vc/ediff-util.el: No need to load ediff when compiling.
5681 (ediff-regions-internal): Declare.
5682 * vc/ediff-wind.el: Adjust requires.
5683 (ediff-compute-toolbar-width): Define when compiling.
5684 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5685 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5686 (dired-get-filename, dired-get-marked-files)
5687 (ediff-last-dir-patch, ediff-patch-default-directory)
5688 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5689 (ediff-patch-buffer-internal): Declare.
5690
e2aec513
GM
5691 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5692 (ispell-process, ispell-buffer-local-words, lm-summary)
5693 (lm-section-start, lm-section-end): Declare.
5694 (checkdoc-ispell-init): Simplify.
5695
e68bbd7c
GM
5696 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5697 (he-string-member, he-reset-string, he-substitute-string): Declare.
5698
7efe0991
GM
5699 * eshell/em-ls.el: Adjust requires.
5700 (eshell-glob-regexp): Declare.
f87b1284
GM
5701 * eshell/em-tramp.el: Adjust requires.
5702 (eshell-parse-command): Autoload.
5703 * eshell/em-xtra.el: Adjust requires.
5704 (eshell-parse-command): Autoload.
5705 * eshell/esh-ext.el: Adjust requires.
5706 (eshell-parse-command, eshell-close-handles): Autoload.
5707 * eshell/esh-io.el: Adjust requires.
5708 (eshell-output-filter): Autoload.
5709 * eshell/esh-util.el: No need to load tramp when compiling.
5710 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5711 Declare.
5712 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5713 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5714 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5715 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5716 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5717 * eshell/esh-opt.el, eshell/esh-proc.el:
5718 * eshell/esh-var.el: Adjust requires.
5719 * eshell/eshell.el: Do not require esh-util twice.
5720 (eshell-add-input-to-history): Declare.
5721 (eshell-command): Check history module is active before using it.
5722
d361bc10
GM
5723 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5724
85d090a9
LL
57252013-05-22 Leo Liu <sdl.web@gmail.com>
5726
5727 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5728
5d0acd9d
MA
57292013-05-22 Michael Albinus <michael.albinus@gmx.de>
5730
5731 * autorevert.el (auto-revert-notify-add-watch)
5732 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5733 it indicates changes in file modification time.
5734
0cdffd7d
GM
57352013-05-22 Glenn Morris <rgm@gnu.org>
5736
ca5995ec
GM
5737 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5738 Always delete the autoloaded function from the noruntime and
5739 unresolved functions lists.
5740
6450907e
GM
5741 * allout.el: No need to load epa, epg, overlay when compiling.
5742 (epg-context-set-passphrase-callback, epg-list-keys)
5743 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5744 (epg-key-user-id-list): Declare.
5745
9c6906f6
GM
5746 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5747 (viper-set-parsing-style-toggling-macro)
5748 (viper-set-emacs-state-searchstyle-macros):
5749 Use called-interactively-p on Emacs.
5750 (viper-looking-back): Make it an obsolete alias. Update callers.
5751 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5752 Use looking-back rather than viper-looking-back.
5753 (viper-tmp-insert-at-eob, viper-enlarge-region)
5754 (viper-read-string-with-history, viper-register-to-point)
5755 (viper-append-to-register, viper-change-state-to-vi)
5756 (viper-backward-char-carefully, viper-forward-char-carefully)
5757 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5758 (viper-change-state-to-emacs): Declare.
5759 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5760 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5761 * emulation/viper-mous.el: Do not load viper-cmd.
5762 (viper-backward-char-carefully, viper-forward-char-carefully)
5763 (viper-forward-word, viper-adjust-window): Declare.
5764
5f70c169
GM
5765 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5766
b1b7f300
GM
5767 * progmodes/idlw-help.el (idlwave-help-fontify):
5768 Use called-interactively-p.
5769
f6ebbb46
GM
5770 * term/w32console.el (w32-get-console-codepage)
5771 (w32-get-console-output-codepage): Declare.
5772
0cdffd7d
GM
5773 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5774 Remove unnecessary declarations.
5775 (dframe-message): Doc fix.
5776
5777 * info.el (dframe-select-attached-frame, dframe-current-frame):
5778 Declare.
5779
5780 * speedbar.el (speedbar-message): Make it an obsolete alias.
5781 Update all callers.
5782 (speedbar-with-attached-buffer)
5783 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5784 (speedbar-with-writable): Use backquote.
5785 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5786 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5787 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5788 rather than speedbar- aliases.
5789 * mail/rmail.el: Load dframe rather than speedbar when compiling.
5790 (speedbar-make-specialized-keymap, speedbar-insert-button)
5791 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5792 (speedbar-do-function-pointer): Declare.
5793 (rmail-speedbar-button, rmail-speedbar-find-file)
5794 (rmail-speedbar-move-message):
5795 Use dframe-with-attached-buffer rather than speedbar- alias.
5796 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5797 (dframe-message, speedbar-make-specialized-keymap)
5798 (speedbar-add-expansion-list, speedbar-mode-functions-list)
5799 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5800 (speedbar-insert-button, dframe-select-attached-frame)
5801 (dframe-maybee-jump-to-attached-frame)
5802 (speedbar-change-initial-expansion-list)
5803 (speedbar-previously-used-expansion-list-name): Declare.
5804 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5805 Use dframe-message, dframe-with-attached-buffer rather than
5806 speedbar- aliases.
5807 (gud-sentinel): Silence compiler.
5808 * progmodes/vhdl-mode.el (speedbar-refresh)
5809 (speedbar-do-function-pointer, speedbar-add-supported-extension)
5810 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
5811 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
5812 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
5813 (speedbar-file-lists, speedbar-make-tag-line)
5814 (speedbar-line-directory, speedbar-goto-this-file)
5815 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
5816 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
5817 (speedbar-make-button, speedbar-reset-scanners)
5818 (speedbar-files-item-info, speedbar-line-text)
5819 (speedbar-find-file-in-frame, speedbar-set-timer)
5820 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
5821 (speedbar-with-writable): Do not (re)define it.
5822 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
5823 rather than speedbar- alias.
5824
ee44b62a
LL
58252013-05-21 Leo Liu <sdl.web@gmail.com>
5826
5827 * progmodes/octave.el (octave-mode-menu): Update and re-organize
5828 menu items.
5829 (octave-mode): Tweak fill-nobreak-predicate.
5830 (inferior-octave-startup): Check process to avoid infinite loop.
5831 (inferior-octave): Pop to buffer first to show abornmal process
5832 exit information.
5833
640f050f
GM
58342013-05-21 Glenn Morris <rgm@gnu.org>
5835
79458038
GM
5836 * printing.el (pr-menu-bar): Define when compiling.
5837
9cc3e83f
LL
58382013-05-21 Leo Liu <sdl.web@gmail.com>
5839
5840 * progmodes/octave.el (octave-auto-fill): Remove.
5841 (octave-indent-new-comment-line): Improve.
5842 (octave-mode): Use auto fill mode through
4f405069 5843 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 5844 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 5845 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
5846 (octave-help): Show parent directory.
5847
f440830d
GM
58482013-05-21 Glenn Morris <rgm@gnu.org>
5849
5850 * files.el (dired-unmark):
5851 * progmodes/gud.el (gdb-input): Update declarations.
5852
5853 * calculator.el (electric, ehelp): No need to load when compiling.
5854 (Electric-command-loop, electric-describe-mode): Declare.
5855
5856 * doc-view.el (doc-view-current-converter-processes): Move before use.
5857
5858 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5859 Move MODE-set-explicitly definition before use.
5860
5861 * international/mule-diag.el (mule-diag):
5862 Don't use obsolete window-system-version.
5863
5864 * mail/feedmail.el (smtpmail): No need to load when compiling.
5865 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5866
5867 * mail/mail-utils.el (rfc822): No need to load when compiling.
5868 (rfc822-addresses): Autoload it.
5869 (mail-strip-quoted-names): Trivial simplification.
5870
5871 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5872 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5873
5874 * net/snmp-mode.el (tempo): Don't duplicate requires.
5875
5876 * progmodes/prolog.el (info): No need to load when compiling.
5877 (comint): Require before shell requires it.
5878 (Info-goto-node): Autoload it.
5879 (Info-follow-nearest-node): Declare.
5880 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5881
5882 * textmodes/artist.el (picture-mode-exit): Declare.
5883
5884 * textmodes/reftex-parse.el (reftex-parse-from-file):
5885 Trivial rewrite so the compiler can parse it better.
5886
b4da2cbb
LL
58872013-05-20 Leo Liu <sdl.web@gmail.com>
5888
5889 * progmodes/octave.el (octave-help-mode-map)
5890 (octave-help-mode-finish-hook): New variables.
5891 (octave-help-mode, octave-help-mode-finish): New functions.
5892 (octave-help): Use octave-help-mode.
5893
33c0f65b
GM
58942013-05-20 Glenn Morris <rgm@gnu.org>
5895
5896 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5897
1a0a0a8a
DG
58982013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5899
5900 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5901 start at point, so that expansion starting right after opening
5902 slash in a regexp is recognized.
5903 (ruby-syntax-before-regexp-re): New defvar, extracted from
5904 ruby-syntax-propertize-function. Since the value of this regexp
5905 is looked up at runtime now, we should be able to turn
5906 `ruby-syntax-methods-before-regexp' into a defcustom later.
5907 (ruby-syntax-propertize-function): Split regexp matching into two
5908 parts, for opening and closing slashes. That allows us to skip
5909 over string interpolations and support multiline regexps.
5910 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5911 for them, which calls `ruby-syntax-propertize-expansion'.
5912 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5913 call to `ruby-syntax-propertize-function'.
5914 (ruby-syntax-propertize-expansion): Extracted from
5915 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
5916 (ruby-syntax-propertize-percent-literal): Leave point right after
5917 the percent symbol, so that the expression expansion rule can
5918 propertize the contents.
462388b6
DG
5919 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5920 heredoc openers.
5921 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 5922
c1a6c0a4
JL
59232013-05-18 Juri Linkov <juri@jurta.org>
5924
5925 * man.el (Man-default-man-entry): Remove `-' from the end
5926 of the default value. (Bug#14400)
5927
8051fccd
GM
59282013-05-18 Glenn Morris <rgm@gnu.org>
5929
5930 * comint.el (comint-password-prompt-regexp):
5931 Allow "password for XXX" where XXX contains colons (eg https://...).
5932
5e80b74f
LL
59332013-05-18 Leo Liu <sdl.web@gmail.com>
5934
5935 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 5936 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
5937 (octave-source-directories): Don't check process.
5938 (octave-source-directories, octave-find-definition): Doc fix.
5939
521a54c5
GM
59402013-05-18 Glenn Morris <rgm@gnu.org>
5941
86a94b05
GM
5942 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5943 Remove backspace/delete bindings. (Bug#14392)
5944
521a54c5
GM
5945 * cus-dep.el (custom-make-dependencies): Sort the output.
5946 (custom-versions-load-alist): Convert comment to doc.
5947
42caeb89
LL
59482013-05-17 Leo Liu <sdl.web@gmail.com>
5949
5950 * newcomment.el (comment-search-backward): Stricter in finding
5951 comment start. (Bug#14303)
5952
5953 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5954 (octave-comment-start-skip): Properly anchored.
5955
e219dd97
LL
59562013-05-17 Leo Liu <sdl.web@gmail.com>
5957
fe1eb856
RS
5958 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5959 Clean up when turned off. (Bug#14395)
e219dd97
LL
5960 (smie--highlight-matching-block-overlay): No longer buffer-local.
5961 (smie-highlight-matching-block): Adjust.
5962
dc5dcb4b
PE
59632013-05-17 Paul Eggert <eggert@cs.ucla.edu>
5964
5965 Doc string fix for "nanoseconds" (Bug#14406).
5966 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5967 Fix doc string typo that had "nanoseconds" instead of "microseconds".
5968
1db165f0
JB
59692013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5970
5971 * calc/calc-units.el (math-extract-units): Preserve powers
5972 of units.
5973
c7a8fcac
LL
59742013-05-17 Leo Liu <sdl.web@gmail.com>
5975
5976 * subr.el (delete-consecutive-dups): New function.
5977 * ido.el (ido-set-matches-1): Use it.
5978 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5979 * ido.el (ido-remove-consecutive-dups): Remove.
5980
f678b18a
SM
59812013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5982
5983 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5984 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5985 regexp-opt's `words'.
5986
ebfe68e8
LL
59872013-05-16 Leo Liu <sdl.web@gmail.com>
5988
5989 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5990 (smie--highlight-matching-block-overlay)
5991 (smie--highlight-matching-block-lastpos)
5992 (smie--highlight-matching-block-timer): New variables.
5993 (smie-highlight-matching-block): New function.
5994 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5995 (smie-setup): Conditionally enable smie-blink-matching-open.
5996
bc8bc17d
WS
59972013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5998
5999 Sync with upstream verilog-mode r840.
6000 * progmodes/verilog-mode.el (verilog-mode-version)
6001 (verilog-mode-release-date): Update.
6002 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6003 (verilog-sig-tieoff): Fix string error on
6004 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6005 (verilog-read-decls): Fix parameters confusing
6006 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6007
df065a0b
EZ
60082013-05-16 Eli Zaretskii <eliz@gnu.org>
6009
6010 * subr.el (reveal-filename): New function.
6011
6012 * loadup.el: Compute Emacs executable versions on MS-Windows,
6013 where executables have the .exe extension. Add a hard link
6014 emacs-XX.YY.ZZ.exe on MS-Windows.
6015
6016 * Makefile.in (XARGS_LIMIT): New variable.
6017 (custom-deps, finder-data, autoloads)
6018 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6019 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6020 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6021 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6022
2d4bf34b
LL
60232013-05-16 Leo Liu <sdl.web@gmail.com>
6024
6025 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6026 (octave-mode-menu, octave-mode-map): Remove its uses.
6027
6b9c2d85
RZ
60282013-05-16 Reto Zimmermann <reto@gnu.org>
6029
6030 Sync with upstream vhdl mode v3.34.2.
6031 * progmodes/vhdl-mode.el: Use `push' throughout.
6032 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6033 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6034 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6035 (vhdl-actual-generic-name): New option to derive actual generic name.
6036 (vhdl-port-paste-signals): Replace formal by actual generics.
6037 (vhdl-beautify): New name for old group vhdl-align. Update users.
6038 (vhdl-beautify-options): New option.
6039 (vhdl-last-input-event): New compat alias. Use throughout.
6040 (vhdl-goto-line): Replace user level function `goto-line'.
6041 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6042 vhdl-fix-statement-buffer.
6043 (vhdl-create-mode-menu): Add some entries.
6044 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6045 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6046 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6047 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6048 to force statements on one line.
6049 (vhdl-remove-trailing-spaces-region):
6050 New, split from vhdl-remove-trailing-spaces.
6051 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6052 Respect vhdl-beautify-options.
6053 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6054 (vhdl-update-sensitivity-list): Not add with index if exists without.
6055 Not include array index with signal. Ignore keywords in comments.
6056 (vhdl-get-visible-signals): Regexp tweaks.
6057 (vhdl-template-component-inst): Handle empty library.
6058 (vhdl-template-type): Add template for 'enum' type.
6059 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6060 Use vhdl-replace-string.
6061 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6062 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6063 (vhdl-speedbar-initialize): Update for above name change.
6064 (vhdl-compose-wire-components): Fix in handling of constants.
6065 (vhdl-error-regexp-emacs-alist): New variable.
6066 (vhdl-error-regexp-add-emacs): New function;
6067 adds support for new compile.el (Emacs 22+)
6068 (vhdl-generate-makefile-1): Change target order for single lib. units.
6069 Allow use of absolute file names.
6070
9df4ec5e
LL
60712013-05-16 Leo Liu <sdl.web@gmail.com>
6072
6073 * simple.el (prog-indent-sexp): Indent enclosing defun.
6074
f5ba00a6
GM
60752013-05-15 Glenn Morris <rgm@gnu.org>
6076
ed8be7ff
GM
6077 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6078 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6079 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6080 (whitespace-highlight): Move to whitespace group.
6081
6082 * comint.el (comint-source):
6083 * pcmpl-linux.el (pcmpl-linux):
6084 * shell.el (shell-faces):
6085 * eshell/esh-opt.el (eshell-opt):
6086 * international/ccl.el (ccl): Remove empty custom groups.
6087
6088 * completion.el (dynamic-completion-mode):
6089 * jit-lock.el (jit-lock-debug-mode):
6090 * minibuffer.el (completion-in-region-mode):
6091 * type-break.el (type-break-mode-line-message-mode)
6092 (type-break-query-mode):
6093 * emulation/tpu-edt.el (tpu-edt-mode):
6094 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6095 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6096 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6097
6098 * term/xterm.el (xterm): Change parent group to terminals.
6099
6100 * master.el (master): Remove empty custom group.
6101 (master-mode): Remove unused :group argument.
6102 * textmodes/refill.el (refill): Remove empty custom group.
6103 (refill-mode): Remove unused :group argument.
6104
6105 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6106
82a7c41b
GM
6107 * cus-dep.el: Provide a feature.
6108 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
6109 Don't mistakenly ignore files whose basenames match a basename
6110 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 6111 Add a fallback method for getting :group.
f5ba00a6 6112
6d65486d
JL
61132013-05-15 Juri Linkov <juri@jurta.org>
6114
da547b32
JL
6115 * isearch.el (isearch-char-by-name): Rename from
6116 `isearch-insert-char-by-name'. Doc fix.
6117 (isearch-forward): Mention `isearch-char-by-name' in
6118 the docstring. (Bug#13348)
6119
6d65486d
JL
6120 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6121 `exit-minibuffer' instead of
6122 `isearch-nonincremental-exit-minibuffer'.
6123 (isearch-edit-string): Remove mention of
6124 `isearch-nonincremental-exit-minibuffer' from docstring.
6125 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6126 (isearch-forward-exit-minibuffer)
6127 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6128
c9990474
SM
61292013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6130
6e911150
SM
6131 * loadup.el: Just use unversioned DOC.
6132
c9990474
SM
6133 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6134 literals as extending to EOB.
6135 (nxml-last-fontify-end): Remove unused variable.
6136 (nxml-after-change1): Use with-silent-modifications.
6137 (nxml-extend-after-change-region): Simplify.
6138 (nxml-extend-after-change-region1): Remove function.
6139 (nxml-after-change1): Don't adjust for dependent regions.
6140 (nxml-fontify-matcher): Simplify.
6141 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6142 (xmltok-add-dependent): Remove function.
6143 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6144 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6145 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6146 unclosed <[[, <?, comment, and other literals as extending to EOB.
6147 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6148 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6149 Remove functions.
6150 (rng-do-some-validation-1): Don't mark dependent regions.
6151 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6152 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6153 (nxml-clear-dependent-regions): Remove functions.
6154 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6155 (nxml-ensure-scan-up-to-date):
6156 Don't clear&mark dependent regions.
6157
e3772e98
LL
61582013-05-15 Leo Liu <sdl.web@gmail.com>
6159
c9990474
SM
6160 * progmodes/octave.el (octave-goto-function-definition):
6161 Improve and fix callers.
e3772e98 6162
5ac2eb34
SM
61632013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6164
c46c57b0
SM
6165 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6166 the setter (bug#14387).
6167
5ac2eb34
SM
6168 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6169 surrounding group (bug#14402).
6170
180ed218
JL
61712013-05-14 Juri Linkov <juri@jurta.org>
6172
6173 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6174 (Bug#14390)
6175
0ac0fecb
GM
61762013-05-14 Glenn Morris <rgm@gnu.org>
6177
6178 * progmodes/f90.el (f90-imenu-generic-expression):
6179 Fix typo in 2013-05-08 change. (Bug#14402)
6180
2e78e6a7
JPG
61812013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6182
5ac2eb34
SM
6183 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6184 Remove signals for which replies are never received.
2e78e6a7 6185
53267cca
JPG
61862013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6187
6188 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6189 (gdb-handler-alist, gdb-handler-number): Remove variables.
6190 (gdb-handler-list): New variable.
6191 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6192 (gdb-pending-handler-p, gdb-handle-reply)
6193 (gdb-remove-all-pending-triggers): New functions.
6194 (gdb-discard-unordered-replies): New defcustom.
6195 (gdb-handler): New defstruct.
6196 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6197 instead of gdb-pending-triggers. Update docstring.
6198 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6199 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6200 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6201 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6202 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6203 (gdb-frame-handler): Pending triggers are now automatically managed.
6204 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6205 Remove argument.
6206 (gdb-input): Automatically handles pending triggers. Update docstring.
6207 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6208 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6209 Update comments.
6210 (gdb-done-or-error): Now use gdb-handle-reply.
6211
d04ce803
JPG
62122013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6213
6214 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6215 gdb-debug-log.
6216
0114073a
GM
62172013-05-14 Glenn Morris <rgm@gnu.org>
6218
6219 * subr.el (user-emacs-directory-warning): New option.
6220 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6221
4d25fd7e
LL
62222013-05-14 Leo Liu <sdl.web@gmail.com>
6223
6224 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6225 during redisplay.
6226 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
6227 (octave-font-lock-texinfo-comment): Fix invalid search bound
6228 error: wrong side of point.
4d25fd7e 6229
27c8b6eb
GM
62302013-05-14 Glenn Morris <rgm@gnu.org>
6231
61aaeb01
GM
6232 * progmodes/flymake.el (flymake-xml-program): New option.
6233 (flymake-xml-init): Use it.
6234
5bf90bc5
GM
6235 * term/xterm.el: Provide a feature.
6236
6237 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 6238
f4c7dfd2
GM
62392013-05-13 Glenn Morris <rgm@gnu.org>
6240
6241 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6242 Add compat aliases as a hack workaround. (Bug#14384)
6243
2aeb3a1d
LL
62442013-05-13 Leo Liu <sdl.web@gmail.com>
6245
b0e069c2
LL
6246 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6247 ###, and %!.
f5a9432f
LL
6248 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6249 C-M-q.
b0e069c2
LL
6250 (octave-comment-start-skip): Include %!.
6251 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 6252
30ea8374
LL
62532013-05-12 Leo Liu <sdl.web@gmail.com>
6254
6255 * progmodes/octave.el (inferior-octave-startup): Store the value
6256 of __octave_srcdir__ for octave-source-directories.
6257 (inferior-octave-check-process): New function refactored out of
6258 inferior-octave-send-list-and-digest.
6259 (octave-source-directories)
6260 (octave-find-definition-filename-function): New variables.
6261 (octave-source-directories)
6262 (octave-find-definition-default-filename): New functions.
6263 (octave-find-definition): Improve to find functions implemented in C++.
6264
472a3834
GM
62652013-05-12 Glenn Morris <rgm@gnu.org>
6266
6267 * calendar/diary-lib.el (diary-outlook-format-1):
6268 Don't include dayname in the output. (Bug#14349)
6269
3191b52f
GM
62702013-05-11 Glenn Morris <rgm@gnu.org>
6271
0060ac73
GM
6272 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6273
3191b52f
GM
6274 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6275 Treat cc-provide like provide.
6276
e065ba74
KR
62772013-05-11 Kevin Ryde <user42@zip.com.au>
6278
6279 * cus-dep.el (custom-make-dependencies):
6280 Use generated-autoload-load-name for the sake of files such
6281 such cedet/semantic/bovine/c.el, where the base file name
6282 is not in load-path. (Bug#5277)
6283
36f84c37
GM
62842013-05-11 Glenn Morris <rgm@gnu.org>
6285
6286 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6287 Provide features.
6288
c8730c3a
LL
62892013-05-11 Leo Liu <sdl.web@gmail.com>
6290
6291 * progmodes/octave.el (octave-indent-comment): Improve.
6292 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
6293 (octave-eldoc-function-signatures, octave-eldoc-function):
6294 New functions.
c8730c3a
LL
6295 (octave-mode, inferior-octave-mode): Add eldoc support.
6296
212e29f2
RS
62972013-05-11 Richard Stallman <rms@gnu.org>
6298
6299 * epa.el (epa-decrypt-file): Take output file name as argument
6300 and read it using `interactive'.
6301
083fe0d7
LL
63022013-05-11 Leo Liu <sdl.web@gmail.com>
6303
6304 * progmodes/octave.el (octave-beginning-of-line)
6305 (octave-end-of-line): Check before using up-list because it jumps
6306 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
6307 (octave-indent-comment): New function.
6308 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
6309 (octave-begin-keywords, octave-end-keywords)
6310 (octave-reserved-words, octave-smie-bnf-table)
6311 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 6312
8582e4c4
GM
63132013-05-11 Glenn Morris <rgm@gnu.org>
6314
f20def1f
GM
6315 * faces.el (internal-face-x-get-resource):
6316 * frame.el (ns-display-monitor-attributes-list):
d78abe37 6317 * calc/calc-aent.el (math-to-radians-2):
f20def1f 6318 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 6319 Fix declarations.
f20def1f 6320
445f95e2
GM
6321 * calc/calc-menu.el: Make it loadable in isolation.
6322
6323 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6324 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6325 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6326 (eudc-bbdb-query-internal): Require 'bbdb.
6327
99fb2756
GM
6328 * lpr.el (lpr-headers-switches):
6329 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6330
6331 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6332
0da7ad96
GM
6333 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6334
8582e4c4
GM
6335 * term.el (term-set-escape-char): Make it idempotent.
6336
f71c50d0
LL
63372013-05-10 Leo Liu <sdl.web@gmail.com>
6338
5ac2eb34
SM
6339 * progmodes/octave.el (inferior-octave-completion-table):
6340 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
6341 completion due to bug#11906.
6342 (octave-beginning-of-defun): Re-write to be more general.
6343
d5837773
GM
63442013-05-10 Glenn Morris <rgm@gnu.org>
6345
6346 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6347
027c0f75
SM
63482013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6349
6350 * comint.el (comint-redirect-send-command-to-process): Use :around
6351 rather than :override for comint-redirect-filter.
6352 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6353 Call it instead of comint-redirect-original-filter-function (which
6354 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6355
4465bfb4
JD
63562013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6357
6358 * frame.el (display-monitor-attributes-list): Add NS case.
6359 (ns-display-monitor-attributes-list): Declare.
6360
2d809ffa 63612013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
6362
6363 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6364
e54eeb9b
GM
63652013-05-09 Glenn Morris <rgm@gnu.org>
6366
56cd351d
GM
6367 * international/fontset.el (vertical-centering-font-regexp):
6368 Set standard-value.
6369
d84b6108
GM
6370 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6371
a931698a
GM
6372 * bookmark.el (bookmark-search-delay):
6373 * cus-start.el (vertical-centering-font-regexp):
6374 * ps-mule.el (ps-mule-font-info-database-default):
6375 * ps-print.el (ps-default-fg, ps-default-bg):
6376 * type-break.el (type-break-good-break-interval):
6377 * whitespace.el (whitespace-indentation-regexp)
6378 (whitespace-space-after-tab-regexp):
6379 * emacs-lisp/testcover.el (testcover-1value-functions)
6380 (testcover-noreturn-functions, testcover-progn-functions)
6381 (testcover-prog1-functions):
6382 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6383 * eshell/em-glob.el (eshell-glob-translate-alist):
6384 * play/tetris.el (tetris-tty-colors):
6385 * progmodes/cpp.el (cpp-face-default-list):
6386 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6387 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6388 (idlwave-help-browser-generic-args):
6389 * progmodes/make-mode.el (makefile-special-targets-list):
6390 * progmodes/python.el (python-shell-virtualenv-path):
6391 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6392 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6393 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6394 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6395 * textmodes/reftex-vars.el (reftex-format-label-function):
6396 * textmodes/remember.el (remember-diary-file): Fix custom types.
6397
e54eeb9b
GM
6398 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6399 Add :version.
6400
455851dd
LL
64012013-05-09 Leo Liu <sdl.web@gmail.com>
6402
6403 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 6404 Restore file completion. (Bug#14300)
455851dd
LL
6405 (inferior-octave-startup): Fix incorrect highlighting for the
6406 first prompt.
6407
a9e4425b
SM
64082013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6409
6410 * progmodes/ruby-mode.el: First cut at SMIE support.
6411 (ruby-use-smie): New var.
6412 (ruby-smie-grammar): New constant.
6413 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6414 (ruby-smie--forward-token, ruby-smie--backward-token)
6415 (ruby-smie-rules): New functions.
6416 (ruby-mode-variables): Setup SMIE if applicable.
6417
060ca408
EZ
64182013-05-08 Eli Zaretskii <eliz@gnu.org>
6419
6420 * simple.el (line-move-visual): Signal beginning/end of buffer
6421 only if vertical-motion moved less than it was requested. Avoids
6422 silly incorrect error messages when there are display strings with
6423 multiple newlines at EOL.
6424
1d5963cc
SM
64252013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6426
6427 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6428 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6429 (prolog-char-quote-workaround):
6430 * progmodes/cperl-mode.el (cperl-under-as-char):
6431 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
6432 Mark as obsolete.
6433 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
6434 their declaration.
6435 (vhdl-mode-syntax-table-init): Remove.
6436
c9990474
SM
6437 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6438 last change.
1d5963cc
SM
6439
6440 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6441 syntax for "_".
6442 (ld-script-font-lock-keywords):
6443 Change regexps to use things like \_< and \_>.
6444
6445 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6446 Change all regexps to use things like \_< and \_>.
6447
6448 * progmodes/autoconf.el (autoconf-definition-regexp)
6449 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6450 Handle a _ with symbol syntax.
6451 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6452
c9990474
SM
6453 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6454 Consolidate declaration.
1d5963cc
SM
6455 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6456 the declaration.
6457 (ada-create-syntax-table): Remove.
6458 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6459 already has the right syntax nowadays.
6460 (ada-goto-next-word): Don't change the syntax of "_".
6461
6462 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6463 with-wrapper-hook.
6464
72d3cfca
SS
64652013-05-08 Sam Steingold <sds@gnu.org>
6466
6467 * thingatpt.el (thing-at-point): Accept optional second argument
6468 NO-PROPERTIES to strip the text properties from the return value.
6469 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6470 to `thing-at-point' instead of stripping the properties ourselves.
6471 Also, when `thing-at-point' fails to find a url, prepend "http://"
6472 to the filename at point on the assumption that the user is
6473 pointing at something like gnu.org/gnu.
6474
5cb15713
JB
64752013-05-08 Juanma Barranquero <lekktu@gmail.com>
6476
6477 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6478 * faces.el (crm-separator):
6479 Silence byte-compiler.
6480
6481 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6482 (tool-bar-map): Remove unneeded defvars.
6483
ea78b95b
LL
64842013-05-08 Leo Liu <sdl.web@gmail.com>
6485
6486 Re-work a fix for bug#10994 based on Le Wang's patch.
6487 * ido.el (ido-remove-consecutive-dups): New helper.
6488 (ido-completing-read): Use it.
6489 (ido-chop): Revert fix for bug#10994.
6490
dc7466df
AS
64912013-05-08 Adam Spiers <emacs@adamspiers.org>
6492
6493 * cus-edit.el (custom-save-variables):
6494 Pretty-print long values. (Bug#14187)
6495
9ecf672a
GM
64962013-05-08 Glenn Morris <rgm@gnu.org>
6497
6498 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6499 (m4-mode-syntax-table): Init in the defvar.
6500 (m4-mode-abbrev-table): Let define-derived-mode define it.
6501
3f555be8
TT
65022013-05-08 Tom Tromey <tromey@redhat.com>
6503
6504 * progmodes/m4-mode.el (m4-mode-syntax-table):
6505 Do not treat "_" as word constituent. (Bug#14167)
6506
7cc8ae06
GM
65072013-05-07 Glenn Morris <rgm@gnu.org>
6508
4f58bc06
GM
6509 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6510 Remove explicit eshell-isearch-cancel-map.
6511
7cc8ae06
GM
6512 * progmodes/f90.el (f90-smart-end-names): New option.
6513 (f90-smart-end): Doc fix.
6514 (f90-end-block-optional-name): New constant.
6515 (f90-block-match): Respect f90-smart-end-names.
6516
ceb57e59
SM
65172013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6520 about implicit semi-colons (bug#14218).
6521
4e3f9230
YM
65222013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6523
6524 * frame.el (display-monitor-attributes-list)
6525 (frame-monitor-attributes): New functions.
6526
203a5572
LL
65272013-05-06 Leo Liu <sdl.web@gmail.com>
6528
6529 * progmodes/octave.el (octave-syntax-propertize-function): Change
6530 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6531 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 6532 (octave-completion-at-point): Rename from
203a5572
LL
6533 octave-completion-at-point-function.
6534 (inferior-octave-directory-tracker): Robustify.
6535 (octave-text-functions): Remove and fix its uses. No such things
6536 any more.
6537
ee6cff99
SM
65382013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * emacs-lisp/trace.el (trace--display-buffer): New function.
6541 (trace-make-advice): Use it.
6542
32985194
JL
65432013-05-06 Juri Linkov <juri@jurta.org>
6544
6545 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6546 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6547 Doc fix.
6548 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6549 in the help string. (Bug#12985)
6550
a1c700de
KD
65512013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6552
6553 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6554
c67c0839
SM
65552013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6556
323885fd
SM
6557 * progmodes/perl-mode.el: Add support for here documents.
6558 (perl-syntax-propertize-function): Match here-doc markers.
6559 (perl-syntax-propertize-special-constructs): Find their end.
6560 (perl-imenu-generic-expression): Use [:alnum:].
6561
c67c0839
SM
6562 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6563 (advice--add-function): Refresh the advice if already present
6564 (bug#14317).
6565
d491e7a8
IA
65662013-05-06 Ivan Andrus <darthandrus@gmail.com>
6567
6568 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6569
ddf9925e
GM
65702013-05-06 Glenn Morris <rgm@gnu.org>
6571
7cc3af27
GM
6572 * w32-fns.el (w32-charset-info-alist): Declare.
6573
16e343d6
GM
6574 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6575 of its defcustom properties.
6576 (eshell-cmpl-initialize): No need to load pcomplete.
6577
7d889a47
GM
6578 * generic-x.el: No need to require comint when compiling.
6579
ddf9925e
GM
6580 * net/eudc-export.el: Make it loadable without bbdb.
6581 (top-level): Use require rather than load-library.
6582 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6583 (eudc-batch-export-records-to-bbdb)
6584 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6585 Require bbdb.
6586
1e2c18df
SM
65872013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6588
6589 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6590 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6591 some tweaks, instead.
6592
02502a5f
LL
65932013-05-05 Leo Liu <sdl.web@gmail.com>
6594
6595 * progmodes/octave.el (octave-font-lock-keywords)
6596 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6597 (inferior-octave-send-list-and-digest): Improve error message.
6598 (octave-mode, inferior-octave-mode): Use setq-local.
6599 (octave-help): Set info-lookup-mode.
6600
0dc04f42
RS
66012013-05-05 Richard Stallman <rms@gnu.org>
6602
6c54491c
RS
6603 * vc/compare-w.el (compare-windows-whitespace):
6604 Treat no-break space as whitespace.
6605
0dc04f42
RS
6606 * mail/rmailsum.el (rmail-summary-rmail-update):
6607 Detect empty summary and don't change selected message.
6608 (rmail-summary-goto-msg): Likewise.
6609
df8f35df
RS
6610 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6611 Doc fixes, rename args.
6612
5356e1a3
AM
66132013-05-05 Alan Mackenzie <acm@muc.de>
6614
6615 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6616
d44014cb
JL
66172013-05-05 Juri Linkov <juri@jurta.org>
6618
6619 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6620 to not add the length of the summary segment to the return value.
6621 (Bug#14125)
6622
c129b51f
LL
66232013-05-05 Leo Liu <sdl.web@gmail.com>
6624
6625 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6626 (inferior-octave-output-filter): Remove.
6627 (octave-send-region, inferior-octave-startup): Fix callers.
6628 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6629 (octave-binary-file-extensions): New user variable.
6630 (octave-find-definition): Confirm if opening binary files.
6631 (octave-help-file): Use octave-find-definition to get the binary
6632 confirmation.
6633 (octave-help): Adjust for octave-help-file change.
6634
aa7dab97
SM
66352013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6638 Merge the two entries that handle function definitions.
6639 (pascal--syntax-propertize): New const.
6640 (pascal-mode): Use it. Use setq-local.
6641
fd3a9a6b
GM
66422013-05-04 Glenn Morris <rgm@gnu.org>
6643
6644 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6645 (diary-from-outlook): Respect diary-from-outlook-function.
6646
30c7e542
SM
66472013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6648
6649 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6650 Move the declaration from C.
6651 (read-minibuffer, eval-minibuffer): Move from C.
6652 (completion-setup-function): Avoid minibuffer-completion-contents.
6653
b54f978b
LL
66542013-05-03 Leo Liu <sdl.web@gmail.com>
6655
6656 * progmodes/octave.el (octave-font-lock-keywords): Do not
6657 dehighlight 'end' in comments or strings.
30c7e542
SM
6658 (octave-completing-read, octave-goto-function-definition):
6659 New helpers.
d4d0f9b3
LL
6660 (octave-help-buffer): New user variable.
6661 (octave-help-file, octave-help-function): New button types.
6662 (octave-help): New command and bind it to C-h ;.
6663 (octave-find-definition): New command and bind it to M-.
d74a1581 6664 (user-error): Alias to error if not defined.
b54f978b 6665
27135018
LL
66662013-05-02 Leo Liu <sdl.web@gmail.com>
6667
6668 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6669 for \. (bug#14332)
6670 (octave-font-lock-keywords): Include [ and {.
6671
0d634d3a
LL
66722013-05-02 Leo Liu <sdl.web@gmail.com>
6673
6674 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6675 (inferior-octave): Remove calling comint-mode and return the buffer.
6676 (inferior-octave-startup): Cosmetic changes.
6677
b4c8295e
LL
66782013-05-02 Leo Liu <sdl.web@gmail.com>
6679
30c7e542
SM
6680 * progmodes/octave.el (octave-syntax-propertize-function):
6681 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 6682
f12ad6ec
GM
66832013-05-02 Glenn Morris <rgm@gnu.org>
6684
6685 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6686 * desktop.el (vc-dir-mode): Just autoload it here.
6687
30cac1e0
AM
66882013-05-02 Alan Mackenzie <acm@muc.de>
6689
6690 Eliminate variable c-standard-font-lock-fontify-region-function.
6691 * progmodes/cc-mode.el
6692 (c-standard-font-lock-fontify-region-function): Remove.
6693 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6694
d8ef28b1
LL
66952013-05-01 Leo Liu <sdl.web@gmail.com>
6696
2640d52e 6697 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 6698 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 6699 variables were removed from Octave in 2007.
d8ef28b1
LL
6700 (inferior-octave-startup): Fix uses.
6701 (comint-line-beginning-position): Remove compatibility code for
6702 emacs 21.
6703
ac63ec89
JL
67042013-05-01 Juri Linkov <juri@jurta.org>
6705
6706 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6707
9e9be37c
JL
67082013-05-01 Juri Linkov <juri@jurta.org>
6709
6710 * comint.el (comint-previous-matching-input): Don't print message
6711 "History item: %d" when `isearch-mode' is active.
6712 (comint-history-isearch-message): Print message "History item: %d"
6713 when `comint-input-ring-index' is not empty and this function is
6714 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6715
9b92c13b
LL
67162013-05-01 Leo Liu <sdl.web@gmail.com>
6717
6718 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6719 definitions. Use completion-at-point to insert keywords.
6720 (octave-abbrev-start): Remove.
6721 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6722
b12d33d7
LL
67232013-04-30 Leo Liu <sdl.web@gmail.com>
6724
6725 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6726 change.
6727
3d1c39fa
AM
67282013-04-30 Alan Mackenzie <acm@muc.de>
6729
6730 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
6731 * progmodes/cc-engine.el (c-back-over-member-initializers):
6732 new function.
3d1c39fa
AM
6733 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6734 (most) member init lists.
6735
5147fc17
RS
67362013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6737
6738 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6739 variable.
6740
5b78d7fc
LL
67412013-04-30 Leo Liu <sdl.web@gmail.com>
6742
6743 * progmodes/octave.el (octave-variables): Remove. No builtin
6744 variables any more. All converted to functions.
6745 (octave-font-lock-keywords, octave-completion-at-point-function):
6746 Fix uses.
6747 (octave-font-lock-texinfo-comment): New user variable.
6748 (octave-texinfo-font-lock-keywords): New variable for texinfo
6749 comment block.
6750 (octave-function-comment-block): New face.
6751 (octave-font-lock-texinfo-comment): New function.
6752 (octave-mode): Font lock texinfo comment block.
6753
38d8527b
LL
67542013-04-29 Leo Liu <sdl.web@gmail.com>
6755
6756 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6757 indexing expression.
6758 (octave-continuation-string): Do not use \.
6759 (inferior-octave-complete-impossible): Remove.
6760 (inferior-octave-completion-table)
6761 (inferior-octave-completion-at-point): Remove its uses.
6762 (inferior-octave-startup): completion_matches was introduced to
6763 Octave in 1996 so safe to assume it.
6764 (octave-function-file-comment): Improve to follow how Octave does it.
6765 (octave-update-function-file-comment): Tweak.
6766
2ec12cb0
LL
67672013-04-29 Leo Liu <sdl.web@gmail.com>
6768
6769 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6770 (inferior-octave-startup): Remove inferior-octave-startup-hook.
6771 (octave-function-file-comment): Fix typo.
6772 (octave-sync-function-file-names): Use read-char-choice.
6773
6eaed048
JB
67742013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
6775
6776 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6777 to t for the less important warnings.
6778
3ffa2d4f
DH
67792013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
6780
6781 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
6782
685c9501
GM
67832013-04-27 Glenn Morris <rgm@gnu.org>
6784
6785 * vc/log-view.el (log-view-current-entry):
6786 Treat "---" separator lines as part of the following rev. (Bug#14169)
6787
0208ede7
JL
67882013-04-27 Juri Linkov <juri@jurta.org>
6789
6790 * subr.el (read-number): Doc fix about using it by interactive
6791 code letter `n'. (Bug#14254)
6792
5db9dace
JL
67932013-04-27 Juri Linkov <juri@jurta.org>
6794
6795 * desktop.el (desktop-auto-save-timeout): New option.
6796 (desktop-file-checksum): New variable.
6797 (desktop-save): Add optional arg `auto-save' and don't auto-save
6798 if nothing changed.
6799 (desktop-auto-save-timer): New variable.
6800 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6801 (after-init-hook): Call `desktop-auto-save-set-timer'.
6802 Suggested by Reuben Thomas <rrt@sc3d.org> in
6803 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6804
b7260dd4
LL
68052013-04-27 Leo Liu <sdl.web@gmail.com>
6806
6807 * progmodes/octave.el (octave-function-file-p)
6808 (octave-skip-comment-forward, octave-function-file-comment)
6809 (octave-update-function-file-comment): New functions.
6810 (octave-mode-map): Bind C-c ; to
6811 octave-update-function-file-comment.
6812 (octave-mode-menu): Add octave-update-function-file-comment.
6813 (octave-mode, inferior-octave-mode): Fix doc-string.
6814 (octave-insert-defun): Conform to Octave's coding convention.
6815 (Bug#14285)
6816
6817 * files.el (basic-save-buffer): Don't let errors in
6818 before-save-hook prevent saving buffer.
6819
c46da669
RW
68202013-04-20 Roland Winkler <winkler@gnu.org>
6821
6822 * faces.el (read-face-name): Use completing-read if arg multiple
6823 is nil.
6824
a81ee1eb
IL
68252013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
6826
6827 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
6828 displayed, move point to after the totals line.
6829 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
6830 for the details.
6831
4fac34ce
SM
68322013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * emacs-lisp/package.el (package-autoload-ensure-default-file):
6835 Add current dir to the load-path.
6836 (package-generate-autoloads): Don't rely on
6837 autoload-ensure-default-file.
6838
f6bfc063
RT
68392013-04-26 Reuben Thomas <rrt@sc3d.org>
6840
d40ab5cf
BG
6841 * textmodes/remember.el (remember-store-in-files): Document that
6842 the file name format is passed to `format-time-string'.
f6bfc063 6843
e55d3b04
LL
68442013-04-26 Leo Liu <sdl.web@gmail.com>
6845
6846 * progmodes/octave.el (octave-sync-function-file-names): New function.
6847 (octave-mode): Use it in before-save-hook.
6848
e53052d3
SM
68492013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6850
140ef50c
SM
6851 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
6852 (bug#14274).
6853
e53052d3
SM
6854 * progmodes/octave.el (octave-smie-forward-token): Properly skip
6855 \n and comment, even if it's not an implicit ; (bug#14218).
6856
af80458d 68572013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
6858
6859 * subr.el (read-number): Once more use `read' rather than
6860 `string-to-number', to trap non-numeric input. (Bug#14254)
6861
af80458d 68622013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
6863
6864 * emacs-lisp/syntax.el (syntax-propertize-multiline):
6865 Use `syntax-multiline' text property consistently instead of
8a621d53 6866 `font-lock-multiline'. (Bug#14237)
70203c2e 6867
e6ea1f6c
GM
68682013-04-26 Glenn Morris <rgm@gnu.org>
6869
6870 * emacs-lisp/shadow.el (list-load-path-shadows):
6871 No longer necessary to check for duplicate simple.el, since
6872 2012-07-07 change to init_lread to not include installation lisp
6873 directories in load-path when running uninstalled. (Bug#14270)
6874
070ccca4
LL
68752013-04-26 Leo Liu <sdl.web@gmail.com>
6876
6877 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6878 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 6879 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
6880 octave-in-string-or-comment-p.
6881 (octave-in-comment-p, octave-in-string-p)
6882 (octave-in-string-or-comment-p): Replace defsubst with defun.
6883
9d1c5fb6
PE
68842013-04-25 Paul Eggert <eggert@cs.ucla.edu>
6885
6886 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6887
c034abda
BG
68882013-04-25 Bastien Guerry <bzg@gnu.org>
6889
6890 * textmodes/remember.el (remember-data-directory)
6891 (remember-directory-file-name-format): Fix custom types.
6892
584ea277
LL
68932013-04-25 Leo Liu <sdl.web@gmail.com>
6894
e53052d3
SM
6895 * progmodes/octave.el (octave-completion-at-point-function):
6896 Make use of inferior octave process.
584ea277
LL
6897 (octave-initialize-completions): Remove.
6898 (inferior-octave-completion-table): New function.
6899 (inferior-octave-completion-at-point): Use it.
6900 (octave-completion-alist): Remove.
6901
1693b06a
SM
69022013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6903
6904 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6905 (opascal-mode-syntax-table): New var.
6906 (opascal-literal-kind, opascal-is-literal-end)
6907 (opascal-literal-token-at): Rewrite.
6908 (opascal--literal-start-re, opascal-font-lock-keywords)
6909 (opascal--syntax-propertize): New constants.
6910 (opascal-font-lock-defaults): Adjust.
6911 (opascal-mode): Use them. Set comment-<foo> variables as well.
6912 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6913 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6914 (delphi-other-face, opascal-other-face): Remove face variables.
6915 (opascal-save-state): Remove macro.
6916 (opascal-fontifying-progress-step): Remove constant.
6917 (opascal--ignore-changes): Remove var.
6918 (opascal-set-token-property, opascal-parse-next-literal)
6919 (opascal-is-stable-literal, opascal-complete-literal)
6920 (opascal-is-literal-start, opascal-face-of)
6921 (opascal-parse-region, opascal-parse-region-until-stable)
6922 (opascal-fontify-region, opascal-after-change)
6923 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6924 (opascal-debug-parse-region, opascal-debug-parse-window)
6925 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6926 (opascal-debug-fontify-buffer): Remove.
6927 (opascal-debug-mode-map): Adjust accordingly.
6928
be64c05d
LL
69292013-04-25 Leo Liu <sdl.web@gmail.com>
6930
6931 Merge octave-mod.el and octave-inf.el into octave.el with some
6932 cleanups.
6933 * progmodes/octave.el: New file renamed from octave-mod.el.
6934 * progmodes/octave-inf.el: Merged into octave.el.
6935 * progmodes/octave-mod.el: Renamed to octave.el.
6936
d79d37bd
TH
69372013-04-25 Tassilo Horn <tsdh@gnu.org>
6938
6939 * textmodes/reftex-vars.el
6940 (reftex-label-ignored-macros-and-environments): New defcustom.
6941
6942 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6943
ced3fc5d
SM
69442013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6945
6946 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6947 (smie-indent-keyword): Improve the check to ensure that the next
6948 comment is really on the same line.
6949 (smie-indent-comment): Don't align with a subsequent closer (or eob).
6950
6951 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6952 semi-colons if the line is not otherwise empty (bug#14218).
6953
1c141dad
GM
69542013-04-25 Glenn Morris <rgm@gnu.org>
6955
6956 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6957
5058062a
SM
69582013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6959
6960 * progmodes/opascal.el (opascal-set-token-property): Rename from
6961 opascal-set-text-properties and only set `token' (bug#14134).
6962 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6963 (opascal-literal-text-properties): Remove.
6964 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6965 Adjust callers.
6966
5db9dace 69672013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
6968
6969 * textmodes/remember.el (remember-handler-functions): Add an
6970 option for a new handler `remember-store-in-files'.
6971 (remember-data-directory, remember-directory-file-name-format):
6972 New options.
6973 (remember-store-in-files): New function to store remember notes
6974 as separate files within a directory.
6975
4391916c
MH
69762013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
6977
6978 * progmodes/compile.el (compilation-next-error-function):
6979 Pass "formats" to compilation-find-file (bug#11777).
6980
bb7cdf58
GM
69812013-04-24 Glenn Morris <rgm@gnu.org>
6982
3b8fe752 6983 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
6984 * vc/vc-hg.el (vc-hg-print-log):
6985 * vc/vc-svn.el (vc-svn-print-log):
6986 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6987
bb7cdf58
GM
6988 * vc/vc-bzr.el (vc-bzr-print-log):
6989 * vc/vc-cvs.el (vc-cvs-print-log):
6990 * vc/vc-git.el (vc-git-print-log):
6991 * vc/vc-hg.el (vc-hg-print-log):
6992 * vc/vc-mtn.el (vc-mtn-print-log):
6993 * vc/vc-rcs.el (vc-rcs-print-log):
6994 * vc/vc-sccs.el (vc-sccs-print-log):
6995 * vc/vc-svn.el (vc-svn-print-log):
6996 * vc/vc.el (vc-print-log-internal): Doc fixes.
6997
b46a056e
GM
69982013-04-23 Glenn Morris <rgm@gnu.org>
6999
7000 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7001 Remove venerable code attempting to avoid substitute-command-keys.
7002
0aecf718
TH
70032013-04-23 Tassilo Horn <tsdh@gnu.org>
7004
4391916c
MH
7005 * textmodes/reftex-vars.el (reftex-label-regexps):
7006 Call `reftex-compile-variables' after changes to this variable.
0aecf718 7007
117f94cf
SM
70082013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7009
4391916c 7010 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
7011 Use lexical-binding.
7012 (jit-lock-force-redisplay): Use markers, check buffer's continued
7013 existence and beware narrowed buffers.
7014 (jit-lock-fontify-now): Adjust call accordingly.
7015
1d829c64
SM
70162013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7019 to avoid misleading the user.
7020
72d548a9
LL
70212013-04-22 Leo Liu <sdl.web@gmail.com>
7022
7023 * info-look.el: Prefer latex2e.info. (Bug#14240)
7024
d0853629
MA
70252013-04-22 Michael Albinus <michael.albinus@gmx.de>
7026
7027 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7028
7029 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 7030 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
7031 (tramp-set-completion-function, tramp-parse-putty):
7032 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7033 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7034 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7035 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7036 (tramp-call-local-coding-command): Use `tramp-call-process'
7037 instead of `tramp-compat-call-process'.
7038
7039 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7040 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7041 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 7042 (tramp-find-inline-compress): Improve traces.
d0853629
MA
7043 (tramp-maybe-send-script): Check for Perl binary.
7044 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7045
38cc0210
DU
70462013-04-22 Daiki Ueno <ueno@gnu.org>
7047
7048 * epg.el (epg-context-pinentry-mode): New function.
7049 (epg-context-set-pinentry-mode): New function.
7050 (epg--start): Pass --pinentry-mode option to gpg command.
7051
cc641ee1
XF
70522013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7053
02d844b5 7054 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 7055 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 7056 `completion-at-point'. (Bug#13774)
5d4e5c31 7057
cc641ee1
XF
7058 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7059 default key binding for `describe-distribution' has been moved to
7060 `C-h C-o'. (Bug#13970)
7061
1b42ee43
GM
70622013-04-21 Glenn Morris <rgm@gnu.org>
7063
7064 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7065 Add doc strings.
7066 (vc-print-log): Clarify interactive prompt.
7067
a6d63d97
GM
70682013-04-20 Glenn Morris <rgm@gnu.org>
7069
7070 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7071 No longer include timestamp etc information.
7072
d7f5c16f
RW
70732013-04-20 Roland Winkler <winkler@gnu.org>
7074
7075 * faces.el (read-face-name): Bug fix, return just one face if arg
7076 multiple is nil. (Bug#14209)
7077
bcd7a0a4
SM
70782013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7081 (remove-function): Autoload.
7082
7083 * comint.el (comint-redirect-original-filter-function): Remove.
7084 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
7085 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7086 (vc-cvs-annotate-command):
bcd7a0a4
SM
7087 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7088 * progmodes/prolog.el (prolog-consult-compile):
7089 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7090 Use add/remove-function instead.
7091 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7092 (gud-tooltip-process-output, gud-tooltip-tips):
7093 Use add/remove-function instead.
7094 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7095 (scheme-interaction-mode, exit-scheme-interaction-mode):
7096 Use add/remove-function instead.
7097
7098 * vc/vc-dispatcher.el: Use lexical-binding.
7099 (vc--process-sentinel): Rename from vc-process-sentinel.
7100 Change last arg to be the code to run. Don't use vc-previous-sentinel
7101 and vc-sentinel-commands any more.
7102 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7103 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7104
e36b2d20 71052013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 7106
bcd7a0a4 7107 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 7108 Handle function names with a single character. (Bug#14111)
4d3268ba 7109
781b4af6 71102013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
7111
7112 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7113 for subroutines defined in an eval (bug#14182).
7114
7d688336
TV
71152013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7116
7117 * bookmark.el (bookmark-completing-read): Improve handling of empty
7118 string (bug#14176).
7119
31dcede0
SM
71202013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7123
adc31213
FEG
71242013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7125
7126 New faster Imenu implementation (bug#14058).
7127 * progmodes/python.el:
7128 (python-imenu-prev-index-position):
7129 (python-imenu-format-item-label-function)
7130 (python-imenu-format-parent-item-label-function)
7131 (python-imenu-format-parent-item-jump-label-function):
7132 New vars.
7133 (python-imenu-format-item-label)
7134 (python-imenu-format-parent-item-label)
7135 (python-imenu-format-parent-item-jump-label)
7136 (python-imenu--put-parent, python-imenu--build-tree)
7137 (python-imenu-create-index, python-imenu-create-flat-index)
7138 (python-util-popn): New functions.
7139 (python-mode): Set imenu-create-index-function to
7140 python-imenu-create-index.
7141
cdca8255
SM
71422013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * winner.el (winner-active-region): Use region-active-p, activate-mark
7145 and deactivate-mark (bug#14225).
7146
7147 * simple.el (deactivate-mark): Don't inline it.
7148
beb42340
MA
71492013-04-18 Michael Albinus <michael.albinus@gmx.de>
7150
7151 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7152
fc7f4d7e
TH
71532013-04-18 Tassilo Horn <tsdh@gnu.org>
7154
7155 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7156 file extensions from the archive-mode entry in order to prefer
7157 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7158
29f47822
LL
71592013-04-18 Leo Liu <sdl.web@gmail.com>
7160
7161 * bindings.el (help-event-list): Add ?\?.
7162
d36ed1c8
SM
71632013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7164
7165 * subr.el (with-wrapper-hook): Declare obsolete.
7166 * simple.el (filter-buffer-substring-function): New hook.
7167 (filter-buffer-substring): Use it.
7168 (filter-buffer-substring-functions): Mark obsolete.
7169 * minibuffer.el (completion-in-region-function): New hook.
7170 (completion-in-region): Use it.
7171 (completion-in-region-functions): Mark obsolete.
7172 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7173 * abbrev.el (abbrev-expand-function): New hook.
7174 (expand-abbrev): Use it.
7175 (abbrev-expand-functions): Mark obsolete.
7176 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7177 and :filter-return.
7178
04754d36
FEG
71792013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7180
7181 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7182 and do not care about match data.
7183
dd8791e9
SM
71842013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7185
7186 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7187 completion tables when completing error conditions and
7188 `declare' arguments.
7189 (lisp-complete-symbol, field-complete): Mark as obsolete.
7190 (check-parens): Unmatched parens are user errors.
7191 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7192
ffe54a13
AM
71932013-04-17 Michal Nazarewicz <mina86@mina86.com>
7194
dd8791e9
SM
7195 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7196 command changed buffer (ie. `flyspell-pre-buffer' is not current
7197 buffer), which prevents making decisions based on invalid value of
7198 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7199 cause an error when `flyspell-pre-point' was nil after switching
7200 buffers.
7201 (flyspell-post-command-hook): No longer needs to change buffers when
7202 checking pre-word. While at it remove unnecessary progn.
ffe54a13 7203
ec7e39f2
AM
72042013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7205
7206 * textmodes/ispell.el (ispell-add-per-file-word-list):
7207 Fix `flyspell-correct-word-before-point' error when accepting
7208 words and `coment-padding' is an integer by using
7209 `comment-normalize-vars' (Bug #14214).
7210
083850a6
FEG
72112013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7212
7213 New defun movement commands.
7214 * progmodes/python.el (python-nav--syntactically)
7215 (python-nav--forward-defun, python-nav-backward-defun)
7216 (python-nav-forward-defun): New functions.
7217
619ed6e1
FEG
72182013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7219
7220 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7221 (python-syntax-context): Use named compiler-macro for backwards
7222 compatibility with Emacs 24.x.
7223
7a1beb6c
LL
72242013-04-17 Leo Liu <sdl.web@gmail.com>
7225
7226 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7227 octave-hide-process-buffer.
7228
2d3fa3e5
SM
72292013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7230
7231 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7232 (bug#14216).
7233
7ce5be54
JPG
72342013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7235
7236 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7237 Fix adjustment of offset when receiving incomplete responses from GDB
7238 (bug#14129).
7239
351edece
SM
72402013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7243 python-mode-abbrev-table.
7244 (python-skeleton-define): Adjust accordingly.
7245 (python-mode-abbrev-table): New table that inherits from it so that
7246 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7247
7248 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7249 (abbrev-symbol): Use it.
7250 (abbrev--before-point): Use it since we already handle inheritance.
7251
613f9481
LL
72522013-04-16 Leo Liu <sdl.web@gmail.com>
7253
7254 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7255 binding to info-lookup-symbol.
7256
51646b62
JB
72572013-04-16 Juanma Barranquero <lekktu@gmail.com>
7258
7259 * minibuffer.el (completion--twq-all):
7260 * term/ns-win.el (ns-initialize-window-system):
7261 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7262
efb3f01d
SM
72632013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7264
36c0a301
SM
7265 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7266 global bindings.
7267
efb3f01d
SM
7268 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7269
fb549d64
DG
72702013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7271
7272 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7273 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7274 to nil.
7275 (ruby-end-of-defun): Remove the unused arg, change the docstring
7276 to reflect that this function is only used as the value of
7277 `end-of-defun-function'.
7278 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7279 to reflect an earlier change that beginning/end-of-defun functions
7280 jump between methods in a class definition, as well as top-level
7281 functions.
7282
21e8fe2f
SM
72832013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * minibuffer.el (minibuffer-complete): Don't just scroll
7286 a *Completions* that's been iconified.
7287 (minibuffer-force-complete): Make sure repetitions do cycle when going
7288 through completion-in-region -> minibuffer-complete.
7289
20e527d0
AM
72902013-04-15 Alan Mackenzie <acm@muc.de>
7291
7292 Correct the placement of c-cpp-delimiters when there're #s not at
7293 col 0.
7294
7295 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7296 place a submatch around the #.
21e8fe2f
SM
7297 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7298 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
7299 on the #, not BOL.
7300
dabefae5
SM
73012013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7302
7303 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7304 (advice--member-p): New arg `name'.
7305 (advice--add-function, advice-member-p): Use it (bug#14202).
7306
85c9ab64
AM
73072013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7308
7309 Reformulate java imenu-generic-expression.
7310 The old expression contained ill formed regexps.
7311
7312 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7313 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7314 (cc-imenu-java-method-arg-regexp): New defconsts.
7315 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 7316 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
7317 handling of spaces in the regexp.
7318
0f821d99
AM
73192013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7320
7321 * textmodes/ispell.el (ispell-command-loop): Remove
7322 flyspell highlight of a word when ispell accepts it (bug #14178).
7323
eb922adf
MA
73242013-04-15 Michael Albinus <michael.albinus@gmx.de>
7325
7326 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7327 uses code from the previous `ange-ftp-run-real-handler'.
7328 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7329 only in case that function exist. This is needed for proper
7330 unloading of Tramp.
7331
4d9a0979
TH
73322013-04-15 Tassilo Horn <tsdh@gnu.org>
7333
7334 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7335
7336 * textmodes/reftex.el (reftex-compile-variables): Use it.
7337
a829b0dc
SM
73382013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7339
91e8293c
SM
7340 * files.el (normal-mode): Only use default major-mode if no other mode
7341 was specified.
7342
830aed4d
SM
7343 * emacs-lisp/trace.el (trace-values): New function.
7344
a829b0dc
SM
7345 * files.el: Allow : in local variables (bug#14089).
7346 (hack-local-variable-regexp): New var.
7347 (hack-local-variables-prop-line, hack-local-variables): Use it.
7348
7ae9f0fb
RW
73492013-04-13 Roland Winkler <winkler@gnu.org>
7350
7351 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7352 data before it gets modified by bibtex-beginning-of-entry.
7353
6646e848
RW
73542013-04-13 Roland Winkler <winkler@gnu.org>
7355
7356 * textmodes/bibtex.el (bibtex-url): Doc fix.
7357
73582013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
7359
7360 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7361 does not visit a BibTeX file, exclude it from the list of buffers
7362 returned by bibtex-initialize.
7363
0aa3616e
SB
73642013-04-13 Stephen Berman <stephen.berman@gmx.net>
7365
7366 * window.el (split-window): Remove interactive form, since as a
7367 command this function is a special case of split-window-below.
7368 Correct doc string.
7369
011cddd6
RW
73702013-04-12 Roland Winkler <winkler@gnu.org>
7371
7372 * faces.el (read-face-name): Do not override value of arg default.
7373 Allow single faces and strings as default values. Remove those
7374 elements from return value that are not faces.
7375 (describe-face): Simplify.
7376 (face-at-point): New optional args thing and multiple so that this
7377 function can provide the same functionality previously provided by
7378 read-face-name.
7379 (make-face-bold, make-face-unbold, make-face-italic)
7380 (make-face-unitalic, make-face-bold-italic, invert-face)
7381 (modify-face, read-face-and-attribute): Use face-at-point.
7382
7383 * cus-edit.el (customize-face, customize-face-other-window)
7384 * cus-theme.el (custom-theme-add-face)
7385 * face-remap.el (buffer-face-set)
7386 * facemenu.el (facemenu-set-face): Use face-at-point.
7387
f24e0036
MA
73882013-04-12 Michael Albinus <michael.albinus@gmx.de>
7389
7390 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7391
da3cda2d
TH
73922013-04-10 Tassilo Horn <tsdh@gnu.org>
7393
7394 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7395 off leading { and trailing } from field values.
7396
15e54145
SM
73972013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7398
78ce603d
SM
7399 * emacs-lisp/timer.el (timer--check): New function.
7400 (timer--time, timer-set-function, timer-event-handler): Use it.
7401 (timer-set-idle-time): Simplify.
7402 (timer--activate): CSE.
7403 (timer-event-handler): Give more info in error message.
7404 (internal-timer-start-idle): New function, moved from C.
7405
15e54145
SM
7406 * mpc.el (mpc-proc): Add `restart' argument.
7407 (mpc-proc-cmd): Use it.
7408 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7409 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7410 less often.
7411
7144c627
MY
74122013-04-10 Masatake YAMATO <yamato@redhat.com>
7413
7414 * progmodes/sh-script.el: Implement `sh-mode' own
7415 `add-log-current-defun-function' (bug#14112).
7416 (sh-current-defun-name): New function.
7417 (sh-mode): Use the function.
7418
b39792eb
BG
74192013-04-09 Bastien Guerry <bzg@gnu.org>
7420
7421 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7422
8acdeb71
SM
74232013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7424
6fcdab68
SM
7425 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7426
8acdeb71
SM
7427 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7428 timer (bug#14156).
7429
e3e7b504
NF
74302013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7431
7432 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7433 declaration.
7434
201bb296
LL
74352013-04-07 Leo Liu <sdl.web@gmail.com>
7436
7437 * pcmpl-x.el: New file.
7438
ebb19708
DA
74392013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7440
7441 Do not set x-display-name until X connection is established.
7442 This is needed to prevent from weird situation described at
7443 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7444 * frame.el (make-frame): Set x-display-name after call to
7445 window system initialization function, not before.
7446 * term/x-win.el (x-initialize-window-system): Add optional
7447 display argument and use it.
7448 * term/w32-win.el (w32-initialize-window-system):
7449 * term/ns-win.el (ns-initialize-window-system):
7450 * term/pc-win.el (msdos-initialize-window-system):
7451 Add compatible optional display argument.
7452
33bb237a
EZ
74532013-04-06 Eli Zaretskii <eliz@gnu.org>
7454
7455 * files.el (normal-backup-enable-predicate): On MS-Windows and
7456 MS-DOS compare truenames of temporary-file-directory and of the
7457 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7458 don't fail comparison by compare-strings. Also, compare file
7459 names case-insensitively on MS-Windows and MS-DOS.
7460
134abf1f
SM
74612013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7462
7463 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7464 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7465
d695cb94
DG
74662013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7467
e3e7b504
NF
7468 * whitespace.el (whitespace-color-on, whitespace-color-off):
7469 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 7470
f4ad7ea1 74712013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
7472
7473 * ispell.el (ispell-set-spellchecker-params):
7474 Really set `ispell-args' for all equivs.
7475
632556e4
SM
74762013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7477
7478 * ido.el (ido-completions): Use extra elements of ido-decorations
7479 (bug#14143).
7480 (ido-decorations): Update docstring.
7481
2a417372
MA
74822013-04-05 Michael Albinus <michael.albinus@gmx.de>
7483
7484 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7485 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7486 nil during initialization, in order not to miss changes since the
7487 file was opened. (Bug#14140)
7488
fc164b0c
LL
74892013-04-05 Leo Liu <sdl.web@gmail.com>
7490
7491 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7492
0ccecc08
JB
74932013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7494
7495 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7496
51af1aa2
GM
74972013-04-04 Glenn Morris <rgm@gnu.org>
7498
7499 * electric.el (electric-pair-inhibit-predicate): Add :version.
7500
b208ebc6
SM
75012013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7502
7503 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7504 when a package is required several times (bug#14082).
7505
f3d3eaf0
RW
75062013-04-04 Roland Winkler <winkler@gnu.org>
7507
7508 * faces.el (read-face-name): Behave as promised by the docstring.
7509 Assume that arg default is a list of faces.
7510 (describe-face): Call read-face-name with list of default faces.
7511
2575da50
TV
75122013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7513
7514 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7515 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7516 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7517 the header.
7518 (bookmark-exit-hook-internal): Save even if list is empty.
7519
397703b4
YH
75202013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7521
7522 * emacs-lisp/package.el (package-pinned-packages): New var.
7523 (package--add-to-archive-contents): Obey it (bug#14118).
7524
691e26ae
AM
75252013-04-03 Alan Mackenzie <acm@muc.de>
7526
8a621d53
JB
7527 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7528 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
7529
7530 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7531 parameter `not-in-delimiter'. Handle being inside comment opener.
7532 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7533 character in case we're typing a '*' after a '/'.
7534 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7535 instead by passing the parameter to c-state-pp-to-literal.
7536
7537 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7538 for elt. 7 of a parse state.
7539
4b725a70
PE
75402013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7541
7542 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7543 * international/latin1-disp.el, international/mule-util.el:
7544 * language/cyril-util.el, language/european.el, language/ind-util.el:
7545 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7546 * language/tibetan.el, language/viet-util.el:
7547 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7548
15c579f0
SM
75492013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7550
7551 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7552 (electric-pair-post-self-insert-function): Use it.
7553 (electric-pair-default-inhibit): New function, extracted from
7554 electric-pair-post-self-insert-function.
7555
a77e2924
RW
75562013-03-31 Roland Winkler <winkler@gnu.org>
7557
7558 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7559
2bd8a4a8
SM
75602013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7563
8d3655be 75642013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
7565
7566 Un-indent after "pass" and "return" statements (Bug#13888)
7567 * progmodes/python.el (python-indent-block-enders): New var.
7568 (python-indent-calculate-indentation): Use it.
7569
8d3655be 75702013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
7571
7572 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7573 defun. Defining it as defalias could introduce too eager
7574 byte-compiler optimization. (Bug#14030)
7575
8d3655be 75762013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
7577
7578 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7579
0b1619da
LL
75802013-03-30 Leo Liu <sdl.web@gmail.com>
7581
7582 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7583 (kmacro-execute-from-register): Pass the keyboard macro to
7584 kmacro-call-macro or repeating won't work correctly.
7585
0b938190
TZ
75862013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7587
7588 * progmodes/subword.el: Back to using `forward-symbol'.
7589
7590 * subr.el (forward-whitespace, forward-symbol)
7591 (forward-same-syntax): Move from thingatpt.el.
7592
35710234
LL
75932013-03-29 Leo Liu <sdl.web@gmail.com>
7594
7595 * kmacro.el (kmacro-to-register): New command.
7596 (kmacro-execute-from-register): New function.
7597 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7598
efc0bb73
SM
75992013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * mpc.el: Use defvar-local and setq-local.
7602 (mpc--proc-connect): Connection failures are not bugs.
7603 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7604 (mpc-volume-map): Bind to the up-events.
7605
75a2f981
TZ
76062013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7607
7608 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7609 instead of `forward-symbol'.
7610
17c781d1
SM
76112013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7614 (edebug--recursive-edit): Use it.
7615 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7616 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7617
f67bfbcf
LL
76182013-03-28 Leo Liu <sdl.web@gmail.com>
7619
7620 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7621
b59f639d
EZ
76222013-03-27 Eli Zaretskii <eliz@gnu.org>
7623
7624 * facemenu.el (list-colors-callback): New defvar.
7625 (list-colors-redisplay): New function.
7626 (list-colors-display): Install list-colors-redisplay as the
7627 revert-buffer-function. (Bug#14063)
7628
f557c1b1
SM
76292013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7630
b1da2957
SM
7631 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7632 and suffixes don't overlap (bug#14061).
7633
f557c1b1
SM
7634 * case-table.el: Use lexical-binding.
7635 (case-table-get-table): New function.
7636 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7637
002668e1
TZ
76382013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7639
7640 * progmodes/subword.el: Add `superword-mode' to do word motion
7641 over symbol_words (parallels and leverages `subword-mode' which
7642 does word motion inside MixedCaseWords).
7643
73572c72
AG
76442013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7645
78b8f320 7646 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 7647 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 7648
69b2c07e
SM
76492013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7652 Change return value to be a sexp. Delay `get-buffer' to after
7653 restoring the desktop (bug#13951).
7654
08bb5ee2
LL
76552013-03-26 Leo Liu <sdl.web@gmail.com>
7656
7657 * register.el: Move semantic tag handling back to
7658 cedet/semantic/senator.el. (Bug#14052)
7659
8d4c974e
SM
76602013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7661
7662 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7663 into the prompt either (bug#13963).
7664
b234d92c
SM
76652013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7668 part of "(error-foo)".
7669
ddfa3cb4
JL
76702013-03-24 Juri Linkov <juri@jurta.org>
7671
7672 * replace.el (list-matching-lines-prefix-face): New defcustom.
7673 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7674 `occur-engine' if `face-differs-from-default-p' returns t.
7675 (occur-engine): Add `,' inside backquote construct to evaluate
7676 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7677 Pass `prefix-face' to the functions `occur-context-lines' and
7678 `occur-engine-add-prefix'.
7679 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7680 `prefix-face' and propertize the prefix with `prefix-face'.
7681 (Bug#14017)
7682
7b0e2f85
LL
76832013-03-24 Leo Liu <sdl.web@gmail.com>
7684
7685 * nxml/rng-valid.el (rng-validate-while-idle)
7686 (rng-validate-quick-while-idle): Guard against deleted buffer.
7687 (Bug#13999)
7688
7689 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7690 is the last entry in kill-buffer-hook.
7691
7692 * files.el (kill-buffer-hook): Doc fix.
7693
b3082f49
DG
76942013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7695
b234d92c
SM
7696 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7697 Make it safe-local.
bde73d27 7698
b3082f49
DG
7699 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7700
a320a2db
LL
77012013-03-23 Leo Liu <sdl.web@gmail.com>
7702
7e74b0fb
LL
7703 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7704 Remove.
7705
7706 * nxml/rng-valid.el (rng-validate-mode)
7707 (rng-after-change-function, rng-do-some-validation):
7708 * nxml/rng-maint.el (rng-validate-buffer):
7709 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7710 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7711 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7712 (nxml-extend-after-change-region): Use with-silent-modifications.
7713
a320a2db
LL
7714 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7715 timer-idle-list.
7716
7717 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7718 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7719 timer-idle-list. (Bug#13999)
7720
e38e6780
JL
77212013-03-23 Juri Linkov <juri@jurta.org>
7722
7723 * info.el (info-index-match): New face.
7724 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7725 main pattern and add text properties with the new face to matches
7726 in index entries relative to the beginning of the index entry.
7727 (Bug#14015)
7728
e8cc7880
DE
77292013-03-21 Eric Ludlam <zappo@gnu.org>
7730
7731 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7732 Inhibit read only while inserting objects.
7733
9bb0d822
TZ
77342013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7735
7736 * progmodes/cfengine.el: Update docs to mention
7737 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7738 symbol motion. Remove "_" from the word syntax.
7739
aa703640
TZ
77402013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7741
7742 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7743 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7744
afff09d0
JL
77452013-03-20 Juri Linkov <juri@jurta.org>
7746
7747 * info.el (Info-next-reference-or-link)
7748 (Info-prev-reference-or-link): New functions.
7749 (Info-next-reference, Info-prev-reference): Use them.
7750 (Info-try-follow-nearest-node): Handle footnote navigation.
7751 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7752
9a1ff164
SM
77532013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7756 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7757
2667d15d
PE
77582013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7759
7760 Suppress unnecessary non-ASCII chatter during build process.
7761 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7762 (batch-skkdic-convert): Suppress most of the chatter.
7763 It's not needed so much now that machines are faster,
7764 and its non-ASCII component was confusing; see Dmitry Gutov in
7765 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7766
438b0579
LL
77672013-03-20 Leo Liu <sdl.web@gmail.com>
7768
7769 * ido.el (ido-chop): Fix bug#10994.
7770
c128ab07
DG
77712013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7772
7773 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7774 Remove vars.
9a1ff164
SM
7775 (whitespace-color-on, whitespace-color-off):
7776 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 7777
0e6008c5
SM
77782013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7779
7780 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7781 remapping in mode-line.
7782 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7783
627b52b0
DG
77842013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7785
7786 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7787 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
7788 (whitespace-font-lock-keywords): Change description.
7789 (whitespace-color-on): Don't save `font-lock-keywords' value, save
7790 the constructed keywords instead.
7791 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 7792
50c3a20b
LL
77932013-03-19 Leo Liu <sdl.web@gmail.com>
7794
7795 * progmodes/compile.el (compilation-display-error): New command.
7796 (compilation-mode-map, compilation-minor-mode-map): Bind it to
7797 C-o. (Bug#13992)
7798
2aa2157b
PE
77992013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7800
7801 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7802
e477dbfa
JD
78032013-03-18 Jan Djärv <jan.h.d@swipnet.se>
7804
7805 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7806
64ab82d1
MA
78072013-03-18 Michael Albinus <michael.albinus@gmx.de>
7808
7809 * net/tramp-compat.el (tramp-compat-user-error): New defun.
7810
7811 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7812 * net/tramp-gvfs.el (top):
7813 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
7814 (tramp-handle-shell-command): Use it.
7815 (tramp-dissect-file-name): Raise an error when hostname is a
7816 method name, and neither method nor user is specified.
7817
7818 * net/trampver.el: Update release number.
7819
33cef733
LL
78202013-03-18 Leo Liu <sdl.web@gmail.com>
7821
7822 Make sure eldoc can be turned off properly.
7823 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
7824 eldoc-mode.
7825 (eldoc-display-message-p): Revert last change.
7826 (eldoc-display-message-no-interference-p)
7827 (eldoc-print-current-symbol-info): Tweak.
7828
2167b7b2
TH
78292013-03-18 Tassilo Horn <tsdh@gnu.org>
7830
7831 * doc-view.el (doc-view-new-window-function): Check the new window
7832 overlay's display property instead the char property of the
7833 buffer's first char. Use `with-selected-window' instead of
7834 `save-window-excursion' with `select-window'.
7835 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 7836 display property instead the char property of the buffer's first char.
2167b7b2 7837
982efbcd
PE
78382013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7839
7840 Automate the build of ja-dic.el (Bug#13984).
7841 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
7842 from the input, rather than assume that it's been done for us by the
7843 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
7844 the current date into a ja-dic.el comment, as that complicates
7845 regression testing.
7846
2fcc7665
SM
78472013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 * whitespace.el: Fix double evaluation.
7850 (whitespace-space, whitespace-hspace, whitespace-tab)
7851 (whitespace-newline, whitespace-trailing, whitespace-line)
7852 (whitespace-space-before-tab, whitespace-indentation)
7853 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
7854 obsolete defvars.
7855 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
7856 (whitespace-color-on): Use a single font-lock-add-keywords call.
7857 Fix double-evaluation of face variables.
7858
67c0a6e6
MA
78592013-03-17 Michael Albinus <michael.albinus@gmx.de>
7860
2fcc7665
SM
7861 * net/tramp-adb.el (tramp-adb-parse-device-names):
7862 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 7863 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 7864
69489f1d
LL
78652013-03-17 Leo Liu <sdl.web@gmail.com>
7866
7867 Extend eldoc to display info in the mode-line. (Bug#13978)
7868 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7869 (eldoc-mode-line-string): New variable.
7870 (eldoc-minibuffer-message): New function.
7871 (eldoc-message-function): New variable.
7872 (eldoc-message): Use it.
7873 (eldoc-display-message-p)
2fcc7665
SM
7874 (eldoc-display-message-no-interference-p):
7875 Support eldoc-post-insert-mode.
69489f1d
LL
7876
7877 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7878 (eval-expression): Run it.
7879
9c44569e
RW
78802013-03-17 Roland Winkler <winkler@gnu.org>
7881
7882 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7883 strings in the list of return values.
7884
327f1f6f
JB
78852013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7886
7887 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7888 radix before checking for HMS forms.
7889
67ed8fcd
LL
78902013-03-16 Leo Liu <sdl.web@gmail.com>
7891
7892 * progmodes/scheme.el: Add indentation and font-locking for λ.
7893 (Bug#13975)
7894
78be8b64 78952013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
7896
7897 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7898 token before point (bug#13942).
7899
78be8b64 79002013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 7901
95b43468 7902 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 7903
98e775e6
EZ
79042013-03-16 Eli Zaretskii <eliz@gnu.org>
7905
7906 * startup.el (command-line-normalize-file-name): Fix handling of
7907 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7908 <xfq.free@gmail.com> in
7909 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7910
2edd6029
MA
79112013-03-15 Michael Albinus <michael.albinus@gmx.de>
7912
7913 Sync with Tramp 2.2.7.
7914
7915 * net/trampver.el: Update release number.
7916
d35f5864
TH
79172013-03-14 Tassilo Horn <tsdh@gnu.org>
7918
f35ffe5e
TH
7919 * doc-view.el Fix bug#13887.
7920 (doc-view-insert-image): Don't modify overlay associated to
7921 non-live windows, and implement horizontal centering of image in
7922 case it's smaller than the window.
7923 (doc-view-new-window-function): Force redisplay of new windows on
7924 doc-view buffers.
d35f5864 7925
1c4a85ed
KF
79262013-03-13 Karl Fogel <kfogel@red-bean.com>
7927
7928 * saveplace.el (save-place-alist-to-file): Don't sort
7929 `save-place-alist', just pretty-print it (bug#13882).
7930
85b66a21
MA
79312013-03-13 Michael Albinus <michael.albinus@gmx.de>
7932
a020afb9
JB
7933 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7934 Check whether `default-file-name-coding-system' is bound.
7935 It isn't in XEmacs.
85b66a21 7936
175600da
SM
79372013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7938
e7f7cb1a
SM
7939 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7940 backquotes for `obsolete' (bug#13929).
7941
175600da
SM
7942 * international/mule.el (find-auto-coding): Include file name in
7943 obsolescence warning (bug#13922).
7944
ca68a22e
TZ
79452013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
7946
7947 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7948 for CFEngine 3-specific indentation.
7949 (cfengine3-indent-line): Use it. Fix up category regex.
7950 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7951
940e5099
SM
79522013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7953
7954 * type-break.el (type-break-file-name):
7955 * textmodes/remember.el (remember-data-file):
7956 * strokes.el (strokes-file):
7957 * shadowfile.el (shadow-initialize):
7958 * saveplace.el (save-place-file):
7959 * ps-bdf.el (bdf-cache-file):
7960 * progmodes/idlwave.el (idlwave-config-directory):
7961 * net/quickurl.el (quickurl-url-file):
7962 * international/kkc.el (kkc-init-file-name):
7963 * ido.el (ido-save-directory-list-file):
7964 * emulation/viper.el (viper-custom-file-name):
7965 * emulation/vip.el (vip-startup-file):
7966 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7967 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7968
cc725808
PE
79692013-03-12 Paul Eggert <eggert@cs.ucla.edu>
7970
7971 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7972 * language/thai-word.el: Switch to UTF-8.
7973
a020afb9 7974See ChangeLog.16 for earlier changes.
e3d51b27
MR
7975
7976;; Local Variables:
7977;; coding: utf-8
e3d51b27
MR
7978;; End:
7979
ab422c4d 7980 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
7981
7982 This file is part of GNU Emacs.
7983
7984 GNU Emacs is free software: you can redistribute it and/or modify
7985 it under the terms of the GNU General Public License as published by
7986 the Free Software Foundation, either version 3 of the License, or
7987 (at your option) any later version.
7988
7989 GNU Emacs is distributed in the hope that it will be useful,
7990 but WITHOUT ANY WARRANTY; without even the implied warranty of
7991 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7992 GNU General Public License for more details.
7993
7994 You should have received a copy of the GNU General Public License
7995 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.