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