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