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