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