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