* term/common-win.el (x-select-enable-primary, x-last-selected-text-primary)
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ec9177ba
GM
12013-09-18 Glenn Morris <rgm@gnu.org>
2
9019d095
GM
3 * image.el (image-type-from-buffer, image-multi-frame-p):
4 Remove --without-x warning/error.
67645389 5
5f30349b
GM
6 * mouse.el (mouse-yank-primary):
7 Reorder to silence --without-x compilation.
8
8a78544e
GM
9 * mail/rmailmm.el (rmail-mime-set-bulk-data):
10 Silence --without-x compilation.
11
f0047cb9
GM
12 * wdired.el (dired-backup-overwrite): Remove declaration.
13 (wdired-mode-map): Add doc string.
14
e740f9d2
GM
15 * custom.el (x-get-resource): Declare.
16
76e69577
GM
17 * faces.el (x-display-list, x-open-connection, x-get-resource):
18 Declare.
19
4bd4c0af 20 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2
GM
21
22 * simple.el (font-info): Declare.
23
d2f3e9f8
GM
24 * subr.el (x-popup-dialog): Declare.
25
047a1a4c
GM
26 * term/common-win.el (x-select-enable-primary)
27 (x-last-selected-text-primary, x-last-selected-text-clipboard):
28 Declare.
29
e740f9d2
GM
30 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
31 (fit-frame-to-buffer): Explicit error if --without-x.
32 (mouse-autoselect-window-select): Silence compiler.
33
49a053fc
GM
34 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
35
36 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
37 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
38 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 39 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
40 Remove unused local variables.
41
42 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
43
ec9177ba
GM
44 * textmodes/two-column.el: Make 2C-split work for --without-x.
45 (scroll-bar-columns): Autoload.
46 (top-level): Require fringe when compiling.
47
9f25cb77
LL
482013-09-18 Leo Liu <sdl.web@gmail.com>
49
50 * subr.el (add-hook): Robustify to handle closure as well.
51
2b42da98
GM
522013-09-17 Glenn Morris <rgm@gnu.org>
53
54 * simple.el (messages-buffer-mode-map): Unbind "g".
55
e8b66a6a
SM
562013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
57
9c0ad4f7
SM
58 * help-mode.el (help-mode-finish): Use derived-mode-p.
59 Remove obsolete highlighting.
60
7a806dfb
SM
61 * play/life.el (life-mode): Use define-derived-mode. Derive from
62 special-mode.
63 (life): Let-bind inhibit-read-only.
64 (life-setup): Avoid `setq'. Use `life-mode'.
65
96dbf5a8
SM
66 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
67 which should not be needed any more.
68 (package-menu-refresh, package-menu-describe-package): Use user-error.
69
e8b66a6a
SM
70 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
71 (eshell-post-rewrite-command-hook): Make obsolete.
72 (eshell-parse-command): Simplify.
73 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
74 (eshell--cmd): Declare.
75 (eshell-parse-pipeline): Remove unused var `final-p'.
76 Pass a dynvar to eshell-post-rewrite-command-hook.
77 Implement the new eshell-post-rewrite-command-function.
78 (eshell-invoke-directly): Remove unused arg `input'.
79 * eshell/esh-io.el (eshell-io-initialize):
80 Use eshell-post-rewrite-command-function (bug#15399).
81 (eshell--apply-redirections): Rename from eshell-apply-redirections;
82 adjust to new calling convention.
83 (eshell-create-handles): Rename args to avoid clashing with dynvar
84 `standard-output'.
85
90582f05
GM
862013-09-17 Glenn Morris <rgm@gnu.org>
87
88 * simple.el (messages-buffer-mode): New major mode.
89 (messages-buffer): New function.
90 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
91 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 92 (ert-run-test): Use `messages-buffer' function.
90582f05 93 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
94 * help.el (view-echo-area-messages): Use `messages-buffer' function.
95 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 96
39eb0cb5 972013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
98
99 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
100
1f1e06e2
SM
101 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
102
70568a90
SM
1032013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
104
504a0381
SM
105 * icomplete.el (icomplete-in-buffer): New var.
106 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
107 vars and replace them with functions.
108 (icomplete-minibuffer-setup): Adjust accordingly.
109 (icomplete--completion-table, icomplete--completion-predicate)
110 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
111 New functions.
112 (icomplete-forward-completions, icomplete-backward-completions)
113 (icomplete-simple-completing-p, icomplete-exhibit)
114 (icomplete-completions): Use them.
115 (icomplete--in-region-buffer): New var.
116 (icomplete--in-region-setup): New function.
117 (icomplete-mode): Use it.
118
70568a90
SM
119 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
120 (bug#15379).
121 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
122 return args and options.
123 (eshell-eval-using-options): Use the new return value of
124 eshell--do-opts to set the options's vars in their scope.
125 (eshell--set-option): Rename from eshell-set-option.
126 Add arg `opt-vals'.
127 (eshell--process-option): Rename from eshell-process-option.
128 Add arg `opt-vals'.
129 (eshell--process-args): Use an `opt-vals' alist to store the options's
130 values during their processing and return them additionally to the
131 remaining args.
132
578c21bc
DG
1332013-09-15 Dmitry Gutov <dgutov@yandex.ru>
134
135 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
136 continuation character an operator, as far as indentation is
137 concerned (Bug#15369).
138
c089653d
MR
1392013-09-15 Martin Rudalics <rudalics@gmx.at>
140
141 * window.el (window--state-put-2): Don't process buffer state
142 when buffer doesn't exist any more (Bug#15382).
143
1e53bb4b
GM
1442013-09-15 Glenn Morris <rgm@gnu.org>
145
30753242
GM
146 * eshell/em-unix.el (eshell/rm):
147 Make -f ignore missing files. (Bug#15373)
148
1e53bb4b
GM
149 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
150 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
151 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
152
0d8863b3
GM
1532013-09-14 Glenn Morris <rgm@gnu.org>
154
155 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
156
d3fc6549
GM
1572013-09-13 Glenn Morris <rgm@gnu.org>
158
159 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
160 (dired-guess-default): Make `file' available in the env. (Bug#15363)
161
fcd42c11
DA
1622013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
163
164 * frame.el (x-focus-frame): Mark as declared in frame.c.
165
7830899f
SM
1662013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
167
168 * ls-lisp.el: Use advice-add.
169 (original-insert-directory): Remove.
170 (ls-lisp--insert-directory): Rename from insert-directory; add
171 `orig-fun' argument.
172 (insert-directory): Advise.
173
84387cd2
EZ
1742013-09-13 Eli Zaretskii <eliz@gnu.org>
175
176 * term.el (term-emulate-terminal): Decode the command string
177 before passing it to term-command-hook. (Bug#15337)
178
35ffc6ba
GM
1792013-09-13 Glenn Morris <rgm@gnu.org>
180
5c3f9bcc
GM
181 * eshell/esh-util.el (ange-cache): Move declaration earlier.
182
2ada368a
GM
183 * eshell/esh-ext.el (eshell-search-path): Declare.
184
fcef2e13
GM
185 * eshell/em-prompt.el (eshell/pwd): Autoload it.
186 Otherwise an error occurs if eshell-dirs module not loaded.
187
35ffc6ba
GM
188 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
189
35c3d36e
MA
1902013-09-13 Michael Albinus <michael.albinus@gmx.de>
191
192 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
193 `tramp-check-proper-host'. Check for a valid method name.
194
195 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
196 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
197 * net/tramp-sh.el (tramp-maybe-open-connection):
198 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
199
200 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
201 also for hash values.
202
ae5e4c48
SM
2032013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
204
379add74
SM
205 * term/ns-win.el (parameters): Don't declare as dynamic.
206 (before-make-frame-hook): Don't add ineffective function.
207
ae5e4c48
SM
208 * eshell/*.el: Use lexical-binding (bug#15231).
209
b5623270
KH
2102013-09-12 Kenichi Handa <handa@gnu.org>
211
ae5e4c48 212 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 213
30213927
GM
2142013-09-12 Glenn Morris <rgm@gnu.org>
215
be94d713 216 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 217 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 218
44915370
GM
219 * subr.el (do-after-load-evaluation): Also give compiler warnings
220 when obsolete files are used (except by obsolete files).
221
a6ae021f
GM
222 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
223 in the status output, assume `filename' is the first. (Bug#15322)
224
40e64f0c
GM
225 * vc/vc.el (vc-deduce-fileset): Doc fix.
226
16d9f896
GM
227 * calc/calc-help.el (Info-goto-node):
228 * progmodes/cperl-mode.el (Info-find-node):
229 * vc/ediff.el (Info-goto-node): Update declarations.
230
dea01c6e
GM
231 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
232
759880bf 233 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
234 (vc-bzr-pull): Require vc-dispatcher.
235 * vc/vc-git.el (vc-compilation-mode): Declare.
236 (vc-git-pull): Require vc-dispatcher.
237
08d66420
GM
238 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
239
30b626e9
GM
240 * progmodes/octave.el (help-button-action): Declare.
241
8c05cb10
GM
242 * shell.el (shell-directory-tracker): Output error as a message
243 rather than just returning it as a string.
244 (shell-process-pushd): Remove useless use of message.
245
30213927
GM
246 * dframe.el (dframe-timer-fn):
247 * files.el (dir-locals-read-from-file):
248 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
249 (mpc-format):
250 * reveal.el (reveal-post-command):
251 * saveplace.el (load-save-place-alist-from-file):
252 * shell.el (shell-resync-dirs):
253 * w32-common-fns.el (x-get-selection-value):
254 * emacs-lisp/copyright.el (copyright-find-copyright):
255 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
256 * emulation/tpu-edt.el (tpu-copy-keyfile):
257 * play/bubbles.el (bubbles--mark-neighbourhood):
258 * progmodes/executable.el
259 (executable-make-buffer-file-executable-if-script-p):
260 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
261
d3b049e6
SM
2622013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
263
170266d0
SM
264 Cleanup Eshell to rely less on dynamic scoping.
265 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
266 last-value, and ext-command here. Bind `args' closer to `body'.
267 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
268 (eshell--args): Declare new dynamic var.
269 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
270 last-value, and ext-command. Pass `args' to `body'.
271 (eshell-process-args): Bind eshell--args.
272 (eshell-set-option): Use eshell--args.
273 * eshell/eshell.el (eshell): Use derived-mode-p.
274 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
275 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
276 (eshell-glob-function): Declare.
277 * eshell/esh-util.el: Require cl-lib.
278 (eshell-read-hosts-file): Avoid add-to-list.
279 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
280 `err'.
281 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
282 Declare.
283 (eshell/diff): Remove unused var `err'.
284 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
285 `killflag'.
286 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
287 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
288 first use.
289 * eshell/em-glob.el (eshell-glob-matches, message-shown):
290 Move declaration before first use.
291 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
292 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
293 rely on cl-return.
294
56834f3b
GM
2952013-09-12 Glenn Morris <rgm@gnu.org>
296
297 * term/ns-win.el (global-map): Remove binding for ispell-next,
298 deleted 1999-05-29. (Bug#15357)
299
5c91a2b8
GM
3002013-09-11 Glenn Morris <rgm@gnu.org>
301
da712f22
GM
302 * echistory.el (electric-command-history): Remove call to deleted func.
303
512e4cdc
GM
304 * play/landmark.el (landmark-mode): Fix typos.
305
d3506ca5
GM
306 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
307 Check cvs-sort-ignore-file is bound.
308
5c91a2b8
GM
309 * savehist.el: No need for cl when compiling on Emacs.
310
feeff482
SM
3112013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
312
656bd483
SM
313 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
314 (bug#15338).
d3b049e6
SM
315 (eshell-self-insert-command, eshell-send-invisible):
316 Remove unused argument.
656bd483
SM
317 (eshell-handle-control-codes): Remove unused var `orig'.
318 Avoid delete-backward-char.
319
feeff482
SM
320 * files.el (set-auto-mode): Simplify a bit further.
321
2a08047a
GM
3222013-09-11 Glenn Morris <rgm@gnu.org>
323
324 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
325 (set-auto-mode): Don't regexp-quote elements.
326 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
327 * progmodes/cc-mode.el (interpreter-mode-alist):
328 * progmodes/ruby-mode.el (interpreter-mode-alist):
329 Revert previous change.
330
34675540
SM
3312013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
332
1b3b87df
SM
333 * play/snake.el (snake-mode):
334 * play/mpuz.el (mpuz-mode):
335 * play/landmark.el (lm-mode):
336 * play/blackbox.el (blackbox-mode):
337 * play/5x5.el (5x5-mode):
338 * obsolete/options.el (Edit-options-mode):
339 * net/quickurl.el (quickurl-list-mode):
340 * net/newst-treeview.el (newsticker-treeview-mode):
341 * mail/rmailsum.el (rmail-summary-mode):
342 * mail/mspools.el (mspools-mode):
343 * locate.el (locate-mode):
344 * ibuffer.el (ibuffer-mode):
345 * emulation/ws-mode.el (wordstar-mode):
346 * emacs-lisp/debug.el (debugger-mode):
347 * array.el (array-mode):
348 * net/eudc.el (eudc-mode): Use define-derived-mode.
349 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
350 Move initialization into declaration.
351 (mairix-searches-mode): Use define-derived-mode.
352 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
353 (eudc-edit-hotlist): Use dolist.
354 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
355 (Man-mode): Use define-derived-mode.
356 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
357 (Info-edit-mode): Use define-derived-mode.
358 (Info-cease-edit): Use Info-mode.
359 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
360 into declaration.
361 (eshell-mode): Use define-derived-mode.
362 * chistory.el (command-history-mode-map): Rename from
363 command-history-map.
364 (command-history-mode): Use define-derived-mode.
da712f22 365 (Command-history-setup): Remove function.
1b3b87df
SM
366 * calc/calc.el (calc-trail-mode-map): New var.
367 (calc-trail-mode): Use define-derived-mode.
368 (calc-trail-buffer): Set calc-main-buffer manually.
369 * bookmark.el (bookmark-insert-annotation): New function.
370 (bookmark-edit-annotation): Use it.
371 (bookmark-edit-annotation-mode): Make it a proper major mode.
372 (bookmark-send-edited-annotation): Use derived-mode-p.
373 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
374 closer to its ideal place. Use \' to match EOS.
375
34675540
SM
376 * profiler.el (profiler-calltree-find): Use function-equal.
377
6a5c15d9
GM
3782013-09-10 Glenn Morris <rgm@gnu.org>
379
1af4c220
GM
380 * files.el (interpreter-mode-alist): Convert to regexps.
381 (set-auto-mode): Adapt for this. (Bug#15306)
382 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
383 Comment out unused variable.
384 * progmodes/cc-mode.el (interpreter-mode-alist):
385 * progmodes/python.el (interpreter-mode-alist):
386 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
387 * progmodes/sh-script.el (sh-set-shell):
388 No longer use interpreter-mode-alist to get list of shells.
389
6a5c15d9
GM
390 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
391
8c27f5ff
SM
3922013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
393
02ef6c1a 394 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 395 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
396 Bind switch-frame explicitly. Replace universal-argument-minus with
397 a conditional binding.
398 (universal-argument-num-events, saved-overriding-map): Remove.
399 (restore-overriding-map): Remove.
400 (universal-argument--mode): Rename from save&set-overriding-map,
401 and rewrite.
402 (universal-argument, universal-argument-more, negative-argument)
403 (digit-argument): Adjust accordingly.
404 (universal-argument-minus): Remove.
405 (universal-argument-other-key): Remove.
406
8c27f5ff
SM
407 * subr.el (with-demoted-errors): Add `format' argument.
408
6480194c
MA
4092013-09-10 Michael Albinus <michael.albinus@gmx.de>
410
411 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
412 `tramp-cleanup-connection'.
413
414 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
415 parameters KEEP-DEBUG and KEEP-PASSWORD.
416
417 * net/tramp.el (tramp-file-name-handler):
418 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
419 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
420 (tramp-maybe-open-connection):
8c27f5ff
SM
421 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
422 Use `tramp-cleanup-connection'.
6480194c 423
8c27f5ff
SM
424 * net/tramp-sh.el (tramp-maybe-open-connection):
425 Catch 'uname-changed inside the progress reporter.
6480194c 426
e5e916d8
GM
4272013-09-10 Glenn Morris <rgm@gnu.org>
428
9a2c9b47
GM
429 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
430
e5e916d8
GM
431 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
432 returns "alternate access method" in mode (eg "-rw-r--r--.").
433
144e38fe
GM
4342013-09-08 Glenn Morris <rgm@gnu.org>
435
436 * saveplace.el (load-save-place-alist-from-file):
437 Demote errors. (Bug#15305)
438
af9ff9e8
MA
4392013-09-08 Michael Albinus <michael.albinus@gmx.de>
440
441 Improve compatibility with older Emacsen, and XEmacs.
442
443 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
444 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
445 (with-tramp-progress-reporter): Do not let-bind `result'.
446 This yields to scoping errors in XEmacs.
af9ff9e8
MA
447 (tramp-handle-make-auto-save-file-name): New function, moved from
448 tramp-sh.el.
449
450 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
451 for `make-auto-save-file-name'.
8c27f5ff
SM
452 (tramp-adb--gnu-switches-to-ash):
453 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
454
455 * net/tramp-cache.el (tramp-cache-print): Call
456 `substring-no-properties' only if it is bound. It isn't for XEmacs.
457
458 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
459 bound. It isn't for XEmacs.
460
8c27f5ff
SM
461 * net/tramp-compat.el (tramp-compat-copy-file):
462 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
463 (tramp-compat-replace-regexp-in-string): New defun.
464
465 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
466 for `make-auto-save-file-name'.
467 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
468 `copy-file'.
469 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
470 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
471 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
472
8c27f5ff
SM
473 * net/tramp-gw.el (tramp-gw-open-network-stream):
474 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 475
8c27f5ff
SM
476 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
477 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
478 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
479 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
480 (tramp-sh-file-inotifywait-process-filter):
481 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
482 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
483
484 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
485 for `make-auto-save-file-name'.
8c27f5ff
SM
486 (tramp-smb-handle-copy-directory):
487 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
488 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
489 (tramp-smb-handle-copy-file): Improve error message.
490 (tramp-smb-handle-rename-file): Rename directly only in case
491 `newname' does not exist yet. This is a restriction of smbclient.
492 (tramp-smb-maybe-open-connection): Rerun the function only when
493 `auth-sources' is non-nil.
494
0ca754d0
KH
4952013-09-08 Kenichi Handa <handa@gnu.org>
496
497 * international/characters.el: Set category "^" (Combining) for
498 more characters.
499
e8dd0787
AM
5002013-09-07 Alan Mackenzie <acm@muc.de>
501
502 Correctly fontify Java class constructors.
503 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
504 in Java Mode.
505 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
506 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
507 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
508 "typeless" declaration there.
509
f2f248e7
RW
5102013-09-07 Roland Winkler <winkler@gnu.org>
511
512 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
513 field subtitle for entry type book.
514
67982e2b
SM
5152013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * minibuffer.el: Make minibuffer-complete call completion-in-region
518 rather than other way around.
519 (completion--some, completion-pcm--find-all-completions):
520 Don't delay signals when debugging.
521 (minibuffer-completion-contents): Beware fields within the
522 minibuffer contents.
523 (completion-all-sorted-completions): Use defvar-local.
524 (completion--do-completion, completion--cache-all-sorted-completions)
525 (completion-all-sorted-completions, minibuffer-force-complete):
526 Add args `beg' and `end'.
527 (completion--in-region-1): New fun, extracted from minibuffer-complete.
528 (minibuffer-complete): Use completion-in-region.
529 (completion-complete-and-exit): New fun, extracted from
530 minibuffer-complete-and-exit.
531 (minibuffer-complete-and-exit): Use it.
532 (completion--complete-and-exit): Rename from
533 minibuffer--complete-and-exit.
534 (completion-in-region--single-word): New function, extracted from
535 minibuffer-complete-word.
536 (minibuffer-complete-word): Use it.
537 (display-completion-list): Make `common-substring' argument obsolete.
538 (completion--in-region): Call completion--in-region-1 instead of
539 minibuffer-complete.
540 (completion-help-at-point): Pass boundaries to
541 minibuffer-completion-help as args rather than via an overlay.
542 (completion-pcm--string->pattern): Use `any-delim'.
543 (completion-pcm--optimize-pattern): New function.
544 (completion-pcm--pattern->regex): Handle `any-delim'.
545 * icomplete.el (icomplete-forward-completions)
546 (icomplete-backward-completions, icomplete-completions):
547 Adjust calls to completion-all-sorted-completions and
548 completion--cache-all-sorted-completions.
549 (icomplete-with-completion-tables): Default to t.
550 * emacs-lisp/crm.el (crm--current-element): Rename from
551 crm--select-current-element. Don't put an overlay but return the
552 boundaries instead.
553 (crm--completion-command): Take two new args to bind to the boundaries.
554 (crm-completion-help): Adjust accordingly.
555 (crm-complete): Use completion-in-region.
556 (crm-complete-word): Use completion-in-region--single-word.
557 (crm-complete-and-exit): Use completion-complete-and-exit.
558
e17d94a5
SM
5592013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
560
561 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
562 than dynamically.
563
96727100
JL
5642013-09-06 Juri Linkov <juri@jurta.org>
565
566 * info.el (Info-display-images-node): When image file doesn't exist
567 display text version of the image if it's provided in the Info file.
568 Otherwise, display the location of missing image from SRC attribute.
569 Add help-echo text property from ALT attribute. (Bug#15279)
570
86cf7329
SM
5712013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
572
573 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
574 (edit-abbrevs-mode): Use define-derived-mode.
575
576 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
577 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
578 that it's defined.
579 (epa-key-list-mode, epa-key-mode, epa-info-mode):
580 Use define-derived-mode.
581
582 * epg.el (epg-start-encrypt): Minor CSE simplification.
583
816244a2
WX
5842013-09-06 William Xu <william.xwl@gmail.com>
585
586 * arc-mode.el: Add support for 7za (bug#15264).
587 (archive-7z-program): New var.
588 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
589 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
590 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
591
1486fa31
MA
5922013-09-06 Michael Albinus <michael.albinus@gmx.de>
593
594 Remove URL syntax.
595
596 * net/tramp.el (tramp-syntax, tramp-prefix-format)
597 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
598 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
599 (tramp-postfix-host-format, tramp-file-name-regexp)
600 (tramp-completion-file-name-regexp)
601 (tramp-completion-dissect-file-name)
602 (tramp-handle-substitute-in-file-name): Remove 'url case.
603 (tramp-file-name-regexp-url)
604 (tramp-completion-file-name-regexp-url): Remove constants.
605
39785324
GM
6062013-09-06 Glenn Morris <rgm@gnu.org>
607
608 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
609
1f896cb7
DG
6102013-09-05 Dmitry Gutov <dgutov@yandex.ru>
611
612 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
613 keywords" below "here-doc beginnings" (Bug#15270).
614
c0458e0b
SM
6152013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
616
617 * subr.el (pop): Use `car-safe'.
618 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
619 to detect unused `pop' return value.
620
621 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
622 var `block-regexp'.
623 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
624 (python-fill-string): Remove unused var `marker'.
625 (python-skeleton-add-menu-items): Remove unused var `items'.
626
627 * international/mule-cmds.el: Require CL.
628 (find-coding-systems-for-charsets): Avoid add-to-list.
629 (sanitize-coding-system-list): New function, extracted from
630 select-safe-coding-system-interactively.
631 (select-safe-coding-system-interactively): Use it.
632 (read-input-method-name): Accept symbols for `default'.
633
634 * emacs-lisp/advice.el (defadvice): Add indent rule.
635
6c42fc3e
DH
6362013-09-05 Daniel Hackney <dan@haxney.org>
637
638 * dired-x.el:
639 * net/ange-ftp.el:
640 * net/browse-url.el:
641 * net/dbus.el:
642 * net/eudc.el:
643 * net/eudcb-ldap.el:
644 * net/eww.el:
645 * net/imap.el:
646 * printing.el:
647 * vc/ediff-diff.el:
648 * vc/ediff-init.el:
649 * vc/ediff-merg.el:
650 * vc/ediff-mult.el:
651 * vc/ediff-util.el:
652 * vc/ediff-wind.el:
653 * vc/ediff.el:
654 * vc/emerge.el:
655 * vc/pcvs.el:
656 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
657 byte compiler. Remove some unused let-bound variables.
658
4c528aab
SM
6592013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
660
661 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
662 a "ref-cell", since it gets better optimized (bug#14883).
663
bd15c390
GM
6642013-09-05 Glenn Morris <rgm@gnu.org>
665
666 * progmodes/cc-awk.el (c-forward-sws): Declare.
667
1c3ac2e5
GM
6682013-09-04 Glenn Morris <rgm@gnu.org>
669
670 * generic-x.el [rul-generic-mode]: Require cc-mode.
671 (c++-mode-syntax-table): Declare.
672 (rul-generic-mode-syntax-table): Init in the defvar.
673
52b1cc79
SM
6742013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
675
c828af56
SM
676 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
677 (vc-do-command, vc-set-async-update):
678 * vc/vc-mtn.el (vc-mtn-dir-status):
679 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
680 (vc-hg-pull, vc-hg-merge-branch):
681 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
682 (vc-git-merge-branch):
683 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
684 (vc-cvs-dir-status-files):
685 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
686 (vc-bzr-dir-status-files):
687 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
688 * vc/vc-annotate.el: Use lexical-binding.
689 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
690 (vc-sentinel-movepoint): Declare.
691 (vc-annotate): Don't use `goto-line'.
692 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
693 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
694 (vc-sentinel-movepoint): Declare.
695 * vc/vc-svn.el: Use lexical-binding.
696 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
697 * vc/vc-sccs.el:
698 * vc/vc-rcs.el: Use lexical-binding.
699
abae272c
SM
700 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
701 `deleted'. Don't drop errors silently.
702
52b1cc79
SM
703 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
704
63191d9f
XF
7052013-09-04 Xue Fuqiao <xfq.free@gmail.com>
706
707 * vc/vc.el (vc-ignore): Rewrite.
708 (vc-default-ignore): New function.
709 (vc-default-ignore-completion-table): Use find-ignore-file.
710
711 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
712 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
713 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
714 Remove. Most code moved to vc.el.
715
9d3f707c
SM
7162013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
717
abae272c 718 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
719 * net/tramp-smb.el (tramp-smb-get-file-entries):
720 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
721 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
722
fde38d49
SM
723 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
724 Update call to it.
725 (eww-change-select): Remove unused var `properties'.
726 (eww-make-unique-file-name): Remove unused var `base'.
727
728 * finder.el (finder-compile-keywords): Don't mess with windows.
729
84032db7
SM
730 * calculator.el (calculator-funcall): Fix typo in last change.
731
724f5e41
SM
732 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
733
14b511d4
SM
734 * emacs-lisp/package.el (package-activate-1): Don't let a missing
735 <pkg>-autoloads.el file stop us.
736
9d3f707c 737 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 738 warnings, and factor out common code.
9d3f707c 739
88527bc0
DG
7402013-09-03 Dmitry Gutov <dgutov@yandex.ru>
741
742 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
743 two-character operators and whether the character preceding them
744 changes their meaning (Bug#15208).
745
96edb677
FEG
7462013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
747
748 Format code sent to Python shell for robustness.
9d3f707c
SM
749 * progmodes/python.el (python-shell-buffer-substring):
750 New function.
96edb677
FEG
751 (python-shell-send-region, python-shell-send-buffer): Use it.
752
95beaef3
MA
7532013-09-02 Michael Albinus <michael.albinus@gmx.de>
754
755 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
756 * net/tramp.el (tramp-user-error): ... here.
757 (tramp-find-method, tramp-check-proper-host)
758 (tramp-dissect-file-name, tramp-debug-message)
759 (tramp-handle-shell-command):
760 * net/tramp-adb.el (tramp-adb-handle-shell-command):
761 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
762
763 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
764
f167c27b
MR
7652013-09-02 Martin Rudalics <rudalics@gmx.at>
766
767 * avoid.el (mouse-avoidance-point-position)
768 (mouse-avoidance-too-close-p): Handle case where posn-at-point
769 returns nil.
770
cd16c5f1
FEG
7712013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
772
773 * progmodes/python.el (python-shell-completion-get-completions):
774 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 775 (python-nav-if-name-main): New command.
cd16c5f1 776
e73c3a0d
GM
7772013-09-01 Glenn Morris <rgm@gnu.org>
778
f8ccce03
GM
779 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
780 Avoid leading space in $wins. Otherwise the sed command used by
781 eg compile-main ends up containing "/*.el". (Bug#15170)
782
e73c3a0d
GM
783 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
784
415f808e
GM
7852013-08-30 Glenn Morris <rgm@gnu.org>
786
787 * emacs-lisp/bytecomp.el (byte-recompile-directory):
788 Fix is-this-a-directory logic. (Bug#15220)
789
f069bba8
SM
7902013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
791
112798c1
SM
792 * textmodes/css-mode.el: Use SMIE.
793 (css-smie-grammar): New var.
794 (css-smie--forward-token, css-smie--backward-token)
795 (css-smie-rules): New functions.
796 (css-mode): Use them.
797 (css-navigation-syntax-table): Remove var.
798 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
799 (css-indent-calculate, css-indent-line): Remove functions.
800
801 Misc changes to reduce use of `(lambda...); and other cleanups.
802 * cus-edit.el: Use lexical-binding.
803 (customize-push-and-save, customize-apropos)
804 (custom-buffer-create-internal): Use closures.
805 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
806 * progmodes/ada-xref.el: Use setq.
807 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
808 * dframe.el: Use lexical-binding.
809 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
810 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
811 * descr-text.el: Use lexical-binding.
812 (describe-text-widget, describe-text-sexp, describe-property-list):
813 Use closures.
814 * comint.el (comint-history-isearch-push-state): Use a closure.
815 * calculator.el: Use lexical-binding.
816 (calculator-number-to-string): Make it work with lexical-binding.
817 (calculator-funcall): Same and use cl-letf.
818
2da4c3ab
SM
819 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
820 (lisp--company-doc-string, lisp--company-location): New functions.
821 (lisp-completion-at-point): Use them to improve Company support.
822
f069bba8
SM
823 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
824 params of lambda expressions.
825 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
826 (ruby-smie--opening-pipe-p): New function.
827 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
828 symbols and matched |...| for formal params.
829 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
830 from being treated as hanging. Handle "rescue".
831
6758b6a8
GM
8322013-08-29 Glenn Morris <rgm@gnu.org>
833
834 * progmodes/cc-engine.el (c-pull-open-brace):
835 Move definition before use.
836
e8dfd197
SM
8372013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
838
839 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
840 are immutable. Don't use `unsafe' any more.
841 (cl--defsubst-expand): Don't substitute at the same time as keeping
842 a residual unused let-binding. Don't use `unsafe' any more.
843
cc585c96
GM
8442013-08-29 Glenn Morris <rgm@gnu.org>
845
ba579ea6
GM
846 * calendar/cal-china.el (calendar-chinese-year-cache):
847 Recenter on 2015.
848
8201a87e
GM
849 * nxml/nxml-util.el (nxml-debug-clear-inside):
850 Use cl-loop rather than loop.
851
6ee877c7
GM
852 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
853
cc585c96
GM
854 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
855
27be8d39
GM
8562013-08-28 Glenn Morris <rgm@gnu.org>
857
397440a1
GM
858 * progmodes/antlr-mode.el: No need to require cc-mode twice.
859
2bb762d4
GM
860 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
861
27be8d39
GM
862 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
863
2d69b99e
SM
8642013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
865
f663baa7
SM
866 * simple.el (repeat-complex-command--called-interactively-skip):
867 New function.
868 (repeat-complex-command): Use it (bug#14136).
869
dd4f8b74
SM
870 * progmodes/cc-mode.el: Minor cleanup of var declarations.
871 (c-define-abbrev-table): Add `doc' argument.
872 (c-mode-abbrev-table, c++-mode-abbrev-table)
873 (objc-mode-abbrev-table, java-mode-abbrev-table)
874 (idl-mode-abbrev-table, pike-mode-abbrev-table)
875 (awk-mode-abbrev-table): Use it.
876 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
877 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
878 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
879 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
880 Move initialization into the declaration; and remove any
881 autoload cookie.
882
b58969f7
SM
883 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
884 and dynamic let binding.
885
4021d6a6
SM
886 * vc/smerge-mode.el: Remove redundant :group args.
887
2d69b99e
SM
888 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
889 to load-path.
890
274919fd
JL
8912013-08-28 Juri Linkov <juri@jurta.org>
892
893 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
894 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
895 (isearch-other-meta-char): Handle an undefined shifted printing
896 character by downshifting it. (Bug#15200)
897
121f8c95
JL
8982013-08-28 Juri Linkov <juri@jurta.org>
899
900 * isearch.el (isearch-search): Change regexp error message for
901 non-regexp searches. (Bug#15166)
902
50b13cde
PE
9032013-08-28 Paul Eggert <eggert@cs.ucla.edu>
904
905 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
906 for portability to hosts where /bin/sh has problems.
907
95888bca
SM
9082013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
911
bbe558f1
JL
9122013-08-27 Juri Linkov <juri@jurta.org>
913
914 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
915 in the keyboard macro. (Bug#15126)
916
26f98a7d
JL
9172013-08-27 Juri Linkov <juri@jurta.org>
918
919 * isearch.el (isearch-quote-char): Comment out converting unibyte
920 to multibyte, thus syncing with its `quoted-insert' counterpart.
921 (Bug#15166)
922
7c97d35e
MR
9232013-08-27 Martin Rudalics <rudalics@gmx.at>
924
925 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
926 argument in call of get-largest-window (Bug#15185).
927 Reported by Stephen Leake.
7c97d35e 928
a0b5606e 9292013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
930
931 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
932
9e89d835
SM
9332013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * progmodes/python.el (python-font-lock-keywords): Don't return nil
936 from a matcher-function unless there's no more matches (bug#15161).
937
78fc2530
MA
9382013-08-26 Michael Albinus <michael.albinus@gmx.de>
939
940 * minibuffer.el: Revert change from 2013-08-20.
941
942 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
943 with text property `tramp-default', if appropriate.
944 (tramp-check-proper-host): New defun.
945 (tramp-dissect-file-name): Do not check hostname. Revert change
946 of 2013-03-18.
947 (tramp-backtrace): Make VEC-OR-PROC optional.
948
949 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
950 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
951 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
952 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
953 Apply `tramp-check-proper-host'.
78fc2530 954
edca97cd
TH
9552013-08-26 Tassilo Horn <tsdh@gnu.org>
956
957 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
958 lambda expression in order to have `describe-variable' display it.
959
df54bcbd
MA
9602013-08-26 Michael Albinus <michael.albinus@gmx.de>
961
962 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
963 BUF can be optional. (Bug#15186)
964
eed99101
XF
9652013-08-25 Xue Fuqiao <xfq.free@gmail.com>
966
967 * progmodes/flymake.el (flymake-get-real-file-name-function):
968 Fix broken customization. (Bug#15184)
969
b5eb9035
AM
9702013-08-25 Alan Mackenzie <acm@muc.de>
971
8a51e842
AM
972 Improve indentation of bracelists defined by macros (without "=").
973
974 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
975 expansion begins with "{", regard it as bracelist when it doesn't
976 contain a ";".
977
869455d4
AM
978 Parse C++ inher-intro when there's a template split over 2 lines.
979
980 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
981 rigorously the search for "class" etc. followed by ":".
982
983 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
984 random languages a regexp which never matches rather than nil.
985
b5eb9035
AM
986 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
987
988 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
989 (c-awk-regexp-one-line-possibly-open-char-list-re)
990 (c-awk-one-line-possibly-open-regexp-re)
991 (c-awk-one-line-non-syn-ws*-re): Remove.
992 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
993 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
994 (c-awk-space*-unclosed-regexp-/-re): New constants.
995 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
996 aren't regexp delimiters.
997
998 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
999 handling for a rare situation in AWK Mode involving unterminated
1000 strings/regexps.
1001
61611d54
GM
10022013-08-23 Glenn Morris <rgm@gnu.org>
1003
2d85dc34
GM
1004 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1005
cb8d2612
GM
1006 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1007
bb35f42f
GM
1008 * files.el (create-file-buffer): If the result would begin with
1009 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 1010
b9808e77
SM
10112013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1012
e3a66363
SM
1013 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1014 text-properties (bug#15155).
1015
b9808e77
SM
1016 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1017 exist any more.
1018 (calc-keypad-redraw): Remove unused var `pad'.
1019 (calc-keypad-press): Remove unused var `menu'.
1020
7fd5f65e
MR
10212013-08-23 Martin Rudalics <rudalics@gmx.at>
1022
b9808e77
SM
1023 * window.el (display-buffer-pop-up-frame):
1024 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
1025 use it as the new frame's buffer (Bug#15133).
1026
8352b530
SM
10272013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * calendar/timeclock.el: Minor cleanups.
1030 (timeclock-ask-before-exiting, timeclock-use-display-time):
1031 Use `symbol'.
1032 (timeclock-modeline-display): Define as alias before the
1033 actual definition.
1034 (timeclock-mode-line-display): Use define-minor-mode.
1035 (timeclock-day-list-template): Make it a function, add an argument.
1036 (timeclock-day-list-required, timeclock-day-list-length)
1037 (timeclock-day-list-debt, timeclock-day-list-span)
1038 (timeclock-day-list-break): Adjust calls accordingly.
1039
9f7b1925
SM
10402013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1041
1042 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1043 Use read--expression so that completion works again.
1044
6e50e983
SS
10452013-08-21 Sam Steingold <sds@gnu.org>
1046
1047 Add rudimentary inferior shell interaction
1048 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1049 (sh-set-shell): Reset it.
9f7b1925
SM
1050 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1051 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 1052
dbb0d350
SM
10532013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1054
1055 * align.el: Use lexical-binding.
1056 (align-region): Simplify accordingly.
1057
c88586a9
MA
10582013-08-20 Michael Albinus <michael.albinus@gmx.de>
1059
1060 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1061
1062 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1063 `non-essential' up.
1064
f95527c8
MA
10652013-08-17 Michael Albinus <michael.albinus@gmx.de>
1066
1067 * net/tramp.el:
1068 * net/tramp-adb.el:
1069 * net/tramp-cmds.el:
1070 * net/tramp-ftp.el:
1071 * net/tramp-gvfs.el:
1072 * net/tramp-gw.el:
1073 * net/tramp-sh.el: Don't wrap external variable declarations by
1074 `eval-when-compile'.
1075
4b5fe4ee
LMI
10762013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1077
1078 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1079 now that Emacs supports ImageMagick animations.
1080
13c366c9
MA
10812013-08-16 Michael Albinus <michael.albinus@gmx.de>
1082
1083 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1084 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1085
3dfc5cd6
MR
10862013-08-16 Martin Rudalics <rudalics@gmx.at>
1087
1088 * window.el (mouse-autoselect-window-select): Do autoselect when
1089 mouse pointer is on margin.
1090
4bbb4381
WP
10912013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1092
1093 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1094
3a2ddc2d
GM
10952013-08-16 Glenn Morris <rgm@gnu.org>
1096
e8bedf5a
GM
1097 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1098 Handle "Remote Directory" response of some clients. (Bug#15058)
1099
58c4682f
GM
1100 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1101 Tweak warning. (Bug#14926)
1102
57953f49
GM
1103 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1104 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1105
3a2ddc2d
GM
1106 * image-mode.el (image-mode-map): Add menu items to reverse,
1107 increase, decrease, reset animation speed.
1108 (image--set-speed, image-increase-speed, image-decrease-speed)
1109 (image-reverse-speed, image-reset-speed): New functions.
1110 (image-mode-map): Add bindings for speed commands.
1111
1112 * image.el (image-animate-get-speed, image-animate-set-speed):
1113 New functions.
1114 (image-animate-timeout): Respect image :speed property.
1115
10fa0ed3
SM
11162013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1119 previous line (bug#15101).
1120 (debugger-eval-expression, debugger-record-expression):
1121 Use read--expression (bug#15102).
1122
5d89d9d2
MA
11232013-08-15 Michael Albinus <michael.albinus@gmx.de>
1124
1125 Remove byte compiler warnings, visible when compiling with
1126 `byte-compile-force-lexical-warnings' set to t.
1127
1128 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1129 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1130 (tramp-handle-unhandled-file-name-directory)
1131 (tramp-handle-file-notify-add-watch, tramp-action-login)
1132 (tramp-action-succeed, tramp-action-permission-denied)
1133 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1134 arguments with "_".
1135
1136 * net/tramp-adb.el (tramp-adb-parse-device-names)
1137 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1138 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1139 (tramp-adb-handle-file-truename): Remove unused arguments.
1140
1141 * net/tramp-cache.el (tramp-flush-directory-property)
1142 (tramp-flush-connection-property, tramp-list-connections)
1143 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1144
10fa0ed3
SM
1145 * net/tramp-compat.el (tramp-compat-make-temp-file):
1146 Rename FILENAME to F.
5d89d9d2
MA
1147
1148 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1149 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1150 (tramp-zeroconf-parse-workstation-device-names)
1151 (tramp-zeroconf-parse-webdav-device-names)
1152 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1153
1154 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1155 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1156
1157 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1158 arguments.
1159 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1160 (tramp-sh-handle-insert-file-contents-literally)
1161 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1162 with "_".
1163 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1164 Remove unused variables.
1165
1166 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1167 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1168 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1169
1170 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1171 Make them a defconst.
1172 (tramp-uuencode-region): Remove unused variable.
1173
62f33bae
JB
11742013-08-14 Juanma Barranquero <lekktu@gmail.com>
1175
1176 * frameset.el (frameset--prop-setter): New function.
1177 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
1178 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1179 parameter was already set in FILTERED. Doc fix.
1180 (frameset--record-minibuffer-relationships): Allow saving a
1181 minibufferless frame without its corresponding minibuffer frame.
1182 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1183 frame, if the frame id matches.
1184 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1185 frames before orphaned ones.
1186 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 1187
c660a885
MR
11882013-08-14 Martin Rudalics <rudalics@gmx.at>
1189
1190 * window.el (window-make-atom): Don't overwrite parameter
1191 already present.
1192 (display-buffer-in-atom-window): Handle special case where we
1193 split an already atomic window.
1194 (window--major-non-side-window, display-buffer-in-side-window)
1195 (window--side-check): Ignore minibuffer window when walking
1196 window tree.
1197 (window-deletable-p): Return 'frame only if no other frame uses
1198 our minibuffer window.
1199 (record-window-buffer): Run buffer-list-update-hook.
1200 (split-window): Make sure window--check-frame won't destroy an
1201 existing atomic window in case the new window gets nested
1202 inside.
1203 (display-buffer-at-bottom): Ignore minibuffer window when
1204 walking window tree. Don't split a side window.
1205 (pop-to-buffer): Don't set-buffer here, the select-window call
1206 should do that.
1207 (mouse-autoselect-window-select): Autoselect only if we are in the
1208 text portion of the window.
1209
8259030d
LMI
12102013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1211
21c58ae2
LMI
1212 * net/shr.el (shr-parse-image-data): New function to grab both the
1213 data itself and the Content-Type.
1214 (shr-put-image): Use it.
1215
1216 * net/eww.el (eww-display-image): Ditto.
1217
8259030d
LMI
1218 * image.el (image-content-type-suffixes): New variable.
1219
ad756449
FEG
12202013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1221
1222 * progmodes/python.el (python-imenu--build-tree)
1223 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1224
f73f4ce6
XF
12252013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1226
1227 * simple.el (backward-word): Mention the optional argument.
1228
1f585e65
SM
12292013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1230
1231 * frameset.el (frameset--make): Rename constructor from make-frameset.
1232 (frameset-p, frameset-valid-p): Don't autoload.
1233 (frameset-valid-p): Use normal accessors.
1234
af1c6c84
GM
12352013-08-13 Glenn Morris <rgm@gnu.org>
1236
55e47f95
GM
1237 * progmodes/compile.el (compile-command): Tweak example in doc.
1238 * obsolete/scribe.el (scribe-mode):
1239 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1240
f0024d8c
GM
1241 * mail/feedmail.el (feedmail-confirm-outgoing)
1242 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1243
1244 * cus-start.el (truncate-partial-width-windows): Fix type.
1245
1246 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1247
af1c6c84
GM
1248 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1249
5514cc4c
SM
12502013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * emacs-lisp/timer.el (timer--time-setter): New function.
1253 (timer--time): Use it as gv-setter.
1254
1255 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1256 setter is not a symbol.
1257
7997a2f1
GJ
12582013-08-12 Grégoire Jadi <daimrod@gmail.com>
1259
1260 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1261 if sending fails. This makes debugging easier.
1262
01f1a9ab
JB
12632013-08-12 Juanma Barranquero <lekktu@gmail.com>
1264
1265 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1266 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1267 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1268
594a4307
EZ
12692013-08-12 Eli Zaretskii <eliz@gnu.org>
1270
1271 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1272
7a22490f 12732013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
1274
1275 * format.el (format-annotate-function):
1276 Handle read-only text properties in the source. (Bug#14887)
1277
3e41a054
LMI
12782013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1279
5514cc4c
SM
1280 * net/eww.el (eww-display-html): Ignore coding system errors.
1281 One web site uses "utf-8lias" as the coding system.
3e41a054 1282
7ec326db
JB
12832013-08-11 Juanma Barranquero <lekktu@gmail.com>
1284
1285 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1286
5660113b
JB
12872013-08-10 Juanma Barranquero <lekktu@gmail.com>
1288
9a4ebc74
JB
1289 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1290 (tutorial--detailed-help): Remove unused local variables.
1291 (tutorial--save-tutorial-to): Use ignore-errors.
1292 (help-with-tutorial): Use looking-at-p.
1293
1294 * view.el (view-buffer-other-window, view-buffer-other-frame):
1295 Mark unused arguments.
1296
1297 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1298 (woman-select-symbol-fonts, woman, woman-find-file)
1299 (woman-insert-file-contents, woman-non-underline-faces):
1300 Use string-match-p.
1301 (woman1-unquote): Move declaration.
1302
1303 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1304 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1305 argument. Remove unused local variable.
1306 (xml-parse-elem-type): Use string-match-p.
1307 (xml-substitute-numeric-entities): Use ignore-errors.
1308
45fdb482
JB
1309 * calculator.el (calculator): Mark unused argument.
1310 (calculator-paste, calculator-quit, calculator-integer-p):
1311 Use ignore-errors.
1312 (calculator-string-to-number, calculator-decimal, calculator-exp)
1313 (calculator-op-or-exp): Use string-match-p.
1314
1315 * dired.el (dired-buffer-more-recently-used-p): Declare.
1316 (dired-insert-set-properties, dired-insert-old-subdirs):
1317 Use ignore-errors.
1318
1319 * dired-aux.el (dired-compress): Use ignore-errors.
1320 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1321 (dired-do-async-shell-command, dired-do-shell-command)
1322 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1323 (dired-insert-subdir-validate): Use string-match-p.
1324 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1325 (dired-add-entry): Use string-match-p, looking-at-p.
1326 (dired-insert-subdir-newpos): Remove unused local variable.
1327
1328 * filenotify.el (file-notify-callback): Remove unused local variable.
1329
1330 * filesets.el (filesets-error): Mark unused argument.
1331 (filesets-which-command-p, filesets-filter-dir-names)
1332 (filesets-directory-files, filesets-get-external-viewer)
1333 (filesets-ingroup-get-data): Use string-match-p.
1334
1335 * find-file.el (ff-other-file-name, ff-other-file-name)
1336 (ff-find-the-other-file, ff-cc-hh-converter):
1337 Remove unused local variables.
1338 (ff-get-file-name): Use string-match-p.
1339 (ff-all-dirs-under): Use ignore-errors.
1340
1341 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1342 (follow-select-if-visible): Remove unused local variable.
1343
1344 * forms.el (read-file-filter): Move declaration.
1345 (forms--make-format, forms--make-parser, forms-insert-record):
1346 Quote function with #'.
1347 (forms--update): Use string-match-p. Quote function with #'.
1348
1349 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1350 (help-make-xrefs): Use looking-at-p.
1351 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1352
1353 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1354 (ibuffer-confirm-operation-on): Use string-match-p.
1355
1356 * msb.el (msb-item-handler, msb-dired-item-handler):
1357 Mark unused arguments.
1358
1359 * ses.el (ses-decode-cell-symbol)
1360 (ses-kill-override): Remove unused local variable.
1361 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1362 (ses-load): Use ignore-errors, looking-at-p.
1363 (ses-jump-safe): Use ignore-errors.
1364 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1365
1366 * tabify.el (untabify, tabify): Mark unused arguments.
1367
1368 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1369 Mark unused argument.
1370 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1371 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1372
c880af52
JB
1373 * emacs-lisp/timer.el (timer--time): Define setter with
1374 gv-define-setter to avoid deprecation warning.
1375
5660113b 1376 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 1377 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
1378 (cmpl-statistics-block): Remove (body was commented out).
1379 All callers changed.
1380 (add-completions-from-buffer, load-completions-from-file):
1381 Remove unused variables.
1382
156aab80
JB
13832013-08-09 Juanma Barranquero <lekktu@gmail.com>
1384
5c5dee78
JB
1385 * filecache.el (file-cache-delete-file-list):
1386 Print message only when told so.
1387 (file-cache-files-matching): Use #' in mapconcat argument.
1388
156aab80
JB
1389 * ffap.el (ffap-url-at-point): Fix reference to variable
1390 thing-at-point-default-mail-uri-scheme.
1391
ad9dcd70
SM
13922013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1393
54bd972f
SM
1394 * subr.el (define-error): New function.
1395 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1396 error-file-not-found and define with define-error.
1397 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1398 and define with define-error.
1399 * userlock.el (file-locked, file-supersession):
1400 * simple.el (mark-inactive):
1401 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1402 * progmodes/ada-mode.el (ada-mode-errors):
1403 * play/life.el (life-extinct):
1404 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1405 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1406 * nxml/rng-util.el (rng-error):
1407 * nxml/rng-uri.el (rng-uri-error):
1408 * nxml/rng-match.el (rng-compile-error):
1409 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1410 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1411 * nxml/nxml-rap.el (nxml-scan-error):
1412 * nxml/nxml-outln.el (nxml-outline-error):
1413 * net/soap-client.el (soap-error):
1414 * net/gnutls.el (gnutls-error):
1415 * net/ange-ftp.el (ftp-error):
1416 * mpc.el (mpc-proc-error):
1417 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1418 (json-number-format, json-string-escape, json-string-format)
1419 (json-key-format, json-object-format):
1420 * jka-compr.el (compression-error):
1421 * international/quail.el (quail-error):
1422 * international/kkc.el (kkc-error):
1423 * emacs-lisp/ert.el (ert-test-failed):
1424 * calc/calc.el (calc-error, inexact-result, math-overflow)
1425 (math-underflow):
1426 * bookmark.el (bookmark-error-no-filename):
1427 * epg.el (epg-error): Define with define-error.
1428
0ea9e53a
SM
1429 * time.el (display-time-event-handler)
1430 (display-time-next-load-average): Don't call sit-for since it seems
1431 unnecessary (bug#15045).
1432
b0429158
SM
1433 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1434 Use #' instead of ' to quote functions.
1435 (checkdoc-output-mode): Use setq-local.
1436 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1437 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1438 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1439 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1440 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1441 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1442 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1443 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1444
ad9dcd70
SM
1445 * ido.el (ido-completion-help): Fix up compiler warning.
1446
77187e6f
JB
14472013-08-09 Juanma Barranquero <lekktu@gmail.com>
1448
1449 * frameset.el (frameset-p): Add autoload cookie.
1450 (frameset--jump-to-register): New function, based on code moved from
1451 register.el.
1452 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1453
1454 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1455 (frameset-restore, frameset-save, frameset-session-filter-alist):
1456 Remove declarations.
1457 (register-alist): Doc fix.
1458 (frameset-to-register): Move to frameset.el.
1459 (jump-to-register, describe-register-1): Remove frameset-specific code.
1460
9d3aa82c
JB
14612013-08-08 Juanma Barranquero <lekktu@gmail.com>
1462
1463 * allout-widgets.el (allout-widgets-pre-command-business)
1464 (allout-widgets-post-command-business)
1465 (allout-widgets-after-change-handler)
1466 (allout-decorate-item-and-context, allout-set-boundary-marker)
1467 (allout-body-modification-handler)
1468 (allout-graphics-modification-handler): Mark ignored arguments.
1469 (allout-widgets-post-command-business)
1470 (allout-widgets-exposure-change-processor)
1471 (allout-widgets-exposure-undo-processor)
1472 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1473 (allout-parse-item-at-point, allout-decorate-item-guides)
1474 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1475 * allout.el (epa-passphrase-callback-function): Declare.
1476 (allout-overlay-insert-in-front-handler)
1477 (allout-overlay-interior-modification-handler)
1478 (allout-isearch-end-handler, allout-chart-siblings)
1479 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1480 (allout-yank-processing, allout-process-exposed)
1481 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 1482 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
1483 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1484 (lisp-indent-defform): Mark ignored arguments.
1485 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1486 (calculate-lisp-indent): Remove unused variables.
1487 * international/characters.el (indian-2-column, arabic-2-column)
1488 (tibetan): Mark ignored arguments.
1489 (use-cjk-char-width-table): Mark ignored arguments.
1490 Remove unused variables.
1491 * international/fontset.el (build-default-fontset-data)
1492 (x-compose-font-name, create-fontset-from-fontset-spec):
1493 Mark ignored arguments.
1494 (fontset-plain-name): Remove unused variables.
1495 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1496 (keyboard-coding-system): Mark ignored arguments.
1497 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1498 * help.el (resize-temp-buffer-window):
1499 * window.el (display-buffer-in-major-side-window)
1500 (display-buffer-in-side-window, display-buffer-in-previous-window):
1501 Remove unused variables.
1502 * isearch.el (isearch-forward-symbol):
1503 * version.el (emacs-bzr-version-bzr):
1504 * international/mule-cmds.el (current-language-environment):
1505 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1506 (x-handle-display):
1507 * term/pc-win.el (x-list-fonts, x-display-planes)
1508 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1509 (x-server-version, x-display-screens, x-display-mm-height)
1510 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1511 (x-selection-owner-p, x-own-selection-internal)
1512 (x-disown-selection-internal, x-get-selection-internal)
1513 (msdos-initialize-window-system):
1514 * term/tty-colors.el (tty-color-alist, tty-color-clear):
1515 * term/x-win.el (x-handle-no-bitmap-icon):
1516 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1517 (vc-default-find-file-hook, vc-default-extra-menu):
1518 Mark ignored arguments.
1519
0ca3f70e
SM
15202013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1521
1522 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1523 break-condition in the context of the debugged code (bug#12685).
1524
74c5d24c
CS
15252013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
1526
1527 * comint.el:
1528 Do not use an overlay to highlight the last prompt. (Bug#14744)
1529 (comint-mode): Make comint-last-prompt buffer local.
1530 (comint-last-prompt): New variable.
1531 (comint-last-prompt-overlay): Remove. Superseded by
1532 comint-last-prompt.
0ca3f70e
SM
1533 (comint-snapshot-last-prompt, comint-output-filter):
1534 Use comint-last-prompt.
74c5d24c 1535
c03c02ee
JB
15362013-08-08 Juanma Barranquero <lekktu@gmail.com>
1537
a3738d20 1538 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
1539 (frameset-save): Check validity of the resulting frameset.
1540
04263d23
XF
15412013-08-08 Xue Fuqiao <xfq.free@gmail.com>
1542
1543 * ido.el (ido-record-command): Add doc string.
1544
76c5e5ab
JB
15452013-08-08 Juanma Barranquero <lekktu@gmail.com>
1546
1547 * frameset.el (frameset): Do not disable creation of the default
1548 frameset-p predicate. Doc fix.
1549 (frameset-valid-p): New function, copied from the old predicate-p.
1550 Add additional checks.
1551 (frameset-restore): Check with frameset-valid-p.
1552 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1553 (frameset-name, frameset-description, frameset-properties)
1554 (frameset-states): Add docstring.
f9dbf1cb
JB
1555 (frameset-session-filter-alist, frameset-persistent-filter-alist)
1556 (frameset-filter-alist): Doc fixes.
76c5e5ab 1557
bd0c3c0b
JB
15582013-08-08 Juanma Barranquero <lekktu@gmail.com>
1559
1560 * frameset.el (frameset-p, frameset-prop): Doc fixes.
1561
c735544c
SM
15622013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1563
1564 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
1565 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
1566 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
1567 (byte-compile-normal-call): Remove obsolescence check.
1568
2805a651
JB
15692013-08-08 Juanma Barranquero <lekktu@gmail.com>
1570
3677ffeb
JB
1571 * frameset.el (frameset-restore): Doc fix.
1572
2805a651
JB
1573 * register.el (frameset-frame-id, frameset-frame-with-id)
1574 (frameset-p, frameset-restore, frameset-save): Declare.
1575 (register-alist): Document framesets.
1576 (frameset-session-filter-alist): Declare.
1577 (frameset-to-register): New function.
1578 (jump-to-register): Implement jumping to framesets. Doc fix.
1579 (describe-register-1): Describe framesets.
1580
1581 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
1582
a912c016
JB
15832013-08-07 Juanma Barranquero <lekktu@gmail.com>
1584
1585 * desktop.el (desktop-save-frameset): Use new frameset-save args.
1586 Use lexical-binding.
1587
1588 * frameset.el (frameset): Use type vector, not list (incompatible
1589 change). Do not declare a new constructor, use the default one.
1590 Upgrade suggested properties `app', `name' and `desc' to slots `app',
1591 `name' and `description', respectively, and add read-only slot
1592 `timestamp'. Doc fixes.
1593 (frameset-copy, frameset-persistent-filter-alist)
1594 (frameset-filter-alist, frameset-switch-to-gui-p)
1595 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
1596 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
1597 (frameset-filter-iconified, frameset-keep-original-display-p):
1598 Doc fixes.
1599 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
1600 Rename from frameset-filter-(save|restore)-param. All callers changed.
1601 Doc fix.
1602 (frameset-p): Adapt to change to vector and be more thorough.
1603 Change arg name to OBJECT. Doc fix.
1604 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
1605 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1606 All callers changed.
1607 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1608 All callers changed.
1609 (frameset--record-minibuffer-relationships): Rename from
1610 frameset--process-minibuffer-frames. All callers changed.
1611 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1612 Use new default constructor (again). Doc fix.
1613 (frameset--find-frame-if): Rename from `frameset--find-frame.
1614 All callers changed.
1615 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1616 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1617 Doc fix.
1618 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1619 PARAMETERS and WINDOW-STATE, respectively.
1620 (frameset-restore): Add new keyword argument PREDICATE.
1621 Reset frameset--target-display to nil. Doc fix.
1622
bb41480a
SM
16232013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1624
f001e98e
SM
1625 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1626 (bat-mode): Use it.
1627 (bat-mode-syntax-table): Mark \n as end-of-comment.
1628 (bat-font-lock-keywords): Remove comment rule.
1629
7679edb1
SM
1630 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
1631 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
1632
bb41480a
SM
1633 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1634 (byte-compile-callargs-warn): Use `push'.
1635 (byte-compile-arglist-warn): Ignore higher-order "calls".
1636 (byte-compile-file-form-autoload): Use `pcase'.
1637 (byte-compile-function-form): If quoting a symbol, check that it exists.
1638
cdc1ebb9
EZ
16392013-08-07 Eli Zaretskii <eliz@gnu.org>
1640
1641 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1642 and add a few popular commands found in batch files.
1643 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1644 (dos-mode): Doc fixes.
1645
312b1740
SM
16462013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1647
1648 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1649 (dos-mode): Use setq-local. Add space after "rem".
1650 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1651 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1652
400a3178
AM
16532013-08-07 Arni Magnusson <arnima@hafro.is>
1654
1655 * progmodes/dos.el: New file.
1656 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1657 dos-mode.
1658
3b5c03d3
GM
16592013-08-06 Glenn Morris <rgm@gnu.org>
1660
1661 * calendar/calendar.el: Add new faces, and day-header-array.
1662 (calendar-weekday-header, calendar-weekend-header)
1663 (calendar-month-header): New faces.
1664 (calendar-day-header-construct): New function.
1665 (calendar-day-header-width): Also :set calendar-day-header-array.
1666 (calendar-american-month-header, calendar-european-month-header)
1667 (calendar-iso-month-header): Use calendar- faces.
1668 (calendar-generate-month):
1669 Use calendar-day-header-array for day headers; apply faces to them.
1670 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1671 (calendar-abbrev-construct): Add optional maxlen argument.
1672 (calendar-day-name-array): Doc fix.
1673 (calendar-day-name-array, calendar-abbrev-length)
1674 (calendar-day-abbrev-array):
1675 Also :set calendar-day-header-array, and maybe redraw.
1676 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 1677 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
1678 (calendar-day-name): Add option to use header array.
1679
ec6a2d7a
LMI
16802013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1681
1682 * net/shr.el (shr-render-td): Remove debugging.
1683 (shr-render-td): Make width computation consistent by defaulting
1684 all zero-width columns to 10 characters. This may not be optimal,
1685 but it's at least consistent.
2122cb6d
LMI
1686 (shr-make-table-1): Redo last change to fix the real problem in
1687 colspan handling.
ec6a2d7a 1688
ed4fd9c5
DA
16892013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1690
0ca3f70e
SM
1691 * files.el (cache-long-line-scans):
1692 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 1693
64e22afe
JB
16942013-08-06 Juanma Barranquero <lekktu@gmail.com>
1695
024b38fc
JB
1696 * frameset.el (frameset, frameset-filter-alist)
1697 (frameset-filter-params, frameset-save, frameset--reuse-frame)
1698 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1699 (frameset-compute-pos): Rename from frameset--compute-pos,
1700 and add docstring.
1701 (frameset-move-onscreen): Use frameset-compute-pos.
1702 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1703
64e22afe
JB
1704 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1705 Fix typos in docstrings.
1706
c8c2aca8
DA
17072013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1708
1709 * frame.el (get-other-frame): Tiny cleanup.
1710
1d237bba
JB
17112013-08-06 Juanma Barranquero <lekktu@gmail.com>
1712
8951efef
JB
1713 * vc/vc.el (vc-default-ignore-completion-table):
1714 Silence byte-compiler warning.
1715
307764cc
JB
1716 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1717 slot , which can indeed be nil.
1718 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1719 Move entry for `left' from persistent to live filter alist.
1720 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1721 Doc fixes.
1722 (frameset-filter-params): When restoring a frame, copy items added to
1723 `filtered', to avoid unwittingly modifying the original parameters.
1724 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1725 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1726
1d237bba
JB
1727 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1728 to use looking-at-p instead of looking-at. (Bug#15028)
1729
dc6c0eda
SM
17302013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 Revert introduction of isearch-filter-predicates (bug#14714).
1733 Rely on add-function instead.
1734 * isearch.el (isearch-filter-predicates): Rename it back to
1735 isearch-filter-predicate.
1736 (isearch-message-prefix): Use advice-function-mapc and advice
1737 properties to get the isearch-message-prefix.
1738 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1739 instead of run-hook-with-args-until-failure.
1740 (isearch-filter-visible): Not obsolete any more.
1741 * loadup.el: Preload nadvice.
1742 * replace.el (perform-replace): Revert to funcall
1743 instead of run-hook-with-args-until-failure.
1744 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1745 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1746 dired-isearch-filenames-toggle; make it into a proper minor mode.
1747 Use add/remove-function.
1748 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1749 Call the minor-mode rather than add/remove-hook.
1750 (dired-isearch-filter-filenames):
1751 Remove isearch-message-prefix property.
1752 * info.el (Info--search-loop): New function, extracted from Info-search.
1753 Funcall isearch-filter-predicate instead of
1754 run-hook-with-args-until-failure isearch-filter-predicates.
1755 (Info-search): Use it.
1756 (Info-mode): Use isearch-filter-predicate instead of
1757 isearch-filter-predicates.
1758
290d5b58
DA
17592013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1760
1761 Do not call to `selected-window' where it is assumed by default.
1762 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1763 `window-hscroll', `window-width', `window-height', `window-buffer',
1764 `window-frame', `window-start', `window-point', `next-window'
1765 and `window-display-table'.
1766 * abbrev.el (abbrev--default-expand):
1767 * bs.el (bs--show-with-configuration):
1768 * buff-menu.el (Buffer-menu-mouse-select):
1769 * calc/calc.el (calc):
1770 * calendar/calendar.el (calendar-generate-window):
1771 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1772 (diary-make-entry):
1773 * comint.el (send-invisible, comint-dynamic-complete-filename)
1774 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1775 * completion.el (complete):
1776 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1777 * disp-table.el (describe-current-display-table):
1778 * doc-view.el (doc-view-insert-image):
1779 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1780 * ehelp.el (with-electric-help):
1781 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1782 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1783 * emacs-lisp/helper.el (Helper-help-scroller):
1784 * emulation/cua-base.el (cua--post-command-handler-1):
1785 * eshell/esh-mode.el (eshell-output-filter):
1786 * ffap.el (ffap-gnus-wrapper):
1787 * help-macro.el (make-help-screen):
1788 * hilit-chg.el (highlight-compare-buffers):
1789 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1790 * hl-line.el (global-hl-line-highlight):
1791 * icomplete.el (icomplete-simple-completing-p):
1792 * isearch.el (isearch-done):
1793 * jit-lock.el (jit-lock-stealth-fontify):
1794 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1795 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1796 * mpc.el (mpc-tagbrowser, mpc):
1797 * net/rcirc.el (rcirc-any-buffer):
1798 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1799 * play/landmark.el (landmark-max-width, landmark-max-height):
1800 * play/zone.el (zone):
1801 * progmodes/compile.el (compilation-goto-locus):
1802 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1803 * progmodes/etags.el (find-tag-other-window):
1804 * progmodes/fortran.el (fortran-column-ruler):
1805 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1806 * progmodes/verilog-mode.el (verilog-point-text):
1807 * reposition.el (reposition-window):
1808 * rot13.el (toggle-rot13-mode):
1809 * server.el (server-switch-buffer):
1810 * shell.el (shell-dynamic-complete-command)
1811 (shell-dynamic-complete-environment-variable):
1812 * simple.el (insert-buffer, set-selective-display)
1813 (delete-completion-window):
1814 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1815 (speedbar-recenter):
1816 * startup.el (fancy-splash-head):
1817 * textmodes/ispell.el (ispell-command-loop):
1818 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1819 * tutorial.el (help-with-tutorial):
1820 * vc/add-log.el (add-change-log-entry):
1821 * vc/compare-w.el (compare-windows):
1822 * vc/ediff-help.el (ediff-indent-help-message):
1823 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1824 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1825 (ediff-setup-control-frame):
1826 * vc/emerge.el (emerge-position-region):
1827 * vc/pcvs-util.el (cvs-bury-buffer):
1828 * window.el (walk-windows, mouse-autoselect-window-select):
1829 * winner.el (winner-set-conf, winner-undo): Related users changed.
1830
38276e01
JB
18312013-08-05 Juanma Barranquero <lekktu@gmail.com>
1832
1833 * frameset.el (frameset--set-id): Doc fix.
1834 (frameset-frame-id, frameset-frame-id-equal-p)
1835 (frameset-locate-frame-id): New functions.
1836 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1837 (frameset-restore): Use them.
1838
12b4c0ea
DA
18392013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1840
1841 Do not call to `selected-frame' where it is assumed by default.
1842 Affected functions are `raise-frame', `redraw-frame',
1843 `frame-first-window', `frame-terminal' and `delete-frame'.
1844 * calendar/appt.el (appt-disp-window):
1845 * epg.el (epg-wait-for-completion):
1846 * follow.el (follow-delete-other-windows-and-split)
1847 (follow-avoid-tail-recenter):
1848 * international/mule.el (set-terminal-coding-system):
1849 * mail/rmail.el (rmail-mail-return):
1850 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1851 * progmodes/f90.el (f90-add-imenu-menu):
1852 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1853 * server.el (server-switch-buffer):
1854 * simple.el (delete-completion-window):
1855 * talk.el (talk):
1856 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1857 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1858 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1859 * vc/ediff.el (ediff-documentation): Related users changed.
1860 * frame.el (selected-terminal): Remove the leftover.
1861
17f25e76
GM
18622013-08-05 Glenn Morris <rgm@gnu.org>
1863
1864 * calendar/calendar.el (calendar-generate-month):
1865 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
1866 (calendar-generate-month, calendar-font-lock-keywords):
1867 Fix for calendar-day-header-width > length of any day name.
17f25e76 1868
063233c3
JB
18692013-08-05 Juanma Barranquero <lekktu@gmail.com>
1870
1871 * desktop.el (desktop-clear): Use new name of sort predicate.
1872
1873 * frameset.el (frameset): Add docstring. Move :version property to its
1874 own `version' slot.
1875 (frameset-copy): Rename from copy-frameset.
1876 (frameset-p): Check more thoroughly.
1877 (frameset-prop): Do not check for :version, which is no longer a prop.
1878 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1879 Use new :never value instead of t.
1880 (frameset-filter-alist): Expand and clarify docstring.
1881 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1882 (frameset-filter-minibuffer, frameset-filter-save-param)
1883 (frameset-filter-restore-param, frameset-filter-iconified):
1884 Add pointer to docstring of frameset-filter-alist.
1885 (frameset-filter-params): Rename filter values to be more meaningful:
1886 :never instead of t, and reverse the meanings of :save and :restore.
1887 (frameset--process-minibuffer-frames): Clarify error message.
1888 (frameset-save): Avoid unnecessary and confusing call to framep.
1889 Use new BOA constructor for framesets.
1890 (frameset--reuse-list): Doc fix.
1891 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1892 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1893 (frameset-minibufferless-first-p): Doc fix.
1894 Rename from frameset-sort-frames-for-deletion.
1895 (frameset-restore): Doc fixes. Use new function names.
1896 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1897
d5671a82
JB
18982013-08-04 Juanma Barranquero <lekktu@gmail.com>
1899
1900 * desktop.el (desktop-restore-forces-onscreen)
1901 (desktop-restore-reuses-frames): Document :keyword constant values.
1902 (desktop-filter-parameters-alist): Remove, now identical to
1903 frameset-filter-alist.
1904 (desktop--filter-tty*): Remove, moved to frameset.el.
1905 (desktop-save-frameset, desktop-restore-frameset):
1906 Do not pass :filters argument.
1907
1908 * frameset.el (frameset-live-filter-alist)
1909 (frameset-persistent-filter-alist): New variables.
1910 (frameset-filter-alist): Use them. Add autoload cookie.
1911 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1912 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1913 `frameset--id' (it's supposed to be internal to frameset.el).
1914 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1915 (frameset--initial-params): New function.
1916 (frameset--get-frame): Use it. Doc fix.
1917 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1918 Accept :all, not 'all.
1919 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1920 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1921 with fbound symbols. Fix frame id matching, and remove matching ids if
1922 the frame being restored is deleted. Obey :delete.
1923
671d5c16
SM
19242013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1925
1926 * subr.el (macrop): New function.
1927 (text-clone--maintaining): New var.
1928 (text-clone--maintain): Rename from text-clone-maintain. Use it
1929 instead of inhibit-modification-hooks.
1930
1931 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1932 a proxy, so as handle autoloads and redefinitions of the target.
1933 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1934
1935 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1936 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1937 (pcase--mutually-exclusive-p): New function.
1938 (pcase--split-consp): Use it.
1939 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1940 mutually exclusive with the current predicate.
1941
1942 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1943 (edebug-macrop): Remove. Use `macrop' instead.
1944 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1945 (ad-macro-p):
1946 * eshell/esh-cmd.el (eshell-macrop):
1947 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
1948
1d44e9dc
SM
19492013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
1952 (advice-mapc): New function, using it.
1953 (advice-function-member-p): New function.
1954 (advice--normalize): Store the cdr in advice--saved-rewrite since
1955 that's the part that will be changed.
1956 (advice--symbol-function): New function.
1957 (advice-remove): Handle removal before the function is defined.
1958 Adjust to new advice--saved-rewrite.
1959 (advice-member-p): Use advice-function-member-p and
1960 advice--symbol-function.
1961
5414a283
JB
19622013-08-04 Juanma Barranquero <lekktu@gmail.com>
1963
51d30f2c
JB
1964 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
1965 (frameset-filter-minibuffer): Doc fix.
1966 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
1967 (frameset--set-id, frameset--process-minibuffer-frames)
1968 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
1969 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 1970
5414a283
JB
1971 * desktop.el (desktop-clear): Only delete frames when called
1972 interactively and desktop-restore-frames is non-nil. Doc fix.
1973 (desktop-read): Set desktop-saved-frameset to nil.
1974
ab419665
XF
19752013-08-04 Xue Fuqiao <xfq.free@gmail.com>
1976
1977 * vc/vc.el (vc-ignore): Rewrite.
1978 (vc-default-ignore-completion-table):
1979 (vc--read-lines):
1980 (vc--add-line, vc--remove-regexp): New functions.
1981
1982 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
1983 (vc-svn-ignore-completion-table): New function.
1984
1985 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
1986 (vc-hg-ignore-completion-table):
1987 (vc-hg-find-ignore-file): New functions.
1988
1989 * vc/vc-git.el (vc-git-ignore): Rewrite.
1990 (vc-git-ignore-completion-table):
1991 (vc-git-find-ignore-file): New functions.
1992
1993 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
1994
1995 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
1996 (vc-bzr-ignore-completion-table):
1997 (vc-bzr-find-ignore-file): New functions.
1998
2613dea2
JB
19992013-08-03 Juanma Barranquero <lekktu@gmail.com>
2000
2001 * frameset.el (frameset-prop): New function and setter.
2002 (frameset-save): Do not modify frame list passed by the caller.
2003
9c959872
SM
20042013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2007
a104f656
SM
20082013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2009
70122acf
SM
2010 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2011 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2012
a104f656
SM
2013 * custom.el (custom-initialize-default, custom-initialize-set)
2014 (custom-initialize-reset, custom-initialize-changed): Affect the
2015 toplevel-default-value (bug#6275, bug#14586).
2016 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2017 for bug#6275.
2018
f078d570
JB
20192013-08-02 Juanma Barranquero <lekktu@gmail.com>
2020
185e3b5a
JB
2021 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2022 Add cl-def* expressions.
2023
f078d570
JB
2024 * frameset.el (frameset-filter-params): Fix order of arguments.
2025
9421876d
JB
20262013-08-02 Juanma Barranquero <lekktu@gmail.com>
2027
2028 Move code related to saving frames to frameset.el.
2029 * desktop.el: Require frameset.
2030 (desktop-restore-frames): Doc fix.
2031 (desktop-restore-reuses-frames): Rename from
2032 desktop-restoring-reuses-frames.
2033 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2034 (desktop-clear): Clear frames too.
2035 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2036 (desktop--filter-tty*, desktop-save, desktop-read):
2037 Use frameset functions.
2038 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2039 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2040 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2041 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2042 (desktop--process-minibuffer-frames, desktop-save-frames)
2043 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2044 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2045 (desktop--sort-states, desktop-restoring-frames-p)
2046 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2047 (desktop-restoring-frameset-p, desktop-restore-frameset)
2048 (desktop--check-dont-save, desktop-save-frameset): New functions.
2049 (desktop--app-id): New constant.
2050 (desktop-first-buffer, desktop-buffer-ok-count)
2051 (desktop-buffer-fail-count): Move before first use.
2052 * frameset.el: New file.
2053
76dc5996
SM
20542013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2055
2056 * files.el: Use lexical-binding.
2057 (dir-locals-read-from-file): Remove unused `err' variable.
2058 (hack-dir-local-variables--warned-coding): New var.
2059 (hack-dir-local-variables): Use it to avoid repeated warnings.
2060 (make-backup-file-name--default-function): New function.
2061 (make-backup-file-name-function): Use it as default.
2062 (buffer-stale--default-function): New function.
2063 (buffer-stale-function): Use it as default.
2064 (revert-buffer-insert-file-contents--default-function): New function.
2065 (revert-buffer-insert-file-contents-function): Use it as default.
2066 (insert-directory): Avoid add-to-list.
2067
2068 * autorevert.el (auto-revert-handler): Simplify.
2069 Use buffer-stale--default-function.
2070
06d36e2b
TH
20712013-08-01 Tassilo Horn <tsdh@gnu.org>
2072
5f648ab4
TH
2073 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2074
06d36e2b
TH
2075 * whitespace.el (whitespace-ensure-local-variables): New function.
2076 (whitespace-cleanup-region): Call it.
2077 (whitespace-turn-on): Call it.
2078
a43dc424
MA
20792013-08-01 Michael Albinus <michael.albinus@gmx.de>
2080
2081 Complete file name handlers.
2082
2083 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2084 (tramp-handle-verify-visited-file-modtime)
2085 (tramp-handle-file-notify-rm-watch): New functions.
2086 (tramp-call-process): Do not bind `default-directory'.
2087
44e18199
JB
2088 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2089 Order alphabetically.
a43dc424
MA
2090 [access-file, add-name-to-file, dired-call-process]:
2091 [dired-compress-file, file-acl, file-notify-rm-watch]:
2092 [file-ownership-preserved-p, file-selinux-context]:
2093 [make-directory-internal, make-symbolic-link, set-file-acl]:
2094 [set-file-selinux-context, set-visited-file-modtime]:
2095 [verify-visited-file-modtime]: Add handler.
2096 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2097
2098 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2099 [file-notify-add-watch, file-notify-rm-watch]:
2100 [set-file-times, set-visited-file-modtime]:
2101 [verify-visited-file-modtime]: Add handler.
2102 (with-tramp-gvfs-error-message)
2103 (tramp-gvfs-handle-set-visited-file-modtime)
2104 (tramp-gvfs-fuse-file-name): Remove.
2105 (tramp-gvfs-handle-file-notify-add-watch)
2106 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2107 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2108
44e18199
JB
2109 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2110 Order alphabetically.
a43dc424
MA
2111 [file-notify-rm-watch ]: Use default Tramp handler.
2112 [executable-find]: Remove private handler.
2113 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2114 `default-directory'.
2115 (tramp-sh-handle-executable-find)
2116 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2117 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2118 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2119 Do not use `format' in `tramp-message'.
2120
2121 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2122 [file-notify-rm-watch, set-visited-file-modtime]:
2123 [verify-visited-file-modtime]: Add handler.
2124 (tramp-smb-call-winexe): Do not bind `default-directory'.
2125
7188b515
XF
21262013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2127
2128 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2129
2412ee1a
DG
21302013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2131
2132 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2133 use it.
2134 (log-view-diff-changeset): Same.
2135 (log-view-diff-common): Call backend command `previous-revision'
2136 to find out the previous revision, in both cases. Swap the
2137 variables `to' and `fr', so that `fr' usually refers to the
2138 earlier revision (Bug#14989).
2139
5002a754
KRC
21402013-07-31 Kan-Ru Chen <kanru@kanru.info>
2141
2142 * ibuf-ext.el (ibuffer-filter-by-filename):
2143 Make it work with dired buffers too.
2144
44e18199 21452013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
2146
2147 * emacs-lisp/re-builder.el (reb-color-display-p):
2148 * files.el (save-buffers-kill-terminal):
2149 * net/browse-url.el (browse-url):
2150 * server.el (server-save-buffers-kill-terminal):
2151 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2152 Prefer nil to selected-frame for the first arg of frame-parameter.
2153
aeca3fbb
XF
21542013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2155
2156 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2157
158bc55c
SB
21582013-07-30 Stephen Berman <stephen.berman@gmx.net>
2159
2160 * minibuffer.el (completion--twq-all): Try and preserve each
2161 completion's case choice (bug#14907).
2162
d50fceab
LMI
21632013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2164
ac38e731
LMI
2165 * net/network-stream.el (open-network-stream): Mention the new
2166 :nogreeting parameter.
2167 (network-stream-open-starttls): Use the :nogreeting parameter
2168 (bug#14938).
2169
1211de50
LMI
2170 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2171
997798bf
LMI
2172 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2173 more natural than popping.
2174
d50fceab 2175 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 2176 (shr-urlify): Highlight under mouse.
d50fceab 2177
5c09de04
XF
21782013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2179
207d1d04
XF
2180 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2181
2182 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2183
5c09de04
XF
2184 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2185 buffer for output.
2186
3cd51eaa
XF
2187 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2188 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 2189
44e18199 2190 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 2191 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
2192
2193 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2194
2195 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2196 buffer for output.
2197
35a89bdd
EZ
21982013-07-29 Eli Zaretskii <eliz@gnu.org>
2199
2200 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2201 initial frame is minibuffer-less. (Bug#14841)
2202
78822e94
MA
22032013-07-29 Michael Albinus <michael.albinus@gmx.de>
2204
2205 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2206 option.
2207
2208 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2209 (tramp-maybe-open-connection): Use it.
2210
9503c190
JB
22112013-07-28 Juanma Barranquero <lekktu@gmail.com>
2212
2213 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2214 minimal set of parameters passed when creating a frame, because
2215 the minibuffer status of a frame cannot be changed later.
2216
d5a845b4
SB
22172013-07-28 Stephen Berman <stephen.berman@gmx.net>
2218
2219 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2220 replace-regexp-in-string and inadvertent omissions in previous change.
2221 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 2222 name of filtered items buffer.
d5a845b4 2223
ddeffb17
JB
22242013-07-28 Juanma Barranquero <lekktu@gmail.com>
2225
2226 * desktop.el: Optionally force offscreen frames back onscreen.
2227 (desktop-restoring-reuses-frames): New option.
2228 (desktop--compute-pos, desktop--move-onscreen): New functions.
2229 (desktop--make-frame): Use desktop--move-onscreen.
2230
f5950f7a
AM
22312013-07-27 Alan Mackenzie <acm@muc.de>
2232
2233 Fontify a Java generic method as a function.
2234 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2235 value to t.
2236
ae43b66a
SB
22372013-07-27 Stephen Berman <stephen.berman@gmx.net>
2238
2239 * calendar/todo-mode.el: Add command to rename todo files.
2240 (todo-rename-file): New command.
2241 (todo-key-bindings-t): Add key binding for it. Change the
2242 bindings of todo-filter-regexp-items(-multifile) to use `x'
2243 instead of `r', since the latter is better suited to the new
2244 renaming command.
2245
5ab78d3d
AM
22462013-07-27 Alan Mackenzie <acm@muc.de>
2247
2248 Make Java try-with-resources statement parse properly.
2249 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2250 (c-block-stmt-1-2-key): New language constants/variables.
2251 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2252 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2253 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 2254 with c-block-stmt-1-2-key.
5ab78d3d 2255
d85c4d50
JB
22562013-07-27 Juanma Barranquero <lekktu@gmail.com>
2257
2258 * desktop.el (desktop--make-frame): Apply most frame parameters after
2259 creating the frame to force (partially or totally) offscreen frames to
2260 be restored as such.
2261
e4c467f9
XF
22622013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2263
2264 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 2265 (Bug#14948)
e4c467f9 2266
7ced0d04
SM
22672013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2270 `base' arg of backtrace-frame.
2271
fec92060
EZ
22722013-07-26 Eli Zaretskii <eliz@gnu.org>
2273
2274 * simple.el (list-processes): Doc fix.
2275
d58d31fb
JB
22762013-07-26 Juanma Barranquero <lekktu@gmail.com>
2277
2278 * desktop.el (desktop--select-frame):
d85c4d50 2279 Try harder to reuse existing frames.
d58d31fb 2280
53ff3e77
SM
22812013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2284 (edebug-eval): Use backtrace-eval.
2285 (edebug--display, edebug--recursive-edit): Don't let-bind the
2286 edebug-outer-* vars that keep track of variables we locally let-bind.
2287 (edebug-outside-excursion): Don't restore outside values of locally
2288 let-bound vars.
2289 (edebug--display): Use user-error.
2290 (cl-lexical-debug, cl-debug-env): Remove.
2291
045f7a53
JB
22922013-07-26 Juanma Barranquero <lekktu@gmail.com>
2293
2294 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2295 are restored to be sure that they are visible before deleting any
2296 remaining ones.
2297
59070b32
MM
22982013-07-26 Matthias Meulien <orontee@gmail.com>
2299
742a3501
XF
2300 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2301 vc-print-root-log. (Bug#14948)
59070b32 2302
b1fb3596
RS
23032013-07-26 Richard Stallman <rms@gnu.org>
2304
2305 Add aliases for encrypting mail.
2306 * epa.el (epa-mail-aliases): New option.
2307 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2308 Bind inhibit-read-only so read-only text doesn't ruin everything.
2309 (epa-mail-default-recipients): New subroutine broken out.
2310 Handle epa-mail-aliases.
2311
56ea7291
SM
23122013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2313
2314 Add support for lexical variables to the debugger's `e' command.
2315 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2316 vars, except for debugger-outer-match-data.
2317 (debugger-frame-number): Move check for "on a function call" from
2318 callers into it. Add `skip-base' argument.
2319 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2320 (debugger-env-macro): Only reset the state stored in non-variables,
2321 i.e. current-buffer and match-data.
2322 (debugger-eval-expression): Rewrite using backtrace-eval.
2323 * subr.el (internal--called-interactively-p--get-frame): Remove.
2324 (called-interactively-p):
2325 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2326 `base' arg of backtrace-frame instead.
2327
15ac32d5
GM
23282013-07-26 Glenn Morris <rgm@gnu.org>
2329
8358a09d
GM
2330 * align.el (align-regexp): Doc fix. (Bug#14857)
2331 (align-region): Explicit error if subexpression missing/does not match.
2332
15ac32d5
GM
2333 * simple.el (global-visual-line-mode):
2334 Do not duplicate the mode lighter. (Bug#14858)
2335
f47ad11b
MR
23362013-07-25 Martin Rudalics <rudalics@gmx.at>
2337
2338 * window.el (display-buffer): In display-buffer bind
2339 split-window-keep-point to t, bug#14829.
2340
02530987
JB
23412013-07-25 Juanma Barranquero <lekktu@gmail.com>
2342
2343 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2344 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2345 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2346 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2347 Change accordingly.
f63ebeb5
JB
2348 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2349 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 2350
6ccb9cab 23512013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 2352
6ccb9cab 2353 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 2354
cb3a56d2
JB
23552013-07-25 Juanma Barranquero <lekktu@gmail.com>
2356
2357 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2358 parameter to modify-frame-parameters if the value has not changed;
2359 this is a workaround for bug#14949.
2360 (desktop--make-frame): On cl-delete-if call, check parameter name,
2361 not full parameter.
2362
7aa7fff0
XF
23632013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2364
2365 * vc/vc.el (vc-ignore): New function.
2366
2367 * vc/vc-svn.el (vc-svn-ignore): New function.
2368
2369 * vc/vc-hg.el (vc-hg-ignore): New function.
2370
2371 * vc/vc-git.el (vc-git-ignore): New function.
2372
2373 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2374 (vc-dir-ignore): New function.
2375
2376 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 2377 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
2378
2379 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2380
2381 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2382
889acc5c
JB
23832013-07-24 Juanma Barranquero <lekktu@gmail.com>
2384
2385 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2386 (desktop-restore-frames): Warn when deleting an existing frame failed.
2387
86c40970
GM
23882013-07-24 Glenn Morris <rgm@gnu.org>
2389
2390 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2391
d5d3c58a
MA
23922013-07-24 Michael Albinus <michael.albinus@gmx.de>
2393
2394 * filenotify.el (file-notify-supported-p):
2395 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2396 Remove functions.
2397
2398 * autorevert.el (auto-revert-use-notify):
2399 (auto-revert-notify-add-watch):
2400 * net/tramp.el (tramp-file-name-for-operation):
2401 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2402 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2403 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2404 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2405 Remove `file-notify-supported-p' entry.
2406
d100084b
GM
24072013-07-24 Glenn Morris <rgm@gnu.org>
2408
2409 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 2410 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 2411
ac93e56b
SM
24122013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2413
249eea30
SM
2414 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2415 checked with memq (bug#14935).
2416
ac93e56b
SM
2417 * files.el (revert-buffer-function): Use a non-nil default.
2418 (revert-buffer-preserve-modes): Declare var to
2419 provide access to the `preserve-modes' argument.
2420 (revert-buffer): Let-bind it.
2421 (revert-buffer--default): New function, extracted from revert-buffer.
2422
2cdeb903
SM
24232013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * lpr.el: Signal print errors more prominently.
2426 (print-region-function): Don't default to nil.
2427 (lpr-print-region): New function, extracted from print-region-1.
2428 Check lpr's return value and signal an error in case of problem.
2429 (print-region-1): Use it.
2430 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2431 versions instead.
2432 (ps-printer-name): Default to nil.
2433 (ps-printer-name-option): Default to lpr-printer-switch.
2434 (ps-print-region-function): Don't default to nil.
2435 (ps-postscript-code-directory): Simplify default.
2436 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2437 (ps-string-list, ps-eval-switch, ps-flatten-list)
2438 (ps-flatten-list-1): Remove.
2439 (ps-multibyte-buffer): Avoid setq.
2440 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2441 (print-region-function, ps-print-region-function): Don't set them here.
2442
73600831
XF
24432013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2444
0e55c076
XF
2445 * ido.el (ido-fractionp):
2446 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2447 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2448 (ido-max-directory-size, ido-max-dir-file-cache)
2449 (ido-decorations): Doc fix.
2450
73600831
XF
2451 * ansi-color.el: Fix old URL.
2452
3d012865
MM
24532013-07-23 Michael R. Mauger <michael@mauger.com>
2454
2455 * progmodes/sql.el Version 3.3
2456 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2457 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2458 (sql-interactive-remove-continuation-prompt): Rewrite, use
2459 functions above. Fix continuation prompt and complete output line
2460 handling.
2461 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2462 redirected output buffer.
2463 (sql-mode): Restore deleted code (Bug#13591).
2464
da77a2e2
JB
24652013-07-23 Juanma Barranquero <lekktu@gmail.com>
2466
2467 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2468
80ff0c71
MA
24692013-07-23 Michael Albinus <michael.albinus@gmx.de>
2470
2471 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2472
2473 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2474 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2475 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2476
b61d71e4
JB
24772013-07-23 Juanma Barranquero <lekktu@gmail.com>
2478
2479 * desktop.el (desktop-clear): Simplify; remove useless checks
2480 against invalid buffer names.
2481 (desktop-list*): Use cl-list*.
2482 (desktop-buffer-info, desktop-create-buffer): Simplify.
2483
c3512092
LL
24842013-07-23 Leo Liu <sdl.web@gmail.com>
2485
2486 * bookmark.el (bookmark-make-record): Restore NAME as a default
2487 value. (Bug#14933)
2488
0ac26976
SM
24892013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2490
7d22ce18
SM
2491 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2492 extracted from autoload--insert-text.
2493 (autoload--insert-text): Remove.
2494 (autoload--print-cookie-text): New function, extracted from
2495 autoload--insert-cookie-text.
2496 (autoload--insert-cookie-text): Remove.
2497 (autoload-generate-file-autoloads): Adjust calls accordingly.
2498
9b2607e8
SM
2499 * winner.el (winner-hook-installed-p): Remove.
2500 (winner-mode): Simplify accordingly.
2501
c43a8618
SM
2502 * subr.el (add-to-list): Fix compiler-macro when `append' is
2503 not constant. Don't use `cl-member' for the base case.
2504
0ac26976
SM
2505 * progmodes/subword.el: Fix boundary case (bug#13758).
2506 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2507 own group.
2508 (subword-backward-regexp): Make it a constant.
2509 (subword-forward-internal): Don't treat a trailing capital as the
2510 beginning of a word.
2511
6874724a
AR
25122013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2513
2514 * emacs-lisp/package.el (package-menu-mode): Don't modify the
2515 global value of tabulated-list-revert-hook (bug#14930).
2516
70f1b5e8
JB
25172013-07-22 Juanma Barranquero <lekktu@gmail.com>
2518
a1c80d9d
JB
2519 * desktop.el: Require 'cl-lib.
2520 (desktop-before-saving-frames-functions): New hook.
2521 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2522 for frames being saved. Rename from desktop--save-minibuffer-frames.
2523 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
2524 Do not save frames with non-nil `desktop-dont-save' parameter.
2525 Filter out deleted frames.
a1c80d9d
JB
2526 (desktop--find-frame): Use cl-find-if.
2527 (desktop--select-frame): Use cl-(first|second|third) to access values
2528 of desktop-mini.
2529 (desktop--make-frame): Use cl-delete-if.
2530 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2531 (desktop-restore-frames): Use cl-(first|second|third) to access values
2532 of desktop-mini. Look for visible frame at the end, not while
2533 restoring frames.
2534
70f1b5e8
JB
2535 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2536 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2537 Use string-match-p, looking-at-p (bug#14927).
2538
728dc3cc
JB
25392013-07-21 Juanma Barranquero <lekktu@gmail.com>
2540
56bc453c
JB
2541 * desktop.el (desktop-saved-frame-states):
2542 Rename from desktop--saved-states; all users changed.
2543 (desktop-save-frames): Rename from desktop--save-frames.
2544 Do not save state to desktop file.
2545 (desktop-save): Save desktop-saved-frame-states to desktop file
2546 and reset to nil.
2547 (desktop-restoring-frames-p): New function.
2548 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
2549 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
2550 buffer-lists when restoring frames. Suggested by Martin Rudalics.
2551
728dc3cc
JB
2552 * desktop.el: Correctly restore iconified frames.
2553 (desktop--filter-iconified-position): New function.
2554 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2555
862f1c9c
GM
25562013-07-20 Glenn Morris <rgm@gnu.org>
2557
c4074c9f
GM
2558 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
2559 Let `message' do the formatting.
2560 (def-gdb-preempt-display-buffer): Add explicit format.
2561
d828e5f9
GM
2562 * image-dired.el (image-dired-track-original-file):
2563 Use with-current-buffer.
2564 (image-dired-track-thumbnail): Use with-current-buffer.
2565 Avoid changing point of wrong window.
2566
862f1c9c
GM
2567 * image-dired.el (image-dired-track-original-file):
2568 Avoid changing point of wrong window. (Bug#14909)
2569
f0398ec1 25702013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
2571
2572 * progmodes/gdb-mi.el (gdb-done-or-error):
2573 Guard against "%" in gdb output. (Bug#14127)
2574
1451928f
AS
25752013-07-20 Andreas Schwab <schwab@linux-m68k.org>
2576
763a086d
JB
2577 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
2578 (Bug#14826)
f7a03897 2579
1451928f
AS
2580 * international/mule.el (coding-system-iso-2022-flags): Fix last
2581 change.
2582
99107004
KH
25832013-07-20 Kenichi Handa <handa@gnu.org>
2584
763a086d
JB
2585 * international/mule.el (coding-system-iso-2022-flags):
2586 Add `8-bit-level-4'. (Bug#8522)
99107004 2587
48494e06
LMI
25882013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2589
8ba8eec5
LMI
2590 * net/shr.el (shr-mouse-browse-url): New command and keystroke
2591 (bug#14815).
2592
dfbc66e3
LMI
2593 * net/eww.el (eww-process-text-input): Allow inputting when the
2594 point is at the start of the line, as the properties aren't
2595 front-sticky.
2596
48494e06
LMI
2597 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
2598 degenerate widths.
2599
77c92cb9
RS
26002013-07-19 Richard Stallman <rms@gnu.org>
2601
aec7da77
RS
2602 * epa.el (epa-popup-info-window): Doc fix.
2603
77c92cb9
RS
2604 * subr.el (split-string): New arg TRIM.
2605
945c5bb1
JB
26062013-07-18 Juanma Barranquero <lekktu@gmail.com>
2607
2608 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2609 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2610
e06ec67f
MA
26112013-07-18 Michael Albinus <michael.albinus@gmx.de>
2612
c7064f05 2613 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
2614 `file-notify-support'. Do not autoload. Adapt all uses.
2615 (file-notify-supported-p): New defun.
2616
c7064f05
JB
2617 * autorevert.el (auto-revert-use-notify):
2618 Use `file-notify-supported-p' instead of `file-notify-support'.
2619 Adapt docstring.
e06ec67f
MA
2620 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2621
2622 * net/tramp.el (tramp-file-name-for-operation):
2623 Add `file-notify-supported-p'.
2624
2625 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2626 New defun.
2627 (tramp-sh-file-name-handler-alist): Add it as handler for
2628 `file-notify-supported-p '.
2629
2630 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2631 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2632 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2633 Add `ignore' as handler for `file-notify-*' functions.
2634
5dc8a629
EZ
26352013-07-17 Eli Zaretskii <eliz@gnu.org>
2636
2637 * simple.el (line-move-partial, line-move): Don't start vscroll or
2638 scroll-up if the current line is not taller than the window.
2639 (Bug#14881)
2640
77aea2fb
DG
26412013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2642
2643 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2644 highlight question marks in the method names as strings.
ac72c08d
DG
2645 (ruby-block-beg-keywords): Inline.
2646 (ruby-font-lock-keyword-beg-re): Extract from
2647 `ruby-font-lock-keywords'.
77aea2fb 2648
18c26d81
JD
26492013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2650
2651 * frame.el (blink-cursor-blinks): New defcustom.
2652 (blink-cursor-blinks-done): New defvar.
2653 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2654 (blink-cursor-timer-function): Check if number of blinks has been
2655 done on X and NS.
2656 (blink-cursor-suspend, blink-cursor-check): New defuns.
2657
da48522e
GM
26582013-07-15 Glenn Morris <rgm@gnu.org>
2659
2660 * edmacro.el (edmacro-format-keys): Fix previous change.
2661
0463c1ef
PE
26622013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2663
2664 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2665 The hack didn't work outside English locales anyway.
2666
b43f6451
JB
26672013-07-15 Juanma Barranquero <lekktu@gmail.com>
2668
2669 * simple.el (define-alternatives): Rename from alternatives-define,
2670 per RMS' suggestion.
2671
b958c0ad
JB
26722013-07-14 Juanma Barranquero <lekktu@gmail.com>
2673
2674 * desktop.el (desktop-restore-frames): Change default to t.
2675 (desktop-restore-in-current-display): Now offer more options.
2676 (desktop-restoring-reuses-frames): New customization option.
2677 (desktop--saved-states): Doc fix.
2678 (desktop-filter-parameters-alist): New variable, renamed and expanded
2679 from desktop--excluded-frame-parameters.
2680 (desktop--target-display): New variable.
2681 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2682 (desktop--filter-tty*, desktop--filter-*-color)
2683 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2684 (desktop--filter-save-desktop-parm)
2685 (desktop-restore-in-original-display-p): New functions.
2686 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2687 (desktop--save-minibuffer-frames): New function, inspired by a similar
2688 function from Martin Rudalics.
2689 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2690 (desktop--restore-in-this-display-p): Remove.
2691 (desktop--find-frame): Rename from desktop--find-frame-in-display
2692 and add predicate argument.
2693 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2694 (desktop--reuse-list): New variable.
2695 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2696 New functions.
2697 (desktop--restore-frames): Add support for "minibuffer-special" frames.
2698
f6dd8b36
MA
26992013-07-14 Michael Albinus <michael.albinus@gmx.de>
2700
2701 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2702
2ce3c565
DG
27032013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2704
763a086d
JB
2705 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2706 Highlight conversion methods on Kernel.
2ce3c565 2707
2cdb7698
AM
27082013-07-13 Alan Mackenzie <acm@muc.de>
2709
2710 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2711 and comment it out. This out-commenting enables certain C++
2712 declarations to be parsed correctly.
2713
1a67b811
EZ
27142013-07-13 Eli Zaretskii <eliz@gnu.org>
2715
1b796d6b
EZ
2716 * international/mule.el (define-coding-system): Doc fix.
2717
1a67b811
EZ
2718 * simple.el (default-font-height): Don't call font-info if the
2719 frame's default font didn't change since the frame was created.
2720 (Bug#14838)
2721
58fbe886
LL
27222013-07-13 Leo Liu <sdl.web@gmail.com>
2723
2724 * ido.el (ido-read-file-name): Guard against non-symbol value.
2725
1f0480d4
FEG
27262013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2727
2728 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2729 in nested defuns.
2730
97ead0e5
LL
27312013-07-13 Leo Liu <sdl.web@gmail.com>
2732
2733 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2734 ido-set-matches call. (Bug#6852)
2735
0880a952
DG
27362013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2737
2738 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2739 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2740 Ruby 2.0.
2741 (ruby-font-lock-keywords): Distinguish calls to functions with
2742 module-like names from module references. Highlight character
2743 literals.
2744
a7d8babb
SDJ
27452013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2746
2747 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 2748 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 2749
acfcc8c5
JB
27502013-07-12 Juanma Barranquero <lekktu@gmail.com>
2751
2752 * desktop.el (desktop--v2s): Remove unused local variable.
2753 (desktop-save-buffer): Make defvar-local; adjust docstring.
2754 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2755 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2756
051f2775
AS
27572013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2758
2759 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2760
f24e7572
GM
27612013-07-12 Eli Zaretskii <eliz@gnu.org>
2762
2763 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2764 (Bug#14842)
2765
539a920c
GM
27662013-07-12 Glenn Morris <rgm@gnu.org>
2767
2768 * doc-view.el: Require cl-lib at runtime too.
2769 (doc-view-remove-if): Remove.
2770 (doc-view-search-next-match, doc-view-search-previous-match):
2771 Use cl-remove-if.
2772
2773 * edmacro.el: Require cl-lib at runtime too.
2774 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2775 (edmacro-mismatch, edmacro-subseq): Remove.
2776
2777 * shadowfile.el: Require cl-lib.
2778 (shadow-remove-if): Remove.
2779 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2780 Use cl-remove-if.
2781
2782 * wid-edit.el: Require cl-lib.
2783 (widget-choose): Use cl-remove-if.
2784 (widget-remove-if): Remove.
2785
2786 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2787 (ebrowse-delete-if-not): Remove.
2788 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2789 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2790 Use cl-delete-if-not.
2791
1048af7c
JB
27922013-07-12 Juanma Barranquero <lekktu@gmail.com>
2793
2794 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2795 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2796
6c0674ee
LL
27972013-07-12 Leo Liu <sdl.web@gmail.com>
2798
2799 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2800
a19b3c2d
GM
28012013-07-11 Glenn Morris <rgm@gnu.org>
2802
4582a01c
GM
2803 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2804 (edebug-gensym-index, edebug-gensym):
2805 Remove reimplementation of cl-gensym.
2806 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2807
2808 * thumbs.el: Require cl-lib at run-time too.
2809 (thumbs-gensym-counter, thumbs-gensym):
2810 Remove reimplementation of cl-gensym.
2811 (thumbs-temp-file): Use cl-gensym.
2812
a19b3c2d
GM
2813 * emacs-lisp/ert.el: Require cl-lib at runtime too.
2814 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2815 (ert--intersection, ert--set-difference, ert--set-difference-eq)
2816 (ert--union, ert--gensym-counter, ert--gensym-counter)
2817 (ert--coerce-to-vector, ert--remove*, ert--string-position)
2818 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2819 (ert-make-test-unbound, ert--expand-should-1)
2820 (ert--expand-should, ert--should-error-handle-error)
2821 (should-error, ert--explain-equal-rec)
2822 (ert--plist-difference-explanation, ert-select-tests)
2823 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2824 Use cl-lib functions rather than reimplementations.
2825
88f6a933
MA
28262013-07-11 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * net/tramp.el (tramp-methods): Extend docstring.
2829 (tramp-connection-timeout): New defcustom.
2830 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2831 (with-tramp-progress-reporter): Simplify.
2832 (tramp-process-actions): Improve messages.
2833
2834 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2835 * net/tramp-sh.el (tramp-maybe-open-connection):
2836 Use `tramp-connection-timeout'.
2837 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2838 (Bug#14808)
2839
a43d577e
LL
28402013-07-11 Leo Liu <sdl.web@gmail.com>
2841
2842 * ido.el (ido-read-file-name): Conform to the requirements of
2843 read-file-name. (Bug#11861)
2844 (ido-read-directory-name): Conform to the requirements of
2845 read-directory-name.
2846
d77974bf
JB
28472013-07-11 Juanma Barranquero <lekktu@gmail.com>
2848
2849 * subr.el (delay-warning): New function.
2850
35cb8a3e
EZ
28512013-07-10 Eli Zaretskii <eliz@gnu.org>
2852
2853 * simple.el (default-line-height): New function.
2854 (line-move-partial, line-move): Use it instead of computing the
2855 line height inline.
2856 (line-move-partial): Always compute ROWH. If the last line is
2857 partially-visible, but its text is completely visible, allow
2858 cursor to enter such a partially-visible line.
2859
525c5c77
MA
28602013-07-10 Michael Albinus <michael.albinus@gmx.de>
2861
2862 Improve error messages. (Bug#14808)
2863
2864 * net/tramp.el (tramp-current-connection): New defvar, moved from
2865 tramp-sh.el.
0ac26976 2866 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 2867 needed anymore.
0ac26976
SM
2868 (tramp-error-with-buffer): Show message in minibuffer.
2869 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
2870 (with-tramp-progress-reporter): Improve messages.
2871 (tramp-process-actions): Use progress reporter. Delete process in
2872 case of error. Improve messages.
2873
763a086d
JB
2874 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2875 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 2876 (tramp-current-connection): Remove.
525c5c77
MA
2877 (tramp-maybe-open-connection): The car of
2878 `tramp-current-connection' are the first 3 slots of the vector.
2879
c7a4d368
TZ
28802013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
2881
2882 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2883 inside continued strings.
2884
954b166e
PE
28852013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2886
2887 Timestamp fixes for undo (Bug#14824).
2888 * files.el (clear-visited-file-modtime): Move here from fileio.c.
2889
56973319
LL
28902013-07-10 Leo Liu <sdl.web@gmail.com>
2891
2892 * files.el (require-final-newline): Allow safe local value.
2893 (Bug#14834)
2894
5550a72c
LL
28952013-07-09 Leo Liu <sdl.web@gmail.com>
2896
2897 * ido.el (ido-read-directory-name): Handle fallback.
2898 (ido-read-file-name): Update DIR to ido-current-directory.
2899 (Bug#1516)
c28b9050 2900 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 2901
70c46b28
DG
29022013-07-09 Dmitry Gutov <dgutov@yandex.ru>
2903
2904 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2905 "autoload". Remove "warn lower camel case" section, previously
2906 commented out. Highlight negation char. Do not highlight the
2907 target in singleton method definitions.
2908
0b64b838
SM
29092013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2910
7fd72e2c
SM
2911 * faces.el (tty-setup-hook): Declare the hook.
2912
0b64b838
SM
2913 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2914 and detect when a guard/pred depends on local vars (bug#14773).
2915 (pcase--u1): Adjust caller.
2916
ab49d60b
EZ
29172013-07-08 Eli Zaretskii <eliz@gnu.org>
2918
2919 * simple.el (line-move-partial, line-move): Account for
2920 line-spacing.
701d79aa
EZ
2921 (line-move-partial): Avoid setting vscroll when the last
2922 partially-visible line in window is of default height.
ab49d60b 2923
2d756ae0
LMI
29242013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2925
2926 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2927 been used a while.
2928
ed095bd7
JB
29292013-07-07 Juanma Barranquero <lekktu@gmail.com>
2930
2931 * subr.el (read-quoted-char): Remove unused local variable `char'.
2932
f1e6674b
MK
29332013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
2934
584ee3fc
GM
2935 * ediff.el (ediff-version): Version update.
2936 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2937 (ediff-merge-with-ancestor-command, ediff-directories-command)
2938 (ediff-directories3-command, ediff-merge-directories-command)
2939 (ediff-merge-directories-with-ancestor-command): New functions.
2940 All are command-line interfaces to ediff: to facilitate calling
2941 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
2942
2943 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
2944 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 2945
584ee3fc
GM
2946 * viper.el (viper-version): Version update.
2947 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 2948
584ee3fc
GM
29492013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
2950
2951 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
2952 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
2953 (viper-intercept-ESC-key): Simplify.
2954 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
2955 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
2956 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
2957 (viper-setup-ESC-to-escape): New functions.
2958 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
2959 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 2960
9aff9b38
EZ
29612013-07-07 Eli Zaretskii <eliz@gnu.org>
2962
5165d44a
JB
2963 * simple.el (default-font-height, window-screen-lines):
2964 New functions.
9aff9b38
EZ
2965 (line-move, line-move-partial): Use them instead of
2966 frame-char-height and window-text-height. This makes scrolling
2967 text smoother when the buffer's default face uses a font that is
2968 different from the frame's default font.
2969
1afb1d07
JD
29702013-07-06 Jan Djärv <jan.h.d@swipnet.se>
2971
2972 * files.el (write-file): Do not display confirm dialog for NS,
2973 it does its own dialog, which can't be cancelled (Bug#14578).
2974
23de972a
EZ
29752013-07-06 Eli Zaretskii <eliz@gnu.org>
2976
2977 * simple.el (line-move-partial): Adjust the row returned by
2978 posn-at-point for the current window-vscroll. (Bug#14567)
2979
54a42486
MA
29802013-07-06 Michael Albinus <michael.albinus@gmx.de>
2981
2982 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
2983 (tramp-sh-file-inotifywait-process-filter): Handle file names with
2984 spaces.
2985
34ada5f4
MR
29862013-07-06 Martin Rudalics <rudalics@gmx.at>
2987
2988 * window.el (window-state-put-stale-windows): New variable.
2989 (window--state-put-2): Save list of windows without matching buffer.
2990 (window-state-put): Remove "bufferless" windows if possible.
2991
11e03d89
JB
29922013-07-06 Juanma Barranquero <lekktu@gmail.com>
2993
2994 * simple.el (alternatives-define): Remove leftover :group keyword.
2995 Tweak docstring.
2996
3504a4be
LL
29972013-07-06 Leo Liu <sdl.web@gmail.com>
2998
2999 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3000 (ido-enable-virtual-buffers): New variable.
3001 (ido-buffer-internal, ido-toggle-virtual-buffers)
3002 (ido-make-buffer-list): Use it.
3003 (ido-exhibit): Support turning on and off virtual buffers
3004 automatically.
3005
61e56e2c
JB
30062013-07-06 Juanma Barranquero <lekktu@gmail.com>
3007
3008 * simple.el (alternatives-define): New macro.
3009
321e1a9c
SM
30102013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3011
3012 * subr.el (read-quoted-char): Use read-key.
3013 (sit-for): Let read-event decode tty input (bug#14782).
3014
d610f6dd
SB
30152013-07-05 Stephen Berman <stephen.berman@gmx.net>
3016
3017 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
3018 mode command and externally. Fix various related bugs.
3019 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
3020 (todo-delete-file): New command.
3021 (todo-check-file): New function.
3022 (todo-show): Handle external deletion of the file we're trying to
3023 show (bug#14688). Replace called-interactively-p by an optional
3024 prefix argument to avoid problematic interaction with catch form
3025 when byte compiled (bug#14702).
3026 (todo-quit): Handle external deletion of the archive's todo file.
3027 Make sure the buffer that was visiting the archive file is still
3028 live before trying to bury it.
3029 (todo-category-completions): Handle external deletion of any
3030 category completion files.
3031 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3032 of todo files, in case of external deletion.
3033 (todo-add-file): Replace unnecessary setq by let-binding.
3034 (todo-find-archive): Check whether there are any archives.
3035 Replace unnecessary setq by let-binding.
3036 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
3037 archive buffer whether or not the archive already exists.
3038 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
3039 check if the archive is new; if it is, update list of archives.
3040 (todo-default-todo-file): Allow nil to be a valid value for when
3041 there are no todo files.
3042 (todo-reevaluate-default-file-defcustom): Use corrected definition
3043 of todo-default-todo-file.
3044 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3045 (todo-delete-category, todo-show-categories-table)
3046 (todo-category-number): Clarify comment.
3047 (todo-filter-items): Clarify documentation string.
3048 (todo-show-current-file, todo-display-as-todo-file)
3049 (todo-reset-and-enable-done-separator): Tweak documentation string.
3050 (todo-done-separator): Make separator length window-width, since
3051 bug#2749 is now fixed.
3052
ddbdfd6f
MA
30532013-07-05 Michael Albinus <michael.albinus@gmx.de>
3054
321e1a9c
SM
3055 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3056 Support both "gvfs-monitor-dir" and "inotifywait".
3057 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
3058 `tramp-sh-file-notify-process-filter'.
3059 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3060 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3061
96eb829a
LL
30622013-07-05 Leo Liu <sdl.web@gmail.com>
3063
3064 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3065
cf13177e
YM
30662013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3067
3068 * frame.el (display-pixel-height, display-pixel-width)
3069 (display-mm-height, display-mm-width): Mention behavior on
3070 multi-monitor setups in docstrings.
3071 (w32-display-monitor-attributes-list): Declare function.
3072 (display-monitor-attributes-list): Use it.
3073
864c58ca
MA
30742013-07-04 Michael Albinus <michael.albinus@gmx.de>
3075
3076 * filenotify.el: New package.
3077
3078 * autorevert.el (top): Require filenotify.el.
3079 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3080 instead.
3081 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3082 (auto-revert-notify-handler): Use `file-notify-*' functions.
3083
3084 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3085
321e1a9c
SM
3086 * net/tramp.el (tramp-file-name-for-operation):
3087 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
3088
3089 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3090 for `file-notify-add-watch' and `file-notify-rm-watch'.
3091 (tramp-process-sentinel): Improve trace.
3092 (tramp-sh-handle-file-notify-add-watch)
3093 (tramp-sh-file-notify-process-filter)
3094 (tramp-sh-handle-file-notify-rm-watch)
3095 (tramp-get-remote-inotifywait): New defuns.
3096
96673afe
JL
30972013-07-03 Juri Linkov <juri@jurta.org>
3098
3099 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3100 call of `occur-read-primary-args' to interactive spec.
3101
3102 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3103 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3104
924494f4
MM
31052013-07-03 Matthias Meulien <orontee@gmail.com>
3106
3107 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3108 `Buffer-menu-multi-occur'. Add it to the menu.
3109 (Buffer-menu-mode): Document it in docstring.
3110 (Buffer-menu-multi-occur): New command. (Bug#14673)
3111
56f75efc
DG
31122013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3113
3114 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3115 keywords and built-ins.
3116
9b057d61
GM
31172013-07-03 Glenn Morris <rgm@gnu.org>
3118
208dee4d
GM
3119 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3120
9b057d61
GM
3121 Make info-xref checks case-sensitive by default
3122 * info.el (Info-find-node, Info-find-in-tag-table)
3123 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3124 Add option for exact case matching of nodes.
3125 * info-xref.el (info-xref): New custom group.
3126 (info-xref-case-fold): New option.
3127 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3128
e01aa29c
LL
31292013-07-03 Leo Liu <sdl.web@gmail.com>
3130
3131 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3132
3086ca2e
DG
31332013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3134
3135 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3136 middle of block statement initially, lower the depth. Remove
3137 FIXME comment, not longer valid. Remove middle of block statement
3138 detection, no need to do that anymore since we've been using
3139 `ruby-parse-region' here.
3140
a3b49114
JD
31412013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3142
3143 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3144
08e5c823 31452013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
3146
3147 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3148
2addf922
JB
31492013-07-01 Juanma Barranquero <lekktu@gmail.com>
3150
3151 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3152 (desktop-restore-in-current-display): New customization option.
3153 (desktop--excluded-frame-parameters): Add `font'.
3154 (desktop--save-frames): Rename from desktop--save-windows.
3155 (desktop--restore-in-this-display-p): New function.
3156 (desktop--make-full-frame): Remove unwanted width/height from
3157 full(width|height) frames.
3158 (desktop--restore-frames): Rename from desktop--restore-windows.
3159 Obey desktop-restore-current-display. Do not delete old frames or
3160 select a new frame unless we were able to restore at least one frame.
3161
ef099a94
MN
31622013-06-30 Michal Nazarewicz <mina86@mina86.com>
3163
3164 * files.el (find-file-noselect): Simplify conditional expression.
3165
3166 * remember.el (remember-append-to-file):
3167 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3168
3169 Add `remember-notes' function to store random notes across Emacs
3170 restarts.
3171 * remember.el (remember-data-file): Add :set callback to affect
3172 notes buffer (if any).
3173 (remember-notes): New command.
3174 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3175 New defcustoms for the `remember-notes' function.
3176 (remember-notes-save-and-bury-buffer): New command.
3177 (remember-notes-mode-map): New variable.
3178 (remember-mode): New minor mode.
3179 (remember-notes--kill-buffer-query): New function.
3180 * startup.el (initial-buffer-choice): Add notes to custom type.
3181
0865d506
EZ
31822013-06-30 Eli Zaretskii <eliz@gnu.org>
3183
0ba54312
EZ
3184 * bindings.el (right-char, left-char): Don't call sit-for, this is
3185 no longer needed. Use arithmetic comparison only for numerical
3186 arguments.
3187
ef099a94
MN
3188 * international/mule-cmds.el (select-safe-coding-system):
3189 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 3190
2fae38e5
LMI
31912013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3192
3193 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3194 progression on degenerate tables.
ef099a94 3195 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 3196
a47cbd64
JB
31972013-06-30 Juanma Barranquero <lekktu@gmail.com>
3198
3199 Some fixes and improvements for desktop frame restoration.
3200 It is still experimental and disabled by default.
3201 * desktop.el (desktop--save-windows): Put the selected frame at
3202 the head of the list.
3203 (desktop--make-full-frame): New function.
3204 (desktop--restore-windows): Try to re-select the frame that was
3205 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
3206 just show an error message and continue. Set up maximized frames
3207 so they have default non-maximized dimensions.
a47cbd64 3208
6dbafa30
DG
32092013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3210
ef099a94
MN
3211 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3212 Don't start heredoc inside a string or comment.
6dbafa30 3213
4c672a0f
EZ
32142013-06-29 Eli Zaretskii <eliz@gnu.org>
3215
3216 * bindings.el (visual-order-cursor-movement): New defcustom.
3217 (right-char, left-char): Provide visual-order cursor motion by
3218 calling move-point-visually. Update the doc strings.
3219
50960f36
KH
32202013-06-28 Kenichi Handa <handa@gnu.org>
3221
3222 * international/mule.el (define-coding-system): New coding system
3223 properties :inhibit-null-byte-detection,
3224 :inhibit-iso-escape-detection, and :prefer-utf-8.
3225 (set-buffer-file-coding-system): If :charset-list property of
3226 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3227 appropriate for setting.
3228
c1ea3abf
JB
3229 * international/mule-cmds.el (select-safe-coding-system):
3230 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3231 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
3232
3233 * international/mule-conf.el (prefer-utf-8): New coding system.
3234 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3235 files.
3236
75dbaf9d
IK
32372013-06-28 Ivan Kanis <ivan@kanis.fr>
3238
eadb6068
IK
3239 * net/shr.el (shr-render-region): New function.
3240
75dbaf9d
IK
3241 * net/eww.el: Autoload `eww-browse-url'.
3242
9ea5cf9f
DG
32432013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3244
c1ea3abf
JB
3245 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3246 Adapt to `package-desc-version' being a list.
3247 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
3248 archive element.
3249
39c0e36f
JB
32502013-06-27 Juanma Barranquero <lekktu@gmail.com>
3251
3252 New experimental feature to save&restore window and frame setup.
3253 * desktop.el (desktop-save-windows): New defcustom.
3254 (desktop--saved-states): New var.
3255 (desktop--excluded-frame-parameters): New defconst.
3256 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3257 (desktop--restore-windows, desktop--save-windows): New functions.
3258 (desktop-save): Call `desktop--save-windows'.
3259 (desktop-read): Call `desktop--restore-windows'.
3260
7f13406b
LMI
32612013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3262
ef099a94 3263 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 3264
1e072639
SB
32652013-06-27 Stephen Berman <stephen.berman@gmx.net>
3266
3267 * info.el (Info-try-follow-nearest-node): Move search for footnote
3268 above search for node name to prevent missing a footnote (bug#14717).
3269
f3e2cbde
SB
32702013-06-27 Stephen Berman <stephen.berman@gmx.net>
3271
3272 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3273
99906aa0
LL
32742013-06-27 Leo Liu <sdl.web@gmail.com>
3275
3276 * net/eww.el (eww-read-bookmarks): Check file size.
3277
539f75f4
SM
32782013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3281 advice--pending if newdef is nil or an autoload (bug#13820).
3282 (advice-mapc): New function.
3283
843571cb
LMI
32842013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3285
3286 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3287 probably.
23a75d7f 3288 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
3289 (eww-add-bookmark): New command.
3290 (eww-bookmark-mode): New mode and commands.
a285ce99 3291 (eww-add-bookmark): Remove newlines from the title.
47fd571b 3292 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 3293
f2136e1e
GM
32942013-06-26 Glenn Morris <rgm@gnu.org>
3295
eab35f39
GM
3296 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3297 (hfy-size): Handle ttys. (Bug#14668)
3298
f2136e1e
GM
3299 * info-xref.el: Update for Texinfo 5 change in *note format.
3300 (info-xref-node-re, info-xref-note-re): New constants.
3301 (info-xref-check-buffer): Use info-xref-note-re.
3302
a49ff80c
SM
33032013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3304
a343d218
SM
3305 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3306
a49ff80c
SM
3307 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3308 nil terminate the loop (bug#14718).
3309
8308f184
LMI
33102013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3311
3312 * net/eww.el: Rework history traversal. When going forward/back,
3313 put these actions into the history, too, so that they can be
3314 replayed.
26bf2b82 3315 (eww-render): Move the history reset to the correct buffer.
8308f184 3316
ec64c273
JL
33172013-06-25 Juri Linkov <juri@jurta.org>
3318
3319 * files-x.el (modify-dir-local-variable): Change the header comment
3320 in the file with directory local variables. (Bug#14692)
3321
e080a9d7
JL
3322 * files-x.el (read-file-local-variable-value): Add `default'.
3323 (Bug#14710)
3324
bfbc93a1
IK
33252013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3326
3327 * net/eww.el (eww-make-unique-file-name): Create a unique file
3328 name before saving to entering `y' accidentally asynchronously.
3329
33302013-06-25 Ivan Kanis <ivan@kanis.fr>
3331
3332 * net/eww.el (eww-download): New command and keystroke.
3333
16f74f10
LMI
33342013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3335
a49ff80c 3336 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
3337
3338 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3339 be more consistent with Info and dired.
3340
3341 * net/eww.el (eww-mode-map): Ditto.
3342
12059709
SM
33432013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3346 packages from archives.
3347 (package-archive-contents): Change format; include obsolete packages.
3348 (package-desc): Use `dir' to mark builtin packages.
3349 (package--from-builtin): Set the `dir' field to `builtin'.
3350 (generated-autoload-file, version-control): Declare.
3351 (package-compute-transaction): Change first arg and return value to be
3352 lists of package-descs. Adjust to new package-archive-contents format.
3353 (package--add-to-archive-contents): Adjust to new
3354 package-archive-contents format.
3355 (package-download-transaction): Arg is now a list of package-descs.
3356 (package-install): If `pkg' is a package name, pass it as
3357 a requirement, so it is subject to the usual (e.g. disabled) checks.
3358 (describe-package): Accept package-desc as well.
3359 (describe-package-1): Describe a specific package-desc. Add links to
3360 other package-descs for the same package name.
3361 (package-menu-describe-package): Pass the actual package-desc.
3362 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3363 works correctly.
3364 (package-desc-status): New function.
3365 (package-menu--refresh): New function, extracted
3366 from package-menu--generate.
3367 (package-menu--generate): Use it.
3368 (package-delete): Update package-alist.
3369 (package-menu-execute): Don't call package-initialize.
3370
3371 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3372 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3373 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3374 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3375 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3376 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3377
8bbdea0f
MR
33782013-06-25 Martin Rudalics <rudalics@gmx.at>
3379
3380 * window.el (window--state-get-1): Workaround for bug#14527.
3381 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3382
e82b0991
LMI
33832013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3384
3385 * net/eww.el (eww-back-url): Implement the history by stashing all
3386 the data into a list.
d3f0f918 3387 (eww-forward-url): Allow going forward in the history, too.
e82b0991 3388
c763842b
SM
33892013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3392 for values and use read--expression for expressions (bug#14710).
3393 (read-file-local-variable): Avoid setq.
3394 (read-file-local-variable-mode): Use minor-mode-list.
3395
bceff189
RW
33962013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3397
864c58ca 3398 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
3399 for DOI URLs.
3400
45f431c6
RW
34012013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3402
864c58ca 3403 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
3404 Update imenu-support when dialect changes.
3405
f42d8237
LL
34062013-06-25 Leo Liu <sdl.web@gmail.com>
3407
3408 * ido.el (ido-read-internal): Allow forward slash on windows.
3409
be549ce6
LMI
34102013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3411
3412 * net/eww.el (eww): Start of strings is \\`, not ^.
3413
71d4c19d
IK
34142013-06-24 Ivan Kanis <ivan@kanis.fr>
3415
5196f88a
IK
3416 * net/shr.el (shr-browse-url): Fix interactive spec.
3417
71d4c19d
IK
3418 * net/eww.el (eww): Add a trailing slash to domain names.
3419
ae36ca55
JB
34202013-06-24 Juanma Barranquero <lekktu@gmail.com>
3421
3422 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3423
0ebd92a3
LMI
34242013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3425
bdaa086b
LMI
3426 * net/shr.el (shr-browse-url): Use an external browser if given a
3427 prefix.
3428
c763842b 3429 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 3430
b89fc156
IK
34312013-06-24 Ivan Kanis <ivan@kanis.fr>
3432
3433 * net/eww.el (eww): Work more correctly for file: URLs.
3434 (eww-detect-charset): Allow quoted charsets.
3435 (eww-yank-page-url): New command and keystroke.
3436
18eb4bca
DU
34372013-06-24 Daiki Ueno <ueno@gnu.org>
3438
3439 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3440 file name of gpg executable.
3441 (epg-context-program): New function.
3442 (epg-context-home-directory): New function.
3443 (epg-context-set-program): New function.
3444 (epg-context-set-home-directory): New function.
3445 (epg--start): Use `epg-context-program' instead of
3446 'epg-gpg-program'.
3447 (epg--list-keys-1): Likewise.
3448
6c6268c8
LL
34492013-06-24 Leo Liu <sdl.web@gmail.com>
3450
3451 * ido.el (ido-read-internal): Fix bug#14620.
3452
5e400cb3
JB
34532013-06-23 Juanma Barranquero <lekktu@gmail.com>
3454
3455 * faces.el (face-documentation): Simplify.
3456 (read-face-attribute, tty-find-type, x-resolve-font-name):
3457 Use `string-match-p'.
3458 (list-faces-display): Use `string-match-p'. Simplify.
3459 (face-spec-recalc): Check face to avoid face alias loops.
3460 (read-color): Use `string-match-p' and non-capturing parenthesis.
3461
f3f9606c
LMI
34622013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3463
3464 * net/shr.el (shr-rescale-image): Use the new
3465 :max-width/:max-height functionality.
3466
a3ca09b9
IK
34672013-06-23 Ivan Kanis <ivan@kanis.fr>
3468
3469 * net/eww.el (eww-search-prefix): New variable.
3470 (eww): Use it.
f865b474
IK
3471 (eww-external-browser): New variable.
3472 (eww-mode-map): New keystroke.
3473 (eww-browse-with-external-browser): New command.
a3ca09b9 3474
e854cfc7
IK
3475 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3476
18bb9e21
JB
34772013-06-23 Juanma Barranquero <lekktu@gmail.com>
3478
3479 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3480 Don't skip aligning the next header field when padding is 0;
3481 otherwise, field width is not respected unless the title is as
3482 wide as the field.
3483
5b165ade
SM
34842013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * emacs-lisp/package.el (package-el-version): Remove.
3487 (package-process-define-package): Fix inf-loop.
3488 (package-install): Allow symbols as arguments again.
3489
12adebe9
DG
34902013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3491
3492 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3493 add some more keyword-like methods.
3494 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3495
388573ee
JB
34962013-06-22 Juanma Barranquero <lekktu@gmail.com>
3497
3498 * bs.el (bs-buffer-show-mark): Make defvar-local.
3499 (bs-mode): Use setq-local.
3500
3501 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3502 (emacs-lock--try-unlocking): Make defvar-local.
3503
4582a01c 35042013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 3505
2663dd23
GM
3506 * play/cookie1.el (cookie-apropos): Minor simplification.
3507
3d94f3ad
GM
3508 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3509
f72e2fdb
DG
35102013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3511
3512 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3513 `regexp-opt', it breaks the build during dumping.
3514
73eab938
DG
35152013-06-21 Dmitry Gutov <dgutov@yandex.ru>
3516
c763842b
SM
3517 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3518 Highlight keyword-like methods on Kernel and Module with
73eab938 3519 font-lock-builtin-face.
5cf8176d
DG
3520 (auto-mode-alist): Consolidate different entries into one regexp
3521 and add more *file-s.
73eab938 3522
d26255f6
SB
35232013-06-21 Stephen Berman <stephen.berman@gmx.net>
3524
3525 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3526
3527 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3528 (diary-entry): Use it in the action of this button type instead of
3529 diary-goto-entry.
3530
3531 * calendar/todo-mode.el: New version.
3532 (todo-add-category): Append new category to end of file and give
3533 it the highest number, instead of putting it at the beginning and
3534 giving it 0. Incorporate noninteractive functionality.
3535 (todo-forward-category): Adapt to 1-based category numbering.
3536 Allow skipping over archived categories.
3537 (todo-backward-category): Derive from todo-forward-category.
3538 (todo-backward-item, todo-forward-item): Make noninteractive and
3539 delegate interactive part to new commands. Make sensitive to done items.
3540 (todo-categories): Make value an alist of category names and
3541 vectors of item counts.
3542 (todo-category-beg): Make a defconst.
3543 (todo-category-number): Use 1 instead of 0 as initial value.
3544 (todo-category-select): Make sensitive to overlays, optional item
3545 highlighting and done items.
3546 (todo-delete-item): Make sensitive to overlays and marked and done items.
3547 (todo-edit-item): Make sensitive to overlays and editing of
3548 date/time header optional. Add format checks.
3549 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
3550 no-op if point is not on an item. Advertise using todo-edit-quit.
3551 (todo-edit-mode): Make sensitive to new format, font-locking, and
3552 multiple todo files.
3553 (todo-insert-item, todo-insert-item-here): Derive from
3554 todo-basic-insert-item and extend functionality.
3555 (todo-item-end, todo-item-start): Make sensitive to done items.
3556 (todo-item-string): Don't return text properties. Restore point.
3557 (todo-jump-to-category): Make sensitive to multiple todo files and
3558 todo archives. Use extended category completion.
3559 (todo-lower-item, todo-raise-item): Rename to *-priority and
3560 derive from todo-set-item-priority.
3561 (todo-mode): Derive from special-mode. Make sensitive to new
3562 format, font-locking and multiple todo files. Make read-only.
3563 (todo-mode-map): Don't suppress digit keys, so they can supply
3564 prefix arguments. Add many new key bindings.
3565 (todo-prefix): Insert as an overlay instead of file text.
3566 Change semantics from diary date expression to purely visual mark.
3567 (todo-print): Rename to todo-print-buffer. Make buffer display
3568 features printable. Remove option to restrict number of items
3569 printed. Add option to print to file.
3570 (todo-print-function): Rename to todo-print-buffer-function.
3571 (todo-quit): Extend to handle exiting new todo modes.
3572 (todo-remove-item): Make sensitive to overlays.
3573 (todo-save): Extend to buffers of filtered items.
3574 (todo-show): Make sensitive to done items, multiple todo files and
3575 new todo modes. Offer to convert legacy todo file before creating
3576 first new todo file.
3577 (todo-show-priorities): Rename to todo-top-priorities.
3578 Change semantics of value 0.
3579 (todo-top-priorities): Rename to todo-filter-top-priorities,
3580 derive from todo-filter-items and extend functionality.
3581 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
3582 and extend functionality to other types of filtered items.
3583 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
3584 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
3585 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
3586 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
3587 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
3588 (todo-edit-mode-hook, todo-entry-prefix-function)
3589 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
3590 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
3591 (todo-initials, todo-insert-threshold, todo-item-string-start)
3592 (todo-line-string, todo-menu, todo-mode-hook)
3593 (todo-more-important-p, todo-previous-answer, todo-previous-line)
3594 (todo-print-priorities, todo-remove-separator)
3595 (todo-save-top-priorities-too, todo-string-count-lines)
3596 (todo-string-multiline-p, todo-time-string-format)
3597 (todo-tmp-buffer-name): Remove.
3598 (todo-add-file, todo-archive-done-item, todo-choose-archive)
3599 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
3600 (todo-edit-category-diary-inclusion)
3601 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
3602 (todo-edit-file, todo-edit-item-date-day)
3603 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
3604 (todo-edit-item-date-month, todo-edit-item-date-to-today)
3605 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3606 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3607 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3608 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3609 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3610 (todo-filter-top-priorities-multifile, todo-find-archive)
3611 (todo-find-filtered-items-file, todo-go-to-source-item)
3612 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3613 (todo-jump-to-archive-category, todo-lower-category)
3614 (todo-mark-category, todo-marked-item-p, todo-merge-category)
3615 (todo-move-category, todo-move-item, todo-next-button)
3616 (todo-next-item, todo-padded-string, todo-powerset)
3617 (todo-previous-button, todo-previous-item)
3618 (todo-print-buffer-to-file, todo-raise-category)
3619 (todo-rename-category, todo-repair-categories-sexp, todo-search)
3620 (todo-set-category-number, todo-set-item-priority)
3621 (todo-set-top-priorities-in-category)
3622 (todo-set-top-priorities-in-file, todo-show-categories-table)
3623 (todo-sort-categories-alphabetically-or-numerically)
3624 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3625 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3626 (todo-toggle-item-header, todo-toggle-item-highlighting)
3627 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3628 (todo-toggle-view-done-items, todo-toggle-view-done-only)
3629 (todo-unarchive-items, todo-unmark-category): New commands.
3630 (todo-absolute-file-name, todo-add-to-buffer-list)
3631 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3632 (todo-basic-insert-item, todo-category-completions)
3633 (todo-category-number, todo-category-string-matcher-1)
3634 (todo-category-string-matcher-2, todo-check-filtered-items-file)
3635 (todo-check-format, todo-clear-matches)
3636 (todo-comment-string-matcher, todo-convert-legacy-date-time)
3637 (todo-current-category, todo-date-string-matcher)
3638 (todo-define-insertion-command, todo-diary-expired-matcher)
3639 (todo-diary-goto-entry, todo-diary-item-p)
3640 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3641 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3642 (todo-done-item-section-p, todo-done-separator)
3643 (todo-done-string-matcher, todo-files, todo-filter-items)
3644 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3645 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3646 (todo-insert-category-line, todo-insert-item-from-calendar)
3647 (todo-insert-sort-button, todo-insert-with-overlays)
3648 (todo-insertion-command-name, todo-insertion-key-bindings)
3649 (todo-label-to-key, todo-longest-category-name-length)
3650 (todo-make-categories-list, todo-mode-external-set)
3651 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3652 (todo-modes-set-3, todo-multiple-filter-files)
3653 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3654 (todo-read-category, todo-read-date, todo-read-dayname)
3655 (todo-read-file-name, todo-read-time)
3656 (todo-reevaluate-category-completions-files-defcustom)
3657 (todo-reevaluate-default-file-defcustom)
3658 (todo-reevaluate-filelist-defcustoms)
3659 (todo-reevaluate-filter-files-defcustom)
3660 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3661 (todo-reset-done-separator, todo-reset-done-separator-string)
3662 (todo-reset-done-string, todo-reset-global-current-todo-file)
3663 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3664 (todo-reset-prefix, todo-set-categories)
3665 (todo-set-date-from-calendar, todo-set-show-current-file)
3666 (todo-set-top-priorities, todo-short-file-name)
3667 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3668 (todo-total-item-counts, todo-update-buffer-list)
3669 (todo-update-categories-display, todo-update-categories-sexp)
3670 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3671 New functions.
3672 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3673 New major modes.
3674 (todo-categories, todo-display, todo-edit, todo-faces)
3675 (todo-filtered): New defgroups.
3676 (todo-archived-only, todo-button, todo-category-string, todo-date)
3677 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3678 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3679 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3680 (todo-add-item-if-new-category, todo-always-add-time-string)
3681 (todo-categories-align, todo-categories-archived-label)
3682 (todo-categories-category-label, todo-categories-diary-label)
3683 (todo-categories-done-label, todo-categories-number-separator)
3684 (todo-categories-todo-label, todo-categories-totals-label)
3685 (todo-category-completions-files, todo-completion-ignore-case)
3686 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3687 (todo-done-separator-string, todo-done-string)
3688 (todo-files-function, todo-filter-done-items, todo-filter-files)
3689 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3690 (todo-initial-category, todo-initial-file, todo-item-mark)
3691 (todo-legacy-date-time-regexp, todo-mode-line-function)
3692 (todo-nondiary-marker, todo-number-prefix)
3693 (todo-print-buffer-function, todo-show-current-file)
3694 (todo-show-done-only, todo-show-first, todo-show-with-done)
3695 (todo-skip-archived-categories, todo-top-priorities-overrides)
3696 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3697 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3698 New defcustoms.
3699 (todo-category-done, todo-date-pattern, todo-date-string-start)
3700 (todo-diary-items-buffer, todo-done-string-start)
3701 (todo-filtered-items-buffer, todo-item-start)
3702 (todo-month-abbrev-array, todo-month-name-array)
3703 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3704 (todo-top-priorities-buffer): New defconsts.
3705 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3706 (todo-categories-with-marks, todo-category-string-face)
3707 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3708 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3709 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3710 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3711 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3712 (todo-font-lock-keywords, todo-global-current-todo-file)
3713 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3714 (todo-insertion-commands-args)
3715 (todo-insertion-commands-args-genlist)
3716 (todo-insertion-commands-names, todo-insertion-map)
3717 (todo-key-bindings-t, todo-key-bindings-t+a)
3718 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3719 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3720 (todo-nondiary-face, todo-print-buffer, todo-time-face)
3721 (todo-visited): New variables.
3722
cad5d1cb
GM
37232013-06-21 Glenn Morris <rgm@gnu.org>
3724
3725 * play/cookie1.el (cookie-apropos): Add optional display argument.
3726 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3727 (psychoanalyze-pinhead): Use cookie-doctor.
3728
9e277302
JB
37292013-06-21 Juanma Barranquero <lekktu@gmail.com>
3730
3731 * emacs-lisp/package.el (tar-get-file-descriptor)
3732 (tar--extract): Declare.
3733
c5b0993e
EW
37342013-06-21 Eduard Wiebe <usenet@pusto.de>
3735
3736 Extend flymake's warning predicate to be a function (bug#14217).
3737 * progmodes/flymake.el (flymake-warning-predicate): New.
3738 (flymake-parse-line): Use it.
3739 (flymake-warning-re): Make obsolete alias to
3740 `flymake-warning-predicate'.
3741
a7d2d465
SM
37422013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3745 (package-obsolete-list): Remove.
3746 (package-activate): Remove min-version argument. Add `force' argument.
3747 Adjust to new package-alist format.
3748 (package-mark-obsolete): Remove.
3749 (package-unpack): Force reload of the package's autoloads.
3750 (package-installed-p): Check builtins if the installed package is not
3751 recent enough.
3752 (package-initialize): Don't reset package-obsolete-list.
3753 Don't specify which package version to activate.
3754 (package-process-define-package, describe-package-1)
3755 (package-menu--generate): Adjust to new package-alist format.
3756
cedf5c9d
JB
37572013-06-21 Juanma Barranquero <lekktu@gmail.com>
3758
3759 * allout-widgets.el (allout-widgets-mode-off)
3760 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3761 (allout-widgets-post-command-business)
3762 (allout-widgets-after-copy-or-kill-function)
3763 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3764 (allout-decorate-item-and-context)
3765 (allout-graphics-modification-handler): Fix typos in docstrings.
3766 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3767
3768 * cmuscheme.el (scheme-start-file): Doc fix.
3769 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3770 (scheme-input-filter): Use `string-match-p'.
3771
3772 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3773
3774 * dired-x.el: Use Dired consistently in docstrings.
3775
3776 * dired.el: Use Dired consistently in docstrings.
3777 (dired-readin, dired-mode): Use `setq-local'.
3778 (dired-switches-alist): Make defvar-local.
3779 (dired-buffers-for-dir): Use `zerop'.
3780 (dired-safe-switches-p, dired-switches-escape-p)
3781 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3782 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3783 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3784 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3785 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3786 (dired-toggle-marks, dired-mark-files-containing-regexp)
3787 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3788 (dired-flag-auto-save-files, dired-flag-backup-files):
3789 Use `looking-at-p'.
3790 (dired-mark-files-regexp, dired-build-subdir-alist):
3791 Use `string-match-p', `looking-at-p'.
3792
3793 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3794 (direct-print-region-helper): Use `string-match-p'.
3795
aed838b5
LL
37962013-06-21 Leo Liu <sdl.web@gmail.com>
3797
cedf5c9d
JB
3798 * comint.el (comint-redirect-results-list-from-process):
3799 Fix infinite loop.
aed838b5 3800
d80a808f
LMI
38012013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3802
3803 * net/eww.el (eww-update-header-line-format): Quote % characters.
3804
e7a526e3
GM
38052013-06-21 Glenn Morris <rgm@gnu.org>
3806
3807 * play/cookie1.el (cookie): New custom group.
3808 (cookie-file): New option.
3809 (cookie-check-file): New function.
3810 (cookie): Make it interactive. Make start and end messages optional.
3811 Interactively, display the result. Default to cookie-file.
3812 (cookie-insert): Default to cookie-file.
3813 (cookie-snarf): Make start and end messages optional.
3814 Default to cookie-file. Use with-temp-buffer.
3815 (cookie-read): Rename from read-cookie.
3816 Make start and end messages optional. Default to cookie-file.
3817 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 3818 Do not autoload it.
e7a526e3
GM
3819 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3820 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3821
62efb35e
LL
38222013-06-21 Leo Liu <sdl.web@gmail.com>
3823
3824 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3825
21e3f963
GM
38262013-06-21 Glenn Morris <rgm@gnu.org>
3827
3828 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3829
fd846ab4
SM
38302013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3831 Daniel Hackney <dan@haxney.org>
3832
3833 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3834 Consolidate the single-file vs tarball code.
3835 (package-desc-suffix): New function.
3836 (package-desc-full-name): Don't bother inlining it.
3837 (package-load-descriptor): Return the new package-desc.
3838 (package-mark-obsolete): Remove unused arg `package'.
3839 (package-unpack): Make it work for single files as well.
3840 Make it update package-alist.
3841 (package--make-autoloads-and-stuff): Rename from
3842 package--make-autoloads-and-compile. Don't compile any more.
3843 (package--compile): New function.
3844 (package-generate-description-file): New function, extracted from
3845 package-unpack-single.
3846 (package-unpack-single): Remove.
3847 (package--with-work-buffer): Add indentation and debugging info.
3848 (package-download-single): Remove.
3849 (package-install-from-archive): Rename from package-download-tar, make
3850 it take a pkg-desc, and make it work for single files as well.
3851 (package-download-transaction): Simplify.
3852 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3853 external tar program.
3854 (package-install-from-buffer): Remove `pkg-desc' argument.
3855 Use package-tar-file-info for tar-mode buffers.
3856 (package-install-file): Simplify accordingly.
3857 (package-archive-base): Change to take a pkg-desc.
3858 * tar-mode.el (tar--check-descriptor): New function, extracted from
3859 tar-get-descriptor.
3860 (tar-get-descriptor): Use it.
3861 (tar-get-file-descriptor): New function.
3862 (tar--extract): New function, extracted from tar-extract.
3863 (tar--extract): Use it.
3864 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3865 case the summary uses non-ascii. Adjust to new calling convention of
3866 package-tar-file-info.
3867
b7deae5e
LL
38682013-06-21 Leo Liu <sdl.web@gmail.com>
3869
fd846ab4
SM
3870 * comint.el (comint-redirect-results-list-from-process):
3871 Fix random delay. (Bug#14681)
b7deae5e 3872
7a65a0b2
JB
38732013-06-21 Juanma Barranquero <lekktu@gmail.com>
3874
3875 * profiler.el (profiler-format-number): Use log, not log10.
3876
1493c2af
JB
38772013-06-20 Juanma Barranquero <lekktu@gmail.com>
3878
3879 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3880
aff6371e
SM
38812013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3884 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3885 yet available.
3886 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3887 (AUTOGENEL): ... here.
3888 * emacs-lisp/cl-macs.el (cl--sublis): New function.
3889 (cl--defsubst-expand): Use it.
3890
89561f72
PE
38912013-06-20 Paul Eggert <eggert@cs.ucla.edu>
3892
3893 * subr.el (log10): Move here from C code, and declare as obsolete.
3894 All uses of (log10 X) replaced with (log X 10).
3895
47199123
JB
38962013-06-20 Juanma Barranquero <lekktu@gmail.com>
3897
3898 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3899 Declare with `defvar-local'.
3900 (tabulated-list-use-header-line, tabulated-list-entries)
3901 (tabulated-list-padding, tabulated-list-printer)
3902 (tabulated-list-sort-key): Declare with `defvar-local'.
3903 (tabulated-list-init-header, tabulated-list-print-fake-header):
3904 Use `setq-local'.
3905
4a172eab
MA
39062013-06-20 Michael Albinus <michael.albinus@gmx.de>
3907
47199123
JB
3908 * arc-mode.el (archive-mode): Add `archive-write-file' to
3909 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 3910
5fc0acc0
JB
39112013-06-20 Juanma Barranquero <lekktu@gmail.com>
3912
d5b27848
JB
3913 * cus-edit.el (custom-commands): Fix typos.
3914 (custom-display): Fix tooltip text.
3915 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3916 Fix typos in docstrings.
3917 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3918 (custom-unlispify-menu-entry, custom-magic-value-create)
3919 (custom-add-see-also, custom-group-value-create): Use ?\s.
3920 (custom-guess-type, customize-apropos, editable-field)
3921 (custom-face-value-create): Use `string-match-p'.
3922 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3923
3924 * custom.el (custom-load-symbol): Use `string-match-p'.
3925
a5c581d8
JB
3926 * ansi-color.el: Convert to lexical binding.
3927 (ansi-colors): Fix URL.
3928 (ansi-color-context, ansi-color-context-region): Use defvar-local.
3929 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3930 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3931
970ad972
G
39322013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3933
3934 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3935
3936 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
3937
39382013-06-19 Tom Tromey <tromey@redhat.com>
3939
3940 * net/eww.el (eww-top-url): Remove.
3941 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
3942 (eww-render): Set new variables. Don't set eww-top-url.
3943 (eww-handle-link): Handle "prev", "home", and "contents".
3944 Downcase the rel text.
3945 (eww-top-url): Choose best top URL.
3946
39472013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3948
3949 * net/eww.el: Rewrite to implement form elements "by hand" instead of
3950 relying in widget.el. Using widget.el leads to too many
3951 user interface inconsistencies.
3952 (eww-self-insert): Implement entering commands in text fields.
3953 (eww-process-text-input): New function to make text input field editing
3954 work.
3955 (eww-submit): Rewrite to use the new-style form methods.
3956 (eww-select-display): Display the correct selected item.
3957 (eww-change-select): Implement changing the select value.
3958 (eww-toggle-checkbox): Implement radio/checkboxes.
3959 (eww-update-field): Fix compilation error.
3960 (eww-tag-textarea): Implement <textarea>.
3961
3962 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
3963 we don't shadow mode-specific bindings.
3964
3965 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
3966 nothing to push.
3967
3968 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
3969
4582a01c 39702013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
3971
3972 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
3973
15b263dc
MA
39742013-06-19 Michael Albinus <michael.albinus@gmx.de>
3975
3976 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
3977 not needed.
3978
3979 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
3980
8f5297f7
LMI
39812013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3982
3983 * net/browse-url.el (browse-url-browser-function):
3984 `eww-browse-url' has the right calling signature, `eww' does not.
3985
011c4552
GM
39862013-06-19 Glenn Morris <rgm@gnu.org>
3987
2285bd27
GM
3988 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3989 Only eval autoloaded macros.
3990 (byte-compile-autoload): Only give the macro warning for macros.
3991
1d653303
GM
3992 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
3993 (ps-underlined-faces): Declare.
3994
bdd779ec
GM
3995 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
3996 (speedbar-add-supported-extension): Declare.
3997
011c4552
GM
3998 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
3999 Don't include a date stamp in the header of the generated file;
4000 it leads to needless differences between output files.
4001
e59dfb0e
MA
40022013-06-19 Michael Albinus <michael.albinus@gmx.de>
4003
c763842b
SM
4004 * net/secrets.el (secrets-struct-secret-content-type):
4005 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 4006 Some servers do not offer introspection.
e59dfb0e 4007
102626e2
SM
40082013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * electric.el (electric-pair-mode): Improve interaction with
4011 electric-layout-mode.
4012 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4013 (electric-pair-syntax): Use text-mode-syntax-table in comments
4014 and strings.
4015 (electric-pair--insert): New function.
4016 (electric-pair-post-self-insert-function): Use it and
4017 electric--after-char-pos.
4018
ad528125
LL
40192013-06-19 Leo Liu <sdl.web@gmail.com>
4020
4021 * progmodes/octave.el (octave-help): Fix regexp.
4022
924d6997
G
40232013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4024
4025 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4026 (shr-table-horizontal-line): Allow nil as a value, and change the
4027 default.
4028 (shr-insert-table-ruler): Respect the nil value.
4029
40302013-06-18 Tom Tromey <tromey@barimba>
4031
4032 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4033 New defvars.
4034 (eww-open-file): New defun.
4035 (eww-render): Initialize new variables.
4036 (eww-display-html): Handle "link" and "a".
4037 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4038 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4039 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
4040 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4041 New defuns.
924d6997 4042
d1bbba4f
DG
40432013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4044
4045 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4046 Distinguish ternary operator tokens from slash symbol and slash
4047 char literal.
4048
14dd22d2
JB
40492013-06-18 Juanma Barranquero <lekktu@gmail.com>
4050
4051 Convert symbol prettification into minor mode and global minor mode.
4052
4053 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4054 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4055 (prettify-symbols--keywords): Rename from
4056 `prog-prettify-symbols-alist' and make a local defvar.
4057 (prettify-symbols--compose-symbol): Rename from
4058 `prog--prettify-font-lock-compose-symbol'.
4059 (prettify-symbols--make-keywords): Rename from
4060 `prog-prettify-font-lock-symbols-keywords' and simplify.
4061 (prog-prettify-install): Remove.
4062 (prettify-symbols-mode): New minor mode, based on
4063 `prog-prettify-install'.
4064 (turn-on-prettify-symbols-mode): New function.
4065 (global-prettify-symbols-mode): New globalized minor mode.
4066
4067 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4068 * progmodes/cfengine.el (cfengine3-mode):
4069 * progmodes/perl-mode.el (perl-mode): Don't call
4070 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4071
292c880c
JL
40722013-06-18 Juri Linkov <juri@jurta.org>
4073
4074 * files-x.el (modify-file-local-variable-message): New function.
4075 (modify-file-local-variable)
4076 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4077 and call `modify-file-local-variable-message' when it's non-nil.
4078 (add-file-local-variable, delete-file-local-variable)
4079 (add-file-local-variable-prop-line)
4080 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4081 and use it. (Bug#9820)
4082
0950aa27
JL
40832013-06-18 Juri Linkov <juri@jurta.org>
4084
4085 * emulation/vi.el (vi-shell-op):
4086 * emulation/vip.el (vip-execute-com, ex-command):
4087 * emulation/viper-cmd.el (viper-exec-bang):
4088 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4089 the call of `shell-command-on-region'. (Bug#14637)
4090
4091 * simple.el (shell-command-on-region): Doc fix.
4092
8fbcca16
SM
40932013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4094
4095 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4096 (bug#14633).
4097
dd7426ea
GM
40982013-06-18 Glenn Morris <rgm@gnu.org>
4099
4ba54f7d
GM
4100 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4101
dd7426ea
GM
4102 * newcomment.el (comment-search-forward, comment-search-backward):
4103 Doc fix. (Bug#14376)
4104
58aa805b
JB
41052013-06-18 Juanma Barranquero <lekktu@gmail.com>
4106
4107 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4108 (buffer-face-mode-invoke): Doc fix.
4109
9a08a617
MM
41102013-06-18 Matthias Meulien <orontee@gmail.com>
4111
4112 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 4113 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 4114
f2f426ca
GM
41152013-06-18 Glenn Morris <rgm@gnu.org>
4116
9445f99b
GM
4117 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4118 Replace obsolete function generic-make-keywords with its expansion.
4119
e0df2d14
GM
4120 * progmodes/python.el (ffap-alist): Declare.
4121
f2f426ca
GM
4122 * textmodes/reftex.el (bibtex-mode-map): Declare.
4123
f7f9a720
SM
41242013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4125
4126 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4127 (package-unpack, package-unpack-single): Return the pkg-dir.
4128 (package-download-transaction): Use it to update package-alist.
4129
57ff04e0
LMI
41302013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4131
4132 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4133 possible choice.
4134
c048c022
JL
41352013-06-17 Juri Linkov <juri@jurta.org>
4136
4137 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4138
b5bcaee5
DG
41392013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4140
a020afb9
JB
4141 * emacs-lisp/package.el (package-load-descriptor):
4142 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
4143 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4144
551e07e5
JB
41452013-06-17 Juanma Barranquero <lekktu@gmail.com>
4146
4147 * startup.el (command-line): Expand package name returned by
4148 `package--description-file' (bug#14639).
4149
d363bffb
DG
41502013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4151
4152 * emacs-lisp/package.el (package-load-descriptor): Do not call
4153 `emacs-lisp-mode', just use its syntax table.
4154
f612933b
JB
41552013-06-17 Juanma Barranquero <lekktu@gmail.com>
4156
4157 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4158 `font-lock-extra-managed-props' if any prettifying keyword is added.
4159 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4160 (prog-mode): Use `setq-local'.
4161
db3b7db5
SM
41622013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4163
4164 * international/characters.el (standard-case-table): Set syntax of ?»
4165 and ?« to punctuation.
4166
f3d674df
JB
41672013-06-16 Juanma Barranquero <lekktu@gmail.com>
4168
4169 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4170 Save relevant match data before calling `syntax-ppss' (bug#14595).
4171
31489a32
JL
41722013-06-15 Juri Linkov <juri@jurta.org>
4173
4174 * files-x.el (modify-file-local-variable-prop-line): Add local
4175 variables to the end of the existing comment on the first line.
4176 Use `file-auto-mode-skip' to skip interpreter magic line,
4177 and also skip XML declaration.
4178
66bd25ab
SM
41792013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4181 * startup.el (package--builtin-versions): New var.
4182 (package-subdirectory-regexp): Remove.
4183 (package--description-file): Hard code its value instead.
4184
4185 * emacs-lisp/package.el: Don't activate packages older than builtin.
4186 (package-obsolete-list): Rename from package-obsolete-alist, and make
4187 it into a simple list of package-desc.
4188 (package-strip-version): Remove.
4189 (package-built-in-p): Use package--builtin-versions.
4190 (package-mark-obsolete): Simplify.
4191 (package-process-define-package): Mark it obsolete if older than the
4192 builtin version.
4193 (package-handle-response): Use line-end-position.
4194 (package-read-archive-contents, package--download-one-archive):
4195 Simplify.
4196 (package--add-to-archive-contents): Skip if older than the builtin or
4197 installed version.
4198 (package-menu-describe-package): Fix last change.
4199 (package-list-unversioned): New var.
4200 (package-menu--generate): Use it.
4201
4202 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4203 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4204 (autoload-builtin-package-versions): New variable.
4205 (autoload-generate-file-autoloads): Use them.
4206 Remove the list of autoloaded functions/macros from the
4207 (autoload...) comments.
4208
4209 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4210
9583ec36
EZ
42112013-06-15 Eli Zaretskii <eliz@gnu.org>
4212
4213 * simple.el (line-move-partial): Don't jump to the next screen
4214 line as soon as it becomes visible. Instead, continue enlarging
4215 the vscroll until the portion of a tall screen line that's left on
4216 display is about the height of the frame's default font.
4217 (Bug#14567)
4218
f0100d8a
GM
42192013-06-15 Glenn Morris <rgm@gnu.org>
4220
b86a85ca
GM
4221 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4222 compilation-error-regexp-alist void, or local while let-bound.
4223
f0100d8a
GM
4224 * progmodes/make-mode.el (makefile-mode-syntax-table):
4225 Treat "=" as punctuation. (Bug#14614)
4226
05e7ce90
JB
42272013-06-15 Juanma Barranquero <lekktu@gmail.com>
4228
4229 * help-fns.el (describe-variable):
4230 Add extra line for permanent-local variables.
4231
12e5e86e
SH
42322013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4233
4234 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4235 Add export, import, library. (Bug#9164)
4236 (library): Set indent function.
4237
230dcbaf
GM
42382013-06-14 Glenn Morris <rgm@gnu.org>
4239
4240 * term/xterm.el (xterm--query):
4241 Stop after first matching handler. (Bug#14615)
4242
e36b2d20 42432013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
4244
4245 Add support for dired in saveplace.
4246 * dired.el (dired-initial-position-hook): New variable.
4247 (dired-initial-position): Call hook to place cursor position.
4248 * saveplace.el (save-place-to-alist): Add dired position.
4249 (save-place-dired-hook): New function.
4250
0b31660d
SM
42512013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4252
bf1e6ae8
SM
4253 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4254 through a symbol rather than letrec.
4255
1b8dff23
SM
4256 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4257 (package-desc): Add `dir' field.
4258 (package-desc-full-name): New function.
4259 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4260 (package-maybe-load-descriptor): Remove.
4261 (package-load-all-descriptors): Just call package-load-descriptor.
4262 (package--disabled-p): New function.
4263 (package-desc-vers, package-desc-doc): Remove aliases.
4264 (package--dir): Remove function.
4265 (package-activate): Check if a package is disabled.
4266 (package-process-define-package): New function, extracted from
4267 define-package.
4268 (define-package): Turn into a place holder.
4269 (package-unpack-single, package-tar-file-info):
4270 Use package--description-file.
4271 (package-compute-transaction): Use package--disabled-p.
4272 (package-download-transaction): Don't call
4273 package-maybe-load-descriptor since they're all loaded anyway.
4274 (package-install): Change argument to be a pkg-desc.
4275 (package-delete): Use a single pkg-desc argument.
4276 (describe-package-1): Use package-desc-dir instead of package--dir.
4277 Use package-desc property instead of package-symbol.
4278 (package-install-button-action): Adjust accordingly.
4279 (package--push): Rewrite.
4280 (package-menu--print-info): Adjust accordingly. Change the ID format
4281 to be a pkg-desc.
4282 (package-menu-describe-package, package-menu-get-status)
4283 (package-menu--find-upgrades, package-menu-mark-upgrades)
4284 (package-menu-execute, package-menu--name-predicate):
4285 Adjust accordingly.
4286 * startup.el (package--description-file): New function.
4287 (command-line): Use it.
4288 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4289 Use package-desc-version.
4290
0b31660d
SM
4291 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4292 (byte-compile-preprocess): Use it.
4293 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4294 can't quite recognize.
4295 (byte-compile-add-to-list): Remove.
4296 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4297 (cconv-closure-convert): Add assertion.
4298
4299 * emacs-lisp/map-ynp.el: Use lexical-binding.
4300 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4301 Factor out some repeated code.
4302
de0503df
SM
43032013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * subr.el (with-eval-after-load): New macro.
4306 (eval-after-load): Allow form to be a function.
4307 take advantage of lexical-binding.
4308 (do-after-load-evaluation): Use dolist and adjust to new format.
4309 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4310
bc5c8c5a
JL
43112013-06-13 Juri Linkov <juri@jurta.org>
4312
4313 * replace.el (perform-replace): Display "symbol " and other search
4314 modes from `isearch-message-prefix' in the *Help* buffer.
4315
4316 * isearch.el (isearch-query-replace): Add " symbol" and other
4317 possible search modes from `isearch-message-prefix' to the prompt.
4318 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4319 when reading a regexp to collect.
4320
a22289f7
JL
43212013-06-13 Juri Linkov <juri@jurta.org>
4322
4323 * isearch.el (word-search-regexp): Match whitespace if the search
4324 string begins or ends in whitespace. The LAX arg is applied to
4325 both ends of the search string. Use `regexp-quote' and explicit
4326 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4327 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4328 boundaries are replaced with symbol boundaries, and characters
4329 between symbols match non-word non-symbol syntax. (Bug#14602)
4330
cb89acab
JL
43312013-06-13 Juri Linkov <juri@jurta.org>
4332
4333 * isearch.el (isearch-del-char): Don't exceed the length of
4334 `isearch-string' by the prefix arg. (Bug#14563)
4335
6e8cfc81
JL
43362013-06-13 Juri Linkov <juri@jurta.org>
4337
4338 * isearch.el (isearch-yank-word, isearch-yank-line)
4339 (isearch-char-by-name, isearch-quote-char)
4340 (isearch-printing-char, isearch-process-search-char):
4341 Add optional count prefix arg. (Bug#14563)
4342
4343 * international/isearch-x.el
4344 (isearch-process-search-multibyte-characters):
4345 Add optional count prefix arg.
4346
c23d55f4
VS
43472013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4348
4349 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4350 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4351 lexical-binding.
4352
43532013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4354
4355 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4356
ba947bc4
GM
43572013-06-13 Glenn Morris <rgm@gnu.org>
4358
8baeb37a
GM
4359 * startup.el (tty-handle-args):
4360 Don't just discard "--" and anything after. (Bug#14608)
4361
ba947bc4
GM
4362 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4363
9abefce4
MA
43642013-06-13 Michael Albinus <michael.albinus@gmx.de>
4365
4366 Implement changes in Secret Service API. Make it backward compatible.
4367 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4368 (secrets-create-item): Use it. Prefix properties with interface.
4369
5755011f
MH
43702013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4371
4372 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4373 (term-emulate-terminal): Respect term-suppress-hard-newline.
4374
1261d2da
S
43752013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4376
4377 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4378 Only remove a `thumb-file' overlay. (Bug#14548)
4379
868490bb
GJ
43802013-06-12 Grégoire Jadi <daimrod@gmail.com>
4381
4382 * mail/reporter.el (reporter-submit-bug-report):
4383 Handle missing package-name. (Bug#14600)
4384
79d7167f
TH
43852013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4386
4387 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4388 (reftex-citation-prompt, reftex-default-bibliography)
4389 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4390 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4391 (reftex-bib-sort-author, reftex-bib-sort-year)
4392 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4393 (reftex-extract-bib-entries-from-thebibliography)
4394 (reftex-get-bibkey-default, reftex-get-bib-names)
4395 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4396 (reftex-format-bib-entry, reftex-parse-bibitem)
4397 (reftex-format-bibitem, reftex-do-citation)
4398 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4399 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4400 (reftex-insert-bib-matches, reftex-format-citation)
4401 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4402 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4403 existing comments into docstrings.
4404
5f9dbd7a
XF
44052013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4406
4407 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4408
94df41ab
AS
44092013-06-12 Andreas Schwab <schwab@suse.de>
4410
4411 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4412 for auto-save files.
4413
a7f3fecc
GM
44142013-06-12 Glenn Morris <rgm@gnu.org>
4415
001809f6
GM
4416 * ido.el (ido-delete-ignored-files): Remove.
4417 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4418 Go back to calling ido-ignore-item-p directly.
a7f3fecc 4419
834b5ded
EL
44202013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4421
08c73ed2
EL
4422 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4423
834b5ded
EL
4424 * ido.el (ido-delete-ignored-files): New function,
4425 split from ido-make-file-list-1.
4426 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4427 (ido-make-file-list-1): Use ido-delete-ignored-files.
4428
daabf15a
LL
44292013-06-12 Leo Liu <sdl.web@gmail.com>
4430
4431 * progmodes/octave.el (inferior-octave-startup)
4432 (inferior-octave-completion-table)
4433 (inferior-octave-track-window-width-change)
4434 (octave-eldoc-function-signatures, octave-help)
4435 (octave-find-definition): Use single quoted strings.
4436 (inferior-octave-startup-args): Change default value.
4437 (inferior-octave-startup): Do not hard code "-i" and
4438 "--no-line-editing".
4439 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4440 (inferior-octave-directory-tracker): Use it.
4441 (octave-goto-function-definition): Robustify.
4442 (octave-help): Support highlighting operators in 'See also'.
4443 (octave-find-definition): Find subfunctions only in Octave mode.
4444
cf4e5178
SM
44452013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * help-fns.el (help-fns--compiler-macro): If the handler function is
4448 named, then put a link to it.
4449 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4450 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4451 (cl-typep): Use it.
4452 (cl-eval-when): Simplify debug spec.
4453 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4454 compiler-macro function instead of setting `compiler-macro-file'.
4455
99c81280 44562013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
4457
4458 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4459 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4460
f56be016
SM
44612013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4462 Daniel Hackney <dan@haxney.org>
4463
4464 First part of Daniel Hackney's patch to package.el.
4465 * emacs-lisp/package.el: Use defstruct.
4466 (package-desc): New, main struct.
4467 (package--bi-desc, package--ac-desc): New structs, used to describe the
4468 format in external files.
4469 (package-desc-vers): Replace with package-desc-version accessor.
4470 (package-desc-doc): Replace with package-desc-summary accessor.
4471 (package-activate-1): Remove `package' arg since the pkg-vec now
4472 includes the name.
4473 (define-package): Use package-desc-from-define.
4474 (package-unpack-single): Change file-name arg to be a symbol.
4475 (package--add-to-archive-contents): Use package-desc-create and new
4476 accessor functions to package--ac-desc.
4477 (package-buffer-info, package-tar-file-info): Return a package-desc.
4478 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4479 arg to be a package-desc.
4480 (package-install-file): Adjust accordingly. Use \' to match EOS.
4481 (package--from-builtin): New function.
4482 (describe-package-1, package-menu--generate): Use it.
4483 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4484 (package-generate-autoloads): Idem and return the name of the file.
4485 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4486 Change pkg-info arg to be a package-desc.
4487 Use package-make-ac-desc.
4488 (package-upload-file): Use \' to match EOS.
4489 * finder.el (finder-compile-keywords): Use package-make-builtin.
4490
31119d63
SM
44912013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4492
931a2762
SM
4493 * vc/vc.el (vc-deduce-fileset): Change error message.
4494 (vc-read-backend): New function.
4495 (vc-next-action): Use it.
4496
5a3eb0c6
SM
4497 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4498
e3eb1bb7
SM
4499 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4500 (prolog-font-lock-keywords): Use regexp-opt instead.
4501 Don't manually highlight strings.
4502 (prolog-mode-variables): Simplify comment-start-skip.
4503 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4504
31119d63
SM
4505 * emacs-lisp/generic.el (generic--normalise-comments)
4506 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4507 (generic-mode-set-comments): Use them.
4508 (generic-bracket-support): Use setq-local.
4509 (generic-make-keywords-list): Declare obsolete.
4510
7de135d0
GM
45112013-06-11 Glenn Morris <rgm@gnu.org>
4512
4513 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4514 Prettify after setting font-lock-defaults. (Bug#14574)
4515
fa6bc6fd
JB
45162013-06-11 Juanma Barranquero <lekktu@gmail.com>
4517
4518 * replace.el (query-replace, occur-read-regexp-defaults-function)
4519 (replace-search):
4520 * subr.el (declare-function, number-sequence, local-set-key)
4521 (substitute-key-definition, locate-user-emacs-file)
4522 (with-silent-modifications, split-string, eval-after-load):
4523 Fix typos, remove unneeded backslashes and reflow some docstrings.
4524
cf1f9b9a
SM
45252013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4526
4527 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4528 default for Elisp files.
4529
56602a4b
GM
45302013-06-11 Glenn Morris <rgm@gnu.org>
4531
4532 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4533 although define-derived-mode was doing this anyway. (Bug#14583)
4534
30ae0b2c
JB
45352013-06-10 Juanma Barranquero <lekktu@gmail.com>
4536
4537 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4538 Fix make-variable-buffer-local call to refer to the correct variable.
4539
fa472906
AG
45402013-06-10 Aidan Gauland <aidalgol@amuri.net>
4541
4542 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
4543 (eshell-visual-subcommands, eshell-visual-options):
4544 Add summary line to docstrings. Add cross-references.
fa472906 4545
ff4871b9
GM
45462013-06-10 Glenn Morris <rgm@gnu.org>
4547
4548 * epa.el (epa-read-file-name): New function. (Bug#14510)
4549 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
4550
04fcf1b0
AG
45512013-06-09 Aidan Gauland <aidalgol@amuri.net>
4552
4553 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4554 output redirection to be ignored with visual commands.
4555
88b00caa
AG
45562013-06-09 Aidan Gauland <aidalgol@amuri.net>
4557
4558 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
4559 (eshell-term-initialize): Move long lambda to separate function
4560 eshell-visual-command-p.
e7b41c4c
JB
4561 * eshell/em-dirs.el (eshell-dirs-initialise):
4562 * eshell/em-script.el (eshell-script-initialize):
4563 Add missing #' to lambda.
88b00caa 4564
fda74125
LL
45652013-06-08 Leo Liu <sdl.web@gmail.com>
4566
4567 * progmodes/octave.el (octave-add-log-current-defun): New function.
4568 (octave-mode): Set add-log-current-defun-function.
4569 (octave-goto-function-definition): Do not move point if not found.
4570 (octave-find-definition): Enhance to try subfunctions first.
4571
467f3b33
GM
45722013-06-08 Glenn Morris <rgm@gnu.org>
4573
4574 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4575 (byte-compile-backward-char, byte-compile-backward-word):
4576 Improve previous change, to handle non-explicit nil.
4577
544badc3
SM
45782013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4579
4580 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
4581 (smie--opener/closer-at-point): New function.
4582 (smie--matching-block-data): Use it. Don't match from right after an
4583 opener or right before a closer. Obey smie-blink-matching-inners.
4584 Don't signal a mismatch for repeated inners like "switch..case..case".
4585
a175bf33
LL
45862013-06-07 Leo Liu <sdl.web@gmail.com>
4587
4588 * progmodes/octave.el (octave-mode): Set comment-use-global-state
4589 to t. (Bug#14303)
ce8209d4
LL
4590 (octave-function-header-regexp): Fix. (Bug#14570)
4591 (octave-help-mode-finish-hook, octave-help-mode-finish):
4592 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
4593
4594 * newcomment.el (comment-search-backward): Revert last change.
4595 (Bug#14434)
4596
4597 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
4598
a822acff
EZ
45992013-06-07 Eli Zaretskii <eliz@gnu.org>
4600
4601 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
4602 through xargs, to avoid failure due to MS-Windows limitations on
4603 command-line length.
4604
961166f5
GM
46052013-06-06 Glenn Morris <rgm@gnu.org>
4606
d0341459
GM
4607 * font-lock.el (lisp-font-lock-keywords-2):
4608 Treat user-error like error.
4609
961166f5
GM
4610 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4611 (byte-compile-backward-char, byte-compile-backward-word):
4612 Handle explicit nil arguments. (Bug#14565)
4613
80fa505f
AM
46142013-06-05 Alan Mackenzie <acm@muc.de>
4615
4616 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 4617 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 4618 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 4619 (Bug#9706)
80fa505f 4620
fccdc796
SM
46212013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4622
4623 * autorevert.el (auto-revert-notify-handler): Use memq.
4624 Hide assertion failure.
4625
4626 * skeleton.el: Use cl-lib.
4627 (skeleton-further-elements): Use defvar-local.
4628 (skeleton-insert): Use cl-progv.
4629
9bfff84b
TZ
46302013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4631
4632 * progmodes/prog-mode.el (prog-prettify-symbols)
4633 (prog-prettify-install): Update docstrings.
4634
55577e7c
SM
46352013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4636
4637 * simple.el: Move all the prog-mode code to prog-mode.el.
4638 * progmodes/prog-mode.el: New file.
4639 * loadup.el: Add prog-mode.el.
4640
8fc57765
TZ
46412013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4642
4643 * simple.el (prog-prettify-symbols): Add version.
4644 (prog-prettify-install): Add convenience function to prettify symbols.
4645
4646 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4647 (perl--augmented-font-lock-keywords-1)
4648 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4649 variables and use it.
4650
4651 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4652 (cfengine3-mode): Remove unneeded variable and use it.
4653
4654 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4655 (lisp--augmented-font-lock-keywords-1)
4656 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4657 Remove unneeded variables and use it.
4658
650645d5 46592013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
4660
4661 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 4662 to point when opening the connection. (Bug#14380)
28f5da6d 4663
781b4af6
SM
46642013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 * subr.el (load-history-regexp, load-history-filename-element)
4667 (eval-after-load, after-load-functions, do-after-load-evaluation)
4668 (eval-next-after-load, display-delayed-warnings)
4669 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4670 definition of save-match-data.
4671 (overriding-local-map): Remove accidental obsolescence declaration.
4672
4673 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4674
3ca0d0b4
TZ
46752013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4676
4677 Generalize symbol prettify support to prog-mode and implement it
4678 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4679 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4680 (prog--prettify-font-lock-compose-symbol)
4681 (prog-prettify-font-lock-symbols-keywords): New variables and
4682 functions to support symbol prettification.
4683 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4684 (lisp--augmented-font-lock-keywords-1)
4685 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4686 (lisp--prettify-symbols-alist): Implement prettify of lambda.
4687 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
4688 (cfengine3--prettify-symbols-alist, cfengine3-mode):
4689 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
4690 * progmodes/perl-mode.el (perl-prettify-symbols)
4691 (perl--font-lock-compose-symbol)
4692 (perl--font-lock-symbols-keywords): Move to prog-mode.
4693 (perl--prettify-symbols-alist): Prettify -> => :: strings.
4694 (perl-font-lock-keywords-1)
4695 (perl-font-lock-keywords-2): Remove explicit prettify support.
4696 (perl--augmented-font-lock-keywords)
4697 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
4698 (perl--augmented-font-lock-keywords-2, perl-mode):
4699 Implement prettify support.
3ca0d0b4 4700
976cb066
LL
47012013-06-05 Leo Liu <sdl.web@gmail.com>
4702
4703 Re-implement smie matching block highlight using
4704 show-paren-data-function. (Bug#14395)
4705 * emacs-lisp/smie.el (smie-matching-block-highlight)
4706 (smie--highlight-matching-block-overlay)
4707 (smie--highlight-matching-block-lastpos)
4708 (smie-highlight-matching-block)
4709 (smie-highlight-matching-block-mode): Remove.
4710 (smie--matching-block-data-cache): New variable.
4711 (smie--matching-block-data): New function.
4712 (smie-setup): Use smie--matching-block-data for
4713 show-paren-data-function.
4714
4715 * progmodes/octave.el (octave-mode-menu): Fix.
4716 (octave-find-definition): Skip garbage lines.
4717
208d0342
SM
47182013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4719
4720 Fix compilation error with simultaneous dynamic+lexical scoping.
4721 Add warning when a defvar appears after the first let-binding.
4722 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4723 (byte-compile-close-variables): Initialize it.
4724 (byte-compile--declare-var): New function.
4725 (byte-compile-file-form-defvar)
4726 (byte-compile-file-form-define-abbrev-table)
4727 (byte-compile-file-form-custom-declare-variable): Use it.
4728 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4729 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4730 (byte-compile-bind): Handle dynamic bindings that shadow
4731 lexical bindings.
4732 (byte-compile-unbind): Make arg non-optional.
4733 (byte-compile-let): Simplify.
4734 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4735 (cconv--analyse-function, cconv-analyse-form): Populate it.
4736 Protect byte-compile-bound-variables to limit the scope of defvars.
4737 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4738 Remove unneeded rule for `declare'.
4739
4740 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4741 so as to avoid depending on cl-adjoin at run-time.
4742 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4743
4744 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4745 (macroexp--warn-and-return): Use it.
4746
2587b005
LL
47472013-06-05 Leo Liu <sdl.web@gmail.com>
4748
4749 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4750
f1da3c88
LL
47512013-06-04 Leo Liu <sdl.web@gmail.com>
4752
4753 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4754 (compilation-auto-jump): Suppress the "Mark set" message to give
4755 way to exit message.
4756
3caa391f
AM
47572013-06-04 Alan Mackenzie <acm@muc.de>
4758
4759 Remove faulty optimisation from indentation calculation.
4760 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4761 search limit based on 2000 characters back from indent-point.
4762
068922a2
TH
47632013-06-03 Tassilo Horn <tsdh@gnu.org>
4764
4765 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4766
1f8fdd53
SM
47672013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4768
bbcc4d97
SM
4769 * emacs-lisp/lisp.el: Use lexical-binding.
4770 (lisp--local-variables-1, lisp--local-variables): New functions.
4771 (lisp--local-variables-completion-table): New var.
208d0342 4772 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 4773
1f8fdd53
SM
4774 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4775 eagerly (bug#14422).
4776
c9628c79
MA
47772013-06-03 Michael Albinus <michael.albinus@gmx.de>
4778
4779 * autorevert.el (auto-revert-notify-enabled)
4780 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4781 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4782 (auto-revert-notify-handler): Handle also gfilenotify.
4783
e7b41c4c 4784 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 4785 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 4786 Remove.
c9628c79 4787
e5e4a942
JL
47882013-06-03 Juri Linkov <juri@jurta.org>
4789
4790 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4791 `M-s h .'. (Bug#14427)
4792
4793 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4794 command `hi-lock-face-symbol-at-point'.
4795 (hi-lock-face-symbol-at-point): New command.
4796 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4797 (hi-lock-menu): Add `highlight-symbol-at-point'.
4798 (hi-lock-mode): Doc fix.
4799
4800 * isearch.el (isearch-forward-symbol-at-point): New command.
4801 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4802 (isearch-highlight-regexp): Add a regexp which matches
4803 words/symbols for word/symbol mode.
4804
4805 * subr.el (find-tag-default-bounds): New function with the body
4806 mostly moved from `find-tag-default'.
4807 (find-tag-default): Move most code to `find-tag-default-bounds',
4808 call it and apply `buffer-substring-no-properties' afterwards.
4809
26b3353a
TH
48102013-06-03 Tassilo Horn <tsdh@gnu.org>
4811
781b4af6
SM
4812 * eshell/em-term.el (eshell-term-initialize):
4813 Use `cl-intersection' rather than `intersection'.
26b3353a 4814
51b60f53
XF
48152013-06-02 Xue Fuqiao <xfq.free@gmail.com>
4816
fe054b63 4817 * vc/log-view.el: Doc fix.
d3ffe17c 4818 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 4819
a0eb10b3 48202013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
4821
4822 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4823 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4824 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4825 (eieio-unbound, eieio-default-superclass)
4826 (eieio--define-field-accessors, method-static, method-before)
4827 (method-primary, method-after, method-num-lists)
4828 (method-generic-before, method-generic-primary)
4829 (method-generic-after, method-num-slots)
4830 (eieio-specialized-key-to-generic-key)
4831 (eieio--check-type, class-v, class-p)
4832 (eieio-class-name, define-obsolete-function-alias)
4833 (eieio-class-parents-fast, eieio-class-children-fast)
4834 (same-class-fast-p, class-constructor, generic-p)
4835 (generic-primary-only-p, generic-primary-only-one-p)
4836 (class-option-assoc, class-option, eieio-object-p)
4837 (class-abstract-p, class-method-invocation-order)
4838 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4839 (eieio-class-un-autoload, eieio-defclass)
4840 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4841 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4842 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4843 (eieio-defgeneric-reset-generic-form)
4844 (eieio-defgeneric-form-primary-only)
4845 (eieio-defgeneric-reset-generic-form-primary-only)
4846 (eieio-defgeneric-form-primary-only-one)
4847 (eieio-defgeneric-reset-generic-form-primary-only-one)
4848 (eieio-unbind-method-implementations)
4849 (eieio--defmethod, eieio--typep)
4850 (eieio-perform-slot-validation, eieio-validate-slot-value)
4851 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4852 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4853 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4854 (eieio-slot-name-index, eieio-class-slot-name-index)
4855 (eieio-set-defaults, eieio-initarg-to-attribute)
4856 (eieio-attribute-to-initarg, eieio-c3-candidate)
4857 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4858 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4859 (eieio-class-precedence-list, eieio-generic-call-methodname)
4860 (eieio-generic-call-arglst, eieio-generic-call-key)
4861 (eieio-generic-call-next-method-list)
4862 (eieio-pre-method-execution-functions, eieio-generic-call)
4863 (eieio-generic-call-primary-only, eieiomt-method-list)
4864 (eieiomt-optimizing-obarray, eieiomt-install)
4865 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4866 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 4867 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
4868 (defclass): Remove `eval-and-compile' from macro.
4869 (call-next-method, shared-initialize): Instead of using
4870 `scoped-class' variable, use new eieio--scoped-class, and
4871 eieio--with-scoped-class.
4872 (initialize-instance): Rename local variable 'scoped-class' to
4873 'this-class' to remove ambiguitity from old global.
4874
4875 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
4876 eieio.el.
4f405069
JB
4877 (eieio--scoped-class-stack): New variable.
4878 (eieio--scoped-class): New fcn.
890f7890
DE
4879 (eieio--with-scoped-class): New scoping macro.
4880 (eieio-defclass): Use pushnew instead of add-to-list.
4881 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4882 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4883 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4884 `scoped-class' variable, use new eieio--scoped-class, and
4885 eieio--with-scoped-class.
4886
4887 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4888
d105b0e2
TH
48892013-06-02 Tassilo Horn <tsdh@gnu.org>
4890
4891 * eshell/esh-ext.el (eshell-external-command): Pass args to
4892 `eshell-find-interpreter'.
4893 (eshell-find-interpreter): Add new second parameter ARGS.
4894
4895 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 4896 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
4897
4898 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 4899 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
4900
4901 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4902 (eshell-visual-options): New defcustom.
4903 (eshell-escape-control-x): Adapt docstring.
4904 (eshell-term-initialize): Test `eshell-visual-subcommands' and
4905 `eshell-visual-options' in addition to `eshell-visual-commands'.
4906 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4907
f46305c8 49082013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
4909
4910 * progmodes/python.el (python-indent-block-enders): Add break,
4911 continue and raise keywords.
4912
d870df21
GM
49132013-06-01 Glenn Morris <rgm@gnu.org>
4914
9133b82e
GM
4915 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4916
02c992ec 4917 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
4918 * progmodes/cc-cmds.el (delete-forward-p):
4919 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4920 * progmodes/cc-engine.el (buffer-syntactic-context):
4921 * progmodes/cc-fonts.el (face-property-instance):
4922 * progmodes/cc-mode.el (set-keymap-parents):
4923 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4924 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4925 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
4926 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4927 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 4928
31e7b090
GM
4929 * progmodes/cc-vars.el (other): Emacs has this widget since
4930 at least 21.1, so don't (re)define it.
4931
d870df21
GM
4932 * eshell/em-cmpl.el (eshell-cmpl-initialize):
4933 Replace the obsolete alias pcomplete-arg-quote-list.
4934
c75c93c7
LL
49352013-06-01 Leo Liu <sdl.web@gmail.com>
4936
4937 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
4938 punctuation syntax.
4939 (inferior-octave-minimal-columns)
4940 (inferior-octave-last-column-width): New variables.
4941 (inferior-octave-track-window-width-change): New function.
4942 (inferior-octave-mode): Adjust column width so that Octave output,
4943 for example from 'ls', can fit into the window nicely.
4944
973d1e12
DG
49452013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4946
4947 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4948 Highlight expansions inside regexp literals.
4949
0888c286
GM
49502013-05-31 Glenn Morris <rgm@gnu.org>
4951
e26aac1f
GM
4952 * obsolete/sym-comp.el (symbol-complete):
4953 Replace obsolete completion-annotate-function.
4954
0888c286
GM
4955 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
4956
19bb8e62
DG
49572013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4958
781b4af6
SM
4959 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4960 New function, checks if point is inside a literal that allows
19bb8e62
DG
4961 expression expansion.
4962 (ruby-syntax-propertize-expansion): Use it.
4963 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
4964 around the body.
4965
01dea85f
JL
49662013-05-30 Juri Linkov <juri@jurta.org>
4967
4968 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
4969 to "\M-si".
4970 (isearch-invisible): New variable.
4971 (isearch-forward): Doc fix.
4972 (isearch-mode): Set `isearch-invisible'
4973 to the value of `search-invisible'.
4974 (isearch-toggle-case-fold): Doc fix.
4975 (isearch-toggle-invisible): New command.
4976 (isearch-query-replace): Let-bind `search-invisible'
4977 to the value of `isearch-invisible'.
4978 (isearch-search): Use `isearch-invisible' instead of
4979 `search-invisible'. Let-bind `search-invisible'
4980 to the value of `isearch-invisible'. (Bug#11378)
4981
ab1bdce5
JL
49822013-05-30 Juri Linkov <juri@jurta.org>
4983
4984 * replace.el (perform-replace): Avoid `isearch-range-invisible'
4985 call when `query-flag' is nil and `search-invisible' is non-nil.
4986 (Bug#11746)
4987
d6d236e2
GM
49882013-05-30 Glenn Morris <rgm@gnu.org>
4989
8accd027
GM
4990 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
4991
2a8bed1c
GM
4992 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
4993 (cc-require): Suppress spurious "noruntime" warnings.
4994 (cc-require-when-compile): Use fboundp, for sake of compiler.
4995
d6d236e2
GM
4996 * progmodes/cc-mode.el: Move load of cc-vars before that of
4997 cc-langs (which in turn loads cc-vars), to quieten compiler.
4998
9190b35b
SM
49992013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5000
5001 * paren.el: Simplify the code.
5002 (show-paren-mode): Always start the timer.
5003 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5004 (show-paren--overlay, show-paren--overlay-1): Rename from
5005 show-paren-overlay and show-paren-overlay-1, and initialize to an
5006 overlay rather than to nil.
5007 (show-paren-function): Misc cleanup and simplifications.
5008
4f8d1cf6
SM
50092013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * paren.el (show-paren-data-function): New hook.
5012 (show-paren--default): New function, extracted from show-paren-function.
5013 (show-paren-function): Use show-paren-data-function.
5014
02d844b5
GM
50152013-05-30 Glenn Morris <rgm@gnu.org>
5016
d209d4a9
GM
5017 * ielm.el (ielm-map, ielm-complete-symbol):
5018 Use completion-at-point rather than obsolete functions.
5019 (inferior-emacs-lisp-mode): Doc fix.
5020 Set completion-at-point-functions, rather than
5021 comint-dynamic-complete-functions.
5022
2082faa6
GM
5023 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5024 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5025 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5026
dd8620de
GM
5027 * image.el (image-animated-p): Tweak definition.
5028
ceca95b1
GM
5029 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5030 (rlogin-process-connection-type): Tweak default. Add set-after.
5031 (rlogin-host): Doc fix.
5032 (rlogin): Tweak prompt.
5033 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5034
ee9f1acc
GM
5035 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5036 * progmodes/tcl.el (inferior-tcl-mode-map):
5037 Use completion-at-point rather than obsolete alias.
5038
45ce222e
GM
5039 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5040
02d844b5
GM
5041 * minibuffer.el (read-file-name-completion-ignore-case):
5042 Move before completion--in-region, for eager macro expansion.
5043
ac44d6c1
JL
50442013-05-29 Juri Linkov <juri@jurta.org>
5045
5046 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5047 for total count of matching lines. Add `global-matches' for total
5048 count of matches. Rename `matches' to `lines' for count of
5049 matching lines. Add `matches' for count of matches.
5050 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5051 to `prev-line' for line number of prev match endpt.
5052 Increment `matches' for every match. Print the number of
5053 matching lines in the header.
5054 (occur-context-lines): Rename `lines' to `curr-line'.
5055 Rename `prev-lines' to `prev-line'. (Bug#14017)
5056
3c9c9d38
JL
50572013-05-29 Juri Linkov <juri@jurta.org>
5058
5059 * replace.el (perform-replace): Add `skip-read-only-count',
5060 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5061 Increment them for corresponding conditions and report the number
5062 of skipped occurrences in the final message. (Bug#11746)
5063 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5064 (replace-string, replace-regexp): Doc fix.
5065
33e249a2
SM
50662013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5067
8e399682
SM
5068 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5069
33e249a2 5070 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 5071 prog-mode-map (bug#14504).
33e249a2 5072
f236dd84
LL
50732013-05-29 Leo Liu <sdl.web@gmail.com>
5074
5075 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5076 (octave-help): Small simplification.
5077
5078 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5079 off the highlight first.
5080
3694d13f
GM
50812013-05-29 Glenn Morris <rgm@gnu.org>
5082
03983bdc
GM
5083 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5084 Handle idlwave-last-system-routine-info-cons-cell being nil.
5085
bc74a74a
GM
5086 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5087 (idlwave-write-paths): Simplify via with-temp-buffer.
5088
8b394200
GM
5089 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5090 * emulation/cua-rect.el: Also load cua-base at run time.
5091
3694d13f
GM
5092 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5093 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5094 (cperl-imenu-on-info): Require imenu.
5095
336d7284
AM
50962013-05-28 Alan Mackenzie <acm@muc.de>
5097
5098 Handle "capitalised keywords" correctly.
33e249a2 5099 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 5100
cb29c582
AG
51012013-05-28 Aidan Gauland <aidalgol@amuri.net>
5102
781b4af6 5103 * eshell/em-unix.el: Add -r option to cp.
cb29c582 5104
690e44b2
GM
51052013-05-28 Glenn Morris <rgm@gnu.org>
5106
e658d75c
GM
5107 * vc/vc-arch.el (vc-exec-after): Declare.
5108 (vc-switches): Autoload.
5109 * vc/vc-bzr.el: No need to require vc when compiling.
5110 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5111 (vc-resynch-buffer, vc-dir-refresh): Declare.
5112 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
5113 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5114 (vc-resynch-buffer): Declare.
5115 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 5116 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
5117 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5118 (grep-read-regexp, grep-read-files, grep-expand-template)
5119 (vc-dir-refresh): Declare.
5120 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5121 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5122 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
5123 * vc/vc-mtn.el (vc-exec-after): Declare.
5124 (vc-switches): Autoload.
5125 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5126 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5127 (vc-file-tree-walk): Declare.
712b9732
GM
5128 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5129 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5130 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
5131 * vc/vc-svn.el (vc-exec-after): Declare.
5132 (vc-switches, vc-setup-buffer): Autoload.
5133 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5134 Autoload.
5135 (vc-resynch-buffer): Declare.
5136
98e87fb3
GM
5137 * obsolete/fast-lock.el (byte-compile-warnings):
5138 Don't warn about obsolete features in this obsolete file.
5139
f5379553
GM
5140 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5141 Move definition before use.
5142
7a20ef83
GM
5143 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5144 (dun-unix-verbs): Remove dun-zippy.
5145 (dun-zippy): Remove function.
5146
690e44b2
GM
5147 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5148
3a52ccf7
JL
51492013-05-27 Juri Linkov <juri@jurta.org>
5150
5151 * replace.el (replace-search): New function with code moved out
5152 from `perform-replace'.
5153 (replace-highlight, replace-dehighlight): Move function definitions
5154 up closer to `replace-search'. (Bug#11746)
5155
d289938a
JL
51562013-05-27 Juri Linkov <juri@jurta.org>
5157
5158 * replace.el (perform-replace): Ignore invisible matches.
5159 In addition to checking `query-replace-skip-read-only', also
5160 filter out matches by calling `run-hook-with-args-until-failure'
5161 on `isearch-filter-predicates', and also check `search-invisible'
5162 for t or call `isearch-range-invisible'.
5163 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5164
66fc57e3
JL
51652013-05-27 Juri Linkov <juri@jurta.org>
5166
5167 * isearch.el (isearch-filter-predicates): Rename from
5168 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5169 (isearch-message-prefix): Display text from the property
5170 `isearch-message-prefix' of the currently active filters.
5171 (isearch-search): Don't compare `isearch-filter-predicate' with
5172 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5173 on `isearch-filter-predicates'. Also check `search-invisible' for t
5174 or call `isearch-range-invisible'.
5175 (isearch-filter-visible): Make obsolete.
5176 (isearch-lazy-highlight-search):
5177 Call `run-hook-with-args-until-failure' on
5178 `isearch-filter-predicates' and use `isearch-range-invisible'.
5179
5180 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5181 `isearch-filter-predicates' instead of `funcall'ing
5182 `isearch-filter-predicate'.
5183 (Info-mode): Set `Info-isearch-filter' to
5184 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5185
5186 * dired-aux.el (dired-isearch-filter-predicate-orig):
5187 Remove variable.
5188 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5189 (dired-isearch-filenames-end): Add and remove
5190 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5191 instead of changing the value of `isearch-filter-predicate'.
5192 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5193 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5194 Put property `isearch-message-prefix' to "filename " on
5195 `dired-isearch-filter-filenames'.
5196
5197 * wdired.el (wdired-change-to-wdired-mode):
5198 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5199 locally instead of changing `isearch-filter-predicate'.
5200 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5201
f1a60a0f
DG
52022013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5203
5204 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5205 return the commit hash (Bug#14459). Also set the
5206 `vc-git-detached' property.
5207 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5208 (vc-git-mode-line-string): Use the same help-echo format whether
5209 in detached mode or not, because we know the actual revision now.
5210 When in detached mode, shorten the revision to 7 chars.
5211
7f17cc40
SM
52122013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * emacs-lisp/easy-mmode.el (define-minor-mode):
5215 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5216 mode hook and provide a docstring.
5217
25c8401c
AM
52182013-05-27 Alan Mackenzie <acm@muc.de>
5219
5220 Remove spurious syntax-table text properties inserted by C-y.
5221 * progmodes/cc-mode.el (c-after-change): Also clear hard
5222 syntax-table property with value nil.
5223
dde84790
MA
52242013-05-27 Michael Albinus <michael.albinus@gmx.de>
5225
5226 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5227 when reading the events; the buffer layout shall not be changed.
5228
837fd9af
LL
52292013-05-27 Leo Liu <sdl.web@gmail.com>
5230
5231 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5232 New variable.
5233 (inferior-octave-directory-tracker): Automatically re-sync
5234 default-directory.
5235 (octave-help): Improve handling of 'See also'.
5236
4fd996b3
SM
52372013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5238
416f1802
SM
5239 * doc-view.el: Minor naming convention tweaks.
5240 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5241
4fd996b3
SM
5242 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5243 even if there's no `display' property yet (bug#14435).
5244
a052ef3b
EZ
52452013-05-25 Eli Zaretskii <eliz@gnu.org>
5246
4fd996b3 5247 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
5248
5249 * Makefile.in (custom-deps, finder-data, autoloads)
5250 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5251 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5252 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5253
c9023370
SM
52542013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5255
5256 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5257 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 5258 Don't burp at EOB.
c9023370 5259
24d699fa
LL
52602013-05-25 Leo Liu <sdl.web@gmail.com>
5261
5262 * comint.el (comint-previous-matching-input): Do not flood the
5263 *Messages* buffer with trivial messages.
5264
17e5c0cc
SM
52652013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5266
5267 * progmodes/flymake.el (flymake-nop): Don't return a string.
5268 (flymake-set-at): Fix typo.
5269
5270 * simple.el (read--expression): New function, extracted from
5271 eval-expression. Set completion-at-point-functions (bug#14465).
5272 (eval-expression, eval-minibuffer): Use it.
5273
5d028165
XF
52742013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5275
5276 * progmodes/flymake.el (flymake-save-buffer-in-file)
5277 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5278 (flymake-selected-frame, flymake-log, flymake-ins-after)
5279 (flymake-set-at, flymake-get-buildfile-from-cache)
5280 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5281 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5282 Refine the doc string.
5283 (flymake-get-file-name-mode-and-masks): Reformat.
5284 (flymake-get-real-file-name-function): Fix a minor bug.
5285
7a1d7ba7
JL
52862013-05-24 Juri Linkov <juri@jurta.org>
5287
5288 * progmodes/grep.el (grep-mode-font-lock-keywords):
5289 Support =linenumber= format used by git-grep for lines with
5290 function names. (Bug#13549)
5291
650cff3d
SM
52922013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5295 0 after a semi-colon; it works better for smie-auto-fill.
5296 (octave--indent-new-comment-line): New function.
5297 (octave-indent-new-comment-line): Use it (indirectly).
5298 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5299 modify comment-line-break-function.
5300
5301 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5302 (smie-setup): Use add-function to set it.
5303
9631677d
SS
53042013-05-24 Sam Steingold <sds@gnu.org>
5305
5306 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5307 argument (before the `interactive' argument).
5308
50105835
SM
53092013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5310
5311 * image-mode.el (image-mode-winprops): Add winprops to
5312 image-mode-winprops-alist before running
5313 image-mode-new-window-functions.
5314 * doc-view.el (doc-view-new-window-function): Don't delay
5315 doc-view-goto-page via timers (bug#14435).
5316
57b9823e
TH
53172013-05-24 Tassilo Horn <tsdh@gnu.org>
5318
5319 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5320 (doc-view-desktop-save-buffer): New function.
5321 (doc-view-restore-desktop-buffer): New function.
50105835
SM
5322 (desktop-buffer-mode-handlers):
5323 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
5324 handler.
5325 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5326 `desktop-save-buffer' function.
5327
91aafa16
MA
53282013-05-24 Michael Albinus <michael.albinus@gmx.de>
5329
5330 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5331 (tramp-gvfs-file-name-handler): Raise a user error when
5332 `tramp-gvfs-enabled' is nil.
5333 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5334 Do not raise a user error when loading package. (Bug#14447)
5335
ec076379
MA
5336 * net/xesam.el: Move to obsolete/.
5337
db785726
GM
53382013-05-24 Glenn Morris <rgm@gnu.org>
5339
af5c7606
GM
5340 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5341
e5d1916a
GM
5342 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5343
ded62b08
GM
5344 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5345 (Info-find-node, Man-getpage-in-background): Declare.
5346
9e614a3f
GM
5347 * mail/unrmail.el (unrmail):
5348 Replace obsolete detect-coding-with-priority.
5349
892f8ca3
GM
5350 * net/socks.el (socks-split-string): Use this rather than split-string.
5351 (socks-nslookup-host): Update for above change.
5352 (dynamic-choice, s5-dynamic-choice-match)
5353 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5354 Comment out unused code.
5355
3c291973
GM
5356 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5357 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5358 (gud-tooltip-echo-area): Make obsolete.
5359 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5360
43cc956b
GM
5361 * progmodes/js.el (js--optimize-arglist): Declare.
5362
dab49a3b
GM
5363 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5364
36b9d085
GM
5365 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5366 (ediff-window-C): Declare.
5367
e354ae76
GM
5368 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5369 Tweak requires to silence compiler.
5370
b8e57bf4
GM
5371 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5372 (he-search-string, he-tried-table, he-expand-list)
5373 (he-init-string, he-string-member, he-substitute-string)
5374 (he-reset-string): Declare.
5375
db785726
GM
5376 * obsolete/options.el (list-options): Use custom-variable-p,
5377 rather than obsolete alias.
5378
b3531901
SS
53792013-05-23 Sam Steingold <sds@gnu.org>
5380
5381 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 5382 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
5383 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5384
bdda4c66
SM
53852013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * emacs-lisp/smie.el (smie-indent-forward-token)
5388 (smie-indent-backward-token): Handle string tokens (bug#14381).
5389
c43d45f9
TH
53902013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5391
fe1eb856
RS
5392 * ielm.el (ielm-menu): New menu.
5393 (inferior-emacs-lisp-mode): Set comment-start.
96172128 5394
fe1eb856
RS
53952013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5396
5397 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5398 Fix deactivate action.
5399
5400 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5401 Add cleveref macros.
074dd971 5402
c43d45f9
TH
5403 * lisp/textmodes/reftex-parse.el
5404 (reftex-locate-bibliography-files): Accept options for
5405 bibliography commands.
5406 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5407 Add addbibresource. Basic Biblatex support.
5408
7764286e
MA
54092013-05-23 Michael Albinus <michael.albinus@gmx.de>
5410
5411 * net/tramp-gvfs.el (top):
5412 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5413 when loading package. (Bug#14447)
5414
d361bc10
GM
54152013-05-23 Glenn Morris <rgm@gnu.org>
5416
8fa23984
GM
5417 * progmodes/js.el: No need to load comint when compiling.
5418 (ring-insert, comint-send-string, comint-send-input)
5419 (comint-last-input-end, ido-chop): Declare.
5420
a5c7df1a
GM
5421 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5422 * vc/ediff-mult.el: Adjust requires.
5423 (ediff-directories-internal, ediff-directory-revisions-internal)
5424 (ediff-patch-file-internal): Declare.
5425 * vc/ediff-ptch.el: Adjust requires.
5426 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5427 (ediff-find-file): Autoload.
5428 * vc/ediff-util.el: No need to load ediff when compiling.
5429 (ediff-regions-internal): Declare.
5430 * vc/ediff-wind.el: Adjust requires.
5431 (ediff-compute-toolbar-width): Define when compiling.
5432 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5433 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5434 (dired-get-filename, dired-get-marked-files)
5435 (ediff-last-dir-patch, ediff-patch-default-directory)
5436 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5437 (ediff-patch-buffer-internal): Declare.
5438
e2aec513
GM
5439 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5440 (ispell-process, ispell-buffer-local-words, lm-summary)
5441 (lm-section-start, lm-section-end): Declare.
5442 (checkdoc-ispell-init): Simplify.
5443
e68bbd7c
GM
5444 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5445 (he-string-member, he-reset-string, he-substitute-string): Declare.
5446
7efe0991
GM
5447 * eshell/em-ls.el: Adjust requires.
5448 (eshell-glob-regexp): Declare.
f87b1284
GM
5449 * eshell/em-tramp.el: Adjust requires.
5450 (eshell-parse-command): Autoload.
5451 * eshell/em-xtra.el: Adjust requires.
5452 (eshell-parse-command): Autoload.
5453 * eshell/esh-ext.el: Adjust requires.
5454 (eshell-parse-command, eshell-close-handles): Autoload.
5455 * eshell/esh-io.el: Adjust requires.
5456 (eshell-output-filter): Autoload.
5457 * eshell/esh-util.el: No need to load tramp when compiling.
5458 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5459 Declare.
5460 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5461 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5462 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5463 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5464 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5465 * eshell/esh-opt.el, eshell/esh-proc.el:
5466 * eshell/esh-var.el: Adjust requires.
5467 * eshell/eshell.el: Do not require esh-util twice.
5468 (eshell-add-input-to-history): Declare.
5469 (eshell-command): Check history module is active before using it.
5470
d361bc10
GM
5471 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5472
85d090a9
LL
54732013-05-22 Leo Liu <sdl.web@gmail.com>
5474
5475 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5476
5d0acd9d
MA
54772013-05-22 Michael Albinus <michael.albinus@gmx.de>
5478
5479 * autorevert.el (auto-revert-notify-add-watch)
5480 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5481 it indicates changes in file modification time.
5482
0cdffd7d
GM
54832013-05-22 Glenn Morris <rgm@gnu.org>
5484
ca5995ec
GM
5485 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5486 Always delete the autoloaded function from the noruntime and
5487 unresolved functions lists.
5488
6450907e
GM
5489 * allout.el: No need to load epa, epg, overlay when compiling.
5490 (epg-context-set-passphrase-callback, epg-list-keys)
5491 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5492 (epg-key-user-id-list): Declare.
5493
9c6906f6
GM
5494 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5495 (viper-set-parsing-style-toggling-macro)
5496 (viper-set-emacs-state-searchstyle-macros):
5497 Use called-interactively-p on Emacs.
5498 (viper-looking-back): Make it an obsolete alias. Update callers.
5499 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5500 Use looking-back rather than viper-looking-back.
5501 (viper-tmp-insert-at-eob, viper-enlarge-region)
5502 (viper-read-string-with-history, viper-register-to-point)
5503 (viper-append-to-register, viper-change-state-to-vi)
5504 (viper-backward-char-carefully, viper-forward-char-carefully)
5505 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5506 (viper-change-state-to-emacs): Declare.
5507 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5508 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5509 * emulation/viper-mous.el: Do not load viper-cmd.
5510 (viper-backward-char-carefully, viper-forward-char-carefully)
5511 (viper-forward-word, viper-adjust-window): Declare.
5512
5f70c169
GM
5513 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5514
b1b7f300
GM
5515 * progmodes/idlw-help.el (idlwave-help-fontify):
5516 Use called-interactively-p.
5517
f6ebbb46
GM
5518 * term/w32console.el (w32-get-console-codepage)
5519 (w32-get-console-output-codepage): Declare.
5520
0cdffd7d
GM
5521 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5522 Remove unnecessary declarations.
5523 (dframe-message): Doc fix.
5524
5525 * info.el (dframe-select-attached-frame, dframe-current-frame):
5526 Declare.
5527
5528 * speedbar.el (speedbar-message): Make it an obsolete alias.
5529 Update all callers.
5530 (speedbar-with-attached-buffer)
5531 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5532 (speedbar-with-writable): Use backquote.
5533 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5534 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5535 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5536 rather than speedbar- aliases.
5537 * mail/rmail.el: Load dframe rather than speedbar when compiling.
5538 (speedbar-make-specialized-keymap, speedbar-insert-button)
5539 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5540 (speedbar-do-function-pointer): Declare.
5541 (rmail-speedbar-button, rmail-speedbar-find-file)
5542 (rmail-speedbar-move-message):
5543 Use dframe-with-attached-buffer rather than speedbar- alias.
5544 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5545 (dframe-message, speedbar-make-specialized-keymap)
5546 (speedbar-add-expansion-list, speedbar-mode-functions-list)
5547 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5548 (speedbar-insert-button, dframe-select-attached-frame)
5549 (dframe-maybee-jump-to-attached-frame)
5550 (speedbar-change-initial-expansion-list)
5551 (speedbar-previously-used-expansion-list-name): Declare.
5552 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5553 Use dframe-message, dframe-with-attached-buffer rather than
5554 speedbar- aliases.
5555 (gud-sentinel): Silence compiler.
5556 * progmodes/vhdl-mode.el (speedbar-refresh)
5557 (speedbar-do-function-pointer, speedbar-add-supported-extension)
5558 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
5559 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
5560 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
5561 (speedbar-file-lists, speedbar-make-tag-line)
5562 (speedbar-line-directory, speedbar-goto-this-file)
5563 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
5564 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
5565 (speedbar-make-button, speedbar-reset-scanners)
5566 (speedbar-files-item-info, speedbar-line-text)
5567 (speedbar-find-file-in-frame, speedbar-set-timer)
5568 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
5569 (speedbar-with-writable): Do not (re)define it.
5570 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
5571 rather than speedbar- alias.
5572
ee44b62a
LL
55732013-05-21 Leo Liu <sdl.web@gmail.com>
5574
5575 * progmodes/octave.el (octave-mode-menu): Update and re-organize
5576 menu items.
5577 (octave-mode): Tweak fill-nobreak-predicate.
5578 (inferior-octave-startup): Check process to avoid infinite loop.
5579 (inferior-octave): Pop to buffer first to show abornmal process
5580 exit information.
5581
640f050f
GM
55822013-05-21 Glenn Morris <rgm@gnu.org>
5583
79458038
GM
5584 * printing.el (pr-menu-bar): Define when compiling.
5585
9cc3e83f
LL
55862013-05-21 Leo Liu <sdl.web@gmail.com>
5587
5588 * progmodes/octave.el (octave-auto-fill): Remove.
5589 (octave-indent-new-comment-line): Improve.
5590 (octave-mode): Use auto fill mode through
4f405069 5591 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 5592 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 5593 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
5594 (octave-help): Show parent directory.
5595
f440830d
GM
55962013-05-21 Glenn Morris <rgm@gnu.org>
5597
5598 * files.el (dired-unmark):
5599 * progmodes/gud.el (gdb-input): Update declarations.
5600
5601 * calculator.el (electric, ehelp): No need to load when compiling.
5602 (Electric-command-loop, electric-describe-mode): Declare.
5603
5604 * doc-view.el (doc-view-current-converter-processes): Move before use.
5605
5606 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5607 Move MODE-set-explicitly definition before use.
5608
5609 * international/mule-diag.el (mule-diag):
5610 Don't use obsolete window-system-version.
5611
5612 * mail/feedmail.el (smtpmail): No need to load when compiling.
5613 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5614
5615 * mail/mail-utils.el (rfc822): No need to load when compiling.
5616 (rfc822-addresses): Autoload it.
5617 (mail-strip-quoted-names): Trivial simplification.
5618
5619 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5620 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5621
5622 * net/snmp-mode.el (tempo): Don't duplicate requires.
5623
5624 * progmodes/prolog.el (info): No need to load when compiling.
5625 (comint): Require before shell requires it.
5626 (Info-goto-node): Autoload it.
5627 (Info-follow-nearest-node): Declare.
5628 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5629
5630 * textmodes/artist.el (picture-mode-exit): Declare.
5631
5632 * textmodes/reftex-parse.el (reftex-parse-from-file):
5633 Trivial rewrite so the compiler can parse it better.
5634
b4da2cbb
LL
56352013-05-20 Leo Liu <sdl.web@gmail.com>
5636
5637 * progmodes/octave.el (octave-help-mode-map)
5638 (octave-help-mode-finish-hook): New variables.
5639 (octave-help-mode, octave-help-mode-finish): New functions.
5640 (octave-help): Use octave-help-mode.
5641
33c0f65b
GM
56422013-05-20 Glenn Morris <rgm@gnu.org>
5643
5644 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5645
1a0a0a8a
DG
56462013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5647
5648 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5649 start at point, so that expansion starting right after opening
5650 slash in a regexp is recognized.
5651 (ruby-syntax-before-regexp-re): New defvar, extracted from
5652 ruby-syntax-propertize-function. Since the value of this regexp
5653 is looked up at runtime now, we should be able to turn
5654 `ruby-syntax-methods-before-regexp' into a defcustom later.
5655 (ruby-syntax-propertize-function): Split regexp matching into two
5656 parts, for opening and closing slashes. That allows us to skip
5657 over string interpolations and support multiline regexps.
5658 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5659 for them, which calls `ruby-syntax-propertize-expansion'.
5660 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5661 call to `ruby-syntax-propertize-function'.
5662 (ruby-syntax-propertize-expansion): Extracted from
5663 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
5664 (ruby-syntax-propertize-percent-literal): Leave point right after
5665 the percent symbol, so that the expression expansion rule can
5666 propertize the contents.
462388b6
DG
5667 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5668 heredoc openers.
5669 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 5670
c1a6c0a4
JL
56712013-05-18 Juri Linkov <juri@jurta.org>
5672
5673 * man.el (Man-default-man-entry): Remove `-' from the end
5674 of the default value. (Bug#14400)
5675
8051fccd
GM
56762013-05-18 Glenn Morris <rgm@gnu.org>
5677
5678 * comint.el (comint-password-prompt-regexp):
5679 Allow "password for XXX" where XXX contains colons (eg https://...).
5680
5e80b74f
LL
56812013-05-18 Leo Liu <sdl.web@gmail.com>
5682
5683 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 5684 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
5685 (octave-source-directories): Don't check process.
5686 (octave-source-directories, octave-find-definition): Doc fix.
5687
521a54c5
GM
56882013-05-18 Glenn Morris <rgm@gnu.org>
5689
86a94b05
GM
5690 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5691 Remove backspace/delete bindings. (Bug#14392)
5692
521a54c5
GM
5693 * cus-dep.el (custom-make-dependencies): Sort the output.
5694 (custom-versions-load-alist): Convert comment to doc.
5695
42caeb89
LL
56962013-05-17 Leo Liu <sdl.web@gmail.com>
5697
5698 * newcomment.el (comment-search-backward): Stricter in finding
5699 comment start. (Bug#14303)
5700
5701 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5702 (octave-comment-start-skip): Properly anchored.
5703
e219dd97
LL
57042013-05-17 Leo Liu <sdl.web@gmail.com>
5705
fe1eb856
RS
5706 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5707 Clean up when turned off. (Bug#14395)
e219dd97
LL
5708 (smie--highlight-matching-block-overlay): No longer buffer-local.
5709 (smie-highlight-matching-block): Adjust.
5710
dc5dcb4b
PE
57112013-05-17 Paul Eggert <eggert@cs.ucla.edu>
5712
5713 Doc string fix for "nanoseconds" (Bug#14406).
5714 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5715 Fix doc string typo that had "nanoseconds" instead of "microseconds".
5716
1db165f0
JB
57172013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5718
5719 * calc/calc-units.el (math-extract-units): Preserve powers
5720 of units.
5721
c7a8fcac
LL
57222013-05-17 Leo Liu <sdl.web@gmail.com>
5723
5724 * subr.el (delete-consecutive-dups): New function.
5725 * ido.el (ido-set-matches-1): Use it.
5726 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5727 * ido.el (ido-remove-consecutive-dups): Remove.
5728
f678b18a
SM
57292013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5732 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5733 regexp-opt's `words'.
5734
ebfe68e8
LL
57352013-05-16 Leo Liu <sdl.web@gmail.com>
5736
5737 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5738 (smie--highlight-matching-block-overlay)
5739 (smie--highlight-matching-block-lastpos)
5740 (smie--highlight-matching-block-timer): New variables.
5741 (smie-highlight-matching-block): New function.
5742 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5743 (smie-setup): Conditionally enable smie-blink-matching-open.
5744
bc8bc17d
WS
57452013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5746
5747 Sync with upstream verilog-mode r840.
5748 * progmodes/verilog-mode.el (verilog-mode-version)
5749 (verilog-mode-release-date): Update.
5750 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5751 (verilog-sig-tieoff): Fix string error on
5752 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5753 (verilog-read-decls): Fix parameters confusing
5754 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5755
df065a0b
EZ
57562013-05-16 Eli Zaretskii <eliz@gnu.org>
5757
5758 * subr.el (reveal-filename): New function.
5759
5760 * loadup.el: Compute Emacs executable versions on MS-Windows,
5761 where executables have the .exe extension. Add a hard link
5762 emacs-XX.YY.ZZ.exe on MS-Windows.
5763
5764 * Makefile.in (XARGS_LIMIT): New variable.
5765 (custom-deps, finder-data, autoloads)
5766 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5767 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5768 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5769 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5770
2d4bf34b
LL
57712013-05-16 Leo Liu <sdl.web@gmail.com>
5772
5773 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5774 (octave-mode-menu, octave-mode-map): Remove its uses.
5775
6b9c2d85
RZ
57762013-05-16 Reto Zimmermann <reto@gnu.org>
5777
5778 Sync with upstream vhdl mode v3.34.2.
5779 * progmodes/vhdl-mode.el: Use `push' throughout.
5780 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5781 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5782 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5783 (vhdl-actual-generic-name): New option to derive actual generic name.
5784 (vhdl-port-paste-signals): Replace formal by actual generics.
5785 (vhdl-beautify): New name for old group vhdl-align. Update users.
5786 (vhdl-beautify-options): New option.
5787 (vhdl-last-input-event): New compat alias. Use throughout.
5788 (vhdl-goto-line): Replace user level function `goto-line'.
5789 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5790 vhdl-fix-statement-buffer.
5791 (vhdl-create-mode-menu): Add some entries.
5792 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5793 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5794 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5795 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5796 to force statements on one line.
5797 (vhdl-remove-trailing-spaces-region):
5798 New, split from vhdl-remove-trailing-spaces.
5799 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5800 Respect vhdl-beautify-options.
5801 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5802 (vhdl-update-sensitivity-list): Not add with index if exists without.
5803 Not include array index with signal. Ignore keywords in comments.
5804 (vhdl-get-visible-signals): Regexp tweaks.
5805 (vhdl-template-component-inst): Handle empty library.
5806 (vhdl-template-type): Add template for 'enum' type.
5807 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5808 Use vhdl-replace-string.
5809 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5810 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5811 (vhdl-speedbar-initialize): Update for above name change.
5812 (vhdl-compose-wire-components): Fix in handling of constants.
5813 (vhdl-error-regexp-emacs-alist): New variable.
5814 (vhdl-error-regexp-add-emacs): New function;
5815 adds support for new compile.el (Emacs 22+)
5816 (vhdl-generate-makefile-1): Change target order for single lib. units.
5817 Allow use of absolute file names.
5818
9df4ec5e
LL
58192013-05-16 Leo Liu <sdl.web@gmail.com>
5820
5821 * simple.el (prog-indent-sexp): Indent enclosing defun.
5822
f5ba00a6
GM
58232013-05-15 Glenn Morris <rgm@gnu.org>
5824
ed8be7ff
GM
5825 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5826 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5827 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5828 (whitespace-highlight): Move to whitespace group.
5829
5830 * comint.el (comint-source):
5831 * pcmpl-linux.el (pcmpl-linux):
5832 * shell.el (shell-faces):
5833 * eshell/esh-opt.el (eshell-opt):
5834 * international/ccl.el (ccl): Remove empty custom groups.
5835
5836 * completion.el (dynamic-completion-mode):
5837 * jit-lock.el (jit-lock-debug-mode):
5838 * minibuffer.el (completion-in-region-mode):
5839 * type-break.el (type-break-mode-line-message-mode)
5840 (type-break-query-mode):
5841 * emulation/tpu-edt.el (tpu-edt-mode):
5842 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5843 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5844 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5845
5846 * term/xterm.el (xterm): Change parent group to terminals.
5847
5848 * master.el (master): Remove empty custom group.
5849 (master-mode): Remove unused :group argument.
5850 * textmodes/refill.el (refill): Remove empty custom group.
5851 (refill-mode): Remove unused :group argument.
5852
5853 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5854
82a7c41b
GM
5855 * cus-dep.el: Provide a feature.
5856 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
5857 Don't mistakenly ignore files whose basenames match a basename
5858 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 5859 Add a fallback method for getting :group.
f5ba00a6 5860
6d65486d
JL
58612013-05-15 Juri Linkov <juri@jurta.org>
5862
da547b32
JL
5863 * isearch.el (isearch-char-by-name): Rename from
5864 `isearch-insert-char-by-name'. Doc fix.
5865 (isearch-forward): Mention `isearch-char-by-name' in
5866 the docstring. (Bug#13348)
5867
6d65486d
JL
5868 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5869 `exit-minibuffer' instead of
5870 `isearch-nonincremental-exit-minibuffer'.
5871 (isearch-edit-string): Remove mention of
5872 `isearch-nonincremental-exit-minibuffer' from docstring.
5873 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5874 (isearch-forward-exit-minibuffer)
5875 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
5876
c9990474
SM
58772013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5878
6e911150
SM
5879 * loadup.el: Just use unversioned DOC.
5880
c9990474
SM
5881 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5882 literals as extending to EOB.
5883 (nxml-last-fontify-end): Remove unused variable.
5884 (nxml-after-change1): Use with-silent-modifications.
5885 (nxml-extend-after-change-region): Simplify.
5886 (nxml-extend-after-change-region1): Remove function.
5887 (nxml-after-change1): Don't adjust for dependent regions.
5888 (nxml-fontify-matcher): Simplify.
5889 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5890 (xmltok-add-dependent): Remove function.
5891 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5892 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5893 (xmltok-scan-prolog-after-processing-instruction-open): Treat
5894 unclosed <[[, <?, comment, and other literals as extending to EOB.
5895 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5896 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5897 Remove functions.
5898 (rng-do-some-validation-1): Don't mark dependent regions.
5899 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5900 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5901 (nxml-clear-dependent-regions): Remove functions.
5902 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5903 (nxml-ensure-scan-up-to-date):
5904 Don't clear&mark dependent regions.
5905
e3772e98
LL
59062013-05-15 Leo Liu <sdl.web@gmail.com>
5907
c9990474
SM
5908 * progmodes/octave.el (octave-goto-function-definition):
5909 Improve and fix callers.
e3772e98 5910
5ac2eb34
SM
59112013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5912
c46c57b0
SM
5913 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5914 the setter (bug#14387).
5915
5ac2eb34
SM
5916 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5917 surrounding group (bug#14402).
5918
180ed218
JL
59192013-05-14 Juri Linkov <juri@jurta.org>
5920
5921 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5922 (Bug#14390)
5923
0ac0fecb
GM
59242013-05-14 Glenn Morris <rgm@gnu.org>
5925
5926 * progmodes/f90.el (f90-imenu-generic-expression):
5927 Fix typo in 2013-05-08 change. (Bug#14402)
5928
2e78e6a7
JPG
59292013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5930
5ac2eb34
SM
5931 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5932 Remove signals for which replies are never received.
2e78e6a7 5933
53267cca
JPG
59342013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5935
5936 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
5937 (gdb-handler-alist, gdb-handler-number): Remove variables.
5938 (gdb-handler-list): New variable.
5939 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
5940 (gdb-pending-handler-p, gdb-handle-reply)
5941 (gdb-remove-all-pending-triggers): New functions.
5942 (gdb-discard-unordered-replies): New defcustom.
5943 (gdb-handler): New defstruct.
5944 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
5945 instead of gdb-pending-triggers. Update docstring.
5946 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
5947 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
5948 (gdb-var-update-handler, def-gdb-auto-update-trigger)
5949 (def-gdb-auto-update-handler, gdb-get-changed-registers)
5950 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
5951 (gdb-frame-handler): Pending triggers are now automatically managed.
5952 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
5953 Remove argument.
5954 (gdb-input): Automatically handles pending triggers. Update docstring.
5955 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
5956 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
5957 Update comments.
5958 (gdb-done-or-error): Now use gdb-handle-reply.
5959
d04ce803
JPG
59602013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5961
5962 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
5963 gdb-debug-log.
5964
0114073a
GM
59652013-05-14 Glenn Morris <rgm@gnu.org>
5966
5967 * subr.el (user-emacs-directory-warning): New option.
5968 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
5969
4d25fd7e
LL
59702013-05-14 Leo Liu <sdl.web@gmail.com>
5971
5972 * progmodes/octave.el (octave-font-lock-keywords): Fix error
5973 during redisplay.
5974 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
5975 (octave-font-lock-texinfo-comment): Fix invalid search bound
5976 error: wrong side of point.
4d25fd7e 5977
27c8b6eb
GM
59782013-05-14 Glenn Morris <rgm@gnu.org>
5979
61aaeb01
GM
5980 * progmodes/flymake.el (flymake-xml-program): New option.
5981 (flymake-xml-init): Use it.
5982
5bf90bc5
GM
5983 * term/xterm.el: Provide a feature.
5984
5985 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 5986
f4c7dfd2
GM
59872013-05-13 Glenn Morris <rgm@gnu.org>
5988
5989 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
5990 Add compat aliases as a hack workaround. (Bug#14384)
5991
2aeb3a1d
LL
59922013-05-13 Leo Liu <sdl.web@gmail.com>
5993
b0e069c2
LL
5994 * progmodes/octave.el (octave-indent-comment): Fix indentation for
5995 ###, and %!.
f5a9432f
LL
5996 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
5997 C-M-q.
b0e069c2
LL
5998 (octave-comment-start-skip): Include %!.
5999 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 6000
30ea8374
LL
60012013-05-12 Leo Liu <sdl.web@gmail.com>
6002
6003 * progmodes/octave.el (inferior-octave-startup): Store the value
6004 of __octave_srcdir__ for octave-source-directories.
6005 (inferior-octave-check-process): New function refactored out of
6006 inferior-octave-send-list-and-digest.
6007 (octave-source-directories)
6008 (octave-find-definition-filename-function): New variables.
6009 (octave-source-directories)
6010 (octave-find-definition-default-filename): New functions.
6011 (octave-find-definition): Improve to find functions implemented in C++.
6012
472a3834
GM
60132013-05-12 Glenn Morris <rgm@gnu.org>
6014
6015 * calendar/diary-lib.el (diary-outlook-format-1):
6016 Don't include dayname in the output. (Bug#14349)
6017
3191b52f
GM
60182013-05-11 Glenn Morris <rgm@gnu.org>
6019
0060ac73
GM
6020 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6021
3191b52f
GM
6022 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6023 Treat cc-provide like provide.
6024
e065ba74
KR
60252013-05-11 Kevin Ryde <user42@zip.com.au>
6026
6027 * cus-dep.el (custom-make-dependencies):
6028 Use generated-autoload-load-name for the sake of files such
6029 such cedet/semantic/bovine/c.el, where the base file name
6030 is not in load-path. (Bug#5277)
6031
36f84c37
GM
60322013-05-11 Glenn Morris <rgm@gnu.org>
6033
6034 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6035 Provide features.
6036
c8730c3a
LL
60372013-05-11 Leo Liu <sdl.web@gmail.com>
6038
6039 * progmodes/octave.el (octave-indent-comment): Improve.
6040 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
6041 (octave-eldoc-function-signatures, octave-eldoc-function):
6042 New functions.
c8730c3a
LL
6043 (octave-mode, inferior-octave-mode): Add eldoc support.
6044
212e29f2
RS
60452013-05-11 Richard Stallman <rms@gnu.org>
6046
6047 * epa.el (epa-decrypt-file): Take output file name as argument
6048 and read it using `interactive'.
6049
083fe0d7
LL
60502013-05-11 Leo Liu <sdl.web@gmail.com>
6051
6052 * progmodes/octave.el (octave-beginning-of-line)
6053 (octave-end-of-line): Check before using up-list because it jumps
6054 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
6055 (octave-indent-comment): New function.
6056 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
6057 (octave-begin-keywords, octave-end-keywords)
6058 (octave-reserved-words, octave-smie-bnf-table)
6059 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 6060
8582e4c4
GM
60612013-05-11 Glenn Morris <rgm@gnu.org>
6062
f20def1f
GM
6063 * faces.el (internal-face-x-get-resource):
6064 * frame.el (ns-display-monitor-attributes-list):
d78abe37 6065 * calc/calc-aent.el (math-to-radians-2):
f20def1f 6066 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 6067 Fix declarations.
f20def1f 6068
445f95e2
GM
6069 * calc/calc-menu.el: Make it loadable in isolation.
6070
6071 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6072 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6073 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6074 (eudc-bbdb-query-internal): Require 'bbdb.
6075
99fb2756
GM
6076 * lpr.el (lpr-headers-switches):
6077 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6078
6079 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6080
0da7ad96
GM
6081 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6082
8582e4c4
GM
6083 * term.el (term-set-escape-char): Make it idempotent.
6084
f71c50d0
LL
60852013-05-10 Leo Liu <sdl.web@gmail.com>
6086
5ac2eb34
SM
6087 * progmodes/octave.el (inferior-octave-completion-table):
6088 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
6089 completion due to bug#11906.
6090 (octave-beginning-of-defun): Re-write to be more general.
6091
d5837773
GM
60922013-05-10 Glenn Morris <rgm@gnu.org>
6093
6094 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6095
027c0f75
SM
60962013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6097
6098 * comint.el (comint-redirect-send-command-to-process): Use :around
6099 rather than :override for comint-redirect-filter.
6100 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6101 Call it instead of comint-redirect-original-filter-function (which
6102 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6103
4465bfb4
JD
61042013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6105
6106 * frame.el (display-monitor-attributes-list): Add NS case.
6107 (ns-display-monitor-attributes-list): Declare.
6108
2d809ffa 61092013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
6110
6111 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6112
e54eeb9b
GM
61132013-05-09 Glenn Morris <rgm@gnu.org>
6114
56cd351d
GM
6115 * international/fontset.el (vertical-centering-font-regexp):
6116 Set standard-value.
6117
d84b6108
GM
6118 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6119
a931698a
GM
6120 * bookmark.el (bookmark-search-delay):
6121 * cus-start.el (vertical-centering-font-regexp):
6122 * ps-mule.el (ps-mule-font-info-database-default):
6123 * ps-print.el (ps-default-fg, ps-default-bg):
6124 * type-break.el (type-break-good-break-interval):
6125 * whitespace.el (whitespace-indentation-regexp)
6126 (whitespace-space-after-tab-regexp):
6127 * emacs-lisp/testcover.el (testcover-1value-functions)
6128 (testcover-noreturn-functions, testcover-progn-functions)
6129 (testcover-prog1-functions):
6130 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6131 * eshell/em-glob.el (eshell-glob-translate-alist):
6132 * play/tetris.el (tetris-tty-colors):
6133 * progmodes/cpp.el (cpp-face-default-list):
6134 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6135 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6136 (idlwave-help-browser-generic-args):
6137 * progmodes/make-mode.el (makefile-special-targets-list):
6138 * progmodes/python.el (python-shell-virtualenv-path):
6139 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6140 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6141 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6142 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6143 * textmodes/reftex-vars.el (reftex-format-label-function):
6144 * textmodes/remember.el (remember-diary-file): Fix custom types.
6145
e54eeb9b
GM
6146 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6147 Add :version.
6148
455851dd
LL
61492013-05-09 Leo Liu <sdl.web@gmail.com>
6150
6151 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 6152 Restore file completion. (Bug#14300)
455851dd
LL
6153 (inferior-octave-startup): Fix incorrect highlighting for the
6154 first prompt.
6155
a9e4425b
SM
61562013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6157
6158 * progmodes/ruby-mode.el: First cut at SMIE support.
6159 (ruby-use-smie): New var.
6160 (ruby-smie-grammar): New constant.
6161 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6162 (ruby-smie--forward-token, ruby-smie--backward-token)
6163 (ruby-smie-rules): New functions.
6164 (ruby-mode-variables): Setup SMIE if applicable.
6165
060ca408
EZ
61662013-05-08 Eli Zaretskii <eliz@gnu.org>
6167
6168 * simple.el (line-move-visual): Signal beginning/end of buffer
6169 only if vertical-motion moved less than it was requested. Avoids
6170 silly incorrect error messages when there are display strings with
6171 multiple newlines at EOL.
6172
1d5963cc
SM
61732013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6174
6175 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6176 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6177 (prolog-char-quote-workaround):
6178 * progmodes/cperl-mode.el (cperl-under-as-char):
6179 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
6180 Mark as obsolete.
6181 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
6182 their declaration.
6183 (vhdl-mode-syntax-table-init): Remove.
6184
c9990474
SM
6185 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6186 last change.
1d5963cc
SM
6187
6188 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6189 syntax for "_".
6190 (ld-script-font-lock-keywords):
6191 Change regexps to use things like \_< and \_>.
6192
6193 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6194 Change all regexps to use things like \_< and \_>.
6195
6196 * progmodes/autoconf.el (autoconf-definition-regexp)
6197 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6198 Handle a _ with symbol syntax.
6199 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6200
c9990474
SM
6201 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6202 Consolidate declaration.
1d5963cc
SM
6203 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6204 the declaration.
6205 (ada-create-syntax-table): Remove.
6206 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6207 already has the right syntax nowadays.
6208 (ada-goto-next-word): Don't change the syntax of "_".
6209
6210 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6211 with-wrapper-hook.
6212
72d3cfca
SS
62132013-05-08 Sam Steingold <sds@gnu.org>
6214
6215 * thingatpt.el (thing-at-point): Accept optional second argument
6216 NO-PROPERTIES to strip the text properties from the return value.
6217 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6218 to `thing-at-point' instead of stripping the properties ourselves.
6219 Also, when `thing-at-point' fails to find a url, prepend "http://"
6220 to the filename at point on the assumption that the user is
6221 pointing at something like gnu.org/gnu.
6222
5cb15713
JB
62232013-05-08 Juanma Barranquero <lekktu@gmail.com>
6224
6225 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6226 * faces.el (crm-separator):
6227 Silence byte-compiler.
6228
6229 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6230 (tool-bar-map): Remove unneeded defvars.
6231
ea78b95b
LL
62322013-05-08 Leo Liu <sdl.web@gmail.com>
6233
6234 Re-work a fix for bug#10994 based on Le Wang's patch.
6235 * ido.el (ido-remove-consecutive-dups): New helper.
6236 (ido-completing-read): Use it.
6237 (ido-chop): Revert fix for bug#10994.
6238
dc7466df
AS
62392013-05-08 Adam Spiers <emacs@adamspiers.org>
6240
6241 * cus-edit.el (custom-save-variables):
6242 Pretty-print long values. (Bug#14187)
6243
9ecf672a
GM
62442013-05-08 Glenn Morris <rgm@gnu.org>
6245
6246 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6247 (m4-mode-syntax-table): Init in the defvar.
6248 (m4-mode-abbrev-table): Let define-derived-mode define it.
6249
3f555be8
TT
62502013-05-08 Tom Tromey <tromey@redhat.com>
6251
6252 * progmodes/m4-mode.el (m4-mode-syntax-table):
6253 Do not treat "_" as word constituent. (Bug#14167)
6254
7cc8ae06
GM
62552013-05-07 Glenn Morris <rgm@gnu.org>
6256
4f58bc06
GM
6257 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6258 Remove explicit eshell-isearch-cancel-map.
6259
7cc8ae06
GM
6260 * progmodes/f90.el (f90-smart-end-names): New option.
6261 (f90-smart-end): Doc fix.
6262 (f90-end-block-optional-name): New constant.
6263 (f90-block-match): Respect f90-smart-end-names.
6264
ceb57e59
SM
62652013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6268 about implicit semi-colons (bug#14218).
6269
4e3f9230
YM
62702013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6271
6272 * frame.el (display-monitor-attributes-list)
6273 (frame-monitor-attributes): New functions.
6274
203a5572
LL
62752013-05-06 Leo Liu <sdl.web@gmail.com>
6276
6277 * progmodes/octave.el (octave-syntax-propertize-function): Change
6278 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6279 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 6280 (octave-completion-at-point): Rename from
203a5572
LL
6281 octave-completion-at-point-function.
6282 (inferior-octave-directory-tracker): Robustify.
6283 (octave-text-functions): Remove and fix its uses. No such things
6284 any more.
6285
ee6cff99
SM
62862013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6287
6288 * emacs-lisp/trace.el (trace--display-buffer): New function.
6289 (trace-make-advice): Use it.
6290
32985194
JL
62912013-05-06 Juri Linkov <juri@jurta.org>
6292
6293 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6294 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6295 Doc fix.
6296 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6297 in the help string. (Bug#12985)
6298
a1c700de
KD
62992013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6300
6301 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6302
c67c0839
SM
63032013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6304
323885fd
SM
6305 * progmodes/perl-mode.el: Add support for here documents.
6306 (perl-syntax-propertize-function): Match here-doc markers.
6307 (perl-syntax-propertize-special-constructs): Find their end.
6308 (perl-imenu-generic-expression): Use [:alnum:].
6309
c67c0839
SM
6310 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6311 (advice--add-function): Refresh the advice if already present
6312 (bug#14317).
6313
d491e7a8
IA
63142013-05-06 Ivan Andrus <darthandrus@gmail.com>
6315
6316 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6317
ddf9925e
GM
63182013-05-06 Glenn Morris <rgm@gnu.org>
6319
7cc3af27
GM
6320 * w32-fns.el (w32-charset-info-alist): Declare.
6321
16e343d6
GM
6322 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6323 of its defcustom properties.
6324 (eshell-cmpl-initialize): No need to load pcomplete.
6325
7d889a47
GM
6326 * generic-x.el: No need to require comint when compiling.
6327
ddf9925e
GM
6328 * net/eudc-export.el: Make it loadable without bbdb.
6329 (top-level): Use require rather than load-library.
6330 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6331 (eudc-batch-export-records-to-bbdb)
6332 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6333 Require bbdb.
6334
1e2c18df
SM
63352013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6336
6337 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6338 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6339 some tweaks, instead.
6340
02502a5f
LL
63412013-05-05 Leo Liu <sdl.web@gmail.com>
6342
6343 * progmodes/octave.el (octave-font-lock-keywords)
6344 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6345 (inferior-octave-send-list-and-digest): Improve error message.
6346 (octave-mode, inferior-octave-mode): Use setq-local.
6347 (octave-help): Set info-lookup-mode.
6348
0dc04f42
RS
63492013-05-05 Richard Stallman <rms@gnu.org>
6350
6c54491c
RS
6351 * vc/compare-w.el (compare-windows-whitespace):
6352 Treat no-break space as whitespace.
6353
0dc04f42
RS
6354 * mail/rmailsum.el (rmail-summary-rmail-update):
6355 Detect empty summary and don't change selected message.
6356 (rmail-summary-goto-msg): Likewise.
6357
df8f35df
RS
6358 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6359 Doc fixes, rename args.
6360
5356e1a3
AM
63612013-05-05 Alan Mackenzie <acm@muc.de>
6362
6363 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6364
d44014cb
JL
63652013-05-05 Juri Linkov <juri@jurta.org>
6366
6367 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6368 to not add the length of the summary segment to the return value.
6369 (Bug#14125)
6370
c129b51f
LL
63712013-05-05 Leo Liu <sdl.web@gmail.com>
6372
6373 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6374 (inferior-octave-output-filter): Remove.
6375 (octave-send-region, inferior-octave-startup): Fix callers.
6376 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6377 (octave-binary-file-extensions): New user variable.
6378 (octave-find-definition): Confirm if opening binary files.
6379 (octave-help-file): Use octave-find-definition to get the binary
6380 confirmation.
6381 (octave-help): Adjust for octave-help-file change.
6382
aa7dab97
SM
63832013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6386 Merge the two entries that handle function definitions.
6387 (pascal--syntax-propertize): New const.
6388 (pascal-mode): Use it. Use setq-local.
6389
fd3a9a6b
GM
63902013-05-04 Glenn Morris <rgm@gnu.org>
6391
6392 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6393 (diary-from-outlook): Respect diary-from-outlook-function.
6394
30c7e542
SM
63952013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6398 Move the declaration from C.
6399 (read-minibuffer, eval-minibuffer): Move from C.
6400 (completion-setup-function): Avoid minibuffer-completion-contents.
6401
b54f978b
LL
64022013-05-03 Leo Liu <sdl.web@gmail.com>
6403
6404 * progmodes/octave.el (octave-font-lock-keywords): Do not
6405 dehighlight 'end' in comments or strings.
30c7e542
SM
6406 (octave-completing-read, octave-goto-function-definition):
6407 New helpers.
d4d0f9b3
LL
6408 (octave-help-buffer): New user variable.
6409 (octave-help-file, octave-help-function): New button types.
6410 (octave-help): New command and bind it to C-h ;.
6411 (octave-find-definition): New command and bind it to M-.
d74a1581 6412 (user-error): Alias to error if not defined.
b54f978b 6413
27135018
LL
64142013-05-02 Leo Liu <sdl.web@gmail.com>
6415
6416 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6417 for \. (bug#14332)
6418 (octave-font-lock-keywords): Include [ and {.
6419
0d634d3a
LL
64202013-05-02 Leo Liu <sdl.web@gmail.com>
6421
6422 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6423 (inferior-octave): Remove calling comint-mode and return the buffer.
6424 (inferior-octave-startup): Cosmetic changes.
6425
b4c8295e
LL
64262013-05-02 Leo Liu <sdl.web@gmail.com>
6427
30c7e542
SM
6428 * progmodes/octave.el (octave-syntax-propertize-function):
6429 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 6430
f12ad6ec
GM
64312013-05-02 Glenn Morris <rgm@gnu.org>
6432
6433 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6434 * desktop.el (vc-dir-mode): Just autoload it here.
6435
30cac1e0
AM
64362013-05-02 Alan Mackenzie <acm@muc.de>
6437
6438 Eliminate variable c-standard-font-lock-fontify-region-function.
6439 * progmodes/cc-mode.el
6440 (c-standard-font-lock-fontify-region-function): Remove.
6441 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6442
d8ef28b1
LL
64432013-05-01 Leo Liu <sdl.web@gmail.com>
6444
2640d52e 6445 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 6446 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 6447 variables were removed from Octave in 2007.
d8ef28b1
LL
6448 (inferior-octave-startup): Fix uses.
6449 (comint-line-beginning-position): Remove compatibility code for
6450 emacs 21.
6451
ac63ec89
JL
64522013-05-01 Juri Linkov <juri@jurta.org>
6453
6454 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6455
9e9be37c
JL
64562013-05-01 Juri Linkov <juri@jurta.org>
6457
6458 * comint.el (comint-previous-matching-input): Don't print message
6459 "History item: %d" when `isearch-mode' is active.
6460 (comint-history-isearch-message): Print message "History item: %d"
6461 when `comint-input-ring-index' is not empty and this function is
6462 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6463
9b92c13b
LL
64642013-05-01 Leo Liu <sdl.web@gmail.com>
6465
6466 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6467 definitions. Use completion-at-point to insert keywords.
6468 (octave-abbrev-start): Remove.
6469 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6470
b12d33d7
LL
64712013-04-30 Leo Liu <sdl.web@gmail.com>
6472
6473 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6474 change.
6475
3d1c39fa
AM
64762013-04-30 Alan Mackenzie <acm@muc.de>
6477
6478 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
6479 * progmodes/cc-engine.el (c-back-over-member-initializers):
6480 new function.
3d1c39fa
AM
6481 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6482 (most) member init lists.
6483
5147fc17
RS
64842013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6485
6486 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6487 variable.
6488
5b78d7fc
LL
64892013-04-30 Leo Liu <sdl.web@gmail.com>
6490
6491 * progmodes/octave.el (octave-variables): Remove. No builtin
6492 variables any more. All converted to functions.
6493 (octave-font-lock-keywords, octave-completion-at-point-function):
6494 Fix uses.
6495 (octave-font-lock-texinfo-comment): New user variable.
6496 (octave-texinfo-font-lock-keywords): New variable for texinfo
6497 comment block.
6498 (octave-function-comment-block): New face.
6499 (octave-font-lock-texinfo-comment): New function.
6500 (octave-mode): Font lock texinfo comment block.
6501
38d8527b
LL
65022013-04-29 Leo Liu <sdl.web@gmail.com>
6503
6504 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6505 indexing expression.
6506 (octave-continuation-string): Do not use \.
6507 (inferior-octave-complete-impossible): Remove.
6508 (inferior-octave-completion-table)
6509 (inferior-octave-completion-at-point): Remove its uses.
6510 (inferior-octave-startup): completion_matches was introduced to
6511 Octave in 1996 so safe to assume it.
6512 (octave-function-file-comment): Improve to follow how Octave does it.
6513 (octave-update-function-file-comment): Tweak.
6514
2ec12cb0
LL
65152013-04-29 Leo Liu <sdl.web@gmail.com>
6516
6517 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6518 (inferior-octave-startup): Remove inferior-octave-startup-hook.
6519 (octave-function-file-comment): Fix typo.
6520 (octave-sync-function-file-names): Use read-char-choice.
6521
6eaed048
JB
65222013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
6523
6524 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6525 to t for the less important warnings.
6526
3ffa2d4f
DH
65272013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
6528
6529 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
6530
685c9501
GM
65312013-04-27 Glenn Morris <rgm@gnu.org>
6532
6533 * vc/log-view.el (log-view-current-entry):
6534 Treat "---" separator lines as part of the following rev. (Bug#14169)
6535
0208ede7
JL
65362013-04-27 Juri Linkov <juri@jurta.org>
6537
6538 * subr.el (read-number): Doc fix about using it by interactive
6539 code letter `n'. (Bug#14254)
6540
5db9dace
JL
65412013-04-27 Juri Linkov <juri@jurta.org>
6542
6543 * desktop.el (desktop-auto-save-timeout): New option.
6544 (desktop-file-checksum): New variable.
6545 (desktop-save): Add optional arg `auto-save' and don't auto-save
6546 if nothing changed.
6547 (desktop-auto-save-timer): New variable.
6548 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6549 (after-init-hook): Call `desktop-auto-save-set-timer'.
6550 Suggested by Reuben Thomas <rrt@sc3d.org> in
6551 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6552
b7260dd4
LL
65532013-04-27 Leo Liu <sdl.web@gmail.com>
6554
6555 * progmodes/octave.el (octave-function-file-p)
6556 (octave-skip-comment-forward, octave-function-file-comment)
6557 (octave-update-function-file-comment): New functions.
6558 (octave-mode-map): Bind C-c ; to
6559 octave-update-function-file-comment.
6560 (octave-mode-menu): Add octave-update-function-file-comment.
6561 (octave-mode, inferior-octave-mode): Fix doc-string.
6562 (octave-insert-defun): Conform to Octave's coding convention.
6563 (Bug#14285)
6564
6565 * files.el (basic-save-buffer): Don't let errors in
6566 before-save-hook prevent saving buffer.
6567
c46da669
RW
65682013-04-20 Roland Winkler <winkler@gnu.org>
6569
6570 * faces.el (read-face-name): Use completing-read if arg multiple
6571 is nil.
6572
a81ee1eb
IL
65732013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
6574
6575 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
6576 displayed, move point to after the totals line.
6577 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
6578 for the details.
6579
4fac34ce
SM
65802013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * emacs-lisp/package.el (package-autoload-ensure-default-file):
6583 Add current dir to the load-path.
6584 (package-generate-autoloads): Don't rely on
6585 autoload-ensure-default-file.
6586
f6bfc063
RT
65872013-04-26 Reuben Thomas <rrt@sc3d.org>
6588
d40ab5cf
BG
6589 * textmodes/remember.el (remember-store-in-files): Document that
6590 the file name format is passed to `format-time-string'.
f6bfc063 6591
e55d3b04
LL
65922013-04-26 Leo Liu <sdl.web@gmail.com>
6593
6594 * progmodes/octave.el (octave-sync-function-file-names): New function.
6595 (octave-mode): Use it in before-save-hook.
6596
e53052d3
SM
65972013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6598
140ef50c
SM
6599 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
6600 (bug#14274).
6601
e53052d3
SM
6602 * progmodes/octave.el (octave-smie-forward-token): Properly skip
6603 \n and comment, even if it's not an implicit ; (bug#14218).
6604
af80458d 66052013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
6606
6607 * subr.el (read-number): Once more use `read' rather than
6608 `string-to-number', to trap non-numeric input. (Bug#14254)
6609
af80458d 66102013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
6611
6612 * emacs-lisp/syntax.el (syntax-propertize-multiline):
6613 Use `syntax-multiline' text property consistently instead of
8a621d53 6614 `font-lock-multiline'. (Bug#14237)
70203c2e 6615
e6ea1f6c
GM
66162013-04-26 Glenn Morris <rgm@gnu.org>
6617
6618 * emacs-lisp/shadow.el (list-load-path-shadows):
6619 No longer necessary to check for duplicate simple.el, since
6620 2012-07-07 change to init_lread to not include installation lisp
6621 directories in load-path when running uninstalled. (Bug#14270)
6622
070ccca4
LL
66232013-04-26 Leo Liu <sdl.web@gmail.com>
6624
6625 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6626 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 6627 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
6628 octave-in-string-or-comment-p.
6629 (octave-in-comment-p, octave-in-string-p)
6630 (octave-in-string-or-comment-p): Replace defsubst with defun.
6631
9d1c5fb6
PE
66322013-04-25 Paul Eggert <eggert@cs.ucla.edu>
6633
6634 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6635
c034abda
BG
66362013-04-25 Bastien Guerry <bzg@gnu.org>
6637
6638 * textmodes/remember.el (remember-data-directory)
6639 (remember-directory-file-name-format): Fix custom types.
6640
584ea277
LL
66412013-04-25 Leo Liu <sdl.web@gmail.com>
6642
e53052d3
SM
6643 * progmodes/octave.el (octave-completion-at-point-function):
6644 Make use of inferior octave process.
584ea277
LL
6645 (octave-initialize-completions): Remove.
6646 (inferior-octave-completion-table): New function.
6647 (inferior-octave-completion-at-point): Use it.
6648 (octave-completion-alist): Remove.
6649
1693b06a
SM
66502013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6651
6652 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6653 (opascal-mode-syntax-table): New var.
6654 (opascal-literal-kind, opascal-is-literal-end)
6655 (opascal-literal-token-at): Rewrite.
6656 (opascal--literal-start-re, opascal-font-lock-keywords)
6657 (opascal--syntax-propertize): New constants.
6658 (opascal-font-lock-defaults): Adjust.
6659 (opascal-mode): Use them. Set comment-<foo> variables as well.
6660 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6661 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6662 (delphi-other-face, opascal-other-face): Remove face variables.
6663 (opascal-save-state): Remove macro.
6664 (opascal-fontifying-progress-step): Remove constant.
6665 (opascal--ignore-changes): Remove var.
6666 (opascal-set-token-property, opascal-parse-next-literal)
6667 (opascal-is-stable-literal, opascal-complete-literal)
6668 (opascal-is-literal-start, opascal-face-of)
6669 (opascal-parse-region, opascal-parse-region-until-stable)
6670 (opascal-fontify-region, opascal-after-change)
6671 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6672 (opascal-debug-parse-region, opascal-debug-parse-window)
6673 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6674 (opascal-debug-fontify-buffer): Remove.
6675 (opascal-debug-mode-map): Adjust accordingly.
6676
be64c05d
LL
66772013-04-25 Leo Liu <sdl.web@gmail.com>
6678
6679 Merge octave-mod.el and octave-inf.el into octave.el with some
6680 cleanups.
6681 * progmodes/octave.el: New file renamed from octave-mod.el.
6682 * progmodes/octave-inf.el: Merged into octave.el.
6683 * progmodes/octave-mod.el: Renamed to octave.el.
6684
d79d37bd
TH
66852013-04-25 Tassilo Horn <tsdh@gnu.org>
6686
6687 * textmodes/reftex-vars.el
6688 (reftex-label-ignored-macros-and-environments): New defcustom.
6689
6690 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6691
ced3fc5d
SM
66922013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6693
6694 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6695 (smie-indent-keyword): Improve the check to ensure that the next
6696 comment is really on the same line.
6697 (smie-indent-comment): Don't align with a subsequent closer (or eob).
6698
6699 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6700 semi-colons if the line is not otherwise empty (bug#14218).
6701
1c141dad
GM
67022013-04-25 Glenn Morris <rgm@gnu.org>
6703
6704 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6705
5058062a
SM
67062013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 * progmodes/opascal.el (opascal-set-token-property): Rename from
6709 opascal-set-text-properties and only set `token' (bug#14134).
6710 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6711 (opascal-literal-text-properties): Remove.
6712 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6713 Adjust callers.
6714
5db9dace 67152013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
6716
6717 * textmodes/remember.el (remember-handler-functions): Add an
6718 option for a new handler `remember-store-in-files'.
6719 (remember-data-directory, remember-directory-file-name-format):
6720 New options.
6721 (remember-store-in-files): New function to store remember notes
6722 as separate files within a directory.
6723
4391916c
MH
67242013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
6725
6726 * progmodes/compile.el (compilation-next-error-function):
6727 Pass "formats" to compilation-find-file (bug#11777).
6728
bb7cdf58
GM
67292013-04-24 Glenn Morris <rgm@gnu.org>
6730
3b8fe752 6731 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
6732 * vc/vc-hg.el (vc-hg-print-log):
6733 * vc/vc-svn.el (vc-svn-print-log):
6734 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6735
bb7cdf58
GM
6736 * vc/vc-bzr.el (vc-bzr-print-log):
6737 * vc/vc-cvs.el (vc-cvs-print-log):
6738 * vc/vc-git.el (vc-git-print-log):
6739 * vc/vc-hg.el (vc-hg-print-log):
6740 * vc/vc-mtn.el (vc-mtn-print-log):
6741 * vc/vc-rcs.el (vc-rcs-print-log):
6742 * vc/vc-sccs.el (vc-sccs-print-log):
6743 * vc/vc-svn.el (vc-svn-print-log):
6744 * vc/vc.el (vc-print-log-internal): Doc fixes.
6745
b46a056e
GM
67462013-04-23 Glenn Morris <rgm@gnu.org>
6747
6748 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6749 Remove venerable code attempting to avoid substitute-command-keys.
6750
0aecf718
TH
67512013-04-23 Tassilo Horn <tsdh@gnu.org>
6752
4391916c
MH
6753 * textmodes/reftex-vars.el (reftex-label-regexps):
6754 Call `reftex-compile-variables' after changes to this variable.
0aecf718 6755
117f94cf
SM
67562013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6757
4391916c 6758 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
6759 Use lexical-binding.
6760 (jit-lock-force-redisplay): Use markers, check buffer's continued
6761 existence and beware narrowed buffers.
6762 (jit-lock-fontify-now): Adjust call accordingly.
6763
1d829c64
SM
67642013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6767 to avoid misleading the user.
6768
72d548a9
LL
67692013-04-22 Leo Liu <sdl.web@gmail.com>
6770
6771 * info-look.el: Prefer latex2e.info. (Bug#14240)
6772
d0853629
MA
67732013-04-22 Michael Albinus <michael.albinus@gmx.de>
6774
6775 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6776
6777 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 6778 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
6779 (tramp-set-completion-function, tramp-parse-putty):
6780 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6781 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6782 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6783 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6784 (tramp-call-local-coding-command): Use `tramp-call-process'
6785 instead of `tramp-compat-call-process'.
6786
6787 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6788 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6789 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 6790 (tramp-find-inline-compress): Improve traces.
d0853629
MA
6791 (tramp-maybe-send-script): Check for Perl binary.
6792 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6793
38cc0210
DU
67942013-04-22 Daiki Ueno <ueno@gnu.org>
6795
6796 * epg.el (epg-context-pinentry-mode): New function.
6797 (epg-context-set-pinentry-mode): New function.
6798 (epg--start): Pass --pinentry-mode option to gpg command.
6799
cc641ee1
XF
68002013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6801
02d844b5 6802 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 6803 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 6804 `completion-at-point'. (Bug#13774)
5d4e5c31 6805
cc641ee1
XF
6806 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6807 default key binding for `describe-distribution' has been moved to
6808 `C-h C-o'. (Bug#13970)
6809
1b42ee43
GM
68102013-04-21 Glenn Morris <rgm@gnu.org>
6811
6812 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6813 Add doc strings.
6814 (vc-print-log): Clarify interactive prompt.
6815
a6d63d97
GM
68162013-04-20 Glenn Morris <rgm@gnu.org>
6817
6818 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6819 No longer include timestamp etc information.
6820
d7f5c16f
RW
68212013-04-20 Roland Winkler <winkler@gnu.org>
6822
6823 * faces.el (read-face-name): Bug fix, return just one face if arg
6824 multiple is nil. (Bug#14209)
6825
bcd7a0a4
SM
68262013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6829 (remove-function): Autoload.
6830
6831 * comint.el (comint-redirect-original-filter-function): Remove.
6832 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
6833 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6834 (vc-cvs-annotate-command):
bcd7a0a4
SM
6835 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6836 * progmodes/prolog.el (prolog-consult-compile):
6837 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6838 Use add/remove-function instead.
6839 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6840 (gud-tooltip-process-output, gud-tooltip-tips):
6841 Use add/remove-function instead.
6842 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6843 (scheme-interaction-mode, exit-scheme-interaction-mode):
6844 Use add/remove-function instead.
6845
6846 * vc/vc-dispatcher.el: Use lexical-binding.
6847 (vc--process-sentinel): Rename from vc-process-sentinel.
6848 Change last arg to be the code to run. Don't use vc-previous-sentinel
6849 and vc-sentinel-commands any more.
6850 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6851 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6852
e36b2d20 68532013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 6854
bcd7a0a4 6855 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 6856 Handle function names with a single character. (Bug#14111)
4d3268ba 6857
781b4af6 68582013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
6859
6860 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6861 for subroutines defined in an eval (bug#14182).
6862
7d688336
TV
68632013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6864
6865 * bookmark.el (bookmark-completing-read): Improve handling of empty
6866 string (bug#14176).
6867
31dcede0
SM
68682013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6871
adc31213
FEG
68722013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
6873
6874 New faster Imenu implementation (bug#14058).
6875 * progmodes/python.el:
6876 (python-imenu-prev-index-position):
6877 (python-imenu-format-item-label-function)
6878 (python-imenu-format-parent-item-label-function)
6879 (python-imenu-format-parent-item-jump-label-function):
6880 New vars.
6881 (python-imenu-format-item-label)
6882 (python-imenu-format-parent-item-label)
6883 (python-imenu-format-parent-item-jump-label)
6884 (python-imenu--put-parent, python-imenu--build-tree)
6885 (python-imenu-create-index, python-imenu-create-flat-index)
6886 (python-util-popn): New functions.
6887 (python-mode): Set imenu-create-index-function to
6888 python-imenu-create-index.
6889
cdca8255
SM
68902013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6891
6892 * winner.el (winner-active-region): Use region-active-p, activate-mark
6893 and deactivate-mark (bug#14225).
6894
6895 * simple.el (deactivate-mark): Don't inline it.
6896
beb42340
MA
68972013-04-18 Michael Albinus <michael.albinus@gmx.de>
6898
6899 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6900
fc7f4d7e
TH
69012013-04-18 Tassilo Horn <tsdh@gnu.org>
6902
6903 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6904 file extensions from the archive-mode entry in order to prefer
6905 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6906
29f47822
LL
69072013-04-18 Leo Liu <sdl.web@gmail.com>
6908
6909 * bindings.el (help-event-list): Add ?\?.
6910
d36ed1c8
SM
69112013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6912
6913 * subr.el (with-wrapper-hook): Declare obsolete.
6914 * simple.el (filter-buffer-substring-function): New hook.
6915 (filter-buffer-substring): Use it.
6916 (filter-buffer-substring-functions): Mark obsolete.
6917 * minibuffer.el (completion-in-region-function): New hook.
6918 (completion-in-region): Use it.
6919 (completion-in-region-functions): Mark obsolete.
6920 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6921 * abbrev.el (abbrev-expand-function): New hook.
6922 (expand-abbrev): Use it.
6923 (abbrev-expand-functions): Mark obsolete.
6924 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6925 and :filter-return.
6926
04754d36
FEG
69272013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6928
6929 * progmodes/python.el (python-nav--syntactically): Fix cornercases
6930 and do not care about match data.
6931
dd8791e9
SM
69322013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6933
6934 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6935 completion tables when completing error conditions and
6936 `declare' arguments.
6937 (lisp-complete-symbol, field-complete): Mark as obsolete.
6938 (check-parens): Unmatched parens are user errors.
6939 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
6940
ffe54a13
AM
69412013-04-17 Michal Nazarewicz <mina86@mina86.com>
6942
dd8791e9
SM
6943 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
6944 command changed buffer (ie. `flyspell-pre-buffer' is not current
6945 buffer), which prevents making decisions based on invalid value of
6946 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
6947 cause an error when `flyspell-pre-point' was nil after switching
6948 buffers.
6949 (flyspell-post-command-hook): No longer needs to change buffers when
6950 checking pre-word. While at it remove unnecessary progn.
ffe54a13 6951
ec7e39f2
AM
69522013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
6953
6954 * textmodes/ispell.el (ispell-add-per-file-word-list):
6955 Fix `flyspell-correct-word-before-point' error when accepting
6956 words and `coment-padding' is an integer by using
6957 `comment-normalize-vars' (Bug #14214).
6958
083850a6
FEG
69592013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6960
6961 New defun movement commands.
6962 * progmodes/python.el (python-nav--syntactically)
6963 (python-nav--forward-defun, python-nav-backward-defun)
6964 (python-nav-forward-defun): New functions.
6965
619ed6e1
FEG
69662013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6967
6968 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
6969 (python-syntax-context): Use named compiler-macro for backwards
6970 compatibility with Emacs 24.x.
6971
7a1beb6c
LL
69722013-04-17 Leo Liu <sdl.web@gmail.com>
6973
6974 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
6975 octave-hide-process-buffer.
6976
2d3fa3e5
SM
69772013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6978
6979 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
6980 (bug#14216).
6981
7ce5be54
JPG
69822013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
6983
6984 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
6985 Fix adjustment of offset when receiving incomplete responses from GDB
6986 (bug#14129).
6987
351edece
SM
69882013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
6991 python-mode-abbrev-table.
6992 (python-skeleton-define): Adjust accordingly.
6993 (python-mode-abbrev-table): New table that inherits from it so that
6994 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
6995
6996 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
6997 (abbrev-symbol): Use it.
6998 (abbrev--before-point): Use it since we already handle inheritance.
6999
613f9481
LL
70002013-04-16 Leo Liu <sdl.web@gmail.com>
7001
7002 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7003 binding to info-lookup-symbol.
7004
51646b62
JB
70052013-04-16 Juanma Barranquero <lekktu@gmail.com>
7006
7007 * minibuffer.el (completion--twq-all):
7008 * term/ns-win.el (ns-initialize-window-system):
7009 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7010
efb3f01d
SM
70112013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7012
36c0a301
SM
7013 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7014 global bindings.
7015
efb3f01d
SM
7016 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7017
fb549d64
DG
70182013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7019
7020 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7021 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7022 to nil.
7023 (ruby-end-of-defun): Remove the unused arg, change the docstring
7024 to reflect that this function is only used as the value of
7025 `end-of-defun-function'.
7026 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7027 to reflect an earlier change that beginning/end-of-defun functions
7028 jump between methods in a class definition, as well as top-level
7029 functions.
7030
21e8fe2f
SM
70312013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7032
7033 * minibuffer.el (minibuffer-complete): Don't just scroll
7034 a *Completions* that's been iconified.
7035 (minibuffer-force-complete): Make sure repetitions do cycle when going
7036 through completion-in-region -> minibuffer-complete.
7037
20e527d0
AM
70382013-04-15 Alan Mackenzie <acm@muc.de>
7039
7040 Correct the placement of c-cpp-delimiters when there're #s not at
7041 col 0.
7042
7043 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7044 place a submatch around the #.
21e8fe2f
SM
7045 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7046 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
7047 on the #, not BOL.
7048
dabefae5
SM
70492013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7050
7051 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7052 (advice--member-p): New arg `name'.
7053 (advice--add-function, advice-member-p): Use it (bug#14202).
7054
85c9ab64
AM
70552013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7056
7057 Reformulate java imenu-generic-expression.
7058 The old expression contained ill formed regexps.
7059
7060 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7061 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7062 (cc-imenu-java-method-arg-regexp): New defconsts.
7063 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 7064 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
7065 handling of spaces in the regexp.
7066
0f821d99
AM
70672013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7068
7069 * textmodes/ispell.el (ispell-command-loop): Remove
7070 flyspell highlight of a word when ispell accepts it (bug #14178).
7071
eb922adf
MA
70722013-04-15 Michael Albinus <michael.albinus@gmx.de>
7073
7074 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7075 uses code from the previous `ange-ftp-run-real-handler'.
7076 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7077 only in case that function exist. This is needed for proper
7078 unloading of Tramp.
7079
4d9a0979
TH
70802013-04-15 Tassilo Horn <tsdh@gnu.org>
7081
7082 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7083
7084 * textmodes/reftex.el (reftex-compile-variables): Use it.
7085
a829b0dc
SM
70862013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7087
91e8293c
SM
7088 * files.el (normal-mode): Only use default major-mode if no other mode
7089 was specified.
7090
830aed4d
SM
7091 * emacs-lisp/trace.el (trace-values): New function.
7092
a829b0dc
SM
7093 * files.el: Allow : in local variables (bug#14089).
7094 (hack-local-variable-regexp): New var.
7095 (hack-local-variables-prop-line, hack-local-variables): Use it.
7096
7ae9f0fb
RW
70972013-04-13 Roland Winkler <winkler@gnu.org>
7098
7099 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7100 data before it gets modified by bibtex-beginning-of-entry.
7101
6646e848
RW
71022013-04-13 Roland Winkler <winkler@gnu.org>
7103
7104 * textmodes/bibtex.el (bibtex-url): Doc fix.
7105
71062013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
7107
7108 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7109 does not visit a BibTeX file, exclude it from the list of buffers
7110 returned by bibtex-initialize.
7111
0aa3616e
SB
71122013-04-13 Stephen Berman <stephen.berman@gmx.net>
7113
7114 * window.el (split-window): Remove interactive form, since as a
7115 command this function is a special case of split-window-below.
7116 Correct doc string.
7117
011cddd6
RW
71182013-04-12 Roland Winkler <winkler@gnu.org>
7119
7120 * faces.el (read-face-name): Do not override value of arg default.
7121 Allow single faces and strings as default values. Remove those
7122 elements from return value that are not faces.
7123 (describe-face): Simplify.
7124 (face-at-point): New optional args thing and multiple so that this
7125 function can provide the same functionality previously provided by
7126 read-face-name.
7127 (make-face-bold, make-face-unbold, make-face-italic)
7128 (make-face-unitalic, make-face-bold-italic, invert-face)
7129 (modify-face, read-face-and-attribute): Use face-at-point.
7130
7131 * cus-edit.el (customize-face, customize-face-other-window)
7132 * cus-theme.el (custom-theme-add-face)
7133 * face-remap.el (buffer-face-set)
7134 * facemenu.el (facemenu-set-face): Use face-at-point.
7135
f24e0036
MA
71362013-04-12 Michael Albinus <michael.albinus@gmx.de>
7137
7138 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7139
da3cda2d
TH
71402013-04-10 Tassilo Horn <tsdh@gnu.org>
7141
7142 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7143 off leading { and trailing } from field values.
7144
15e54145
SM
71452013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7146
78ce603d
SM
7147 * emacs-lisp/timer.el (timer--check): New function.
7148 (timer--time, timer-set-function, timer-event-handler): Use it.
7149 (timer-set-idle-time): Simplify.
7150 (timer--activate): CSE.
7151 (timer-event-handler): Give more info in error message.
7152 (internal-timer-start-idle): New function, moved from C.
7153
15e54145
SM
7154 * mpc.el (mpc-proc): Add `restart' argument.
7155 (mpc-proc-cmd): Use it.
7156 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7157 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7158 less often.
7159
7144c627
MY
71602013-04-10 Masatake YAMATO <yamato@redhat.com>
7161
7162 * progmodes/sh-script.el: Implement `sh-mode' own
7163 `add-log-current-defun-function' (bug#14112).
7164 (sh-current-defun-name): New function.
7165 (sh-mode): Use the function.
7166
b39792eb
BG
71672013-04-09 Bastien Guerry <bzg@gnu.org>
7168
7169 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7170
8acdeb71
SM
71712013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7172
6fcdab68
SM
7173 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7174
8acdeb71
SM
7175 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7176 timer (bug#14156).
7177
e3e7b504
NF
71782013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7179
7180 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7181 declaration.
7182
201bb296
LL
71832013-04-07 Leo Liu <sdl.web@gmail.com>
7184
7185 * pcmpl-x.el: New file.
7186
ebb19708
DA
71872013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7188
7189 Do not set x-display-name until X connection is established.
7190 This is needed to prevent from weird situation described at
7191 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7192 * frame.el (make-frame): Set x-display-name after call to
7193 window system initialization function, not before.
7194 * term/x-win.el (x-initialize-window-system): Add optional
7195 display argument and use it.
7196 * term/w32-win.el (w32-initialize-window-system):
7197 * term/ns-win.el (ns-initialize-window-system):
7198 * term/pc-win.el (msdos-initialize-window-system):
7199 Add compatible optional display argument.
7200
33bb237a
EZ
72012013-04-06 Eli Zaretskii <eliz@gnu.org>
7202
7203 * files.el (normal-backup-enable-predicate): On MS-Windows and
7204 MS-DOS compare truenames of temporary-file-directory and of the
7205 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7206 don't fail comparison by compare-strings. Also, compare file
7207 names case-insensitively on MS-Windows and MS-DOS.
7208
134abf1f
SM
72092013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7212 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7213
d695cb94
DG
72142013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7215
e3e7b504
NF
7216 * whitespace.el (whitespace-color-on, whitespace-color-off):
7217 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 7218
f4ad7ea1 72192013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
7220
7221 * ispell.el (ispell-set-spellchecker-params):
7222 Really set `ispell-args' for all equivs.
7223
632556e4
SM
72242013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * ido.el (ido-completions): Use extra elements of ido-decorations
7227 (bug#14143).
7228 (ido-decorations): Update docstring.
7229
2a417372
MA
72302013-04-05 Michael Albinus <michael.albinus@gmx.de>
7231
7232 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7233 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7234 nil during initialization, in order not to miss changes since the
7235 file was opened. (Bug#14140)
7236
fc164b0c
LL
72372013-04-05 Leo Liu <sdl.web@gmail.com>
7238
7239 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7240
0ccecc08
JB
72412013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7242
7243 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7244
51af1aa2
GM
72452013-04-04 Glenn Morris <rgm@gnu.org>
7246
7247 * electric.el (electric-pair-inhibit-predicate): Add :version.
7248
b208ebc6
SM
72492013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7250
7251 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7252 when a package is required several times (bug#14082).
7253
f3d3eaf0
RW
72542013-04-04 Roland Winkler <winkler@gnu.org>
7255
7256 * faces.el (read-face-name): Behave as promised by the docstring.
7257 Assume that arg default is a list of faces.
7258 (describe-face): Call read-face-name with list of default faces.
7259
2575da50
TV
72602013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7261
7262 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7263 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7264 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7265 the header.
7266 (bookmark-exit-hook-internal): Save even if list is empty.
7267
397703b4
YH
72682013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7269
7270 * emacs-lisp/package.el (package-pinned-packages): New var.
7271 (package--add-to-archive-contents): Obey it (bug#14118).
7272
691e26ae
AM
72732013-04-03 Alan Mackenzie <acm@muc.de>
7274
8a621d53
JB
7275 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7276 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
7277
7278 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7279 parameter `not-in-delimiter'. Handle being inside comment opener.
7280 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7281 character in case we're typing a '*' after a '/'.
7282 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7283 instead by passing the parameter to c-state-pp-to-literal.
7284
7285 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7286 for elt. 7 of a parse state.
7287
4b725a70
PE
72882013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7289
7290 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7291 * international/latin1-disp.el, international/mule-util.el:
7292 * language/cyril-util.el, language/european.el, language/ind-util.el:
7293 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7294 * language/tibetan.el, language/viet-util.el:
7295 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7296
15c579f0
SM
72972013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7298
7299 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7300 (electric-pair-post-self-insert-function): Use it.
7301 (electric-pair-default-inhibit): New function, extracted from
7302 electric-pair-post-self-insert-function.
7303
a77e2924
RW
73042013-03-31 Roland Winkler <winkler@gnu.org>
7305
7306 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7307
2bd8a4a8
SM
73082013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7311
8d3655be 73122013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
7313
7314 Un-indent after "pass" and "return" statements (Bug#13888)
7315 * progmodes/python.el (python-indent-block-enders): New var.
7316 (python-indent-calculate-indentation): Use it.
7317
8d3655be 73182013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
7319
7320 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7321 defun. Defining it as defalias could introduce too eager
7322 byte-compiler optimization. (Bug#14030)
7323
8d3655be 73242013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
7325
7326 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7327
0b1619da
LL
73282013-03-30 Leo Liu <sdl.web@gmail.com>
7329
7330 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7331 (kmacro-execute-from-register): Pass the keyboard macro to
7332 kmacro-call-macro or repeating won't work correctly.
7333
0b938190
TZ
73342013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7335
7336 * progmodes/subword.el: Back to using `forward-symbol'.
7337
7338 * subr.el (forward-whitespace, forward-symbol)
7339 (forward-same-syntax): Move from thingatpt.el.
7340
35710234
LL
73412013-03-29 Leo Liu <sdl.web@gmail.com>
7342
7343 * kmacro.el (kmacro-to-register): New command.
7344 (kmacro-execute-from-register): New function.
7345 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7346
efc0bb73
SM
73472013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7348
7349 * mpc.el: Use defvar-local and setq-local.
7350 (mpc--proc-connect): Connection failures are not bugs.
7351 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7352 (mpc-volume-map): Bind to the up-events.
7353
75a2f981
TZ
73542013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7355
7356 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7357 instead of `forward-symbol'.
7358
17c781d1
SM
73592013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7362 (edebug--recursive-edit): Use it.
7363 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7364 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7365
f67bfbcf
LL
73662013-03-28 Leo Liu <sdl.web@gmail.com>
7367
7368 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7369
b59f639d
EZ
73702013-03-27 Eli Zaretskii <eliz@gnu.org>
7371
7372 * facemenu.el (list-colors-callback): New defvar.
7373 (list-colors-redisplay): New function.
7374 (list-colors-display): Install list-colors-redisplay as the
7375 revert-buffer-function. (Bug#14063)
7376
f557c1b1
SM
73772013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7378
b1da2957
SM
7379 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7380 and suffixes don't overlap (bug#14061).
7381
f557c1b1
SM
7382 * case-table.el: Use lexical-binding.
7383 (case-table-get-table): New function.
7384 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7385
002668e1
TZ
73862013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7387
7388 * progmodes/subword.el: Add `superword-mode' to do word motion
7389 over symbol_words (parallels and leverages `subword-mode' which
7390 does word motion inside MixedCaseWords).
7391
73572c72
AG
73922013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7393
78b8f320 7394 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 7395 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 7396
69b2c07e
SM
73972013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7398
7399 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7400 Change return value to be a sexp. Delay `get-buffer' to after
7401 restoring the desktop (bug#13951).
7402
08bb5ee2
LL
74032013-03-26 Leo Liu <sdl.web@gmail.com>
7404
7405 * register.el: Move semantic tag handling back to
7406 cedet/semantic/senator.el. (Bug#14052)
7407
8d4c974e
SM
74082013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7409
7410 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7411 into the prompt either (bug#13963).
7412
b234d92c
SM
74132013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7414
7415 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7416 part of "(error-foo)".
7417
ddfa3cb4
JL
74182013-03-24 Juri Linkov <juri@jurta.org>
7419
7420 * replace.el (list-matching-lines-prefix-face): New defcustom.
7421 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7422 `occur-engine' if `face-differs-from-default-p' returns t.
7423 (occur-engine): Add `,' inside backquote construct to evaluate
7424 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7425 Pass `prefix-face' to the functions `occur-context-lines' and
7426 `occur-engine-add-prefix'.
7427 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7428 `prefix-face' and propertize the prefix with `prefix-face'.
7429 (Bug#14017)
7430
7b0e2f85
LL
74312013-03-24 Leo Liu <sdl.web@gmail.com>
7432
7433 * nxml/rng-valid.el (rng-validate-while-idle)
7434 (rng-validate-quick-while-idle): Guard against deleted buffer.
7435 (Bug#13999)
7436
7437 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7438 is the last entry in kill-buffer-hook.
7439
7440 * files.el (kill-buffer-hook): Doc fix.
7441
b3082f49
DG
74422013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7443
b234d92c
SM
7444 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7445 Make it safe-local.
bde73d27 7446
b3082f49
DG
7447 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7448
a320a2db
LL
74492013-03-23 Leo Liu <sdl.web@gmail.com>
7450
7e74b0fb
LL
7451 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7452 Remove.
7453
7454 * nxml/rng-valid.el (rng-validate-mode)
7455 (rng-after-change-function, rng-do-some-validation):
7456 * nxml/rng-maint.el (rng-validate-buffer):
7457 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7458 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7459 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7460 (nxml-extend-after-change-region): Use with-silent-modifications.
7461
a320a2db
LL
7462 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7463 timer-idle-list.
7464
7465 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7466 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7467 timer-idle-list. (Bug#13999)
7468
e38e6780
JL
74692013-03-23 Juri Linkov <juri@jurta.org>
7470
7471 * info.el (info-index-match): New face.
7472 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7473 main pattern and add text properties with the new face to matches
7474 in index entries relative to the beginning of the index entry.
7475 (Bug#14015)
7476
e8cc7880
DE
74772013-03-21 Eric Ludlam <zappo@gnu.org>
7478
7479 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7480 Inhibit read only while inserting objects.
7481
9bb0d822
TZ
74822013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7483
7484 * progmodes/cfengine.el: Update docs to mention
7485 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7486 symbol motion. Remove "_" from the word syntax.
7487
aa703640
TZ
74882013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7489
7490 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7491 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7492
afff09d0
JL
74932013-03-20 Juri Linkov <juri@jurta.org>
7494
7495 * info.el (Info-next-reference-or-link)
7496 (Info-prev-reference-or-link): New functions.
7497 (Info-next-reference, Info-prev-reference): Use them.
7498 (Info-try-follow-nearest-node): Handle footnote navigation.
7499 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7500
9a1ff164
SM
75012013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7502
7503 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7504 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7505
2667d15d
PE
75062013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7507
7508 Suppress unnecessary non-ASCII chatter during build process.
7509 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7510 (batch-skkdic-convert): Suppress most of the chatter.
7511 It's not needed so much now that machines are faster,
7512 and its non-ASCII component was confusing; see Dmitry Gutov in
7513 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7514
438b0579
LL
75152013-03-20 Leo Liu <sdl.web@gmail.com>
7516
7517 * ido.el (ido-chop): Fix bug#10994.
7518
c128ab07
DG
75192013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7520
7521 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7522 Remove vars.
9a1ff164
SM
7523 (whitespace-color-on, whitespace-color-off):
7524 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 7525
0e6008c5
SM
75262013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7529 remapping in mode-line.
7530 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7531
627b52b0
DG
75322013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7533
7534 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7535 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
7536 (whitespace-font-lock-keywords): Change description.
7537 (whitespace-color-on): Don't save `font-lock-keywords' value, save
7538 the constructed keywords instead.
7539 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 7540
50c3a20b
LL
75412013-03-19 Leo Liu <sdl.web@gmail.com>
7542
7543 * progmodes/compile.el (compilation-display-error): New command.
7544 (compilation-mode-map, compilation-minor-mode-map): Bind it to
7545 C-o. (Bug#13992)
7546
2aa2157b
PE
75472013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7548
7549 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7550
e477dbfa
JD
75512013-03-18 Jan Djärv <jan.h.d@swipnet.se>
7552
7553 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7554
64ab82d1
MA
75552013-03-18 Michael Albinus <michael.albinus@gmx.de>
7556
7557 * net/tramp-compat.el (tramp-compat-user-error): New defun.
7558
7559 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7560 * net/tramp-gvfs.el (top):
7561 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
7562 (tramp-handle-shell-command): Use it.
7563 (tramp-dissect-file-name): Raise an error when hostname is a
7564 method name, and neither method nor user is specified.
7565
7566 * net/trampver.el: Update release number.
7567
33cef733
LL
75682013-03-18 Leo Liu <sdl.web@gmail.com>
7569
7570 Make sure eldoc can be turned off properly.
7571 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
7572 eldoc-mode.
7573 (eldoc-display-message-p): Revert last change.
7574 (eldoc-display-message-no-interference-p)
7575 (eldoc-print-current-symbol-info): Tweak.
7576
2167b7b2
TH
75772013-03-18 Tassilo Horn <tsdh@gnu.org>
7578
7579 * doc-view.el (doc-view-new-window-function): Check the new window
7580 overlay's display property instead the char property of the
7581 buffer's first char. Use `with-selected-window' instead of
7582 `save-window-excursion' with `select-window'.
7583 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 7584 display property instead the char property of the buffer's first char.
2167b7b2 7585
982efbcd
PE
75862013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7587
7588 Automate the build of ja-dic.el (Bug#13984).
7589 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
7590 from the input, rather than assume that it's been done for us by the
7591 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
7592 the current date into a ja-dic.el comment, as that complicates
7593 regression testing.
7594
2fcc7665
SM
75952013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7596
7597 * whitespace.el: Fix double evaluation.
7598 (whitespace-space, whitespace-hspace, whitespace-tab)
7599 (whitespace-newline, whitespace-trailing, whitespace-line)
7600 (whitespace-space-before-tab, whitespace-indentation)
7601 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
7602 obsolete defvars.
7603 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
7604 (whitespace-color-on): Use a single font-lock-add-keywords call.
7605 Fix double-evaluation of face variables.
7606
67c0a6e6
MA
76072013-03-17 Michael Albinus <michael.albinus@gmx.de>
7608
2fcc7665
SM
7609 * net/tramp-adb.el (tramp-adb-parse-device-names):
7610 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 7611 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 7612
69489f1d
LL
76132013-03-17 Leo Liu <sdl.web@gmail.com>
7614
7615 Extend eldoc to display info in the mode-line. (Bug#13978)
7616 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7617 (eldoc-mode-line-string): New variable.
7618 (eldoc-minibuffer-message): New function.
7619 (eldoc-message-function): New variable.
7620 (eldoc-message): Use it.
7621 (eldoc-display-message-p)
2fcc7665
SM
7622 (eldoc-display-message-no-interference-p):
7623 Support eldoc-post-insert-mode.
69489f1d
LL
7624
7625 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7626 (eval-expression): Run it.
7627
9c44569e
RW
76282013-03-17 Roland Winkler <winkler@gnu.org>
7629
7630 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7631 strings in the list of return values.
7632
327f1f6f
JB
76332013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7634
7635 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7636 radix before checking for HMS forms.
7637
67ed8fcd
LL
76382013-03-16 Leo Liu <sdl.web@gmail.com>
7639
7640 * progmodes/scheme.el: Add indentation and font-locking for λ.
7641 (Bug#13975)
7642
78be8b64 76432013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
7644
7645 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7646 token before point (bug#13942).
7647
78be8b64 76482013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 7649
95b43468 7650 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 7651
98e775e6
EZ
76522013-03-16 Eli Zaretskii <eliz@gnu.org>
7653
7654 * startup.el (command-line-normalize-file-name): Fix handling of
7655 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7656 <xfq.free@gmail.com> in
7657 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7658
2edd6029
MA
76592013-03-15 Michael Albinus <michael.albinus@gmx.de>
7660
7661 Sync with Tramp 2.2.7.
7662
7663 * net/trampver.el: Update release number.
7664
d35f5864
TH
76652013-03-14 Tassilo Horn <tsdh@gnu.org>
7666
f35ffe5e
TH
7667 * doc-view.el Fix bug#13887.
7668 (doc-view-insert-image): Don't modify overlay associated to
7669 non-live windows, and implement horizontal centering of image in
7670 case it's smaller than the window.
7671 (doc-view-new-window-function): Force redisplay of new windows on
7672 doc-view buffers.
d35f5864 7673
1c4a85ed
KF
76742013-03-13 Karl Fogel <kfogel@red-bean.com>
7675
7676 * saveplace.el (save-place-alist-to-file): Don't sort
7677 `save-place-alist', just pretty-print it (bug#13882).
7678
85b66a21
MA
76792013-03-13 Michael Albinus <michael.albinus@gmx.de>
7680
a020afb9
JB
7681 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7682 Check whether `default-file-name-coding-system' is bound.
7683 It isn't in XEmacs.
85b66a21 7684
175600da
SM
76852013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7686
e7f7cb1a
SM
7687 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7688 backquotes for `obsolete' (bug#13929).
7689
175600da
SM
7690 * international/mule.el (find-auto-coding): Include file name in
7691 obsolescence warning (bug#13922).
7692
ca68a22e
TZ
76932013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
7694
7695 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7696 for CFEngine 3-specific indentation.
7697 (cfengine3-indent-line): Use it. Fix up category regex.
7698 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7699
940e5099
SM
77002013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7701
7702 * type-break.el (type-break-file-name):
7703 * textmodes/remember.el (remember-data-file):
7704 * strokes.el (strokes-file):
7705 * shadowfile.el (shadow-initialize):
7706 * saveplace.el (save-place-file):
7707 * ps-bdf.el (bdf-cache-file):
7708 * progmodes/idlwave.el (idlwave-config-directory):
7709 * net/quickurl.el (quickurl-url-file):
7710 * international/kkc.el (kkc-init-file-name):
7711 * ido.el (ido-save-directory-list-file):
7712 * emulation/viper.el (viper-custom-file-name):
7713 * emulation/vip.el (vip-startup-file):
7714 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7715 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7716
cc725808
PE
77172013-03-12 Paul Eggert <eggert@cs.ucla.edu>
7718
7719 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7720 * language/thai-word.el: Switch to UTF-8.
7721
a020afb9 7722See ChangeLog.16 for earlier changes.
e3d51b27
MR
7723
7724;; Local Variables:
7725;; coding: utf-8
e3d51b27
MR
7726;; End:
7727
ab422c4d 7728 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
7729
7730 This file is part of GNU Emacs.
7731
7732 GNU Emacs is free software: you can redistribute it and/or modify
7733 it under the terms of the GNU General Public License as published by
7734 the Free Software Foundation, either version 3 of the License, or
7735 (at your option) any later version.
7736
7737 GNU Emacs is distributed in the hope that it will be useful,
7738 but WITHOUT ANY WARRANTY; without even the implied warranty of
7739 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7740 GNU General Public License for more details.
7741
7742 You should have received a copy of the GNU General Public License
7743 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.