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