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