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