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