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