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