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