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