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