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