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