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