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