epg: doc improvement for verify functions
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12013-10-03 Daiki Ueno <ueno@gnu.org>
2
3 * epg.el (epg-verify-file): Add a comment saying that it does not
4 notify verification error as a return value nor a signal.
5 (epg-verify-string): Ditto.
6
72013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8
9 * progmodes/compile.el (compilation-start): Try globbing the arg to
10 `cd' (bug#15417).
11
122013-10-02 Michael Albinus <michael.albinus@gmx.de>
13
14 Sync with Tramp 2.2.8.
15
16 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
18 * net/trampver.el: Update release number.
19
202013-10-01 Jan Djärv <jan.h.d@swipnet.se>
21
22 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
23 and default-process-coding-system for darwin only.
24
252013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
28
292013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
30
31 * vc/vc-git.el (vc-git-grep): Disable pager.
32
332013-10-01 Dmitry Gutov <dgutov@yandex.ru>
34
35 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
36 Use :url instead of :homepage, as per
37 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
38
39 * newcomment.el (comment-beginning): When `comment-use-syntax' is
40 non-nil, use `syntax-ppss' (Bug#15251).
41
422013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
43
44 * progmodes/octave.el (inferior-octave-startup-file):
45 Prefer ~/.emacs.d/init_octave.m.
46
472013-09-29 Dmitry Gutov <dgutov@yandex.ru>
48
49 * emacs-lisp/package.el (package-desc-from-define):
50 Accept additional arguments as plist, convert them to an alist and store
51 them in the `extras' slot.
52 (package-generate-description-file): Convert extras alist back to
53 plist and append to the `define-package' form arguments.
54 (package--alist-to-plist): New function.
55 (package--ac-desc): Add `extras' slot.
56 (package--add-to-archive-contents): Check if the archive-contents
57 vector is long enough, and if it is, pass its `extras' slot value
58 to `package-desc-create'.
59 (package-buffer-info): Call `lm-homepage', pass the returned value
60 to `package-desc-from-define'.
61 (describe-package-1): Render the homepage button (Bug#13291).
62
63 * emacs-lisp/package-x.el (package-upload-buffer-internal):
64 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
65
662013-09-29 Jan Djärv <jan.h.d@swipnet.se>
67
68 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
69 and default-process-coding-system to utf-8-unix (Bug#15402).
70
712013-09-29 Xue Fuqiao <xfq.free@gmail.com>
72
73 * subr.el (looking-back): Do not recommend using looking-back.
74
752013-09-28 Alan Mackenzie <acm@muc.de>
76
77 Fix indentation/fontification of Java enum with "implements".
78
79 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
80 regexp which matches "implements", etc., in Java.
81 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
82 specifier clauses coming after "enum".
83 * progmodes/cc-fonts.el (c-font-lock-declarations)
84 (c-font-lock-enum-tail): Check for extra specifier clauses coming
85 after "enum".
86
872013-09-28 Jan Djärv <jan.h.d@swipnet.se>
88
89 * faces.el (region): Change ns_selection_color to
90 ns_selection_fg_color, add ns_selection_bg_color.
91
922013-09-28 Leo Liu <sdl.web@gmail.com>
93
94 * progmodes/octave.el (inferior-octave-completion-table)
95 (inferior-octave-completion-at-point): Minor tweaks.
96
97 * textmodes/ispell.el (ispell-lookup-words): Rename from
98 lookup-words. (Bug#15460)
99 (lookup-words): Obsolete.
100 (ispell-complete-word, ispell-command-loop): All uses changed.
101
1022013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
103
104 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
105 (octave-mode-menu): Add octave-send-buffer.
106 (octave-send-buffer): New function.
107
1082013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
109
110 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
111 octave-lookfor.
112 (octave-mode-menu): Add octave-lookfor.
113 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
114 octave-lookfor.
115 (octave-lookfor): New function.
116
1172013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 * emacs-lisp/cl-macs.el:
120 (cl--loop-destr-temps): Remove.
121 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
122 its convention.
123 (cl--loop-set-iterator-function): New function.
124 (cl-loop): Adjust accordingly, so as not to use cl-subst.
125 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
126 Bind `it' with `let' instead of substituting it with `cl-subst'.
127 (cl--unused-var-p): New function.
128 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
129 Eliminate some unused variable warnings (bug#15326).
130
1312013-09-27 Tassilo Horn <tsdh@gnu.org>
132
133 * doc-view.el (doc-view-scale-reset): Rename from
134 `doc-view-reset-zoom-level'.
135 (doc-view-scale-adjust): New command.
136 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
137 `doc-view-scale-adjust'.
138
1392013-09-26 Tassilo Horn <tsdh@gnu.org>
140
141 * doc-view.el (doc-view-reset-zoom-level): New command.
142 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
143 zoom commands (bug#15466).
144
1452013-09-26 Kenichi Handa <handa@gnu.org>
146
147 * international/quail.el (quail-help): Make it not a command.
148
1492013-09-26 Leo Liu <sdl.web@gmail.com>
150
151 * minibuffer.el (completion-all-sorted-completions): Make args
152 optional as they are.
153
1542013-09-25 Daniel Colascione <dancol@dancol.org>
155
156 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
157 specs are and that they're not evaluated.
158
1592013-09-24 Sam Steingold <sds@gnu.org>
160
161 * midnight.el (clean-buffer-list-kill-regexps)
162 (clean-buffer-list-kill-buffer-names): Update for the new Man
163 buffer naming which includes the object name.
164
1652013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
166
167 * eshell/esh-cmd.el (eshell--sep-terms): New var.
168 (eshell-parse-command, eshell-parse-pipeline): Use it since
169 eshell-separate-commands requires a dynamic scoped var.
170 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
171
1722013-09-23 Leo Liu <sdl.web@gmail.com>
173
174 * autoinsert.el (auto-insert-alist): Make the value of
175 lexical-binding match its file setting.
176
1772013-09-23 Juanma Barranquero <lekktu@gmail.com>
178
179 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
180
181 * autoarg.el (autoarg-kp-digit-argument):
182 * electric.el (Electric-command-loop):
183 * kmacro.el (kmacro-step-edit-insert):
184 Do not set universal-argument-num-events.
185
1862013-09-22 Leo Liu <sdl.web@gmail.com>
187
188 * files.el (interpreter-mode-alist): Add octave.
189
1902013-09-21 Alan Mackenzie <acm@muc.de>
191
192 C++: fontify identifier in declaration following "public:" correctly.
193 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
194 to match "public", etc.
195 (c-decl-prefix-re): Add ":" into the C++ value.
196 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
197 bit. Add a check for a ":" preceded by "public", etc.
198
1992013-09-21 Eli Zaretskii <eliz@gnu.org>
200
201 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
202 recognized by GDB 7.5 and later.
203
2042013-09-21 Xue Fuqiao <xfq.free@gmail.com>
205
206 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
207
2082013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * subr.el (internal--call-interactively): New const.
211 (called-interactively-p): Use it (bug#3984).
212
2132013-09-20 Xue Fuqiao <xfq.free@gmail.com>
214
215 * vc/pcvs.el (cvs-mode-ignore):
216 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
217 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
218
2192013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
220
221 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
222 (eshell-ls-orig-insert-directory): Remove.
223 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
224 (eshell-ls-use-in-dired): Use advice-add/remove.
225 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
226 Add `orig-fun' arg for use in :around advice.
227 Make it check (redundantly) eshell-ls-use-in-dired.
228
2292013-09-19 Glenn Morris <rgm@gnu.org>
230
231 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
232
233 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
234
235 * emacs-lisp/eieio.el (class-parent): Undo previous change.
236
2372013-09-19 Michael Albinus <michael.albinus@gmx.de>
238
239 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
240 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
241 (tramp-get-remote-python): New defuns.
242 (tramp-get-remote-uid-with-perl)
243 (tramp-get-remote-gid-with-perl): New defuns. Perl code
244 contributed by yary <not.com@gmail.com> (tiny change).
245 (tramp-get-remote-uid-with-python)
246 (tramp-get-remote-gid-with-python): New defuns. Python code
247 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
248 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
249
2502013-09-19 Glenn Morris <rgm@gnu.org>
251
252 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
253
254 * eshell/em-unix.el (eshell-remove-entries):
255 Rename argument to avoid name-clash with global `top-level'.
256
257 * eshell/esh-proc.el (eshell-kill-process-function):
258 Remove eshell-reset-after-proc from eshell-kill-hook if present.
259 (eshell-reset-after-proc): Remove unused arg `proc'.
260
261 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
262 (directory-files-and-attributes): Mark unused arg.
263
264 * eshell/em-unix.el (eshell-remove-entries):
265 Remove unused arg `path'. Update callers.
266
267 * eshell/em-hist.el (eshell-hist-parse-arguments):
268 Remove unused arg `silent'. Update callers.
269
270 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
271 Fix (f)boundp mix-up.
272
273 * eshell/em-smart.el (eshell-smart-scroll-window)
274 (eshell-disable-after-change):
275 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
276
2772013-09-18 Alan Mackenzie <acm@muc.de>
278
279 Fix fontification of type when followed by "const".
280 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
281 "known" types from fontification.
282
2832013-09-18 Glenn Morris <rgm@gnu.org>
284
285 * emacs-lisp/chart.el (x-display-color-cells): Declare.
286 (chart-face-list): Drop Emacsen without display-color-p.
287
288 * net/eww.el (libxml-parse-html-region): Declare.
289 (eww-display-html): Explicit error if no libxml2 support.
290
291 * doc-view.el (doc-view-mode): Silence --without-x compilation.
292
293 * image.el (image-type-from-buffer, image-multi-frame-p):
294 Remove --without-x warning/error.
295
296 * mouse.el (mouse-yank-primary):
297 * term.el (term-mouse-paste):
298 Reorder to silence --without-x compilation.
299
300 * mpc.el (doc-view-mode): Silence --without-x compilation.
301
302 * mail/rmailmm.el (rmail-mime-set-bulk-data):
303 Silence --without-x compilation.
304
305 * progmodes/gud.el (gud-find-file, gud-mode):
306 Silence --without-x compilation.
307 (tooltip-mode): Declare.
308
309 * wdired.el (dired-backup-overwrite): Remove declaration.
310 (wdired-mode-map): Add doc string.
311
312 * custom.el (x-get-resource): Declare.
313
314 * eshell/em-glob.el (ange-cache):
315 * eshell/em-unix.el (ange-cache): Declare.
316
317 * faces.el (x-display-list, x-open-connection, x-get-resource):
318 Declare.
319
320 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
321 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
322 Declare.
323
324 * frame.el (x-display-grayscale-p, x-display-name): Declare.
325
326 * net/gnutls.el (gnutls-log-level): Declare.
327
328 * net/shr.el (image-size, image-animate): Declare.
329
330 * simple.el (font-info): Declare.
331
332 * subr.el (x-popup-dialog): Declare.
333
334 * term/common-win.el (x-select-enable-primary)
335 (x-last-selected-text-primary, x-last-selected-text-clipboard):
336 Declare.
337
338 * term/ns-win.el (x-handle-args): Declare.
339
340 * term/x-win.el (x-select-enable-clipboard): Declare.
341
342 * term/w32-win.el (create-default-fontset): Declare.
343
344 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
345 Declare.
346
347 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
348 (fit-frame-to-buffer): Explicit error if --without-x.
349 (mouse-autoselect-window-select): Silence compiler.
350
351 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
352
353 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
354 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
355 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
356 * eshell/esh-util.el (eshell-sublist):
357 Remove unused local variables.
358
359 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
360
361 * textmodes/two-column.el: Make 2C-split work for --without-x.
362 (scroll-bar-columns): Autoload.
363 (top-level): Require fringe when compiling.
364
3652013-09-18 Leo Liu <sdl.web@gmail.com>
366
367 * subr.el (add-hook): Robustify to handle closure as well.
368
3692013-09-17 Glenn Morris <rgm@gnu.org>
370
371 * simple.el (messages-buffer-mode-map): Unbind "g".
372
3732013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * help-mode.el (help-mode-finish): Use derived-mode-p.
376 Remove obsolete highlighting.
377
378 * play/life.el (life-mode): Use define-derived-mode. Derive from
379 special-mode.
380 (life): Let-bind inhibit-read-only.
381 (life-setup): Avoid `setq'. Use `life-mode'.
382
383 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
384 which should not be needed any more.
385 (package-menu-refresh, package-menu-describe-package): Use user-error.
386
387 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
388 (eshell-post-rewrite-command-hook): Make obsolete.
389 (eshell-parse-command): Simplify.
390 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
391 (eshell--cmd): Declare.
392 (eshell-parse-pipeline): Remove unused var `final-p'.
393 Pass a dynvar to eshell-post-rewrite-command-hook.
394 Implement the new eshell-post-rewrite-command-function.
395 (eshell-invoke-directly): Remove unused arg `input'.
396 * eshell/esh-io.el (eshell-io-initialize):
397 Use eshell-post-rewrite-command-function (bug#15399).
398 (eshell--apply-redirections): Rename from eshell-apply-redirections;
399 adjust to new calling convention.
400 (eshell-create-handles): Rename args to avoid clashing with dynvar
401 `standard-output'.
402
4032013-09-17 Glenn Morris <rgm@gnu.org>
404
405 * simple.el (messages-buffer-mode): New major mode.
406 (messages-buffer): New function.
407 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
408 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
409 (ert-run-test): Use `messages-buffer' function.
410 (ert--force-message-log-buffer-truncation): Ignore read-only.
411 * help.el (view-echo-area-messages): Use `messages-buffer' function.
412 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
413
4142013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
415
416 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
417
418 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
419
4202013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * icomplete.el (icomplete-in-buffer): New var.
423 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
424 vars and replace them with functions.
425 (icomplete-minibuffer-setup): Adjust accordingly.
426 (icomplete--completion-table, icomplete--completion-predicate)
427 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
428 New functions.
429 (icomplete-forward-completions, icomplete-backward-completions)
430 (icomplete-simple-completing-p, icomplete-exhibit)
431 (icomplete-completions): Use them.
432 (icomplete--in-region-buffer): New var.
433 (icomplete--in-region-setup): New function.
434 (icomplete-mode): Use it.
435
436 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
437 (bug#15379).
438 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
439 return args and options.
440 (eshell-eval-using-options): Use the new return value of
441 eshell--do-opts to set the options's vars in their scope.
442 (eshell--set-option): Rename from eshell-set-option.
443 Add arg `opt-vals'.
444 (eshell--process-option): Rename from eshell-process-option.
445 Add arg `opt-vals'.
446 (eshell--process-args): Use an `opt-vals' alist to store the options's
447 values during their processing and return them additionally to the
448 remaining args.
449
4502013-09-15 Dmitry Gutov <dgutov@yandex.ru>
451
452 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
453 continuation character an operator, as far as indentation is
454 concerned (Bug#15369).
455
4562013-09-15 Martin Rudalics <rudalics@gmx.at>
457
458 * window.el (window--state-put-2): Don't process buffer state
459 when buffer doesn't exist any more (Bug#15382).
460
4612013-09-15 Glenn Morris <rgm@gnu.org>
462
463 * eshell/em-unix.el (eshell/rm):
464 Make -f ignore missing files. (Bug#15373)
465
466 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
467 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
468 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
469
4702013-09-14 Glenn Morris <rgm@gnu.org>
471
472 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
473
4742013-09-13 Glenn Morris <rgm@gnu.org>
475
476 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
477 (dired-guess-default): Make `file' available in the env. (Bug#15363)
478
4792013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
480
481 * frame.el (x-focus-frame): Mark as declared in frame.c.
482
4832013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * ls-lisp.el: Use advice-add.
486 (original-insert-directory): Remove.
487 (ls-lisp--insert-directory): Rename from insert-directory; add
488 `orig-fun' argument.
489 (insert-directory): Advise.
490
4912013-09-13 Eli Zaretskii <eliz@gnu.org>
492
493 * term.el (term-emulate-terminal): Decode the command string
494 before passing it to term-command-hook. (Bug#15337)
495
4962013-09-13 Glenn Morris <rgm@gnu.org>
497
498 * eshell/esh-util.el (ange-cache): Move declaration earlier.
499
500 * eshell/esh-ext.el (eshell-search-path): Declare.
501
502 * eshell/em-prompt.el (eshell/pwd): Autoload it.
503 Otherwise an error occurs if eshell-dirs module not loaded.
504
505 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
506
5072013-09-13 Michael Albinus <michael.albinus@gmx.de>
508
509 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
510 `tramp-check-proper-host'. Check for a valid method name.
511
512 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
513 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
514 * net/tramp-sh.el (tramp-maybe-open-connection):
515 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
516
517 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
518 also for hash values.
519
5202013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
521
522 * term/ns-win.el (parameters): Don't declare as dynamic.
523 (before-make-frame-hook): Don't add ineffective function.
524
525 * eshell/*.el: Use lexical-binding (bug#15231).
526
5272013-09-12 Kenichi Handa <handa@gnu.org>
528
529 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
530
5312013-09-12 Glenn Morris <rgm@gnu.org>
532
533 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
534 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
535
536 * subr.el (do-after-load-evaluation): Also give compiler warnings
537 when obsolete files are used (except by obsolete files).
538
539 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
540 in the status output, assume `filename' is the first. (Bug#15322)
541
542 * vc/vc.el (vc-deduce-fileset): Doc fix.
543
544 * calc/calc-help.el (Info-goto-node):
545 * progmodes/cperl-mode.el (Info-find-node):
546 * vc/ediff.el (Info-goto-node): Update declarations.
547
548 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
549
550 * vc/vc-bzr.el (vc-compilation-mode): Declare.
551 (vc-bzr-pull): Require vc-dispatcher.
552 * vc/vc-git.el (vc-compilation-mode): Declare.
553 (vc-git-pull): Require vc-dispatcher.
554
555 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
556
557 * progmodes/octave.el (help-button-action): Declare.
558
559 * shell.el (shell-directory-tracker): Output error as a message
560 rather than just returning it as a string.
561 (shell-process-pushd): Remove useless use of message.
562
563 * dframe.el (dframe-timer-fn):
564 * files.el (dir-locals-read-from-file):
565 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
566 (mpc-format):
567 * reveal.el (reveal-post-command):
568 * saveplace.el (load-save-place-alist-from-file):
569 * shell.el (shell-resync-dirs):
570 * w32-common-fns.el (x-get-selection-value):
571 * emacs-lisp/copyright.el (copyright-find-copyright):
572 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
573 * emulation/tpu-edt.el (tpu-copy-keyfile):
574 * play/bubbles.el (bubbles--mark-neighbourhood):
575 * progmodes/executable.el
576 (executable-make-buffer-file-executable-if-script-p):
577 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
578
5792013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 Cleanup Eshell to rely less on dynamic scoping.
582 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
583 last-value, and ext-command here. Bind `args' closer to `body'.
584 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
585 (eshell--args): Declare new dynamic var.
586 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
587 last-value, and ext-command. Pass `args' to `body'.
588 (eshell-process-args): Bind eshell--args.
589 (eshell-set-option): Use eshell--args.
590 * eshell/eshell.el (eshell): Use derived-mode-p.
591 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
592 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
593 (eshell-glob-function): Declare.
594 * eshell/esh-util.el: Require cl-lib.
595 (eshell-read-hosts-file): Avoid add-to-list.
596 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
597 `err'.
598 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
599 Declare.
600 (eshell/diff): Remove unused var `err'.
601 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
602 `killflag'.
603 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
604 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
605 first use.
606 * eshell/em-glob.el (eshell-glob-matches, message-shown):
607 Move declaration before first use.
608 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
609 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
610 rely on cl-return.
611
6122013-09-12 Glenn Morris <rgm@gnu.org>
613
614 * term/ns-win.el (global-map): Remove binding for ispell-next,
615 deleted 1999-05-29. (Bug#15357)
616
6172013-09-11 Glenn Morris <rgm@gnu.org>
618
619 * echistory.el (electric-command-history): Remove call to deleted func.
620
621 * play/landmark.el (landmark-mode): Fix typos.
622
623 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
624 Check cvs-sort-ignore-file is bound.
625
626 * savehist.el: No need for cl when compiling on Emacs.
627
6282013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
631 (bug#15338).
632 (eshell-self-insert-command, eshell-send-invisible):
633 Remove unused argument.
634 (eshell-handle-control-codes): Remove unused var `orig'.
635 Avoid delete-backward-char.
636
637 * files.el (set-auto-mode): Simplify a bit further.
638
6392013-09-11 Glenn Morris <rgm@gnu.org>
640
641 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
642 (set-auto-mode): Don't regexp-quote elements.
643 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
644 * progmodes/cc-mode.el (interpreter-mode-alist):
645 * progmodes/ruby-mode.el (interpreter-mode-alist):
646 Revert previous change.
647
6482013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
649
650 * play/snake.el (snake-mode):
651 * play/mpuz.el (mpuz-mode):
652 * play/landmark.el (lm-mode):
653 * play/blackbox.el (blackbox-mode):
654 * play/5x5.el (5x5-mode):
655 * obsolete/options.el (Edit-options-mode):
656 * net/quickurl.el (quickurl-list-mode):
657 * net/newst-treeview.el (newsticker-treeview-mode):
658 * mail/rmailsum.el (rmail-summary-mode):
659 * mail/mspools.el (mspools-mode):
660 * locate.el (locate-mode):
661 * ibuffer.el (ibuffer-mode):
662 * emulation/ws-mode.el (wordstar-mode):
663 * emacs-lisp/debug.el (debugger-mode):
664 * array.el (array-mode):
665 * net/eudc.el (eudc-mode): Use define-derived-mode.
666 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
667 Move initialization into declaration.
668 (mairix-searches-mode): Use define-derived-mode.
669 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
670 (eudc-edit-hotlist): Use dolist.
671 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
672 (Man-mode): Use define-derived-mode.
673 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
674 (Info-edit-mode): Use define-derived-mode.
675 (Info-cease-edit): Use Info-mode.
676 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
677 into declaration.
678 (eshell-mode): Use define-derived-mode.
679 * chistory.el (command-history-mode-map): Rename from
680 command-history-map.
681 (command-history-mode): Use define-derived-mode.
682 (Command-history-setup): Remove function.
683 * calc/calc.el (calc-trail-mode-map): New var.
684 (calc-trail-mode): Use define-derived-mode.
685 (calc-trail-buffer): Set calc-main-buffer manually.
686 * bookmark.el (bookmark-insert-annotation): New function.
687 (bookmark-edit-annotation): Use it.
688 (bookmark-edit-annotation-mode): Make it a proper major mode.
689 (bookmark-send-edited-annotation): Use derived-mode-p.
690 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
691 closer to its ideal place. Use \' to match EOS.
692
693 * profiler.el (profiler-calltree-find): Use function-equal.
694
6952013-09-10 Glenn Morris <rgm@gnu.org>
696
697 * files.el (interpreter-mode-alist): Convert to regexps.
698 (set-auto-mode): Adapt for this. (Bug#15306)
699 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
700 Comment out unused variable.
701 * progmodes/cc-mode.el (interpreter-mode-alist):
702 * progmodes/python.el (interpreter-mode-alist):
703 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
704 * progmodes/sh-script.el (sh-set-shell):
705 No longer use interpreter-mode-alist to get list of shells.
706
707 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
708
7092013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
710
711 * simple.el: Use set-temporary-overlay-map for universal-argument.
712 (universal-argument-map): Don't use default-bindings (bug#15317).
713 Bind switch-frame explicitly. Replace universal-argument-minus with
714 a conditional binding.
715 (universal-argument-num-events, saved-overriding-map): Remove.
716 (restore-overriding-map): Remove.
717 (universal-argument--mode): Rename from save&set-overriding-map,
718 and rewrite.
719 (universal-argument, universal-argument-more, negative-argument)
720 (digit-argument): Adjust accordingly.
721 (universal-argument-minus): Remove.
722 (universal-argument-other-key): Remove.
723
724 * subr.el (with-demoted-errors): Add `format' argument.
725
7262013-09-10 Michael Albinus <michael.albinus@gmx.de>
727
728 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
729 `tramp-cleanup-connection'.
730
731 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
732 parameters KEEP-DEBUG and KEEP-PASSWORD.
733
734 * net/tramp.el (tramp-file-name-handler):
735 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
736 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
737 (tramp-maybe-open-connection):
738 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
739 Use `tramp-cleanup-connection'.
740
741 * net/tramp-sh.el (tramp-maybe-open-connection):
742 Catch 'uname-changed inside the progress reporter.
743
7442013-09-10 Glenn Morris <rgm@gnu.org>
745
746 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
747
748 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
749 returns "alternate access method" in mode (eg "-rw-r--r--.").
750
7512013-09-08 Glenn Morris <rgm@gnu.org>
752
753 * saveplace.el (load-save-place-alist-from-file):
754 Demote errors. (Bug#15305)
755
7562013-09-08 Michael Albinus <michael.albinus@gmx.de>
757
758 Improve compatibility with older Emacsen, and XEmacs.
759
760 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
761 only if it is bound. It isn't for XEmacs.
762 (with-tramp-progress-reporter): Do not let-bind `result'.
763 This yields to scoping errors in XEmacs.
764 (tramp-handle-make-auto-save-file-name): New function, moved from
765 tramp-sh.el.
766
767 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
768 for `make-auto-save-file-name'.
769 (tramp-adb--gnu-switches-to-ash):
770 Use `tramp-compat-replace-regexp-in-string'.
771
772 * net/tramp-cache.el (tramp-cache-print): Call
773 `substring-no-properties' only if it is bound. It isn't for XEmacs.
774
775 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
776 bound. It isn't for XEmacs.
777
778 * net/tramp-compat.el (tramp-compat-copy-file):
779 Catch `wrong-number-of-arguments' error.
780 (tramp-compat-replace-regexp-in-string): New defun.
781
782 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
783 for `make-auto-save-file-name'.
784 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
785 `copy-file'.
786 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
787 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
788 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
789
790 * net/tramp-gw.el (tramp-gw-open-network-stream):
791 Use `tramp-compat-replace-regexp-in-string'.
792
793 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
794 Call `tramp-handle-make-auto-save-file-name'.
795 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
796 (tramp-sh-file-gvfs-monitor-dir-process-filter)
797 (tramp-sh-file-inotifywait-process-filter):
798 Use `tramp-compat-replace-regexp-in-string'.
799 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
800
801 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
802 for `make-auto-save-file-name'.
803 (tramp-smb-handle-copy-directory):
804 Call `tramp-compat-replace-regexp-in-string'.
805 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
806 (tramp-smb-handle-copy-file): Improve error message.
807 (tramp-smb-handle-rename-file): Rename directly only in case
808 `newname' does not exist yet. This is a restriction of smbclient.
809 (tramp-smb-maybe-open-connection): Rerun the function only when
810 `auth-sources' is non-nil.
811
8122013-09-08 Kenichi Handa <handa@gnu.org>
813
814 * international/characters.el: Set category "^" (Combining) for
815 more characters.
816
8172013-09-07 Alan Mackenzie <acm@muc.de>
818
819 Correctly fontify Java class constructors.
820 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
821 in Java Mode.
822 (c-recognize-typeless-decls): Set the Java value to t.
823 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
824 While handling a "(", add a check for, effectively, Java, and handle a
825 "typeless" declaration there.
826
8272013-09-07 Roland Winkler <winkler@gnu.org>
828
829 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
830 field subtitle for entry type book.
831
8322013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
833
834 * minibuffer.el: Make minibuffer-complete call completion-in-region
835 rather than other way around.
836 (completion--some, completion-pcm--find-all-completions):
837 Don't delay signals when debugging.
838 (minibuffer-completion-contents): Beware fields within the
839 minibuffer contents.
840 (completion-all-sorted-completions): Use defvar-local.
841 (completion--do-completion, completion--cache-all-sorted-completions)
842 (completion-all-sorted-completions, minibuffer-force-complete):
843 Add args `beg' and `end'.
844 (completion--in-region-1): New fun, extracted from minibuffer-complete.
845 (minibuffer-complete): Use completion-in-region.
846 (completion-complete-and-exit): New fun, extracted from
847 minibuffer-complete-and-exit.
848 (minibuffer-complete-and-exit): Use it.
849 (completion--complete-and-exit): Rename from
850 minibuffer--complete-and-exit.
851 (completion-in-region--single-word): New function, extracted from
852 minibuffer-complete-word.
853 (minibuffer-complete-word): Use it.
854 (display-completion-list): Make `common-substring' argument obsolete.
855 (completion--in-region): Call completion--in-region-1 instead of
856 minibuffer-complete.
857 (completion-help-at-point): Pass boundaries to
858 minibuffer-completion-help as args rather than via an overlay.
859 (completion-pcm--string->pattern): Use `any-delim'.
860 (completion-pcm--optimize-pattern): New function.
861 (completion-pcm--pattern->regex): Handle `any-delim'.
862 * icomplete.el (icomplete-forward-completions)
863 (icomplete-backward-completions, icomplete-completions):
864 Adjust calls to completion-all-sorted-completions and
865 completion--cache-all-sorted-completions.
866 (icomplete-with-completion-tables): Default to t.
867 * emacs-lisp/crm.el (crm--current-element): Rename from
868 crm--select-current-element. Don't put an overlay but return the
869 boundaries instead.
870 (crm--completion-command): Take two new args to bind to the boundaries.
871 (crm-completion-help): Adjust accordingly.
872 (crm-complete): Use completion-in-region.
873 (crm-complete-word): Use completion-in-region--single-word.
874 (crm-complete-and-exit): Use completion-complete-and-exit.
875
8762013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
877
878 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
879 than dynamically.
880
8812013-09-06 Juri Linkov <juri@jurta.org>
882
883 * info.el (Info-display-images-node): When image file doesn't exist
884 display text version of the image if it's provided in the Info file.
885 Otherwise, display the location of missing image from SRC attribute.
886 Add help-echo text property from ALT attribute. (Bug#15279)
887
8882013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
891 (edit-abbrevs-mode): Use define-derived-mode.
892
893 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
894 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
895 that it's defined.
896 (epa-key-list-mode, epa-key-mode, epa-info-mode):
897 Use define-derived-mode.
898
899 * epg.el (epg-start-encrypt): Minor CSE simplification.
900
9012013-09-06 William Xu <william.xwl@gmail.com>
902
903 * arc-mode.el: Add support for 7za (bug#15264).
904 (archive-7z-program): New var.
905 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
906 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
907 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
908
9092013-09-06 Michael Albinus <michael.albinus@gmx.de>
910
911 Remove URL syntax.
912
913 * net/tramp.el (tramp-syntax, tramp-prefix-format)
914 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
915 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
916 (tramp-postfix-host-format, tramp-file-name-regexp)
917 (tramp-completion-file-name-regexp)
918 (tramp-completion-dissect-file-name)
919 (tramp-handle-substitute-in-file-name): Remove 'url case.
920 (tramp-file-name-regexp-url)
921 (tramp-completion-file-name-regexp-url): Remove constants.
922
9232013-09-06 Glenn Morris <rgm@gnu.org>
924
925 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
926
9272013-09-05 Dmitry Gutov <dgutov@yandex.ru>
928
929 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
930 keywords" below "here-doc beginnings" (Bug#15270).
931
9322013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * subr.el (pop): Use `car-safe'.
935 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
936 to detect unused `pop' return value.
937
938 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
939 var `block-regexp'.
940 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
941 (python-fill-string): Remove unused var `marker'.
942 (python-skeleton-add-menu-items): Remove unused var `items'.
943
944 * international/mule-cmds.el: Require CL.
945 (find-coding-systems-for-charsets): Avoid add-to-list.
946 (sanitize-coding-system-list): New function, extracted from
947 select-safe-coding-system-interactively.
948 (select-safe-coding-system-interactively): Use it.
949 (read-input-method-name): Accept symbols for `default'.
950
951 * emacs-lisp/advice.el (defadvice): Add indent rule.
952
9532013-09-05 Daniel Hackney <dan@haxney.org>
954
955 * dired-x.el:
956 * net/ange-ftp.el:
957 * net/browse-url.el:
958 * net/dbus.el:
959 * net/eudc.el:
960 * net/eudcb-ldap.el:
961 * net/eww.el:
962 * net/imap.el:
963 * printing.el:
964 * vc/ediff-diff.el:
965 * vc/ediff-init.el:
966 * vc/ediff-merg.el:
967 * vc/ediff-mult.el:
968 * vc/ediff-util.el:
969 * vc/ediff-wind.el:
970 * vc/ediff.el:
971 * vc/emerge.el:
972 * vc/pcvs.el:
973 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
974 byte compiler. Remove some unused let-bound variables.
975
9762013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
979 a "ref-cell", since it gets better optimized (bug#14883).
980
9812013-09-05 Glenn Morris <rgm@gnu.org>
982
983 * progmodes/cc-awk.el (c-forward-sws): Declare.
984
9852013-09-04 Glenn Morris <rgm@gnu.org>
986
987 * generic-x.el [rul-generic-mode]: Require cc-mode.
988 (c++-mode-syntax-table): Declare.
989 (rul-generic-mode-syntax-table): Init in the defvar.
990
9912013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
992
993 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
994 (vc-do-command, vc-set-async-update):
995 * vc/vc-mtn.el (vc-mtn-dir-status):
996 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
997 (vc-hg-pull, vc-hg-merge-branch):
998 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
999 (vc-git-merge-branch):
1000 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1001 (vc-cvs-dir-status-files):
1002 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1003 (vc-bzr-dir-status-files):
1004 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1005 * vc/vc-annotate.el: Use lexical-binding.
1006 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1007 (vc-sentinel-movepoint): Declare.
1008 (vc-annotate): Don't use `goto-line'.
1009 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1010 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1011 (vc-sentinel-movepoint): Declare.
1012 * vc/vc-svn.el: Use lexical-binding.
1013 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1014 * vc/vc-sccs.el:
1015 * vc/vc-rcs.el: Use lexical-binding.
1016
1017 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1018 `deleted'. Don't drop errors silently.
1019
1020 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1021
10222013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1023
1024 * vc/vc.el (vc-ignore): Rewrite.
1025 (vc-default-ignore): New function.
1026 (vc-default-ignore-completion-table): Use find-ignore-file.
1027
1028 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1029 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1030 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1031 Remove. Most code moved to vc.el.
1032
10332013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1034
1035 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1036 * net/tramp-smb.el (tramp-smb-get-file-entries):
1037 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1038 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1039
1040 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1041 Update call to it.
1042 (eww-change-select): Remove unused var `properties'.
1043 (eww-make-unique-file-name): Remove unused var `base'.
1044
1045 * finder.el (finder-compile-keywords): Don't mess with windows.
1046
1047 * calculator.el (calculator-funcall): Fix typo in last change.
1048
1049 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1050
1051 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1052 <pkg>-autoloads.el file stop us.
1053
1054 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1055 warnings, and factor out common code.
1056
10572013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1058
1059 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1060 two-character operators and whether the character preceding them
1061 changes their meaning (Bug#15208).
1062
10632013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1064
1065 Format code sent to Python shell for robustness.
1066 * progmodes/python.el (python-shell-buffer-substring):
1067 New function.
1068 (python-shell-send-region, python-shell-send-buffer): Use it.
1069
10702013-09-02 Michael Albinus <michael.albinus@gmx.de>
1071
1072 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1073 * net/tramp.el (tramp-user-error): ... here.
1074 (tramp-find-method, tramp-check-proper-host)
1075 (tramp-dissect-file-name, tramp-debug-message)
1076 (tramp-handle-shell-command):
1077 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1078 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1079
1080 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1081
10822013-09-02 Martin Rudalics <rudalics@gmx.at>
1083
1084 * avoid.el (mouse-avoidance-point-position)
1085 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1086 returns nil.
1087
10882013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1089
1090 * progmodes/python.el (python-shell-completion-get-completions):
1091 Drop use of deleted `comint-last-prompt-overlay'.
1092 (python-nav-if-name-main): New command.
1093
10942013-09-01 Glenn Morris <rgm@gnu.org>
1095
1096 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1097 Avoid leading space in $wins. Otherwise the sed command used by
1098 eg compile-main ends up containing "/*.el". (Bug#15170)
1099
1100 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1101
11022013-08-30 Glenn Morris <rgm@gnu.org>
1103
1104 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1105 Fix is-this-a-directory logic. (Bug#15220)
1106
11072013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1108
1109 * textmodes/css-mode.el: Use SMIE.
1110 (css-smie-grammar): New var.
1111 (css-smie--forward-token, css-smie--backward-token)
1112 (css-smie-rules): New functions.
1113 (css-mode): Use them.
1114 (css-navigation-syntax-table): Remove var.
1115 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1116 (css-indent-calculate, css-indent-line): Remove functions.
1117
1118 Misc changes to reduce use of `(lambda...); and other cleanups.
1119 * cus-edit.el: Use lexical-binding.
1120 (customize-push-and-save, customize-apropos)
1121 (custom-buffer-create-internal): Use closures.
1122 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1123 * progmodes/ada-xref.el: Use setq.
1124 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1125 * dframe.el: Use lexical-binding.
1126 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1127 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1128 * descr-text.el: Use lexical-binding.
1129 (describe-text-widget, describe-text-sexp, describe-property-list):
1130 Use closures.
1131 * comint.el (comint-history-isearch-push-state): Use a closure.
1132 * calculator.el: Use lexical-binding.
1133 (calculator-number-to-string): Make it work with lexical-binding.
1134 (calculator-funcall): Same and use cl-letf.
1135
1136 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1137 (lisp--company-doc-string, lisp--company-location): New functions.
1138 (lisp-completion-at-point): Use them to improve Company support.
1139
1140 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1141 params of lambda expressions.
1142 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1143 (ruby-smie--opening-pipe-p): New function.
1144 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1145 symbols and matched |...| for formal params.
1146 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1147 from being treated as hanging. Handle "rescue".
1148
11492013-08-29 Glenn Morris <rgm@gnu.org>
1150
1151 * progmodes/cc-engine.el (c-pull-open-brace):
1152 Move definition before use.
1153
11542013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1157 are immutable. Don't use `unsafe' any more.
1158 (cl--defsubst-expand): Don't substitute at the same time as keeping
1159 a residual unused let-binding. Don't use `unsafe' any more.
1160
11612013-08-29 Glenn Morris <rgm@gnu.org>
1162
1163 * calendar/cal-china.el (calendar-chinese-year-cache):
1164 Recenter on 2015.
1165
1166 * nxml/nxml-util.el (nxml-debug-clear-inside):
1167 Use cl-loop rather than loop.
1168
1169 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1170
1171 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1172
11732013-08-28 Glenn Morris <rgm@gnu.org>
1174
1175 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1176
1177 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1178
1179 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1180
11812013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * simple.el (repeat-complex-command--called-interactively-skip):
1184 New function.
1185 (repeat-complex-command): Use it (bug#14136).
1186
1187 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1188 (c-define-abbrev-table): Add `doc' argument.
1189 (c-mode-abbrev-table, c++-mode-abbrev-table)
1190 (objc-mode-abbrev-table, java-mode-abbrev-table)
1191 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1192 (awk-mode-abbrev-table): Use it.
1193 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1194 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1195 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1196 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1197 Move initialization into the declaration; and remove any
1198 autoload cookie.
1199
1200 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1201 and dynamic let binding.
1202
1203 * vc/smerge-mode.el: Remove redundant :group args.
1204
1205 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1206 to load-path.
1207
12082013-08-28 Juri Linkov <juri@jurta.org>
1209
1210 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1211 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1212 (isearch-other-meta-char): Handle an undefined shifted printing
1213 character by downshifting it. (Bug#15200)
1214
12152013-08-28 Juri Linkov <juri@jurta.org>
1216
1217 * isearch.el (isearch-search): Change regexp error message for
1218 non-regexp searches. (Bug#15166)
1219
12202013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1221
1222 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1223 for portability to hosts where /bin/sh has problems.
1224
12252013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1228
12292013-08-27 Juri Linkov <juri@jurta.org>
1230
1231 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1232 in the keyboard macro. (Bug#15126)
1233
12342013-08-27 Juri Linkov <juri@jurta.org>
1235
1236 * isearch.el (isearch-quote-char): Comment out converting unibyte
1237 to multibyte, thus syncing with its `quoted-insert' counterpart.
1238 (Bug#15166)
1239
12402013-08-27 Martin Rudalics <rudalics@gmx.at>
1241
1242 * window.el (display-buffer-use-some-window): Add missing
1243 argument in call of get-largest-window (Bug#15185).
1244 Reported by Stephen Leake.
1245
12462013-08-27 Glenn Morris <rgm@gnu.org>
1247
1248 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1249
12502013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1253 from a matcher-function unless there's no more matches (bug#15161).
1254
12552013-08-26 Michael Albinus <michael.albinus@gmx.de>
1256
1257 * minibuffer.el: Revert change from 2013-08-20.
1258
1259 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1260 with text property `tramp-default', if appropriate.
1261 (tramp-check-proper-host): New defun.
1262 (tramp-dissect-file-name): Do not check hostname. Revert change
1263 of 2013-03-18.
1264 (tramp-backtrace): Make VEC-OR-PROC optional.
1265
1266 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1267 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1268 * net/tramp-sh.el (tramp-maybe-open-connection):
1269 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1270 Apply `tramp-check-proper-host'.
1271
12722013-08-26 Tassilo Horn <tsdh@gnu.org>
1273
1274 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1275 lambda expression in order to have `describe-variable' display it.
1276
12772013-08-26 Michael Albinus <michael.albinus@gmx.de>
1278
1279 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1280 BUF can be optional. (Bug#15186)
1281
12822013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1283
1284 * progmodes/flymake.el (flymake-get-real-file-name-function):
1285 Fix broken customization. (Bug#15184)
1286
12872013-08-25 Alan Mackenzie <acm@muc.de>
1288
1289 Improve indentation of bracelists defined by macros (without "=").
1290
1291 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1292 expansion begins with "{", regard it as bracelist when it doesn't
1293 contain a ";".
1294
1295 Parse C++ inher-intro when there's a template split over 2 lines.
1296
1297 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1298 rigorously the search for "class" etc. followed by ":".
1299
1300 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1301 random languages a regexp which never matches rather than nil.
1302
1303 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1304
1305 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1306 (c-awk-regexp-one-line-possibly-open-char-list-re)
1307 (c-awk-one-line-possibly-open-regexp-re)
1308 (c-awk-one-line-non-syn-ws*-re): Remove.
1309 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1310 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1311 (c-awk-space*-unclosed-regexp-/-re): New constants.
1312 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1313 aren't regexp delimiters.
1314
1315 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1316 handling for a rare situation in AWK Mode involving unterminated
1317 strings/regexps.
1318
13192013-08-23 Glenn Morris <rgm@gnu.org>
1320
1321 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1322
1323 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1324
1325 * files.el (create-file-buffer): If the result would begin with
1326 spaces, prepend a "|" instead of removing them. (Bug#15162)
1327
13282013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1331 text-properties (bug#15155).
1332
1333 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1334 exist any more.
1335 (calc-keypad-redraw): Remove unused var `pad'.
1336 (calc-keypad-press): Remove unused var `menu'.
1337
13382013-08-23 Martin Rudalics <rudalics@gmx.at>
1339
1340 * window.el (display-buffer-pop-up-frame):
1341 Call pop-up-frame-function with BUFFER current so `make-frame' will
1342 use it as the new frame's buffer (Bug#15133).
1343
13442013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1345
1346 * calendar/timeclock.el: Minor cleanups.
1347 (timeclock-ask-before-exiting, timeclock-use-display-time):
1348 Use `symbol'.
1349 (timeclock-modeline-display): Define as alias before the
1350 actual definition.
1351 (timeclock-mode-line-display): Use define-minor-mode.
1352 (timeclock-day-list-template): Make it a function, add an argument.
1353 (timeclock-day-list-required, timeclock-day-list-length)
1354 (timeclock-day-list-debt, timeclock-day-list-span)
1355 (timeclock-day-list-break): Adjust calls accordingly.
1356
13572013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1358
1359 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1360 Use read--expression so that completion works again.
1361
13622013-08-21 Sam Steingold <sds@gnu.org>
1363
1364 Add rudimentary inferior shell interaction
1365 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1366 (sh-set-shell): Reset it.
1367 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1368 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
1369
13702013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1371
1372 * align.el: Use lexical-binding.
1373 (align-region): Simplify accordingly.
1374
13752013-08-20 Michael Albinus <michael.albinus@gmx.de>
1376
1377 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1378
1379 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1380 `non-essential' up.
1381
13822013-08-17 Michael Albinus <michael.albinus@gmx.de>
1383
1384 * net/tramp.el:
1385 * net/tramp-adb.el:
1386 * net/tramp-cmds.el:
1387 * net/tramp-ftp.el:
1388 * net/tramp-gvfs.el:
1389 * net/tramp-gw.el:
1390 * net/tramp-sh.el: Don't wrap external variable declarations by
1391 `eval-when-compile'.
1392
13932013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1394
1395 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1396 now that Emacs supports ImageMagick animations.
1397
13982013-08-16 Michael Albinus <michael.albinus@gmx.de>
1399
1400 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1401 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1402
14032013-08-16 Martin Rudalics <rudalics@gmx.at>
1404
1405 * window.el (mouse-autoselect-window-select): Do autoselect when
1406 mouse pointer is on margin.
1407
14082013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1409
1410 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1411
14122013-08-16 Glenn Morris <rgm@gnu.org>
1413
1414 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1415 Handle "Remote Directory" response of some clients. (Bug#15058)
1416
1417 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1418 Tweak warning. (Bug#14926)
1419
1420 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1421 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1422
1423 * image-mode.el (image-mode-map): Add menu items to reverse,
1424 increase, decrease, reset animation speed.
1425 (image--set-speed, image-increase-speed, image-decrease-speed)
1426 (image-reverse-speed, image-reset-speed): New functions.
1427 (image-mode-map): Add bindings for speed commands.
1428
1429 * image.el (image-animate-get-speed, image-animate-set-speed):
1430 New functions.
1431 (image-animate-timeout): Respect image :speed property.
1432
14332013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1436 previous line (bug#15101).
1437 (debugger-eval-expression, debugger-record-expression):
1438 Use read--expression (bug#15102).
1439
14402013-08-15 Michael Albinus <michael.albinus@gmx.de>
1441
1442 Remove byte compiler warnings, visible when compiling with
1443 `byte-compile-force-lexical-warnings' set to t.
1444
1445 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1446 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1447 (tramp-handle-unhandled-file-name-directory)
1448 (tramp-handle-file-notify-add-watch, tramp-action-login)
1449 (tramp-action-succeed, tramp-action-permission-denied)
1450 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1451 arguments with "_".
1452
1453 * net/tramp-adb.el (tramp-adb-parse-device-names)
1454 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1455 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1456 (tramp-adb-handle-file-truename): Remove unused arguments.
1457
1458 * net/tramp-cache.el (tramp-flush-directory-property)
1459 (tramp-flush-connection-property, tramp-list-connections)
1460 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1461
1462 * net/tramp-compat.el (tramp-compat-make-temp-file):
1463 Rename FILENAME to F.
1464
1465 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1466 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1467 (tramp-zeroconf-parse-workstation-device-names)
1468 (tramp-zeroconf-parse-webdav-device-names)
1469 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1470
1471 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1472 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1473
1474 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1475 arguments.
1476 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1477 (tramp-sh-handle-insert-file-contents-literally)
1478 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1479 with "_".
1480 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1481 Remove unused variables.
1482
1483 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1484 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1485 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1486
1487 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1488 Make them a defconst.
1489 (tramp-uuencode-region): Remove unused variable.
1490
14912013-08-14 Juanma Barranquero <lekktu@gmail.com>
1492
1493 * frameset.el (frameset--prop-setter): New function.
1494 (frameset-prop): Add gv-setter declaration.
1495 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1496 parameter was already set in FILTERED. Doc fix.
1497 (frameset--record-minibuffer-relationships): Allow saving a
1498 minibufferless frame without its corresponding minibuffer frame.
1499 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1500 frame, if the frame id matches.
1501 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1502 frames before orphaned ones.
1503 (frameset-restore): Warn about orphaned windows, instead of error out.
1504
15052013-08-14 Martin Rudalics <rudalics@gmx.at>
1506
1507 * window.el (window-make-atom): Don't overwrite parameter
1508 already present.
1509 (display-buffer-in-atom-window): Handle special case where we
1510 split an already atomic window.
1511 (window--major-non-side-window, display-buffer-in-side-window)
1512 (window--side-check): Ignore minibuffer window when walking
1513 window tree.
1514 (window-deletable-p): Return 'frame only if no other frame uses
1515 our minibuffer window.
1516 (record-window-buffer): Run buffer-list-update-hook.
1517 (split-window): Make sure window--check-frame won't destroy an
1518 existing atomic window in case the new window gets nested
1519 inside.
1520 (display-buffer-at-bottom): Ignore minibuffer window when
1521 walking window tree. Don't split a side window.
1522 (pop-to-buffer): Don't set-buffer here, the select-window call
1523 should do that.
1524 (mouse-autoselect-window-select): Autoselect only if we are in the
1525 text portion of the window.
1526
15272013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1528
1529 * net/shr.el (shr-parse-image-data): New function to grab both the
1530 data itself and the Content-Type.
1531 (shr-put-image): Use it.
1532
1533 * net/eww.el (eww-display-image): Ditto.
1534
1535 * image.el (image-content-type-suffixes): New variable.
1536
15372013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1538
1539 * progmodes/python.el (python-imenu--build-tree)
1540 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1541
15422013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1543
1544 * simple.el (backward-word): Mention the optional argument.
1545
15462013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * frameset.el (frameset--make): Rename constructor from make-frameset.
1549 (frameset-p, frameset-valid-p): Don't autoload.
1550 (frameset-valid-p): Use normal accessors.
1551
15522013-08-13 Glenn Morris <rgm@gnu.org>
1553
1554 * progmodes/compile.el (compile-command): Tweak example in doc.
1555 * obsolete/scribe.el (scribe-mode):
1556 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1557
1558 * mail/feedmail.el (feedmail-confirm-outgoing)
1559 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1560
1561 * cus-start.el (truncate-partial-width-windows): Fix type.
1562
1563 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1564
1565 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1566
15672013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * emacs-lisp/timer.el (timer--time-setter): New function.
1570 (timer--time): Use it as gv-setter.
1571
1572 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1573 setter is not a symbol.
1574
15752013-08-12 Grégoire Jadi <daimrod@gmail.com>
1576
1577 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1578 if sending fails. This makes debugging easier.
1579
15802013-08-12 Juanma Barranquero <lekktu@gmail.com>
1581
1582 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1583 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1584 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1585
15862013-08-12 Eli Zaretskii <eliz@gnu.org>
1587
1588 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1589
15902013-08-12 Glenn Morris <rgm@gnu.org>
1591
1592 * format.el (format-annotate-function):
1593 Handle read-only text properties in the source. (Bug#14887)
1594
15952013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1596
1597 * net/eww.el (eww-display-html): Ignore coding system errors.
1598 One web site uses "utf-8lias" as the coding system.
1599
16002013-08-11 Juanma Barranquero <lekktu@gmail.com>
1601
1602 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1603
16042013-08-10 Juanma Barranquero <lekktu@gmail.com>
1605
1606 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1607 (tutorial--detailed-help): Remove unused local variables.
1608 (tutorial--save-tutorial-to): Use ignore-errors.
1609 (help-with-tutorial): Use looking-at-p.
1610
1611 * view.el (view-buffer-other-window, view-buffer-other-frame):
1612 Mark unused arguments.
1613
1614 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1615 (woman-select-symbol-fonts, woman, woman-find-file)
1616 (woman-insert-file-contents, woman-non-underline-faces):
1617 Use string-match-p.
1618 (woman1-unquote): Move declaration.
1619
1620 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1621 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1622 argument. Remove unused local variable.
1623 (xml-parse-elem-type): Use string-match-p.
1624 (xml-substitute-numeric-entities): Use ignore-errors.
1625
1626 * calculator.el (calculator): Mark unused argument.
1627 (calculator-paste, calculator-quit, calculator-integer-p):
1628 Use ignore-errors.
1629 (calculator-string-to-number, calculator-decimal, calculator-exp)
1630 (calculator-op-or-exp): Use string-match-p.
1631
1632 * dired.el (dired-buffer-more-recently-used-p): Declare.
1633 (dired-insert-set-properties, dired-insert-old-subdirs):
1634 Use ignore-errors.
1635
1636 * dired-aux.el (dired-compress): Use ignore-errors.
1637 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1638 (dired-do-async-shell-command, dired-do-shell-command)
1639 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1640 (dired-insert-subdir-validate): Use string-match-p.
1641 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1642 (dired-add-entry): Use string-match-p, looking-at-p.
1643 (dired-insert-subdir-newpos): Remove unused local variable.
1644
1645 * filenotify.el (file-notify-callback): Remove unused local variable.
1646
1647 * filesets.el (filesets-error): Mark unused argument.
1648 (filesets-which-command-p, filesets-filter-dir-names)
1649 (filesets-directory-files, filesets-get-external-viewer)
1650 (filesets-ingroup-get-data): Use string-match-p.
1651
1652 * find-file.el (ff-other-file-name, ff-other-file-name)
1653 (ff-find-the-other-file, ff-cc-hh-converter):
1654 Remove unused local variables.
1655 (ff-get-file-name): Use string-match-p.
1656 (ff-all-dirs-under): Use ignore-errors.
1657
1658 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1659 (follow-select-if-visible): Remove unused local variable.
1660
1661 * forms.el (read-file-filter): Move declaration.
1662 (forms--make-format, forms--make-parser, forms-insert-record):
1663 Quote function with #'.
1664 (forms--update): Use string-match-p. Quote function with #'.
1665
1666 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1667 (help-make-xrefs): Use looking-at-p.
1668 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1669
1670 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1671 (ibuffer-confirm-operation-on): Use string-match-p.
1672
1673 * msb.el (msb-item-handler, msb-dired-item-handler):
1674 Mark unused arguments.
1675
1676 * ses.el (ses-decode-cell-symbol)
1677 (ses-kill-override): Remove unused local variable.
1678 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1679 (ses-load): Use ignore-errors, looking-at-p.
1680 (ses-jump-safe): Use ignore-errors.
1681 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1682
1683 * tabify.el (untabify, tabify): Mark unused arguments.
1684
1685 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1686 Mark unused argument.
1687 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1688 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1689
1690 * emacs-lisp/timer.el (timer--time): Define setter with
1691 gv-define-setter to avoid deprecation warning.
1692
1693 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
1694 (*record-cmpl-statistics-p*): Remove (was commented out).
1695 (cmpl-statistics-block): Remove (body was commented out).
1696 All callers changed.
1697 (add-completions-from-buffer, load-completions-from-file):
1698 Remove unused variables.
1699
17002013-08-09 Juanma Barranquero <lekktu@gmail.com>
1701
1702 * filecache.el (file-cache-delete-file-list):
1703 Print message only when told so.
1704 (file-cache-files-matching): Use #' in mapconcat argument.
1705
1706 * ffap.el (ffap-url-at-point): Fix reference to variable
1707 thing-at-point-default-mail-uri-scheme.
1708
17092013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1710
1711 * subr.el (define-error): New function.
1712 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1713 error-file-not-found and define with define-error.
1714 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1715 and define with define-error.
1716 * userlock.el (file-locked, file-supersession):
1717 * simple.el (mark-inactive):
1718 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1719 * progmodes/ada-mode.el (ada-mode-errors):
1720 * play/life.el (life-extinct):
1721 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1722 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1723 * nxml/rng-util.el (rng-error):
1724 * nxml/rng-uri.el (rng-uri-error):
1725 * nxml/rng-match.el (rng-compile-error):
1726 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1727 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1728 * nxml/nxml-rap.el (nxml-scan-error):
1729 * nxml/nxml-outln.el (nxml-outline-error):
1730 * net/soap-client.el (soap-error):
1731 * net/gnutls.el (gnutls-error):
1732 * net/ange-ftp.el (ftp-error):
1733 * mpc.el (mpc-proc-error):
1734 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1735 (json-number-format, json-string-escape, json-string-format)
1736 (json-key-format, json-object-format):
1737 * jka-compr.el (compression-error):
1738 * international/quail.el (quail-error):
1739 * international/kkc.el (kkc-error):
1740 * emacs-lisp/ert.el (ert-test-failed):
1741 * calc/calc.el (calc-error, inexact-result, math-overflow)
1742 (math-underflow):
1743 * bookmark.el (bookmark-error-no-filename):
1744 * epg.el (epg-error): Define with define-error.
1745
1746 * time.el (display-time-event-handler)
1747 (display-time-next-load-average): Don't call sit-for since it seems
1748 unnecessary (bug#15045).
1749
1750 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1751 Use #' instead of ' to quote functions.
1752 (checkdoc-output-mode): Use setq-local.
1753 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1754 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1755 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1756 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1757 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1758 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1759 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1760 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1761
1762 * ido.el (ido-completion-help): Fix up compiler warning.
1763
17642013-08-09 Juanma Barranquero <lekktu@gmail.com>
1765
1766 * frameset.el (frameset-p): Add autoload cookie.
1767 (frameset--jump-to-register): New function, based on code moved from
1768 register.el.
1769 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1770
1771 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1772 (frameset-restore, frameset-save, frameset-session-filter-alist):
1773 Remove declarations.
1774 (register-alist): Doc fix.
1775 (frameset-to-register): Move to frameset.el.
1776 (jump-to-register, describe-register-1): Remove frameset-specific code.
1777
17782013-08-08 Juanma Barranquero <lekktu@gmail.com>
1779
1780 * allout-widgets.el (allout-widgets-pre-command-business)
1781 (allout-widgets-post-command-business)
1782 (allout-widgets-after-change-handler)
1783 (allout-decorate-item-and-context, allout-set-boundary-marker)
1784 (allout-body-modification-handler)
1785 (allout-graphics-modification-handler): Mark ignored arguments.
1786 (allout-widgets-post-command-business)
1787 (allout-widgets-exposure-change-processor)
1788 (allout-widgets-exposure-undo-processor)
1789 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1790 (allout-parse-item-at-point, allout-decorate-item-guides)
1791 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1792 * allout.el (epa-passphrase-callback-function): Declare.
1793 (allout-overlay-insert-in-front-handler)
1794 (allout-overlay-interior-modification-handler)
1795 (allout-isearch-end-handler, allout-chart-siblings)
1796 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1797 (allout-yank-processing, allout-process-exposed)
1798 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
1799 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
1800 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1801 (lisp-indent-defform): Mark ignored arguments.
1802 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1803 (calculate-lisp-indent): Remove unused variables.
1804 * international/characters.el (indian-2-column, arabic-2-column)
1805 (tibetan): Mark ignored arguments.
1806 (use-cjk-char-width-table): Mark ignored arguments.
1807 Remove unused variables.
1808 * international/fontset.el (build-default-fontset-data)
1809 (x-compose-font-name, create-fontset-from-fontset-spec):
1810 Mark ignored arguments.
1811 (fontset-plain-name): Remove unused variables.
1812 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1813 (keyboard-coding-system): Mark ignored arguments.
1814 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1815 * help.el (resize-temp-buffer-window):
1816 * window.el (display-buffer-in-major-side-window)
1817 (display-buffer-in-side-window, display-buffer-in-previous-window):
1818 Remove unused variables.
1819 * isearch.el (isearch-forward-symbol):
1820 * version.el (emacs-bzr-version-bzr):
1821 * international/mule-cmds.el (current-language-environment):
1822 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1823 (x-handle-display):
1824 * term/pc-win.el (x-list-fonts, x-display-planes)
1825 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1826 (x-server-version, x-display-screens, x-display-mm-height)
1827 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1828 (x-selection-owner-p, x-own-selection-internal)
1829 (x-disown-selection-internal, x-get-selection-internal)
1830 (msdos-initialize-window-system):
1831 * term/tty-colors.el (tty-color-alist, tty-color-clear):
1832 * term/x-win.el (x-handle-no-bitmap-icon):
1833 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1834 (vc-default-find-file-hook, vc-default-extra-menu):
1835 Mark ignored arguments.
1836
18372013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1838
1839 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1840 break-condition in the context of the debugged code (bug#12685).
1841
18422013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
1843
1844 * comint.el:
1845 Do not use an overlay to highlight the last prompt. (Bug#14744)
1846 (comint-mode): Make comint-last-prompt buffer local.
1847 (comint-last-prompt): New variable.
1848 (comint-last-prompt-overlay): Remove. Superseded by
1849 comint-last-prompt.
1850 (comint-snapshot-last-prompt, comint-output-filter):
1851 Use comint-last-prompt.
1852
18532013-08-08 Juanma Barranquero <lekktu@gmail.com>
1854
1855 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
1856 (frameset-save): Check validity of the resulting frameset.
1857
18582013-08-08 Xue Fuqiao <xfq.free@gmail.com>
1859
1860 * ido.el (ido-record-command): Add doc string.
1861
18622013-08-08 Juanma Barranquero <lekktu@gmail.com>
1863
1864 * frameset.el (frameset): Do not disable creation of the default
1865 frameset-p predicate. Doc fix.
1866 (frameset-valid-p): New function, copied from the old predicate-p.
1867 Add additional checks.
1868 (frameset-restore): Check with frameset-valid-p.
1869 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1870 (frameset-name, frameset-description, frameset-properties)
1871 (frameset-states): Add docstring.
1872 (frameset-session-filter-alist, frameset-persistent-filter-alist)
1873 (frameset-filter-alist): Doc fixes.
1874
18752013-08-08 Juanma Barranquero <lekktu@gmail.com>
1876
1877 * frameset.el (frameset-p, frameset-prop): Doc fixes.
1878
18792013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1881 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
1882 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
1883 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
1884 (byte-compile-normal-call): Remove obsolescence check.
1885
18862013-08-08 Juanma Barranquero <lekktu@gmail.com>
1887
1888 * frameset.el (frameset-restore): Doc fix.
1889
1890 * register.el (frameset-frame-id, frameset-frame-with-id)
1891 (frameset-p, frameset-restore, frameset-save): Declare.
1892 (register-alist): Document framesets.
1893 (frameset-session-filter-alist): Declare.
1894 (frameset-to-register): New function.
1895 (jump-to-register): Implement jumping to framesets. Doc fix.
1896 (describe-register-1): Describe framesets.
1897
1898 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
1899
19002013-08-07 Juanma Barranquero <lekktu@gmail.com>
1901
1902 * desktop.el (desktop-save-frameset): Use new frameset-save args.
1903 Use lexical-binding.
1904
1905 * frameset.el (frameset): Use type vector, not list (incompatible
1906 change). Do not declare a new constructor, use the default one.
1907 Upgrade suggested properties `app', `name' and `desc' to slots `app',
1908 `name' and `description', respectively, and add read-only slot
1909 `timestamp'. Doc fixes.
1910 (frameset-copy, frameset-persistent-filter-alist)
1911 (frameset-filter-alist, frameset-switch-to-gui-p)
1912 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
1913 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
1914 (frameset-filter-iconified, frameset-keep-original-display-p):
1915 Doc fixes.
1916 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
1917 Rename from frameset-filter-(save|restore)-param. All callers changed.
1918 Doc fix.
1919 (frameset-p): Adapt to change to vector and be more thorough.
1920 Change arg name to OBJECT. Doc fix.
1921 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
1922 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1923 All callers changed.
1924 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1925 All callers changed.
1926 (frameset--record-minibuffer-relationships): Rename from
1927 frameset--process-minibuffer-frames. All callers changed.
1928 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1929 Use new default constructor (again). Doc fix.
1930 (frameset--find-frame-if): Rename from `frameset--find-frame.
1931 All callers changed.
1932 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1933 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1934 Doc fix.
1935 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1936 PARAMETERS and WINDOW-STATE, respectively.
1937 (frameset-restore): Add new keyword argument PREDICATE.
1938 Reset frameset--target-display to nil. Doc fix.
1939
19402013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1941
1942 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1943 (bat-mode): Use it.
1944 (bat-mode-syntax-table): Mark \n as end-of-comment.
1945 (bat-font-lock-keywords): Remove comment rule.
1946
1947 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
1948 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
1949
1950 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1951 (byte-compile-callargs-warn): Use `push'.
1952 (byte-compile-arglist-warn): Ignore higher-order "calls".
1953 (byte-compile-file-form-autoload): Use `pcase'.
1954 (byte-compile-function-form): If quoting a symbol, check that it exists.
1955
19562013-08-07 Eli Zaretskii <eliz@gnu.org>
1957
1958 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1959 and add a few popular commands found in batch files.
1960 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1961 (dos-mode): Doc fixes.
1962
19632013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1964
1965 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1966 (dos-mode): Use setq-local. Add space after "rem".
1967 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1968 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1969
19702013-08-07 Arni Magnusson <arnima@hafro.is>
1971
1972 * progmodes/dos.el: New file.
1973 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1974 dos-mode.
1975
19762013-08-06 Glenn Morris <rgm@gnu.org>
1977
1978 * calendar/calendar.el: Add new faces, and day-header-array.
1979 (calendar-weekday-header, calendar-weekend-header)
1980 (calendar-month-header): New faces.
1981 (calendar-day-header-construct): New function.
1982 (calendar-day-header-width): Also :set calendar-day-header-array.
1983 (calendar-american-month-header, calendar-european-month-header)
1984 (calendar-iso-month-header): Use calendar- faces.
1985 (calendar-generate-month):
1986 Use calendar-day-header-array for day headers; apply faces to them.
1987 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1988 (calendar-abbrev-construct): Add optional maxlen argument.
1989 (calendar-day-name-array): Doc fix.
1990 (calendar-day-name-array, calendar-abbrev-length)
1991 (calendar-day-abbrev-array):
1992 Also :set calendar-day-header-array, and maybe redraw.
1993 (calendar-day-header-array): New option. (Bug#15007)
1994 (calendar-font-lock-keywords): Set to nil and make obsolete.
1995 (calendar-day-name): Add option to use header array.
1996
19972013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1998
1999 * net/shr.el (shr-render-td): Remove debugging.
2000 (shr-render-td): Make width computation consistent by defaulting
2001 all zero-width columns to 10 characters. This may not be optimal,
2002 but it's at least consistent.
2003 (shr-make-table-1): Redo last change to fix the real problem in
2004 colspan handling.
2005
20062013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2007
2008 * files.el (cache-long-line-scans):
2009 Make obsolete alias to `cache-long-scans'.
2010
20112013-08-06 Juanma Barranquero <lekktu@gmail.com>
2012
2013 * frameset.el (frameset, frameset-filter-alist)
2014 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2015 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2016 (frameset-compute-pos): Rename from frameset--compute-pos,
2017 and add docstring.
2018 (frameset-move-onscreen): Use frameset-compute-pos.
2019 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2020
2021 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2022 Fix typos in docstrings.
2023
20242013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2025
2026 * frame.el (get-other-frame): Tiny cleanup.
2027
20282013-08-06 Juanma Barranquero <lekktu@gmail.com>
2029
2030 * vc/vc.el (vc-default-ignore-completion-table):
2031 Silence byte-compiler warning.
2032
2033 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2034 slot , which can indeed be nil.
2035 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2036 Move entry for `left' from persistent to live filter alist.
2037 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2038 Doc fixes.
2039 (frameset-filter-params): When restoring a frame, copy items added to
2040 `filtered', to avoid unwittingly modifying the original parameters.
2041 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2042 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2043
2044 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2045 to use looking-at-p instead of looking-at. (Bug#15028)
2046
20472013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 Revert introduction of isearch-filter-predicates (bug#14714).
2050 Rely on add-function instead.
2051 * isearch.el (isearch-filter-predicates): Rename it back to
2052 isearch-filter-predicate.
2053 (isearch-message-prefix): Use advice-function-mapc and advice
2054 properties to get the isearch-message-prefix.
2055 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2056 instead of run-hook-with-args-until-failure.
2057 (isearch-filter-visible): Not obsolete any more.
2058 * loadup.el: Preload nadvice.
2059 * replace.el (perform-replace): Revert to funcall
2060 instead of run-hook-with-args-until-failure.
2061 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2062 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2063 dired-isearch-filenames-toggle; make it into a proper minor mode.
2064 Use add/remove-function.
2065 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2066 Call the minor-mode rather than add/remove-hook.
2067 (dired-isearch-filter-filenames):
2068 Remove isearch-message-prefix property.
2069 * info.el (Info--search-loop): New function, extracted from Info-search.
2070 Funcall isearch-filter-predicate instead of
2071 run-hook-with-args-until-failure isearch-filter-predicates.
2072 (Info-search): Use it.
2073 (Info-mode): Use isearch-filter-predicate instead of
2074 isearch-filter-predicates.
2075
20762013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2077
2078 Do not call to `selected-window' where it is assumed by default.
2079 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2080 `window-hscroll', `window-width', `window-height', `window-buffer',
2081 `window-frame', `window-start', `window-point', `next-window'
2082 and `window-display-table'.
2083 * abbrev.el (abbrev--default-expand):
2084 * bs.el (bs--show-with-configuration):
2085 * buff-menu.el (Buffer-menu-mouse-select):
2086 * calc/calc.el (calc):
2087 * calendar/calendar.el (calendar-generate-window):
2088 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2089 (diary-make-entry):
2090 * comint.el (send-invisible, comint-dynamic-complete-filename)
2091 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2092 * completion.el (complete):
2093 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2094 * disp-table.el (describe-current-display-table):
2095 * doc-view.el (doc-view-insert-image):
2096 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2097 * ehelp.el (with-electric-help):
2098 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2099 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2100 * emacs-lisp/helper.el (Helper-help-scroller):
2101 * emulation/cua-base.el (cua--post-command-handler-1):
2102 * eshell/esh-mode.el (eshell-output-filter):
2103 * ffap.el (ffap-gnus-wrapper):
2104 * help-macro.el (make-help-screen):
2105 * hilit-chg.el (highlight-compare-buffers):
2106 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2107 * hl-line.el (global-hl-line-highlight):
2108 * icomplete.el (icomplete-simple-completing-p):
2109 * isearch.el (isearch-done):
2110 * jit-lock.el (jit-lock-stealth-fontify):
2111 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2112 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2113 * mpc.el (mpc-tagbrowser, mpc):
2114 * net/rcirc.el (rcirc-any-buffer):
2115 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2116 * play/landmark.el (landmark-max-width, landmark-max-height):
2117 * play/zone.el (zone):
2118 * progmodes/compile.el (compilation-goto-locus):
2119 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2120 * progmodes/etags.el (find-tag-other-window):
2121 * progmodes/fortran.el (fortran-column-ruler):
2122 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2123 * progmodes/verilog-mode.el (verilog-point-text):
2124 * reposition.el (reposition-window):
2125 * rot13.el (toggle-rot13-mode):
2126 * server.el (server-switch-buffer):
2127 * shell.el (shell-dynamic-complete-command)
2128 (shell-dynamic-complete-environment-variable):
2129 * simple.el (insert-buffer, set-selective-display)
2130 (delete-completion-window):
2131 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2132 (speedbar-recenter):
2133 * startup.el (fancy-splash-head):
2134 * textmodes/ispell.el (ispell-command-loop):
2135 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2136 * tutorial.el (help-with-tutorial):
2137 * vc/add-log.el (add-change-log-entry):
2138 * vc/compare-w.el (compare-windows):
2139 * vc/ediff-help.el (ediff-indent-help-message):
2140 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2141 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2142 (ediff-setup-control-frame):
2143 * vc/emerge.el (emerge-position-region):
2144 * vc/pcvs-util.el (cvs-bury-buffer):
2145 * window.el (walk-windows, mouse-autoselect-window-select):
2146 * winner.el (winner-set-conf, winner-undo): Related users changed.
2147
21482013-08-05 Juanma Barranquero <lekktu@gmail.com>
2149
2150 * frameset.el (frameset--set-id): Doc fix.
2151 (frameset-frame-id, frameset-frame-id-equal-p)
2152 (frameset-locate-frame-id): New functions.
2153 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2154 (frameset-restore): Use them.
2155
21562013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2157
2158 Do not call to `selected-frame' where it is assumed by default.
2159 Affected functions are `raise-frame', `redraw-frame',
2160 `frame-first-window', `frame-terminal' and `delete-frame'.
2161 * calendar/appt.el (appt-disp-window):
2162 * epg.el (epg-wait-for-completion):
2163 * follow.el (follow-delete-other-windows-and-split)
2164 (follow-avoid-tail-recenter):
2165 * international/mule.el (set-terminal-coding-system):
2166 * mail/rmail.el (rmail-mail-return):
2167 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2168 * progmodes/f90.el (f90-add-imenu-menu):
2169 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2170 * server.el (server-switch-buffer):
2171 * simple.el (delete-completion-window):
2172 * talk.el (talk):
2173 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2174 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2175 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2176 * vc/ediff.el (ediff-documentation): Related users changed.
2177 * frame.el (selected-terminal): Remove the leftover.
2178
21792013-08-05 Glenn Morris <rgm@gnu.org>
2180
2181 * calendar/calendar.el (calendar-generate-month):
2182 Fix for calendar-column-width != 1 + calendar-day-digit-width.
2183 (calendar-generate-month, calendar-font-lock-keywords):
2184 Fix for calendar-day-header-width > length of any day name.
2185
21862013-08-05 Juanma Barranquero <lekktu@gmail.com>
2187
2188 * desktop.el (desktop-clear): Use new name of sort predicate.
2189
2190 * frameset.el (frameset): Add docstring. Move :version property to its
2191 own `version' slot.
2192 (frameset-copy): Rename from copy-frameset.
2193 (frameset-p): Check more thoroughly.
2194 (frameset-prop): Do not check for :version, which is no longer a prop.
2195 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2196 Use new :never value instead of t.
2197 (frameset-filter-alist): Expand and clarify docstring.
2198 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2199 (frameset-filter-minibuffer, frameset-filter-save-param)
2200 (frameset-filter-restore-param, frameset-filter-iconified):
2201 Add pointer to docstring of frameset-filter-alist.
2202 (frameset-filter-params): Rename filter values to be more meaningful:
2203 :never instead of t, and reverse the meanings of :save and :restore.
2204 (frameset--process-minibuffer-frames): Clarify error message.
2205 (frameset-save): Avoid unnecessary and confusing call to framep.
2206 Use new BOA constructor for framesets.
2207 (frameset--reuse-list): Doc fix.
2208 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2209 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2210 (frameset-minibufferless-first-p): Doc fix.
2211 Rename from frameset-sort-frames-for-deletion.
2212 (frameset-restore): Doc fixes. Use new function names.
2213 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2214
22152013-08-04 Juanma Barranquero <lekktu@gmail.com>
2216
2217 * desktop.el (desktop-restore-forces-onscreen)
2218 (desktop-restore-reuses-frames): Document :keyword constant values.
2219 (desktop-filter-parameters-alist): Remove, now identical to
2220 frameset-filter-alist.
2221 (desktop--filter-tty*): Remove, moved to frameset.el.
2222 (desktop-save-frameset, desktop-restore-frameset):
2223 Do not pass :filters argument.
2224
2225 * frameset.el (frameset-live-filter-alist)
2226 (frameset-persistent-filter-alist): New variables.
2227 (frameset-filter-alist): Use them. Add autoload cookie.
2228 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2229 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2230 `frameset--id' (it's supposed to be internal to frameset.el).
2231 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2232 (frameset--initial-params): New function.
2233 (frameset--get-frame): Use it. Doc fix.
2234 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2235 Accept :all, not 'all.
2236 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2237 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2238 with fbound symbols. Fix frame id matching, and remove matching ids if
2239 the frame being restored is deleted. Obey :delete.
2240
22412013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2242
2243 * subr.el (macrop): New function.
2244 (text-clone--maintaining): New var.
2245 (text-clone--maintain): Rename from text-clone-maintain. Use it
2246 instead of inhibit-modification-hooks.
2247
2248 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2249 a proxy, so as handle autoloads and redefinitions of the target.
2250 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2251
2252 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2253 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2254 (pcase--mutually-exclusive-p): New function.
2255 (pcase--split-consp): Use it.
2256 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2257 mutually exclusive with the current predicate.
2258
2259 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2260 (edebug-macrop): Remove. Use `macrop' instead.
2261 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2262 (ad-macro-p):
2263 * eshell/esh-cmd.el (eshell-macrop):
2264 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2265
22662013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2267
2268 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2269 (advice-mapc): New function, using it.
2270 (advice-function-member-p): New function.
2271 (advice--normalize): Store the cdr in advice--saved-rewrite since
2272 that's the part that will be changed.
2273 (advice--symbol-function): New function.
2274 (advice-remove): Handle removal before the function is defined.
2275 Adjust to new advice--saved-rewrite.
2276 (advice-member-p): Use advice-function-member-p and
2277 advice--symbol-function.
2278
22792013-08-04 Juanma Barranquero <lekktu@gmail.com>
2280
2281 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2282 (frameset-filter-minibuffer): Doc fix.
2283 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
2284 (frameset--set-id, frameset--process-minibuffer-frames)
2285 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2286 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
2287
2288 * desktop.el (desktop-clear): Only delete frames when called
2289 interactively and desktop-restore-frames is non-nil. Doc fix.
2290 (desktop-read): Set desktop-saved-frameset to nil.
2291
22922013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2293
2294 * vc/vc.el (vc-ignore): Rewrite.
2295 (vc-default-ignore-completion-table):
2296 (vc--read-lines):
2297 (vc--add-line, vc--remove-regexp): New functions.
2298
2299 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2300 (vc-svn-ignore-completion-table): New function.
2301
2302 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2303 (vc-hg-ignore-completion-table):
2304 (vc-hg-find-ignore-file): New functions.
2305
2306 * vc/vc-git.el (vc-git-ignore): Rewrite.
2307 (vc-git-ignore-completion-table):
2308 (vc-git-find-ignore-file): New functions.
2309
2310 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2311
2312 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2313 (vc-bzr-ignore-completion-table):
2314 (vc-bzr-find-ignore-file): New functions.
2315
23162013-08-03 Juanma Barranquero <lekktu@gmail.com>
2317
2318 * frameset.el (frameset-prop): New function and setter.
2319 (frameset-save): Do not modify frame list passed by the caller.
2320
23212013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2324
23252013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2328 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2329
2330 * custom.el (custom-initialize-default, custom-initialize-set)
2331 (custom-initialize-reset, custom-initialize-changed): Affect the
2332 toplevel-default-value (bug#6275, bug#14586).
2333 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2334 for bug#6275.
2335
23362013-08-02 Juanma Barranquero <lekktu@gmail.com>
2337
2338 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2339 Add cl-def* expressions.
2340
2341 * frameset.el (frameset-filter-params): Fix order of arguments.
2342
23432013-08-02 Juanma Barranquero <lekktu@gmail.com>
2344
2345 Move code related to saving frames to frameset.el.
2346 * desktop.el: Require frameset.
2347 (desktop-restore-frames): Doc fix.
2348 (desktop-restore-reuses-frames): Rename from
2349 desktop-restoring-reuses-frames.
2350 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2351 (desktop-clear): Clear frames too.
2352 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2353 (desktop--filter-tty*, desktop-save, desktop-read):
2354 Use frameset functions.
2355 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2356 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2357 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2358 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2359 (desktop--process-minibuffer-frames, desktop-save-frames)
2360 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2361 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2362 (desktop--sort-states, desktop-restoring-frames-p)
2363 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2364 (desktop-restoring-frameset-p, desktop-restore-frameset)
2365 (desktop--check-dont-save, desktop-save-frameset): New functions.
2366 (desktop--app-id): New constant.
2367 (desktop-first-buffer, desktop-buffer-ok-count)
2368 (desktop-buffer-fail-count): Move before first use.
2369 * frameset.el: New file.
2370
23712013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2372
2373 * files.el: Use lexical-binding.
2374 (dir-locals-read-from-file): Remove unused `err' variable.
2375 (hack-dir-local-variables--warned-coding): New var.
2376 (hack-dir-local-variables): Use it to avoid repeated warnings.
2377 (make-backup-file-name--default-function): New function.
2378 (make-backup-file-name-function): Use it as default.
2379 (buffer-stale--default-function): New function.
2380 (buffer-stale-function): Use it as default.
2381 (revert-buffer-insert-file-contents--default-function): New function.
2382 (revert-buffer-insert-file-contents-function): Use it as default.
2383 (insert-directory): Avoid add-to-list.
2384
2385 * autorevert.el (auto-revert-handler): Simplify.
2386 Use buffer-stale--default-function.
2387
23882013-08-01 Tassilo Horn <tsdh@gnu.org>
2389
2390 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2391
2392 * whitespace.el (whitespace-ensure-local-variables): New function.
2393 (whitespace-cleanup-region): Call it.
2394 (whitespace-turn-on): Call it.
2395
23962013-08-01 Michael Albinus <michael.albinus@gmx.de>
2397
2398 Complete file name handlers.
2399
2400 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2401 (tramp-handle-verify-visited-file-modtime)
2402 (tramp-handle-file-notify-rm-watch): New functions.
2403 (tramp-call-process): Do not bind `default-directory'.
2404
2405 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2406 Order alphabetically.
2407 [access-file, add-name-to-file, dired-call-process]:
2408 [dired-compress-file, file-acl, file-notify-rm-watch]:
2409 [file-ownership-preserved-p, file-selinux-context]:
2410 [make-directory-internal, make-symbolic-link, set-file-acl]:
2411 [set-file-selinux-context, set-visited-file-modtime]:
2412 [verify-visited-file-modtime]: Add handler.
2413 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2414
2415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2416 [file-notify-add-watch, file-notify-rm-watch]:
2417 [set-file-times, set-visited-file-modtime]:
2418 [verify-visited-file-modtime]: Add handler.
2419 (with-tramp-gvfs-error-message)
2420 (tramp-gvfs-handle-set-visited-file-modtime)
2421 (tramp-gvfs-fuse-file-name): Remove.
2422 (tramp-gvfs-handle-file-notify-add-watch)
2423 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2424 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2425
2426 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2427 Order alphabetically.
2428 [file-notify-rm-watch ]: Use default Tramp handler.
2429 [executable-find]: Remove private handler.
2430 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2431 `default-directory'.
2432 (tramp-sh-handle-executable-find)
2433 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2434 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2435 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2436 Do not use `format' in `tramp-message'.
2437
2438 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2439 [file-notify-rm-watch, set-visited-file-modtime]:
2440 [verify-visited-file-modtime]: Add handler.
2441 (tramp-smb-call-winexe): Do not bind `default-directory'.
2442
24432013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2444
2445 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2446
24472013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2448
2449 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2450 use it.
2451 (log-view-diff-changeset): Same.
2452 (log-view-diff-common): Call backend command `previous-revision'
2453 to find out the previous revision, in both cases. Swap the
2454 variables `to' and `fr', so that `fr' usually refers to the
2455 earlier revision (Bug#14989).
2456
24572013-07-31 Kan-Ru Chen <kanru@kanru.info>
2458
2459 * ibuf-ext.el (ibuffer-filter-by-filename):
2460 Make it work with dired buffers too.
2461
24622013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
2463
2464 * emacs-lisp/re-builder.el (reb-color-display-p):
2465 * files.el (save-buffers-kill-terminal):
2466 * net/browse-url.el (browse-url):
2467 * server.el (server-save-buffers-kill-terminal):
2468 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2469 Prefer nil to selected-frame for the first arg of frame-parameter.
2470
24712013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2472
2473 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2474
24752013-07-30 Stephen Berman <stephen.berman@gmx.net>
2476
2477 * minibuffer.el (completion--twq-all): Try and preserve each
2478 completion's case choice (bug#14907).
2479
24802013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2481
2482 * net/network-stream.el (open-network-stream): Mention the new
2483 :nogreeting parameter.
2484 (network-stream-open-starttls): Use the :nogreeting parameter
2485 (bug#14938).
2486
2487 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2488
2489 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2490 more natural than popping.
2491
2492 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
2493 (shr-urlify): Highlight under mouse.
2494
24952013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2496
2497 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2498
2499 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2500
2501 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2502 buffer for output.
2503
2504 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2505 point-min==1. Fix search string. Fix parentheses missing.
2506
2507 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
2508 assume point-min==1. Fix search string. Fix parentheses missing.
2509
2510 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2511
2512 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2513 buffer for output.
2514
25152013-07-29 Eli Zaretskii <eliz@gnu.org>
2516
2517 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2518 initial frame is minibuffer-less. (Bug#14841)
2519
25202013-07-29 Michael Albinus <michael.albinus@gmx.de>
2521
2522 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2523 option.
2524
2525 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2526 (tramp-maybe-open-connection): Use it.
2527
25282013-07-28 Juanma Barranquero <lekktu@gmail.com>
2529
2530 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2531 minimal set of parameters passed when creating a frame, because
2532 the minibuffer status of a frame cannot be changed later.
2533
25342013-07-28 Stephen Berman <stephen.berman@gmx.net>
2535
2536 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2537 replace-regexp-in-string and inadvertent omissions in previous change.
2538 (todo-filter-items): Ensure only file names are comma-separated in
2539 name of filtered items buffer.
2540
25412013-07-28 Juanma Barranquero <lekktu@gmail.com>
2542
2543 * desktop.el: Optionally force offscreen frames back onscreen.
2544 (desktop-restoring-reuses-frames): New option.
2545 (desktop--compute-pos, desktop--move-onscreen): New functions.
2546 (desktop--make-frame): Use desktop--move-onscreen.
2547
25482013-07-27 Alan Mackenzie <acm@muc.de>
2549
2550 Fontify a Java generic method as a function.
2551 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2552 value to t.
2553
25542013-07-27 Stephen Berman <stephen.berman@gmx.net>
2555
2556 * calendar/todo-mode.el: Add command to rename todo files.
2557 (todo-rename-file): New command.
2558 (todo-key-bindings-t): Add key binding for it. Change the
2559 bindings of todo-filter-regexp-items(-multifile) to use `x'
2560 instead of `r', since the latter is better suited to the new
2561 renaming command.
2562
25632013-07-27 Alan Mackenzie <acm@muc.de>
2564
2565 Make Java try-with-resources statement parse properly.
2566 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2567 (c-block-stmt-1-2-key): New language constants/variables.
2568 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2569 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2570 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
2571 with c-block-stmt-1-2-key.
2572
25732013-07-27 Juanma Barranquero <lekktu@gmail.com>
2574
2575 * desktop.el (desktop--make-frame): Apply most frame parameters after
2576 creating the frame to force (partially or totally) offscreen frames to
2577 be restored as such.
2578
25792013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2580
2581 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
2582 (Bug#14948)
2583
25842013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2587 `base' arg of backtrace-frame.
2588
25892013-07-26 Eli Zaretskii <eliz@gnu.org>
2590
2591 * simple.el (list-processes): Doc fix.
2592
25932013-07-26 Juanma Barranquero <lekktu@gmail.com>
2594
2595 * desktop.el (desktop--select-frame):
2596 Try harder to reuse existing frames.
2597
25982013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2599
2600 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2601 (edebug-eval): Use backtrace-eval.
2602 (edebug--display, edebug--recursive-edit): Don't let-bind the
2603 edebug-outer-* vars that keep track of variables we locally let-bind.
2604 (edebug-outside-excursion): Don't restore outside values of locally
2605 let-bound vars.
2606 (edebug--display): Use user-error.
2607 (cl-lexical-debug, cl-debug-env): Remove.
2608
26092013-07-26 Juanma Barranquero <lekktu@gmail.com>
2610
2611 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2612 are restored to be sure that they are visible before deleting any
2613 remaining ones.
2614
26152013-07-26 Matthias Meulien <orontee@gmail.com>
2616
2617 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2618 vc-print-root-log. (Bug#14948)
2619
26202013-07-26 Richard Stallman <rms@gnu.org>
2621
2622 Add aliases for encrypting mail.
2623 * epa.el (epa-mail-aliases): New option.
2624 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2625 Bind inhibit-read-only so read-only text doesn't ruin everything.
2626 (epa-mail-default-recipients): New subroutine broken out.
2627 Handle epa-mail-aliases.
2628
26292013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 Add support for lexical variables to the debugger's `e' command.
2632 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2633 vars, except for debugger-outer-match-data.
2634 (debugger-frame-number): Move check for "on a function call" from
2635 callers into it. Add `skip-base' argument.
2636 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2637 (debugger-env-macro): Only reset the state stored in non-variables,
2638 i.e. current-buffer and match-data.
2639 (debugger-eval-expression): Rewrite using backtrace-eval.
2640 * subr.el (internal--called-interactively-p--get-frame): Remove.
2641 (called-interactively-p):
2642 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2643 `base' arg of backtrace-frame instead.
2644
26452013-07-26 Glenn Morris <rgm@gnu.org>
2646
2647 * align.el (align-regexp): Doc fix. (Bug#14857)
2648 (align-region): Explicit error if subexpression missing/does not match.
2649
2650 * simple.el (global-visual-line-mode):
2651 Do not duplicate the mode lighter. (Bug#14858)
2652
26532013-07-25 Martin Rudalics <rudalics@gmx.at>
2654
2655 * window.el (display-buffer): In display-buffer bind
2656 split-window-keep-point to t, bug#14829.
2657
26582013-07-25 Juanma Barranquero <lekktu@gmail.com>
2659
2660 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2661 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2662 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2663 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2664 Change accordingly.
2665 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2666 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
2667
26682013-07-25 Glenn Morris <rgm@gnu.org>
2669
2670 * dired-x.el (dired-mark-extension): Convert comment to doc string.
2671
26722013-07-25 Juanma Barranquero <lekktu@gmail.com>
2673
2674 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2675 parameter to modify-frame-parameters if the value has not changed;
2676 this is a workaround for bug#14949.
2677 (desktop--make-frame): On cl-delete-if call, check parameter name,
2678 not full parameter.
2679
26802013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2681
2682 * vc/vc.el (vc-ignore): New function.
2683
2684 * vc/vc-svn.el (vc-svn-ignore): New function.
2685
2686 * vc/vc-hg.el (vc-hg-ignore): New function.
2687
2688 * vc/vc-git.el (vc-git-ignore): New function.
2689
2690 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2691 (vc-dir-ignore): New function.
2692
2693 * vc/vc-cvs.el (vc-cvs-ignore): New function.
2694 (cvs-append-to-ignore): Move here from pcvs.el.
2695
2696 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2697
2698 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2699
27002013-07-24 Juanma Barranquero <lekktu@gmail.com>
2701
2702 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2703 (desktop-restore-frames): Warn when deleting an existing frame failed.
2704
27052013-07-24 Glenn Morris <rgm@gnu.org>
2706
2707 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2708
27092013-07-24 Michael Albinus <michael.albinus@gmx.de>
2710
2711 * filenotify.el (file-notify-supported-p):
2712 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2713 Remove functions.
2714
2715 * autorevert.el (auto-revert-use-notify):
2716 (auto-revert-notify-add-watch):
2717 * net/tramp.el (tramp-file-name-for-operation):
2718 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2719 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2720 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2721 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2722 Remove `file-notify-supported-p' entry.
2723
27242013-07-24 Glenn Morris <rgm@gnu.org>
2725
2726 * printing.el: Replace all uses of deleted ps-windows-system,
2727 ps-lp-system, ps-flatten-list with lpr- versions.
2728
27292013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2732 checked with memq (bug#14935).
2733
2734 * files.el (revert-buffer-function): Use a non-nil default.
2735 (revert-buffer-preserve-modes): Declare var to
2736 provide access to the `preserve-modes' argument.
2737 (revert-buffer): Let-bind it.
2738 (revert-buffer--default): New function, extracted from revert-buffer.
2739
27402013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * lpr.el: Signal print errors more prominently.
2743 (print-region-function): Don't default to nil.
2744 (lpr-print-region): New function, extracted from print-region-1.
2745 Check lpr's return value and signal an error in case of problem.
2746 (print-region-1): Use it.
2747 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2748 versions instead.
2749 (ps-printer-name): Default to nil.
2750 (ps-printer-name-option): Default to lpr-printer-switch.
2751 (ps-print-region-function): Don't default to nil.
2752 (ps-postscript-code-directory): Simplify default.
2753 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2754 (ps-string-list, ps-eval-switch, ps-flatten-list)
2755 (ps-flatten-list-1): Remove.
2756 (ps-multibyte-buffer): Avoid setq.
2757 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2758 (print-region-function, ps-print-region-function): Don't set them here.
2759
27602013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2761
2762 * ido.el (ido-fractionp):
2763 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2764 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2765 (ido-max-directory-size, ido-max-dir-file-cache)
2766 (ido-decorations): Doc fix.
2767
2768 * ansi-color.el: Fix old URL.
2769
27702013-07-23 Michael R. Mauger <michael@mauger.com>
2771
2772 * progmodes/sql.el Version 3.3
2773 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2774 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2775 (sql-interactive-remove-continuation-prompt): Rewrite, use
2776 functions above. Fix continuation prompt and complete output line
2777 handling.
2778 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2779 redirected output buffer.
2780 (sql-mode): Restore deleted code (Bug#13591).
2781
27822013-07-23 Juanma Barranquero <lekktu@gmail.com>
2783
2784 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2785
27862013-07-23 Michael Albinus <michael.albinus@gmx.de>
2787
2788 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2789
2790 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2791 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2792 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2793
27942013-07-23 Juanma Barranquero <lekktu@gmail.com>
2795
2796 * desktop.el (desktop-clear): Simplify; remove useless checks
2797 against invalid buffer names.
2798 (desktop-list*): Use cl-list*.
2799 (desktop-buffer-info, desktop-create-buffer): Simplify.
2800
28012013-07-23 Leo Liu <sdl.web@gmail.com>
2802
2803 * bookmark.el (bookmark-make-record): Restore NAME as a default
2804 value. (Bug#14933)
2805
28062013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2809 extracted from autoload--insert-text.
2810 (autoload--insert-text): Remove.
2811 (autoload--print-cookie-text): New function, extracted from
2812 autoload--insert-cookie-text.
2813 (autoload--insert-cookie-text): Remove.
2814 (autoload-generate-file-autoloads): Adjust calls accordingly.
2815
2816 * winner.el (winner-hook-installed-p): Remove.
2817 (winner-mode): Simplify accordingly.
2818
2819 * subr.el (add-to-list): Fix compiler-macro when `append' is
2820 not constant. Don't use `cl-member' for the base case.
2821
2822 * progmodes/subword.el: Fix boundary case (bug#13758).
2823 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2824 own group.
2825 (subword-backward-regexp): Make it a constant.
2826 (subword-forward-internal): Don't treat a trailing capital as the
2827 beginning of a word.
2828
28292013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2830
2831 * emacs-lisp/package.el (package-menu-mode): Don't modify the
2832 global value of tabulated-list-revert-hook (bug#14930).
2833
28342013-07-22 Juanma Barranquero <lekktu@gmail.com>
2835
2836 * desktop.el: Require 'cl-lib.
2837 (desktop-before-saving-frames-functions): New hook.
2838 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2839 for frames being saved. Rename from desktop--save-minibuffer-frames.
2840 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
2841 Do not save frames with non-nil `desktop-dont-save' parameter.
2842 Filter out deleted frames.
2843 (desktop--find-frame): Use cl-find-if.
2844 (desktop--select-frame): Use cl-(first|second|third) to access values
2845 of desktop-mini.
2846 (desktop--make-frame): Use cl-delete-if.
2847 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2848 (desktop-restore-frames): Use cl-(first|second|third) to access values
2849 of desktop-mini. Look for visible frame at the end, not while
2850 restoring frames.
2851
2852 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2853 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2854 Use string-match-p, looking-at-p (bug#14927).
2855
28562013-07-21 Juanma Barranquero <lekktu@gmail.com>
2857
2858 * desktop.el (desktop-saved-frame-states):
2859 Rename from desktop--saved-states; all users changed.
2860 (desktop-save-frames): Rename from desktop--save-frames.
2861 Do not save state to desktop file.
2862 (desktop-save): Save desktop-saved-frame-states to desktop file
2863 and reset to nil.
2864 (desktop-restoring-frames-p): New function.
2865 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
2866 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
2867 buffer-lists when restoring frames. Suggested by Martin Rudalics.
2868
2869 * desktop.el: Correctly restore iconified frames.
2870 (desktop--filter-iconified-position): New function.
2871 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2872
28732013-07-20 Glenn Morris <rgm@gnu.org>
2874
2875 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
2876 Let `message' do the formatting.
2877 (def-gdb-preempt-display-buffer): Add explicit format.
2878
2879 * image-dired.el (image-dired-track-original-file):
2880 Use with-current-buffer.
2881 (image-dired-track-thumbnail): Use with-current-buffer.
2882 Avoid changing point of wrong window.
2883
2884 * image-dired.el (image-dired-track-original-file):
2885 Avoid changing point of wrong window. (Bug#14909)
2886
28872013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
2888
2889 * progmodes/gdb-mi.el (gdb-done-or-error):
2890 Guard against "%" in gdb output. (Bug#14127)
2891
28922013-07-20 Andreas Schwab <schwab@linux-m68k.org>
2893
2894 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
2895 (Bug#14826)
2896
2897 * international/mule.el (coding-system-iso-2022-flags): Fix last
2898 change.
2899
29002013-07-20 Kenichi Handa <handa@gnu.org>
2901
2902 * international/mule.el (coding-system-iso-2022-flags):
2903 Add `8-bit-level-4'. (Bug#8522)
2904
29052013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2906
2907 * net/shr.el (shr-mouse-browse-url): New command and keystroke
2908 (bug#14815).
2909
2910 * net/eww.el (eww-process-text-input): Allow inputting when the
2911 point is at the start of the line, as the properties aren't
2912 front-sticky.
2913
2914 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
2915 degenerate widths.
2916
29172013-07-19 Richard Stallman <rms@gnu.org>
2918
2919 * epa.el (epa-popup-info-window): Doc fix.
2920
2921 * subr.el (split-string): New arg TRIM.
2922
29232013-07-18 Juanma Barranquero <lekktu@gmail.com>
2924
2925 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2926 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2927
29282013-07-18 Michael Albinus <michael.albinus@gmx.de>
2929
2930 * filenotify.el (file-notify--library): Rename from
2931 `file-notify-support'. Do not autoload. Adapt all uses.
2932 (file-notify-supported-p): New defun.
2933
2934 * autorevert.el (auto-revert-use-notify):
2935 Use `file-notify-supported-p' instead of `file-notify-support'.
2936 Adapt docstring.
2937 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2938
2939 * net/tramp.el (tramp-file-name-for-operation):
2940 Add `file-notify-supported-p'.
2941
2942 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2943 New defun.
2944 (tramp-sh-file-name-handler-alist): Add it as handler for
2945 `file-notify-supported-p '.
2946
2947 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2948 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2949 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2950 Add `ignore' as handler for `file-notify-*' functions.
2951
29522013-07-17 Eli Zaretskii <eliz@gnu.org>
2953
2954 * simple.el (line-move-partial, line-move): Don't start vscroll or
2955 scroll-up if the current line is not taller than the window.
2956 (Bug#14881)
2957
29582013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2959
2960 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2961 highlight question marks in the method names as strings.
2962 (ruby-block-beg-keywords): Inline.
2963 (ruby-font-lock-keyword-beg-re): Extract from
2964 `ruby-font-lock-keywords'.
2965
29662013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2967
2968 * frame.el (blink-cursor-blinks): New defcustom.
2969 (blink-cursor-blinks-done): New defvar.
2970 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2971 (blink-cursor-timer-function): Check if number of blinks has been
2972 done on X and NS.
2973 (blink-cursor-suspend, blink-cursor-check): New defuns.
2974
29752013-07-15 Glenn Morris <rgm@gnu.org>
2976
2977 * edmacro.el (edmacro-format-keys): Fix previous change.
2978
29792013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2980
2981 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2982 The hack didn't work outside English locales anyway.
2983
29842013-07-15 Juanma Barranquero <lekktu@gmail.com>
2985
2986 * simple.el (define-alternatives): Rename from alternatives-define,
2987 per RMS' suggestion.
2988
29892013-07-14 Juanma Barranquero <lekktu@gmail.com>
2990
2991 * desktop.el (desktop-restore-frames): Change default to t.
2992 (desktop-restore-in-current-display): Now offer more options.
2993 (desktop-restoring-reuses-frames): New customization option.
2994 (desktop--saved-states): Doc fix.
2995 (desktop-filter-parameters-alist): New variable, renamed and expanded
2996 from desktop--excluded-frame-parameters.
2997 (desktop--target-display): New variable.
2998 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2999 (desktop--filter-tty*, desktop--filter-*-color)
3000 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3001 (desktop--filter-save-desktop-parm)
3002 (desktop-restore-in-original-display-p): New functions.
3003 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3004 (desktop--save-minibuffer-frames): New function, inspired by a similar
3005 function from Martin Rudalics.
3006 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3007 (desktop--restore-in-this-display-p): Remove.
3008 (desktop--find-frame): Rename from desktop--find-frame-in-display
3009 and add predicate argument.
3010 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3011 (desktop--reuse-list): New variable.
3012 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3013 New functions.
3014 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3015
30162013-07-14 Michael Albinus <michael.albinus@gmx.de>
3017
3018 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3019
30202013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3021
3022 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3023 Highlight conversion methods on Kernel.
3024
30252013-07-13 Alan Mackenzie <acm@muc.de>
3026
3027 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3028 and comment it out. This out-commenting enables certain C++
3029 declarations to be parsed correctly.
3030
30312013-07-13 Eli Zaretskii <eliz@gnu.org>
3032
3033 * international/mule.el (define-coding-system): Doc fix.
3034
3035 * simple.el (default-font-height): Don't call font-info if the
3036 frame's default font didn't change since the frame was created.
3037 (Bug#14838)
3038
30392013-07-13 Leo Liu <sdl.web@gmail.com>
3040
3041 * ido.el (ido-read-file-name): Guard against non-symbol value.
3042
30432013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3044
3045 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3046 in nested defuns.
3047
30482013-07-13 Leo Liu <sdl.web@gmail.com>
3049
3050 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3051 ido-set-matches call. (Bug#6852)
3052
30532013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3054
3055 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3056 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3057 Ruby 2.0.
3058 (ruby-font-lock-keywords): Distinguish calls to functions with
3059 module-like names from module references. Highlight character
3060 literals.
3061
30622013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3063
3064 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3065 (gdb-send): Handle continued commands. (Bug#14847)
3066
30672013-07-12 Juanma Barranquero <lekktu@gmail.com>
3068
3069 * desktop.el (desktop--v2s): Remove unused local variable.
3070 (desktop-save-buffer): Make defvar-local; adjust docstring.
3071 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3072 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3073
30742013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3075
3076 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3077
30782013-07-12 Eli Zaretskii <eliz@gnu.org>
3079
3080 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3081 (Bug#14842)
3082
30832013-07-12 Glenn Morris <rgm@gnu.org>
3084
3085 * doc-view.el: Require cl-lib at runtime too.
3086 (doc-view-remove-if): Remove.
3087 (doc-view-search-next-match, doc-view-search-previous-match):
3088 Use cl-remove-if.
3089
3090 * edmacro.el: Require cl-lib at runtime too.
3091 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3092 (edmacro-mismatch, edmacro-subseq): Remove.
3093
3094 * shadowfile.el: Require cl-lib.
3095 (shadow-remove-if): Remove.
3096 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3097 Use cl-remove-if.
3098
3099 * wid-edit.el: Require cl-lib.
3100 (widget-choose): Use cl-remove-if.
3101 (widget-remove-if): Remove.
3102
3103 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3104 (ebrowse-delete-if-not): Remove.
3105 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3106 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3107 Use cl-delete-if-not.
3108
31092013-07-12 Juanma Barranquero <lekktu@gmail.com>
3110
3111 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3112 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3113
31142013-07-12 Leo Liu <sdl.web@gmail.com>
3115
3116 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3117
31182013-07-11 Glenn Morris <rgm@gnu.org>
3119
3120 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3121 (edebug-gensym-index, edebug-gensym):
3122 Remove reimplementation of cl-gensym.
3123 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3124
3125 * thumbs.el: Require cl-lib at run-time too.
3126 (thumbs-gensym-counter, thumbs-gensym):
3127 Remove reimplementation of cl-gensym.
3128 (thumbs-temp-file): Use cl-gensym.
3129
3130 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3131 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3132 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3133 (ert--union, ert--gensym-counter, ert--gensym-counter)
3134 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3135 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3136 (ert-make-test-unbound, ert--expand-should-1)
3137 (ert--expand-should, ert--should-error-handle-error)
3138 (should-error, ert--explain-equal-rec)
3139 (ert--plist-difference-explanation, ert-select-tests)
3140 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3141 Use cl-lib functions rather than reimplementations.
3142
31432013-07-11 Michael Albinus <michael.albinus@gmx.de>
3144
3145 * net/tramp.el (tramp-methods): Extend docstring.
3146 (tramp-connection-timeout): New defcustom.
3147 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3148 (with-tramp-progress-reporter): Simplify.
3149 (tramp-process-actions): Improve messages.
3150
3151 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3152 * net/tramp-sh.el (tramp-maybe-open-connection):
3153 Use `tramp-connection-timeout'.
3154 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3155 (Bug#14808)
3156
31572013-07-11 Leo Liu <sdl.web@gmail.com>
3158
3159 * ido.el (ido-read-file-name): Conform to the requirements of
3160 read-file-name. (Bug#11861)
3161 (ido-read-directory-name): Conform to the requirements of
3162 read-directory-name.
3163
31642013-07-11 Juanma Barranquero <lekktu@gmail.com>
3165
3166 * subr.el (delay-warning): New function.
3167
31682013-07-10 Eli Zaretskii <eliz@gnu.org>
3169
3170 * simple.el (default-line-height): New function.
3171 (line-move-partial, line-move): Use it instead of computing the
3172 line height inline.
3173 (line-move-partial): Always compute ROWH. If the last line is
3174 partially-visible, but its text is completely visible, allow
3175 cursor to enter such a partially-visible line.
3176
31772013-07-10 Michael Albinus <michael.albinus@gmx.de>
3178
3179 Improve error messages. (Bug#14808)
3180
3181 * net/tramp.el (tramp-current-connection): New defvar, moved from
3182 tramp-sh.el.
3183 (tramp-message-show-progress-reporter-message): Remove, not
3184 needed anymore.
3185 (tramp-error-with-buffer): Show message in minibuffer.
3186 Discard input before waiting. Reset connection timestamp.
3187 (with-tramp-progress-reporter): Improve messages.
3188 (tramp-process-actions): Use progress reporter. Delete process in
3189 case of error. Improve messages.
3190
3191 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3192 Call `tramp-error-with-buffer' with vector and buffer.
3193 (tramp-current-connection): Remove.
3194 (tramp-maybe-open-connection): The car of
3195 `tramp-current-connection' are the first 3 slots of the vector.
3196
31972013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3198
3199 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3200 inside continued strings.
3201
32022013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3203
3204 Timestamp fixes for undo (Bug#14824).
3205 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3206
32072013-07-10 Leo Liu <sdl.web@gmail.com>
3208
3209 * files.el (require-final-newline): Allow safe local value.
3210 (Bug#14834)
3211
32122013-07-09 Leo Liu <sdl.web@gmail.com>
3213
3214 * ido.el (ido-read-directory-name): Handle fallback.
3215 (ido-read-file-name): Update DIR to ido-current-directory.
3216 (Bug#1516)
3217 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
3218
32192013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3220
3221 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3222 "autoload". Remove "warn lower camel case" section, previously
3223 commented out. Highlight negation char. Do not highlight the
3224 target in singleton method definitions.
3225
32262013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * faces.el (tty-setup-hook): Declare the hook.
3229
3230 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3231 and detect when a guard/pred depends on local vars (bug#14773).
3232 (pcase--u1): Adjust caller.
3233
32342013-07-08 Eli Zaretskii <eliz@gnu.org>
3235
3236 * simple.el (line-move-partial, line-move): Account for
3237 line-spacing.
3238 (line-move-partial): Avoid setting vscroll when the last
3239 partially-visible line in window is of default height.
3240
32412013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3242
3243 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3244 been used a while.
3245
32462013-07-07 Juanma Barranquero <lekktu@gmail.com>
3247
3248 * subr.el (read-quoted-char): Remove unused local variable `char'.
3249
32502013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3251
3252 * ediff.el (ediff-version): Version update.
3253 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3254 (ediff-merge-with-ancestor-command, ediff-directories-command)
3255 (ediff-directories3-command, ediff-merge-directories-command)
3256 (ediff-merge-directories-with-ancestor-command): New functions.
3257 All are command-line interfaces to ediff: to facilitate calling
3258 Emacs with the appropriate ediff functions invoked.
3259
3260 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3261 (viper-save-kill-buffer): Check if buffer is modified.
3262
3263 * viper.el (viper-version): Version update.
3264 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
3265
32662013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3267
3268 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3269 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3270 (viper-intercept-ESC-key): Simplify.
3271 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3272 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3273 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3274 (viper-setup-ESC-to-escape): New functions.
3275 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3276 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
3277
32782013-07-07 Eli Zaretskii <eliz@gnu.org>
3279
3280 * simple.el (default-font-height, window-screen-lines):
3281 New functions.
3282 (line-move, line-move-partial): Use them instead of
3283 frame-char-height and window-text-height. This makes scrolling
3284 text smoother when the buffer's default face uses a font that is
3285 different from the frame's default font.
3286
32872013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3288
3289 * files.el (write-file): Do not display confirm dialog for NS,
3290 it does its own dialog, which can't be cancelled (Bug#14578).
3291
32922013-07-06 Eli Zaretskii <eliz@gnu.org>
3293
3294 * simple.el (line-move-partial): Adjust the row returned by
3295 posn-at-point for the current window-vscroll. (Bug#14567)
3296
32972013-07-06 Michael Albinus <michael.albinus@gmx.de>
3298
3299 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3300 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3301 spaces.
3302
33032013-07-06 Martin Rudalics <rudalics@gmx.at>
3304
3305 * window.el (window-state-put-stale-windows): New variable.
3306 (window--state-put-2): Save list of windows without matching buffer.
3307 (window-state-put): Remove "bufferless" windows if possible.
3308
33092013-07-06 Juanma Barranquero <lekktu@gmail.com>
3310
3311 * simple.el (alternatives-define): Remove leftover :group keyword.
3312 Tweak docstring.
3313
33142013-07-06 Leo Liu <sdl.web@gmail.com>
3315
3316 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3317 (ido-enable-virtual-buffers): New variable.
3318 (ido-buffer-internal, ido-toggle-virtual-buffers)
3319 (ido-make-buffer-list): Use it.
3320 (ido-exhibit): Support turning on and off virtual buffers
3321 automatically.
3322
33232013-07-06 Juanma Barranquero <lekktu@gmail.com>
3324
3325 * simple.el (alternatives-define): New macro.
3326
33272013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * subr.el (read-quoted-char): Use read-key.
3330 (sit-for): Let read-event decode tty input (bug#14782).
3331
33322013-07-05 Stephen Berman <stephen.berman@gmx.net>
3333
3334 * calendar/todo-mode.el: Add handling of file deletion, both by
3335 mode command and externally. Fix various related bugs.
3336 Clarify Commentary and improve some documentation strings and code.
3337 (todo-delete-file): New command.
3338 (todo-check-file): New function.
3339 (todo-show): Handle external deletion of the file we're trying to
3340 show (bug#14688). Replace called-interactively-p by an optional
3341 prefix argument to avoid problematic interaction with catch form
3342 when byte compiled (bug#14702).
3343 (todo-quit): Handle external deletion of the archive's todo file.
3344 Make sure the buffer that was visiting the archive file is still
3345 live before trying to bury it.
3346 (todo-category-completions): Handle external deletion of any
3347 category completion files.
3348 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3349 of todo files, in case of external deletion.
3350 (todo-add-file): Replace unnecessary setq by let-binding.
3351 (todo-find-archive): Check whether there are any archives.
3352 Replace unnecessary setq by let-binding.
3353 (todo-archive-done-item): Use find-file-noselect to get the
3354 archive buffer whether or not the archive already exists.
3355 Remove superfluous code. Use file size instead of buffer-file-name to
3356 check if the archive is new; if it is, update list of archives.
3357 (todo-default-todo-file): Allow nil to be a valid value for when
3358 there are no todo files.
3359 (todo-reevaluate-default-file-defcustom): Use corrected definition
3360 of todo-default-todo-file.
3361 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3362 (todo-delete-category, todo-show-categories-table)
3363 (todo-category-number): Clarify comment.
3364 (todo-filter-items): Clarify documentation string.
3365 (todo-show-current-file, todo-display-as-todo-file)
3366 (todo-reset-and-enable-done-separator): Tweak documentation string.
3367 (todo-done-separator): Make separator length window-width, since
3368 bug#2749 is now fixed.
3369
33702013-07-05 Michael Albinus <michael.albinus@gmx.de>
3371
3372 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3373 Support both "gvfs-monitor-dir" and "inotifywait".
3374 (tramp-sh-file-inotifywait-process-filter): Rename from
3375 `tramp-sh-file-notify-process-filter'.
3376 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3377 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3378
33792013-07-05 Leo Liu <sdl.web@gmail.com>
3380
3381 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3382
33832013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3384
3385 * frame.el (display-pixel-height, display-pixel-width)
3386 (display-mm-height, display-mm-width): Mention behavior on
3387 multi-monitor setups in docstrings.
3388 (w32-display-monitor-attributes-list): Declare function.
3389 (display-monitor-attributes-list): Use it.
3390
33912013-07-04 Michael Albinus <michael.albinus@gmx.de>
3392
3393 * filenotify.el: New package.
3394
3395 * autorevert.el (top): Require filenotify.el.
3396 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3397 instead.
3398 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3399 (auto-revert-notify-handler): Use `file-notify-*' functions.
3400
3401 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3402
3403 * net/tramp.el (tramp-file-name-for-operation):
3404 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
3405
3406 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3407 for `file-notify-add-watch' and `file-notify-rm-watch'.
3408 (tramp-process-sentinel): Improve trace.
3409 (tramp-sh-handle-file-notify-add-watch)
3410 (tramp-sh-file-notify-process-filter)
3411 (tramp-sh-handle-file-notify-rm-watch)
3412 (tramp-get-remote-inotifywait): New defuns.
3413
34142013-07-03 Juri Linkov <juri@jurta.org>
3415
3416 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3417 call of `occur-read-primary-args' to interactive spec.
3418
3419 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3420 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3421
34222013-07-03 Matthias Meulien <orontee@gmail.com>
3423
3424 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3425 `Buffer-menu-multi-occur'. Add it to the menu.
3426 (Buffer-menu-mode): Document it in docstring.
3427 (Buffer-menu-multi-occur): New command. (Bug#14673)
3428
34292013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3430
3431 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3432 keywords and built-ins.
3433
34342013-07-03 Glenn Morris <rgm@gnu.org>
3435
3436 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3437
3438 Make info-xref checks case-sensitive by default
3439 * info.el (Info-find-node, Info-find-in-tag-table)
3440 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3441 Add option for exact case matching of nodes.
3442 * info-xref.el (info-xref): New custom group.
3443 (info-xref-case-fold): New option.
3444 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3445
34462013-07-03 Leo Liu <sdl.web@gmail.com>
3447
3448 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3449
34502013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3451
3452 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3453 middle of block statement initially, lower the depth. Remove
3454 FIXME comment, not longer valid. Remove middle of block statement
3455 detection, no need to do that anymore since we've been using
3456 `ruby-parse-region' here.
3457
34582013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3459
3460 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3461
34622013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
3463
3464 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3465
34662013-07-01 Juanma Barranquero <lekktu@gmail.com>
3467
3468 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3469 (desktop-restore-in-current-display): New customization option.
3470 (desktop--excluded-frame-parameters): Add `font'.
3471 (desktop--save-frames): Rename from desktop--save-windows.
3472 (desktop--restore-in-this-display-p): New function.
3473 (desktop--make-full-frame): Remove unwanted width/height from
3474 full(width|height) frames.
3475 (desktop--restore-frames): Rename from desktop--restore-windows.
3476 Obey desktop-restore-current-display. Do not delete old frames or
3477 select a new frame unless we were able to restore at least one frame.
3478
34792013-06-30 Michal Nazarewicz <mina86@mina86.com>
3480
3481 * files.el (find-file-noselect): Simplify conditional expression.
3482
3483 * remember.el (remember-append-to-file):
3484 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3485
3486 Add `remember-notes' function to store random notes across Emacs
3487 restarts.
3488 * remember.el (remember-data-file): Add :set callback to affect
3489 notes buffer (if any).
3490 (remember-notes): New command.
3491 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3492 New defcustoms for the `remember-notes' function.
3493 (remember-notes-save-and-bury-buffer): New command.
3494 (remember-notes-mode-map): New variable.
3495 (remember-mode): New minor mode.
3496 (remember-notes--kill-buffer-query): New function.
3497 * startup.el (initial-buffer-choice): Add notes to custom type.
3498
34992013-06-30 Eli Zaretskii <eliz@gnu.org>
3500
3501 * bindings.el (right-char, left-char): Don't call sit-for, this is
3502 no longer needed. Use arithmetic comparison only for numerical
3503 arguments.
3504
3505 * international/mule-cmds.el (select-safe-coding-system):
3506 Handle the case of FROM being a string correctly. (Bug#14755)
3507
35082013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3509
3510 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3511 progression on degenerate tables.
3512 (shr-rescale-image): ImageMagick animated images currently don't work.
3513
35142013-06-30 Juanma Barranquero <lekktu@gmail.com>
3515
3516 Some fixes and improvements for desktop frame restoration.
3517 It is still experimental and disabled by default.
3518 * desktop.el (desktop--save-windows): Put the selected frame at
3519 the head of the list.
3520 (desktop--make-full-frame): New function.
3521 (desktop--restore-windows): Try to re-select the frame that was
3522 selected upon saving. Do not abort if some frames fail to restore,
3523 just show an error message and continue. Set up maximized frames
3524 so they have default non-maximized dimensions.
3525
35262013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3527
3528 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3529 Don't start heredoc inside a string or comment.
3530
35312013-06-29 Eli Zaretskii <eliz@gnu.org>
3532
3533 * bindings.el (visual-order-cursor-movement): New defcustom.
3534 (right-char, left-char): Provide visual-order cursor motion by
3535 calling move-point-visually. Update the doc strings.
3536
35372013-06-28 Kenichi Handa <handa@gnu.org>
3538
3539 * international/mule.el (define-coding-system): New coding system
3540 properties :inhibit-null-byte-detection,
3541 :inhibit-iso-escape-detection, and :prefer-utf-8.
3542 (set-buffer-file-coding-system): If :charset-list property of
3543 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3544 appropriate for setting.
3545
3546 * international/mule-cmds.el (select-safe-coding-system):
3547 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3548 multibyte characters, return utf-8 (or one of its siblings).
3549
3550 * international/mule-conf.el (prefer-utf-8): New coding system.
3551 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3552 files.
3553
35542013-06-28 Ivan Kanis <ivan@kanis.fr>
3555
3556 * net/shr.el (shr-render-region): New function.
3557
3558 * net/eww.el: Autoload `eww-browse-url'.
3559
35602013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3561
3562 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3563 Adapt to `package-desc-version' being a list.
3564 Use `package--ac-desc-version' to retrieve version from a package
3565 archive element.
3566
35672013-06-27 Juanma Barranquero <lekktu@gmail.com>
3568
3569 New experimental feature to save&restore window and frame setup.
3570 * desktop.el (desktop-save-windows): New defcustom.
3571 (desktop--saved-states): New var.
3572 (desktop--excluded-frame-parameters): New defconst.
3573 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3574 (desktop--restore-windows, desktop--save-windows): New functions.
3575 (desktop-save): Call `desktop--save-windows'.
3576 (desktop-read): Call `desktop--restore-windows'.
3577
35782013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3579
3580 * net/shr.el (add-face-text-property): Remove compat definition.
3581
35822013-06-27 Stephen Berman <stephen.berman@gmx.net>
3583
3584 * info.el (Info-try-follow-nearest-node): Move search for footnote
3585 above search for node name to prevent missing a footnote (bug#14717).
3586
35872013-06-27 Stephen Berman <stephen.berman@gmx.net>
3588
3589 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3590
35912013-06-27 Leo Liu <sdl.web@gmail.com>
3592
3593 * net/eww.el (eww-read-bookmarks): Check file size.
3594
35952013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3596
3597 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3598 advice--pending if newdef is nil or an autoload (bug#13820).
3599 (advice-mapc): New function.
3600
36012013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3602
3603 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3604 probably.
3605 (eww-mode-map): Add a menu bar.
3606 (eww-add-bookmark): New command.
3607 (eww-bookmark-mode): New mode and commands.
3608 (eww-add-bookmark): Remove newlines from the title.
3609 (eww-bookmark-browse): Don't bug out if it's the only window.
3610
36112013-06-26 Glenn Morris <rgm@gnu.org>
3612
3613 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3614 (hfy-size): Handle ttys. (Bug#14668)
3615
3616 * info-xref.el: Update for Texinfo 5 change in *note format.
3617 (info-xref-node-re, info-xref-note-re): New constants.
3618 (info-xref-check-buffer): Use info-xref-note-re.
3619
36202013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3623
3624 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3625 nil terminate the loop (bug#14718).
3626
36272013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3628
3629 * net/eww.el: Rework history traversal. When going forward/back,
3630 put these actions into the history, too, so that they can be
3631 replayed.
3632 (eww-render): Move the history reset to the correct buffer.
3633
36342013-06-25 Juri Linkov <juri@jurta.org>
3635
3636 * files-x.el (modify-dir-local-variable): Change the header comment
3637 in the file with directory local variables. (Bug#14692)
3638
3639 * files-x.el (read-file-local-variable-value): Add `default'.
3640 (Bug#14710)
3641
36422013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3643
3644 * net/eww.el (eww-make-unique-file-name): Create a unique file
3645 name before saving to entering `y' accidentally asynchronously.
3646
36472013-06-25 Ivan Kanis <ivan@kanis.fr>
3648
3649 * net/eww.el (eww-download): New command and keystroke.
3650
36512013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3652
3653 * net/eww.el (eww-copy-page-url): Change name of command.
3654
3655 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3656 be more consistent with Info and dired.
3657
3658 * net/eww.el (eww-mode-map): Ditto.
3659
36602013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3661
3662 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3663 packages from archives.
3664 (package-archive-contents): Change format; include obsolete packages.
3665 (package-desc): Use `dir' to mark builtin packages.
3666 (package--from-builtin): Set the `dir' field to `builtin'.
3667 (generated-autoload-file, version-control): Declare.
3668 (package-compute-transaction): Change first arg and return value to be
3669 lists of package-descs. Adjust to new package-archive-contents format.
3670 (package--add-to-archive-contents): Adjust to new
3671 package-archive-contents format.
3672 (package-download-transaction): Arg is now a list of package-descs.
3673 (package-install): If `pkg' is a package name, pass it as
3674 a requirement, so it is subject to the usual (e.g. disabled) checks.
3675 (describe-package): Accept package-desc as well.
3676 (describe-package-1): Describe a specific package-desc. Add links to
3677 other package-descs for the same package name.
3678 (package-menu-describe-package): Pass the actual package-desc.
3679 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3680 works correctly.
3681 (package-desc-status): New function.
3682 (package-menu--refresh): New function, extracted
3683 from package-menu--generate.
3684 (package-menu--generate): Use it.
3685 (package-delete): Update package-alist.
3686 (package-menu-execute): Don't call package-initialize.
3687
3688 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3689 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3690 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3691 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3692 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3693 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3694
36952013-06-25 Martin Rudalics <rudalics@gmx.at>
3696
3697 * window.el (window--state-get-1): Workaround for bug#14527.
3698 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3699
37002013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3701
3702 * net/eww.el (eww-back-url): Implement the history by stashing all
3703 the data into a list.
3704 (eww-forward-url): Allow going forward in the history, too.
3705
37062013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3708 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3709 for values and use read--expression for expressions (bug#14710).
3710 (read-file-local-variable): Avoid setq.
3711 (read-file-local-variable-mode): Use minor-mode-list.
3712
37132013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3714
3715 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
3716 for DOI URLs.
3717
37182013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3719
3720 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
3721 Update imenu-support when dialect changes.
3722
37232013-06-25 Leo Liu <sdl.web@gmail.com>
3724
3725 * ido.el (ido-read-internal): Allow forward slash on windows.
3726
37272013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3728
3729 * net/eww.el (eww): Start of strings is \\`, not ^.
3730
37312013-06-24 Ivan Kanis <ivan@kanis.fr>
3732
3733 * net/shr.el (shr-browse-url): Fix interactive spec.
3734
3735 * net/eww.el (eww): Add a trailing slash to domain names.
3736
37372013-06-24 Juanma Barranquero <lekktu@gmail.com>
3738
3739 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3740
37412013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3742
3743 * net/shr.el (shr-browse-url): Use an external browser if given a
3744 prefix.
3745
3746 * net/eww.el (eww-external-browser): Move to shr.
3747
37482013-06-24 Ivan Kanis <ivan@kanis.fr>
3749
3750 * net/eww.el (eww): Work more correctly for file: URLs.
3751 (eww-detect-charset): Allow quoted charsets.
3752 (eww-yank-page-url): New command and keystroke.
3753
37542013-06-24 Daiki Ueno <ueno@gnu.org>
3755
3756 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3757 file name of gpg executable.
3758 (epg-context-program): New function.
3759 (epg-context-home-directory): New function.
3760 (epg-context-set-program): New function.
3761 (epg-context-set-home-directory): New function.
3762 (epg--start): Use `epg-context-program' instead of
3763 'epg-gpg-program'.
3764 (epg--list-keys-1): Likewise.
3765
37662013-06-24 Leo Liu <sdl.web@gmail.com>
3767
3768 * ido.el (ido-read-internal): Fix bug#14620.
3769
37702013-06-23 Juanma Barranquero <lekktu@gmail.com>
3771
3772 * faces.el (face-documentation): Simplify.
3773 (read-face-attribute, tty-find-type, x-resolve-font-name):
3774 Use `string-match-p'.
3775 (list-faces-display): Use `string-match-p'. Simplify.
3776 (face-spec-recalc): Check face to avoid face alias loops.
3777 (read-color): Use `string-match-p' and non-capturing parenthesis.
3778
37792013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3780
3781 * net/shr.el (shr-rescale-image): Use the new
3782 :max-width/:max-height functionality.
3783
37842013-06-23 Ivan Kanis <ivan@kanis.fr>
3785
3786 * net/eww.el (eww-search-prefix): New variable.
3787 (eww): Use it.
3788 (eww-external-browser): New variable.
3789 (eww-mode-map): New keystroke.
3790 (eww-browse-with-external-browser): New command.
3791
3792 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3793
37942013-06-23 Juanma Barranquero <lekktu@gmail.com>
3795
3796 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3797 Don't skip aligning the next header field when padding is 0;
3798 otherwise, field width is not respected unless the title is as
3799 wide as the field.
3800
38012013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3802
3803 * emacs-lisp/package.el (package-el-version): Remove.
3804 (package-process-define-package): Fix inf-loop.
3805 (package-install): Allow symbols as arguments again.
3806
38072013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3808
3809 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3810 add some more keyword-like methods.
3811 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3812
38132013-06-22 Juanma Barranquero <lekktu@gmail.com>
3814
3815 * bs.el (bs-buffer-show-mark): Make defvar-local.
3816 (bs-mode): Use setq-local.
3817
3818 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3819 (emacs-lock--try-unlocking): Make defvar-local.
3820
38212013-06-22 Glenn Morris <rgm@gnu.org>
3822
3823 * play/cookie1.el (cookie-apropos): Minor simplification.
3824
3825 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3826
38272013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3828
3829 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3830 `regexp-opt', it breaks the build during dumping.
3831
38322013-06-21 Dmitry Gutov <dgutov@yandex.ru>
3833
3834 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3835 Highlight keyword-like methods on Kernel and Module with
3836 font-lock-builtin-face.
3837 (auto-mode-alist): Consolidate different entries into one regexp
3838 and add more *file-s.
3839
38402013-06-21 Stephen Berman <stephen.berman@gmx.net>
3841
3842 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3843
3844 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3845 (diary-entry): Use it in the action of this button type instead of
3846 diary-goto-entry.
3847
3848 * calendar/todo-mode.el: New version.
3849 (todo-add-category): Append new category to end of file and give
3850 it the highest number, instead of putting it at the beginning and
3851 giving it 0. Incorporate noninteractive functionality.
3852 (todo-forward-category): Adapt to 1-based category numbering.
3853 Allow skipping over archived categories.
3854 (todo-backward-category): Derive from todo-forward-category.
3855 (todo-backward-item, todo-forward-item): Make noninteractive and
3856 delegate interactive part to new commands. Make sensitive to done items.
3857 (todo-categories): Make value an alist of category names and
3858 vectors of item counts.
3859 (todo-category-beg): Make a defconst.
3860 (todo-category-number): Use 1 instead of 0 as initial value.
3861 (todo-category-select): Make sensitive to overlays, optional item
3862 highlighting and done items.
3863 (todo-delete-item): Make sensitive to overlays and marked and done items.
3864 (todo-edit-item): Make sensitive to overlays and editing of
3865 date/time header optional. Add format checks.
3866 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
3867 no-op if point is not on an item. Advertise using todo-edit-quit.
3868 (todo-edit-mode): Make sensitive to new format, font-locking, and
3869 multiple todo files.
3870 (todo-insert-item, todo-insert-item-here): Derive from
3871 todo-basic-insert-item and extend functionality.
3872 (todo-item-end, todo-item-start): Make sensitive to done items.
3873 (todo-item-string): Don't return text properties. Restore point.
3874 (todo-jump-to-category): Make sensitive to multiple todo files and
3875 todo archives. Use extended category completion.
3876 (todo-lower-item, todo-raise-item): Rename to *-priority and
3877 derive from todo-set-item-priority.
3878 (todo-mode): Derive from special-mode. Make sensitive to new
3879 format, font-locking and multiple todo files. Make read-only.
3880 (todo-mode-map): Don't suppress digit keys, so they can supply
3881 prefix arguments. Add many new key bindings.
3882 (todo-prefix): Insert as an overlay instead of file text.
3883 Change semantics from diary date expression to purely visual mark.
3884 (todo-print): Rename to todo-print-buffer. Make buffer display
3885 features printable. Remove option to restrict number of items
3886 printed. Add option to print to file.
3887 (todo-print-function): Rename to todo-print-buffer-function.
3888 (todo-quit): Extend to handle exiting new todo modes.
3889 (todo-remove-item): Make sensitive to overlays.
3890 (todo-save): Extend to buffers of filtered items.
3891 (todo-show): Make sensitive to done items, multiple todo files and
3892 new todo modes. Offer to convert legacy todo file before creating
3893 first new todo file.
3894 (todo-show-priorities): Rename to todo-top-priorities.
3895 Change semantics of value 0.
3896 (todo-top-priorities): Rename to todo-filter-top-priorities,
3897 derive from todo-filter-items and extend functionality.
3898 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
3899 and extend functionality to other types of filtered items.
3900 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
3901 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
3902 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
3903 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
3904 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
3905 (todo-edit-mode-hook, todo-entry-prefix-function)
3906 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
3907 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
3908 (todo-initials, todo-insert-threshold, todo-item-string-start)
3909 (todo-line-string, todo-menu, todo-mode-hook)
3910 (todo-more-important-p, todo-previous-answer, todo-previous-line)
3911 (todo-print-priorities, todo-remove-separator)
3912 (todo-save-top-priorities-too, todo-string-count-lines)
3913 (todo-string-multiline-p, todo-time-string-format)
3914 (todo-tmp-buffer-name): Remove.
3915 (todo-add-file, todo-archive-done-item, todo-choose-archive)
3916 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
3917 (todo-edit-category-diary-inclusion)
3918 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
3919 (todo-edit-file, todo-edit-item-date-day)
3920 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
3921 (todo-edit-item-date-month, todo-edit-item-date-to-today)
3922 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3923 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3924 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3925 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3926 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3927 (todo-filter-top-priorities-multifile, todo-find-archive)
3928 (todo-find-filtered-items-file, todo-go-to-source-item)
3929 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3930 (todo-jump-to-archive-category, todo-lower-category)
3931 (todo-mark-category, todo-marked-item-p, todo-merge-category)
3932 (todo-move-category, todo-move-item, todo-next-button)
3933 (todo-next-item, todo-padded-string, todo-powerset)
3934 (todo-previous-button, todo-previous-item)
3935 (todo-print-buffer-to-file, todo-raise-category)
3936 (todo-rename-category, todo-repair-categories-sexp, todo-search)
3937 (todo-set-category-number, todo-set-item-priority)
3938 (todo-set-top-priorities-in-category)
3939 (todo-set-top-priorities-in-file, todo-show-categories-table)
3940 (todo-sort-categories-alphabetically-or-numerically)
3941 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3942 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3943 (todo-toggle-item-header, todo-toggle-item-highlighting)
3944 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3945 (todo-toggle-view-done-items, todo-toggle-view-done-only)
3946 (todo-unarchive-items, todo-unmark-category): New commands.
3947 (todo-absolute-file-name, todo-add-to-buffer-list)
3948 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3949 (todo-basic-insert-item, todo-category-completions)
3950 (todo-category-number, todo-category-string-matcher-1)
3951 (todo-category-string-matcher-2, todo-check-filtered-items-file)
3952 (todo-check-format, todo-clear-matches)
3953 (todo-comment-string-matcher, todo-convert-legacy-date-time)
3954 (todo-current-category, todo-date-string-matcher)
3955 (todo-define-insertion-command, todo-diary-expired-matcher)
3956 (todo-diary-goto-entry, todo-diary-item-p)
3957 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3958 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3959 (todo-done-item-section-p, todo-done-separator)
3960 (todo-done-string-matcher, todo-files, todo-filter-items)
3961 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3962 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3963 (todo-insert-category-line, todo-insert-item-from-calendar)
3964 (todo-insert-sort-button, todo-insert-with-overlays)
3965 (todo-insertion-command-name, todo-insertion-key-bindings)
3966 (todo-label-to-key, todo-longest-category-name-length)
3967 (todo-make-categories-list, todo-mode-external-set)
3968 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3969 (todo-modes-set-3, todo-multiple-filter-files)
3970 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3971 (todo-read-category, todo-read-date, todo-read-dayname)
3972 (todo-read-file-name, todo-read-time)
3973 (todo-reevaluate-category-completions-files-defcustom)
3974 (todo-reevaluate-default-file-defcustom)
3975 (todo-reevaluate-filelist-defcustoms)
3976 (todo-reevaluate-filter-files-defcustom)
3977 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3978 (todo-reset-done-separator, todo-reset-done-separator-string)
3979 (todo-reset-done-string, todo-reset-global-current-todo-file)
3980 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3981 (todo-reset-prefix, todo-set-categories)
3982 (todo-set-date-from-calendar, todo-set-show-current-file)
3983 (todo-set-top-priorities, todo-short-file-name)
3984 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3985 (todo-total-item-counts, todo-update-buffer-list)
3986 (todo-update-categories-display, todo-update-categories-sexp)
3987 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3988 New functions.
3989 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3990 New major modes.
3991 (todo-categories, todo-display, todo-edit, todo-faces)
3992 (todo-filtered): New defgroups.
3993 (todo-archived-only, todo-button, todo-category-string, todo-date)
3994 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3995 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3996 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3997 (todo-add-item-if-new-category, todo-always-add-time-string)
3998 (todo-categories-align, todo-categories-archived-label)
3999 (todo-categories-category-label, todo-categories-diary-label)
4000 (todo-categories-done-label, todo-categories-number-separator)
4001 (todo-categories-todo-label, todo-categories-totals-label)
4002 (todo-category-completions-files, todo-completion-ignore-case)
4003 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4004 (todo-done-separator-string, todo-done-string)
4005 (todo-files-function, todo-filter-done-items, todo-filter-files)
4006 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4007 (todo-initial-category, todo-initial-file, todo-item-mark)
4008 (todo-legacy-date-time-regexp, todo-mode-line-function)
4009 (todo-nondiary-marker, todo-number-prefix)
4010 (todo-print-buffer-function, todo-show-current-file)
4011 (todo-show-done-only, todo-show-first, todo-show-with-done)
4012 (todo-skip-archived-categories, todo-top-priorities-overrides)
4013 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4014 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4015 New defcustoms.
4016 (todo-category-done, todo-date-pattern, todo-date-string-start)
4017 (todo-diary-items-buffer, todo-done-string-start)
4018 (todo-filtered-items-buffer, todo-item-start)
4019 (todo-month-abbrev-array, todo-month-name-array)
4020 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4021 (todo-top-priorities-buffer): New defconsts.
4022 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4023 (todo-categories-with-marks, todo-category-string-face)
4024 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4025 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4026 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4027 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4028 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4029 (todo-font-lock-keywords, todo-global-current-todo-file)
4030 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4031 (todo-insertion-commands-args)
4032 (todo-insertion-commands-args-genlist)
4033 (todo-insertion-commands-names, todo-insertion-map)
4034 (todo-key-bindings-t, todo-key-bindings-t+a)
4035 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4036 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4037 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4038 (todo-visited): New variables.
4039
40402013-06-21 Glenn Morris <rgm@gnu.org>
4041
4042 * play/cookie1.el (cookie-apropos): Add optional display argument.
4043 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4044 (psychoanalyze-pinhead): Use cookie-doctor.
4045
40462013-06-21 Juanma Barranquero <lekktu@gmail.com>
4047
4048 * emacs-lisp/package.el (tar-get-file-descriptor)
4049 (tar--extract): Declare.
4050
40512013-06-21 Eduard Wiebe <usenet@pusto.de>
4052
4053 Extend flymake's warning predicate to be a function (bug#14217).
4054 * progmodes/flymake.el (flymake-warning-predicate): New.
4055 (flymake-parse-line): Use it.
4056 (flymake-warning-re): Make obsolete alias to
4057 `flymake-warning-predicate'.
4058
40592013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4062 (package-obsolete-list): Remove.
4063 (package-activate): Remove min-version argument. Add `force' argument.
4064 Adjust to new package-alist format.
4065 (package-mark-obsolete): Remove.
4066 (package-unpack): Force reload of the package's autoloads.
4067 (package-installed-p): Check builtins if the installed package is not
4068 recent enough.
4069 (package-initialize): Don't reset package-obsolete-list.
4070 Don't specify which package version to activate.
4071 (package-process-define-package, describe-package-1)
4072 (package-menu--generate): Adjust to new package-alist format.
4073
40742013-06-21 Juanma Barranquero <lekktu@gmail.com>
4075
4076 * allout-widgets.el (allout-widgets-mode-off)
4077 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4078 (allout-widgets-post-command-business)
4079 (allout-widgets-after-copy-or-kill-function)
4080 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4081 (allout-decorate-item-and-context)
4082 (allout-graphics-modification-handler): Fix typos in docstrings.
4083 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4084
4085 * cmuscheme.el (scheme-start-file): Doc fix.
4086 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4087 (scheme-input-filter): Use `string-match-p'.
4088
4089 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4090
4091 * dired-x.el: Use Dired consistently in docstrings.
4092
4093 * dired.el: Use Dired consistently in docstrings.
4094 (dired-readin, dired-mode): Use `setq-local'.
4095 (dired-switches-alist): Make defvar-local.
4096 (dired-buffers-for-dir): Use `zerop'.
4097 (dired-safe-switches-p, dired-switches-escape-p)
4098 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4099 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4100 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4101 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4102 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4103 (dired-toggle-marks, dired-mark-files-containing-regexp)
4104 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4105 (dired-flag-auto-save-files, dired-flag-backup-files):
4106 Use `looking-at-p'.
4107 (dired-mark-files-regexp, dired-build-subdir-alist):
4108 Use `string-match-p', `looking-at-p'.
4109
4110 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4111 (direct-print-region-helper): Use `string-match-p'.
4112
41132013-06-21 Leo Liu <sdl.web@gmail.com>
4114
4115 * comint.el (comint-redirect-results-list-from-process):
4116 Fix infinite loop.
4117
41182013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4119
4120 * net/eww.el (eww-update-header-line-format): Quote % characters.
4121
41222013-06-21 Glenn Morris <rgm@gnu.org>
4123
4124 * play/cookie1.el (cookie): New custom group.
4125 (cookie-file): New option.
4126 (cookie-check-file): New function.
4127 (cookie): Make it interactive. Make start and end messages optional.
4128 Interactively, display the result. Default to cookie-file.
4129 (cookie-insert): Default to cookie-file.
4130 (cookie-snarf): Make start and end messages optional.
4131 Default to cookie-file. Use with-temp-buffer.
4132 (cookie-read): Rename from read-cookie.
4133 Make start and end messages optional. Default to cookie-file.
4134 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
4135 Do not autoload it.
4136 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4137 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4138
41392013-06-21 Leo Liu <sdl.web@gmail.com>
4140
4141 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4142
41432013-06-21 Glenn Morris <rgm@gnu.org>
4144
4145 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4146
41472013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4148 Daniel Hackney <dan@haxney.org>
4149
4150 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4151 Consolidate the single-file vs tarball code.
4152 (package-desc-suffix): New function.
4153 (package-desc-full-name): Don't bother inlining it.
4154 (package-load-descriptor): Return the new package-desc.
4155 (package-mark-obsolete): Remove unused arg `package'.
4156 (package-unpack): Make it work for single files as well.
4157 Make it update package-alist.
4158 (package--make-autoloads-and-stuff): Rename from
4159 package--make-autoloads-and-compile. Don't compile any more.
4160 (package--compile): New function.
4161 (package-generate-description-file): New function, extracted from
4162 package-unpack-single.
4163 (package-unpack-single): Remove.
4164 (package--with-work-buffer): Add indentation and debugging info.
4165 (package-download-single): Remove.
4166 (package-install-from-archive): Rename from package-download-tar, make
4167 it take a pkg-desc, and make it work for single files as well.
4168 (package-download-transaction): Simplify.
4169 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4170 external tar program.
4171 (package-install-from-buffer): Remove `pkg-desc' argument.
4172 Use package-tar-file-info for tar-mode buffers.
4173 (package-install-file): Simplify accordingly.
4174 (package-archive-base): Change to take a pkg-desc.
4175 * tar-mode.el (tar--check-descriptor): New function, extracted from
4176 tar-get-descriptor.
4177 (tar-get-descriptor): Use it.
4178 (tar-get-file-descriptor): New function.
4179 (tar--extract): New function, extracted from tar-extract.
4180 (tar--extract): Use it.
4181 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4182 case the summary uses non-ascii. Adjust to new calling convention of
4183 package-tar-file-info.
4184
41852013-06-21 Leo Liu <sdl.web@gmail.com>
4186
4187 * comint.el (comint-redirect-results-list-from-process):
4188 Fix random delay. (Bug#14681)
4189
41902013-06-21 Juanma Barranquero <lekktu@gmail.com>
4191
4192 * profiler.el (profiler-format-number): Use log, not log10.
4193
41942013-06-20 Juanma Barranquero <lekktu@gmail.com>
4195
4196 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4197
41982013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4201 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4202 yet available.
4203 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4204 (AUTOGENEL): ... here.
4205 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4206 (cl--defsubst-expand): Use it.
4207
42082013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4209
4210 * subr.el (log10): Move here from C code, and declare as obsolete.
4211 All uses of (log10 X) replaced with (log X 10).
4212
42132013-06-20 Juanma Barranquero <lekktu@gmail.com>
4214
4215 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4216 Declare with `defvar-local'.
4217 (tabulated-list-use-header-line, tabulated-list-entries)
4218 (tabulated-list-padding, tabulated-list-printer)
4219 (tabulated-list-sort-key): Declare with `defvar-local'.
4220 (tabulated-list-init-header, tabulated-list-print-fake-header):
4221 Use `setq-local'.
4222
42232013-06-20 Michael Albinus <michael.albinus@gmx.de>
4224
4225 * arc-mode.el (archive-mode): Add `archive-write-file' to
4226 `write-contents-functions' also for remote files. (Bug#14652)
4227
42282013-06-20 Juanma Barranquero <lekktu@gmail.com>
4229
4230 * cus-edit.el (custom-commands): Fix typos.
4231 (custom-display): Fix tooltip text.
4232 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4233 Fix typos in docstrings.
4234 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4235 (custom-unlispify-menu-entry, custom-magic-value-create)
4236 (custom-add-see-also, custom-group-value-create): Use ?\s.
4237 (custom-guess-type, customize-apropos, editable-field)
4238 (custom-face-value-create): Use `string-match-p'.
4239 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4240
4241 * custom.el (custom-load-symbol): Use `string-match-p'.
4242
4243 * ansi-color.el: Convert to lexical binding.
4244 (ansi-colors): Fix URL.
4245 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4246 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4247 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4248
42492013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4250
4251 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4252
4253 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4254
42552013-06-19 Tom Tromey <tromey@redhat.com>
4256
4257 * net/eww.el (eww-top-url): Remove.
4258 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4259 (eww-render): Set new variables. Don't set eww-top-url.
4260 (eww-handle-link): Handle "prev", "home", and "contents".
4261 Downcase the rel text.
4262 (eww-top-url): Choose best top URL.
4263
42642013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4265
4266 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4267 relying in widget.el. Using widget.el leads to too many
4268 user interface inconsistencies.
4269 (eww-self-insert): Implement entering commands in text fields.
4270 (eww-process-text-input): New function to make text input field editing
4271 work.
4272 (eww-submit): Rewrite to use the new-style form methods.
4273 (eww-select-display): Display the correct selected item.
4274 (eww-change-select): Implement changing the select value.
4275 (eww-toggle-checkbox): Implement radio/checkboxes.
4276 (eww-update-field): Fix compilation error.
4277 (eww-tag-textarea): Implement <textarea>.
4278
4279 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4280 we don't shadow mode-specific bindings.
4281
4282 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4283 nothing to push.
4284
4285 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4286
42872013-06-19 Glenn Morris <rgm@gnu.org>
4288
4289 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4290
42912013-06-19 Michael Albinus <michael.albinus@gmx.de>
4292
4293 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4294 not needed.
4295
4296 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4297
42982013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4299
4300 * net/browse-url.el (browse-url-browser-function):
4301 `eww-browse-url' has the right calling signature, `eww' does not.
4302
43032013-06-19 Glenn Morris <rgm@gnu.org>
4304
4305 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4306 Only eval autoloaded macros.
4307 (byte-compile-autoload): Only give the macro warning for macros.
4308
4309 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4310 (ps-underlined-faces): Declare.
4311
4312 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4313 (speedbar-add-supported-extension): Declare.
4314
4315 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4316 Don't include a date stamp in the header of the generated file;
4317 it leads to needless differences between output files.
4318
43192013-06-19 Michael Albinus <michael.albinus@gmx.de>
4320
4321 * net/secrets.el (secrets-struct-secret-content-type):
4322 Replace check of introspection data by a test call of "CreateItem".
4323 Some servers do not offer introspection.
4324
43252013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * electric.el (electric-pair-mode): Improve interaction with
4328 electric-layout-mode.
4329 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4330 (electric-pair-syntax): Use text-mode-syntax-table in comments
4331 and strings.
4332 (electric-pair--insert): New function.
4333 (electric-pair-post-self-insert-function): Use it and
4334 electric--after-char-pos.
4335
43362013-06-19 Leo Liu <sdl.web@gmail.com>
4337
4338 * progmodes/octave.el (octave-help): Fix regexp.
4339
43402013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4341
4342 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4343 (shr-table-horizontal-line): Allow nil as a value, and change the
4344 default.
4345 (shr-insert-table-ruler): Respect the nil value.
4346
43472013-06-18 Tom Tromey <tromey@barimba>
4348
4349 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4350 New defvars.
4351 (eww-open-file): New defun.
4352 (eww-render): Initialize new variables.
4353 (eww-display-html): Handle "link" and "a".
4354 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4355 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4356 (eww-back-url): Rename from eww-previous-url.
4357 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4358 New defuns.
4359
43602013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4361
4362 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4363 Distinguish ternary operator tokens from slash symbol and slash
4364 char literal.
4365
43662013-06-18 Juanma Barranquero <lekktu@gmail.com>
4367
4368 Convert symbol prettification into minor mode and global minor mode.
4369
4370 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4371 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4372 (prettify-symbols--keywords): Rename from
4373 `prog-prettify-symbols-alist' and make a local defvar.
4374 (prettify-symbols--compose-symbol): Rename from
4375 `prog--prettify-font-lock-compose-symbol'.
4376 (prettify-symbols--make-keywords): Rename from
4377 `prog-prettify-font-lock-symbols-keywords' and simplify.
4378 (prog-prettify-install): Remove.
4379 (prettify-symbols-mode): New minor mode, based on
4380 `prog-prettify-install'.
4381 (turn-on-prettify-symbols-mode): New function.
4382 (global-prettify-symbols-mode): New globalized minor mode.
4383
4384 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4385 * progmodes/cfengine.el (cfengine3-mode):
4386 * progmodes/perl-mode.el (perl-mode): Don't call
4387 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4388
43892013-06-18 Juri Linkov <juri@jurta.org>
4390
4391 * files-x.el (modify-file-local-variable-message): New function.
4392 (modify-file-local-variable)
4393 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4394 and call `modify-file-local-variable-message' when it's non-nil.
4395 (add-file-local-variable, delete-file-local-variable)
4396 (add-file-local-variable-prop-line)
4397 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4398 and use it. (Bug#9820)
4399
44002013-06-18 Juri Linkov <juri@jurta.org>
4401
4402 * emulation/vi.el (vi-shell-op):
4403 * emulation/vip.el (vip-execute-com, ex-command):
4404 * emulation/viper-cmd.el (viper-exec-bang):
4405 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4406 the call of `shell-command-on-region'. (Bug#14637)
4407
4408 * simple.el (shell-command-on-region): Doc fix.
4409
44102013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4413 (bug#14633).
4414
44152013-06-18 Glenn Morris <rgm@gnu.org>
4416
4417 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4418
4419 * newcomment.el (comment-search-forward, comment-search-backward):
4420 Doc fix. (Bug#14376)
4421
44222013-06-18 Juanma Barranquero <lekktu@gmail.com>
4423
4424 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4425 (buffer-face-mode-invoke): Doc fix.
4426
44272013-06-18 Matthias Meulien <orontee@gmail.com>
4428
4429 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
4430 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
4431
44322013-06-18 Glenn Morris <rgm@gnu.org>
4433
4434 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4435 Replace obsolete function generic-make-keywords with its expansion.
4436
4437 * progmodes/python.el (ffap-alist): Declare.
4438
4439 * textmodes/reftex.el (bibtex-mode-map): Declare.
4440
44412013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4442
4443 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4444 (package-unpack, package-unpack-single): Return the pkg-dir.
4445 (package-download-transaction): Use it to update package-alist.
4446
44472013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4448
4449 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4450 possible choice.
4451
44522013-06-17 Juri Linkov <juri@jurta.org>
4453
4454 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4455
44562013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4457
4458 * emacs-lisp/package.el (package-load-descriptor):
4459 Remove `with-syntax-table' call, `read' doesn't need it.
4460 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4461
44622013-06-17 Juanma Barranquero <lekktu@gmail.com>
4463
4464 * startup.el (command-line): Expand package name returned by
4465 `package--description-file' (bug#14639).
4466
44672013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4468
4469 * emacs-lisp/package.el (package-load-descriptor): Do not call
4470 `emacs-lisp-mode', just use its syntax table.
4471
44722013-06-17 Juanma Barranquero <lekktu@gmail.com>
4473
4474 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4475 `font-lock-extra-managed-props' if any prettifying keyword is added.
4476 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4477 (prog-mode): Use `setq-local'.
4478
44792013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * international/characters.el (standard-case-table): Set syntax of ?»
4482 and ?« to punctuation.
4483
44842013-06-16 Juanma Barranquero <lekktu@gmail.com>
4485
4486 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4487 Save relevant match data before calling `syntax-ppss' (bug#14595).
4488
44892013-06-15 Juri Linkov <juri@jurta.org>
4490
4491 * files-x.el (modify-file-local-variable-prop-line): Add local
4492 variables to the end of the existing comment on the first line.
4493 Use `file-auto-mode-skip' to skip interpreter magic line,
4494 and also skip XML declaration.
4495
44962013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4497
4498 * startup.el (package--builtin-versions): New var.
4499 (package-subdirectory-regexp): Remove.
4500 (package--description-file): Hard code its value instead.
4501
4502 * emacs-lisp/package.el: Don't activate packages older than builtin.
4503 (package-obsolete-list): Rename from package-obsolete-alist, and make
4504 it into a simple list of package-desc.
4505 (package-strip-version): Remove.
4506 (package-built-in-p): Use package--builtin-versions.
4507 (package-mark-obsolete): Simplify.
4508 (package-process-define-package): Mark it obsolete if older than the
4509 builtin version.
4510 (package-handle-response): Use line-end-position.
4511 (package-read-archive-contents, package--download-one-archive):
4512 Simplify.
4513 (package--add-to-archive-contents): Skip if older than the builtin or
4514 installed version.
4515 (package-menu-describe-package): Fix last change.
4516 (package-list-unversioned): New var.
4517 (package-menu--generate): Use it.
4518
4519 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4520 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4521 (autoload-builtin-package-versions): New variable.
4522 (autoload-generate-file-autoloads): Use them.
4523 Remove the list of autoloaded functions/macros from the
4524 (autoload...) comments.
4525
4526 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4527
45282013-06-15 Eli Zaretskii <eliz@gnu.org>
4529
4530 * simple.el (line-move-partial): Don't jump to the next screen
4531 line as soon as it becomes visible. Instead, continue enlarging
4532 the vscroll until the portion of a tall screen line that's left on
4533 display is about the height of the frame's default font.
4534 (Bug#14567)
4535
45362013-06-15 Glenn Morris <rgm@gnu.org>
4537
4538 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4539 compilation-error-regexp-alist void, or local while let-bound.
4540
4541 * progmodes/make-mode.el (makefile-mode-syntax-table):
4542 Treat "=" as punctuation. (Bug#14614)
4543
45442013-06-15 Juanma Barranquero <lekktu@gmail.com>
4545
4546 * help-fns.el (describe-variable):
4547 Add extra line for permanent-local variables.
4548
45492013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4550
4551 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4552 Add export, import, library. (Bug#9164)
4553 (library): Set indent function.
4554
45552013-06-14 Glenn Morris <rgm@gnu.org>
4556
4557 * term/xterm.el (xterm--query):
4558 Stop after first matching handler. (Bug#14615)
4559
45602013-06-14 Ivan Kanis <ivan@kanis.fr>
4561
4562 Add support for dired in saveplace.
4563 * dired.el (dired-initial-position-hook): New variable.
4564 (dired-initial-position): Call hook to place cursor position.
4565 * saveplace.el (save-place-to-alist): Add dired position.
4566 (save-place-dired-hook): New function.
4567
45682013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4569
4570 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4571 through a symbol rather than letrec.
4572
4573 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4574 (package-desc): Add `dir' field.
4575 (package-desc-full-name): New function.
4576 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4577 (package-maybe-load-descriptor): Remove.
4578 (package-load-all-descriptors): Just call package-load-descriptor.
4579 (package--disabled-p): New function.
4580 (package-desc-vers, package-desc-doc): Remove aliases.
4581 (package--dir): Remove function.
4582 (package-activate): Check if a package is disabled.
4583 (package-process-define-package): New function, extracted from
4584 define-package.
4585 (define-package): Turn into a place holder.
4586 (package-unpack-single, package-tar-file-info):
4587 Use package--description-file.
4588 (package-compute-transaction): Use package--disabled-p.
4589 (package-download-transaction): Don't call
4590 package-maybe-load-descriptor since they're all loaded anyway.
4591 (package-install): Change argument to be a pkg-desc.
4592 (package-delete): Use a single pkg-desc argument.
4593 (describe-package-1): Use package-desc-dir instead of package--dir.
4594 Use package-desc property instead of package-symbol.
4595 (package-install-button-action): Adjust accordingly.
4596 (package--push): Rewrite.
4597 (package-menu--print-info): Adjust accordingly. Change the ID format
4598 to be a pkg-desc.
4599 (package-menu-describe-package, package-menu-get-status)
4600 (package-menu--find-upgrades, package-menu-mark-upgrades)
4601 (package-menu-execute, package-menu--name-predicate):
4602 Adjust accordingly.
4603 * startup.el (package--description-file): New function.
4604 (command-line): Use it.
4605 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4606 Use package-desc-version.
4607
4608 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4609 (byte-compile-preprocess): Use it.
4610 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4611 can't quite recognize.
4612 (byte-compile-add-to-list): Remove.
4613 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4614 (cconv-closure-convert): Add assertion.
4615
4616 * emacs-lisp/map-ynp.el: Use lexical-binding.
4617 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4618 Factor out some repeated code.
4619
46202013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4621
4622 * subr.el (with-eval-after-load): New macro.
4623 (eval-after-load): Allow form to be a function.
4624 take advantage of lexical-binding.
4625 (do-after-load-evaluation): Use dolist and adjust to new format.
4626 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4627
46282013-06-13 Juri Linkov <juri@jurta.org>
4629
4630 * replace.el (perform-replace): Display "symbol " and other search
4631 modes from `isearch-message-prefix' in the *Help* buffer.
4632
4633 * isearch.el (isearch-query-replace): Add " symbol" and other
4634 possible search modes from `isearch-message-prefix' to the prompt.
4635 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4636 when reading a regexp to collect.
4637
46382013-06-13 Juri Linkov <juri@jurta.org>
4639
4640 * isearch.el (word-search-regexp): Match whitespace if the search
4641 string begins or ends in whitespace. The LAX arg is applied to
4642 both ends of the search string. Use `regexp-quote' and explicit
4643 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4644 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4645 boundaries are replaced with symbol boundaries, and characters
4646 between symbols match non-word non-symbol syntax. (Bug#14602)
4647
46482013-06-13 Juri Linkov <juri@jurta.org>
4649
4650 * isearch.el (isearch-del-char): Don't exceed the length of
4651 `isearch-string' by the prefix arg. (Bug#14563)
4652
46532013-06-13 Juri Linkov <juri@jurta.org>
4654
4655 * isearch.el (isearch-yank-word, isearch-yank-line)
4656 (isearch-char-by-name, isearch-quote-char)
4657 (isearch-printing-char, isearch-process-search-char):
4658 Add optional count prefix arg. (Bug#14563)
4659
4660 * international/isearch-x.el
4661 (isearch-process-search-multibyte-characters):
4662 Add optional count prefix arg.
4663
46642013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4667 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4668 lexical-binding.
4669
46702013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4671
4672 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4673
46742013-06-13 Glenn Morris <rgm@gnu.org>
4675
4676 * startup.el (tty-handle-args):
4677 Don't just discard "--" and anything after. (Bug#14608)
4678
4679 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4680
46812013-06-13 Michael Albinus <michael.albinus@gmx.de>
4682
4683 Implement changes in Secret Service API. Make it backward compatible.
4684 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4685 (secrets-create-item): Use it. Prefix properties with interface.
4686
46872013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4688
4689 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4690 (term-emulate-terminal): Respect term-suppress-hard-newline.
4691
46922013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4693
4694 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4695 Only remove a `thumb-file' overlay. (Bug#14548)
4696
46972013-06-12 Grégoire Jadi <daimrod@gmail.com>
4698
4699 * mail/reporter.el (reporter-submit-bug-report):
4700 Handle missing package-name. (Bug#14600)
4701
47022013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4703
4704 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4705 (reftex-citation-prompt, reftex-default-bibliography)
4706 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4707 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4708 (reftex-bib-sort-author, reftex-bib-sort-year)
4709 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4710 (reftex-extract-bib-entries-from-thebibliography)
4711 (reftex-get-bibkey-default, reftex-get-bib-names)
4712 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4713 (reftex-format-bib-entry, reftex-parse-bibitem)
4714 (reftex-format-bibitem, reftex-do-citation)
4715 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4716 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4717 (reftex-insert-bib-matches, reftex-format-citation)
4718 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4719 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4720 existing comments into docstrings.
4721
47222013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4723
4724 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4725
47262013-06-12 Andreas Schwab <schwab@suse.de>
4727
4728 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4729 for auto-save files.
4730
47312013-06-12 Glenn Morris <rgm@gnu.org>
4732
4733 * ido.el (ido-delete-ignored-files): Remove.
4734 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4735 Go back to calling ido-ignore-item-p directly.
4736
47372013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4738
4739 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4740
4741 * ido.el (ido-delete-ignored-files): New function,
4742 split from ido-make-file-list-1.
4743 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4744 (ido-make-file-list-1): Use ido-delete-ignored-files.
4745
47462013-06-12 Leo Liu <sdl.web@gmail.com>
4747
4748 * progmodes/octave.el (inferior-octave-startup)
4749 (inferior-octave-completion-table)
4750 (inferior-octave-track-window-width-change)
4751 (octave-eldoc-function-signatures, octave-help)
4752 (octave-find-definition): Use single quoted strings.
4753 (inferior-octave-startup-args): Change default value.
4754 (inferior-octave-startup): Do not hard code "-i" and
4755 "--no-line-editing".
4756 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4757 (inferior-octave-directory-tracker): Use it.
4758 (octave-goto-function-definition): Robustify.
4759 (octave-help): Support highlighting operators in 'See also'.
4760 (octave-find-definition): Find subfunctions only in Octave mode.
4761
47622013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * help-fns.el (help-fns--compiler-macro): If the handler function is
4765 named, then put a link to it.
4766 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4767 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4768 (cl-typep): Use it.
4769 (cl-eval-when): Simplify debug spec.
4770 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4771 compiler-macro function instead of setting `compiler-macro-file'.
4772
47732013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4774
4775 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4776 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4777
47782013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4779 Daniel Hackney <dan@haxney.org>
4780
4781 First part of Daniel Hackney's patch to package.el.
4782 * emacs-lisp/package.el: Use defstruct.
4783 (package-desc): New, main struct.
4784 (package--bi-desc, package--ac-desc): New structs, used to describe the
4785 format in external files.
4786 (package-desc-vers): Replace with package-desc-version accessor.
4787 (package-desc-doc): Replace with package-desc-summary accessor.
4788 (package-activate-1): Remove `package' arg since the pkg-vec now
4789 includes the name.
4790 (define-package): Use package-desc-from-define.
4791 (package-unpack-single): Change file-name arg to be a symbol.
4792 (package--add-to-archive-contents): Use package-desc-create and new
4793 accessor functions to package--ac-desc.
4794 (package-buffer-info, package-tar-file-info): Return a package-desc.
4795 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4796 arg to be a package-desc.
4797 (package-install-file): Adjust accordingly. Use \' to match EOS.
4798 (package--from-builtin): New function.
4799 (describe-package-1, package-menu--generate): Use it.
4800 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4801 (package-generate-autoloads): Idem and return the name of the file.
4802 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4803 Change pkg-info arg to be a package-desc.
4804 Use package-make-ac-desc.
4805 (package-upload-file): Use \' to match EOS.
4806 * finder.el (finder-compile-keywords): Use package-make-builtin.
4807
48082013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4809
4810 * vc/vc.el (vc-deduce-fileset): Change error message.
4811 (vc-read-backend): New function.
4812 (vc-next-action): Use it.
4813
4814 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4815
4816 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4817 (prolog-font-lock-keywords): Use regexp-opt instead.
4818 Don't manually highlight strings.
4819 (prolog-mode-variables): Simplify comment-start-skip.
4820 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4821
4822 * emacs-lisp/generic.el (generic--normalise-comments)
4823 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4824 (generic-mode-set-comments): Use them.
4825 (generic-bracket-support): Use setq-local.
4826 (generic-make-keywords-list): Declare obsolete.
4827
48282013-06-11 Glenn Morris <rgm@gnu.org>
4829
4830 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4831 Prettify after setting font-lock-defaults. (Bug#14574)
4832
48332013-06-11 Juanma Barranquero <lekktu@gmail.com>
4834
4835 * replace.el (query-replace, occur-read-regexp-defaults-function)
4836 (replace-search):
4837 * subr.el (declare-function, number-sequence, local-set-key)
4838 (substitute-key-definition, locate-user-emacs-file)
4839 (with-silent-modifications, split-string, eval-after-load):
4840 Fix typos, remove unneeded backslashes and reflow some docstrings.
4841
48422013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4843
4844 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4845 default for Elisp files.
4846
48472013-06-11 Glenn Morris <rgm@gnu.org>
4848
4849 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4850 although define-derived-mode was doing this anyway. (Bug#14583)
4851
48522013-06-10 Juanma Barranquero <lekktu@gmail.com>
4853
4854 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4855 Fix make-variable-buffer-local call to refer to the correct variable.
4856
48572013-06-10 Aidan Gauland <aidalgol@amuri.net>
4858
4859 * eshell/em-term.el (eshell-visual-commands)
4860 (eshell-visual-subcommands, eshell-visual-options):
4861 Add summary line to docstrings. Add cross-references.
4862
48632013-06-10 Glenn Morris <rgm@gnu.org>
4864
4865 * epa.el (epa-read-file-name): New function. (Bug#14510)
4866 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
4867
48682013-06-09 Aidan Gauland <aidalgol@amuri.net>
4869
4870 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4871 output redirection to be ignored with visual commands.
4872
48732013-06-09 Aidan Gauland <aidalgol@amuri.net>
4874
4875 * eshell/em-term.el (eshell-visual-command-p): New function.
4876 (eshell-term-initialize): Move long lambda to separate function
4877 eshell-visual-command-p.
4878 * eshell/em-dirs.el (eshell-dirs-initialise):
4879 * eshell/em-script.el (eshell-script-initialize):
4880 Add missing #' to lambda.
4881
48822013-06-08 Leo Liu <sdl.web@gmail.com>
4883
4884 * progmodes/octave.el (octave-add-log-current-defun): New function.
4885 (octave-mode): Set add-log-current-defun-function.
4886 (octave-goto-function-definition): Do not move point if not found.
4887 (octave-find-definition): Enhance to try subfunctions first.
4888
48892013-06-08 Glenn Morris <rgm@gnu.org>
4890
4891 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4892 (byte-compile-backward-char, byte-compile-backward-word):
4893 Improve previous change, to handle non-explicit nil.
4894
48952013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4896
4897 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
4898 (smie--opener/closer-at-point): New function.
4899 (smie--matching-block-data): Use it. Don't match from right after an
4900 opener or right before a closer. Obey smie-blink-matching-inners.
4901 Don't signal a mismatch for repeated inners like "switch..case..case".
4902
49032013-06-07 Leo Liu <sdl.web@gmail.com>
4904
4905 * progmodes/octave.el (octave-mode): Set comment-use-global-state
4906 to t. (Bug#14303)
4907 (octave-function-header-regexp): Fix. (Bug#14570)
4908 (octave-help-mode-finish-hook, octave-help-mode-finish):
4909 Remove. Just use temp-buffer-show-hook.
4910
4911 * newcomment.el (comment-search-backward): Revert last change.
4912 (Bug#14434)
4913
4914 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
4915
49162013-06-07 Eli Zaretskii <eliz@gnu.org>
4917
4918 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
4919 through xargs, to avoid failure due to MS-Windows limitations on
4920 command-line length.
4921
49222013-06-06 Glenn Morris <rgm@gnu.org>
4923
4924 * font-lock.el (lisp-font-lock-keywords-2):
4925 Treat user-error like error.
4926
4927 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4928 (byte-compile-backward-char, byte-compile-backward-word):
4929 Handle explicit nil arguments. (Bug#14565)
4930
49312013-06-05 Alan Mackenzie <acm@muc.de>
4932
4933 * isearch.el (isearch-allow-prefix): New user option.
4934 (isearch-other-meta-char): Don't exit isearch when a prefix
4935 argument is typed whilst `isearch-allow-prefix' is non-nil.
4936 (Bug#9706)
4937
49382013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * autorevert.el (auto-revert-notify-handler): Use memq.
4941 Hide assertion failure.
4942
4943 * skeleton.el: Use cl-lib.
4944 (skeleton-further-elements): Use defvar-local.
4945 (skeleton-insert): Use cl-progv.
4946
49472013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4948
4949 * progmodes/prog-mode.el (prog-prettify-symbols)
4950 (prog-prettify-install): Update docstrings.
4951
49522013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4953
4954 * simple.el: Move all the prog-mode code to prog-mode.el.
4955 * progmodes/prog-mode.el: New file.
4956 * loadup.el: Add prog-mode.el.
4957
49582013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4959
4960 * simple.el (prog-prettify-symbols): Add version.
4961 (prog-prettify-install): Add convenience function to prettify symbols.
4962
4963 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4964 (perl--augmented-font-lock-keywords-1)
4965 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4966 variables and use it.
4967
4968 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4969 (cfengine3-mode): Remove unneeded variable and use it.
4970
4971 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4972 (lisp--augmented-font-lock-keywords-1)
4973 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4974 Remove unneeded variables and use it.
4975
49762013-06-05 João Távora <joaotavora@gmail.com>
4977
4978 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
4979 to point when opening the connection. (Bug#14380)
4980
49812013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4982
4983 * subr.el (load-history-regexp, load-history-filename-element)
4984 (eval-after-load, after-load-functions, do-after-load-evaluation)
4985 (eval-next-after-load, display-delayed-warnings)
4986 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4987 definition of save-match-data.
4988 (overriding-local-map): Remove accidental obsolescence declaration.
4989
4990 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4991
49922013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4993
4994 Generalize symbol prettify support to prog-mode and implement it
4995 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4996 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4997 (prog--prettify-font-lock-compose-symbol)
4998 (prog-prettify-font-lock-symbols-keywords): New variables and
4999 functions to support symbol prettification.
5000 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5001 (lisp--augmented-font-lock-keywords-1)
5002 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5003 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5004 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5005 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5006 Implement prettify of -> => :: strings.
5007 * progmodes/perl-mode.el (perl-prettify-symbols)
5008 (perl--font-lock-compose-symbol)
5009 (perl--font-lock-symbols-keywords): Move to prog-mode.
5010 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5011 (perl-font-lock-keywords-1)
5012 (perl-font-lock-keywords-2): Remove explicit prettify support.
5013 (perl--augmented-font-lock-keywords)
5014 (perl--augmented-font-lock-keywords-1)
5015 (perl--augmented-font-lock-keywords-2, perl-mode):
5016 Implement prettify support.
5017
50182013-06-05 Leo Liu <sdl.web@gmail.com>
5019
5020 Re-implement smie matching block highlight using
5021 show-paren-data-function. (Bug#14395)
5022 * emacs-lisp/smie.el (smie-matching-block-highlight)
5023 (smie--highlight-matching-block-overlay)
5024 (smie--highlight-matching-block-lastpos)
5025 (smie-highlight-matching-block)
5026 (smie-highlight-matching-block-mode): Remove.
5027 (smie--matching-block-data-cache): New variable.
5028 (smie--matching-block-data): New function.
5029 (smie-setup): Use smie--matching-block-data for
5030 show-paren-data-function.
5031
5032 * progmodes/octave.el (octave-mode-menu): Fix.
5033 (octave-find-definition): Skip garbage lines.
5034
50352013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5036
5037 Fix compilation error with simultaneous dynamic+lexical scoping.
5038 Add warning when a defvar appears after the first let-binding.
5039 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5040 (byte-compile-close-variables): Initialize it.
5041 (byte-compile--declare-var): New function.
5042 (byte-compile-file-form-defvar)
5043 (byte-compile-file-form-define-abbrev-table)
5044 (byte-compile-file-form-custom-declare-variable): Use it.
5045 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5046 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5047 (byte-compile-bind): Handle dynamic bindings that shadow
5048 lexical bindings.
5049 (byte-compile-unbind): Make arg non-optional.
5050 (byte-compile-let): Simplify.
5051 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5052 (cconv--analyse-function, cconv-analyse-form): Populate it.
5053 Protect byte-compile-bound-variables to limit the scope of defvars.
5054 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5055 Remove unneeded rule for `declare'.
5056
5057 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5058 so as to avoid depending on cl-adjoin at run-time.
5059 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5060
5061 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5062 (macroexp--warn-and-return): Use it.
5063
50642013-06-05 Leo Liu <sdl.web@gmail.com>
5065
5066 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5067
50682013-06-04 Leo Liu <sdl.web@gmail.com>
5069
5070 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5071 (compilation-auto-jump): Suppress the "Mark set" message to give
5072 way to exit message.
5073
50742013-06-04 Alan Mackenzie <acm@muc.de>
5075
5076 Remove faulty optimisation from indentation calculation.
5077 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5078 search limit based on 2000 characters back from indent-point.
5079
50802013-06-03 Tassilo Horn <tsdh@gnu.org>
5081
5082 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5083
50842013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * emacs-lisp/lisp.el: Use lexical-binding.
5087 (lisp--local-variables-1, lisp--local-variables): New functions.
5088 (lisp--local-variables-completion-table): New var.
5089 (lisp-completion-at-point): Use it complete let-bound vars.
5090
5091 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5092 eagerly (bug#14422).
5093
50942013-06-03 Michael Albinus <michael.albinus@gmx.de>
5095
5096 * autorevert.el (auto-revert-notify-enabled)
5097 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5098 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5099 (auto-revert-notify-handler): Handle also gfilenotify.
5100
5101 * subr.el (file-notify-handle-event): New defun. Replacing ...
5102 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
5103 Remove.
5104
51052013-06-03 Juri Linkov <juri@jurta.org>
5106
5107 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5108 `M-s h .'. (Bug#14427)
5109
5110 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5111 command `hi-lock-face-symbol-at-point'.
5112 (hi-lock-face-symbol-at-point): New command.
5113 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5114 (hi-lock-menu): Add `highlight-symbol-at-point'.
5115 (hi-lock-mode): Doc fix.
5116
5117 * isearch.el (isearch-forward-symbol-at-point): New command.
5118 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5119 (isearch-highlight-regexp): Add a regexp which matches
5120 words/symbols for word/symbol mode.
5121
5122 * subr.el (find-tag-default-bounds): New function with the body
5123 mostly moved from `find-tag-default'.
5124 (find-tag-default): Move most code to `find-tag-default-bounds',
5125 call it and apply `buffer-substring-no-properties' afterwards.
5126
51272013-06-03 Tassilo Horn <tsdh@gnu.org>
5128
5129 * eshell/em-term.el (eshell-term-initialize):
5130 Use `cl-intersection' rather than `intersection'.
5131
51322013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5133
5134 * vc/log-view.el: Doc fix.
5135 (log-view-mode-map): Copy keymap from `special-mode-map'.
5136
51372013-06-02 Eric Ludlam <zappo@gnu.org>
5138
5139 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5140 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5141 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5142 (eieio-unbound, eieio-default-superclass)
5143 (eieio--define-field-accessors, method-static, method-before)
5144 (method-primary, method-after, method-num-lists)
5145 (method-generic-before, method-generic-primary)
5146 (method-generic-after, method-num-slots)
5147 (eieio-specialized-key-to-generic-key)
5148 (eieio--check-type, class-v, class-p)
5149 (eieio-class-name, define-obsolete-function-alias)
5150 (eieio-class-parents-fast, eieio-class-children-fast)
5151 (same-class-fast-p, class-constructor, generic-p)
5152 (generic-primary-only-p, generic-primary-only-one-p)
5153 (class-option-assoc, class-option, eieio-object-p)
5154 (class-abstract-p, class-method-invocation-order)
5155 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5156 (eieio-class-un-autoload, eieio-defclass)
5157 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5158 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5159 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5160 (eieio-defgeneric-reset-generic-form)
5161 (eieio-defgeneric-form-primary-only)
5162 (eieio-defgeneric-reset-generic-form-primary-only)
5163 (eieio-defgeneric-form-primary-only-one)
5164 (eieio-defgeneric-reset-generic-form-primary-only-one)
5165 (eieio-unbind-method-implementations)
5166 (eieio--defmethod, eieio--typep)
5167 (eieio-perform-slot-validation, eieio-validate-slot-value)
5168 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5169 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5170 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5171 (eieio-slot-name-index, eieio-class-slot-name-index)
5172 (eieio-set-defaults, eieio-initarg-to-attribute)
5173 (eieio-attribute-to-initarg, eieio-c3-candidate)
5174 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5175 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5176 (eieio-class-precedence-list, eieio-generic-call-methodname)
5177 (eieio-generic-call-arglst, eieio-generic-call-key)
5178 (eieio-generic-call-next-method-list)
5179 (eieio-pre-method-execution-functions, eieio-generic-call)
5180 (eieio-generic-call-primary-only, eieiomt-method-list)
5181 (eieiomt-optimizing-obarray, eieiomt-install)
5182 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5183 (eieio-generic-form, eieio-defmethod, make-obsolete)
5184 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
5185 (defclass): Remove `eval-and-compile' from macro.
5186 (call-next-method, shared-initialize): Instead of using
5187 `scoped-class' variable, use new eieio--scoped-class, and
5188 eieio--with-scoped-class.
5189 (initialize-instance): Rename local variable 'scoped-class' to
5190 'this-class' to remove ambiguitity from old global.
5191
5192 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5193 eieio.el.
5194 (eieio--scoped-class-stack): New variable.
5195 (eieio--scoped-class): New fcn.
5196 (eieio--with-scoped-class): New scoping macro.
5197 (eieio-defclass): Use pushnew instead of add-to-list.
5198 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5199 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5200 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5201 `scoped-class' variable, use new eieio--scoped-class, and
5202 eieio--with-scoped-class.
5203
5204 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5205
52062013-06-02 Tassilo Horn <tsdh@gnu.org>
5207
5208 * eshell/esh-ext.el (eshell-external-command): Pass args to
5209 `eshell-find-interpreter'.
5210 (eshell-find-interpreter): Add new second parameter ARGS.
5211
5212 * eshell/em-script.el (eshell-script-initialize): Add second arg
5213 to the function added as MATCH to `eshell-interpreter-alist'.
5214
5215 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
5216 the function added as MATCH to `eshell-interpreter-alist'.
5217
5218 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5219 (eshell-visual-options): New defcustom.
5220 (eshell-escape-control-x): Adapt docstring.
5221 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5222 `eshell-visual-options' in addition to `eshell-visual-commands'.
5223 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5224
52252013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
5226
5227 * progmodes/python.el (python-indent-block-enders): Add break,
5228 continue and raise keywords.
5229
52302013-06-01 Glenn Morris <rgm@gnu.org>
5231
5232 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5233
5234 Plain (f)boundp silences compilation warnings since Emacs 22.1.
5235 * progmodes/cc-cmds.el (delete-forward-p):
5236 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5237 * progmodes/cc-engine.el (buffer-syntactic-context):
5238 * progmodes/cc-fonts.el (face-property-instance):
5239 * progmodes/cc-mode.el (set-keymap-parents):
5240 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5241 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5242 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
5243 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5244 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
5245
5246 * progmodes/cc-vars.el (other): Emacs has this widget since
5247 at least 21.1, so don't (re)define it.
5248
5249 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5250 Replace the obsolete alias pcomplete-arg-quote-list.
5251
52522013-06-01 Leo Liu <sdl.web@gmail.com>
5253
5254 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5255 punctuation syntax.
5256 (inferior-octave-minimal-columns)
5257 (inferior-octave-last-column-width): New variables.
5258 (inferior-octave-track-window-width-change): New function.
5259 (inferior-octave-mode): Adjust column width so that Octave output,
5260 for example from 'ls', can fit into the window nicely.
5261
52622013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5263
5264 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5265 Highlight expansions inside regexp literals.
5266
52672013-05-31 Glenn Morris <rgm@gnu.org>
5268
5269 * obsolete/sym-comp.el (symbol-complete):
5270 Replace obsolete completion-annotate-function.
5271
5272 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5273
52742013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5275
5276 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5277 New function, checks if point is inside a literal that allows
5278 expression expansion.
5279 (ruby-syntax-propertize-expansion): Use it.
5280 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5281 around the body.
5282
52832013-05-30 Juri Linkov <juri@jurta.org>
5284
5285 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5286 to "\M-si".
5287 (isearch-invisible): New variable.
5288 (isearch-forward): Doc fix.
5289 (isearch-mode): Set `isearch-invisible'
5290 to the value of `search-invisible'.
5291 (isearch-toggle-case-fold): Doc fix.
5292 (isearch-toggle-invisible): New command.
5293 (isearch-query-replace): Let-bind `search-invisible'
5294 to the value of `isearch-invisible'.
5295 (isearch-search): Use `isearch-invisible' instead of
5296 `search-invisible'. Let-bind `search-invisible'
5297 to the value of `isearch-invisible'. (Bug#11378)
5298
52992013-05-30 Juri Linkov <juri@jurta.org>
5300
5301 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5302 call when `query-flag' is nil and `search-invisible' is non-nil.
5303 (Bug#11746)
5304
53052013-05-30 Glenn Morris <rgm@gnu.org>
5306
5307 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5308
5309 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5310 (cc-require): Suppress spurious "noruntime" warnings.
5311 (cc-require-when-compile): Use fboundp, for sake of compiler.
5312
5313 * progmodes/cc-mode.el: Move load of cc-vars before that of
5314 cc-langs (which in turn loads cc-vars), to quieten compiler.
5315
53162013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * paren.el: Simplify the code.
5319 (show-paren-mode): Always start the timer.
5320 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5321 (show-paren--overlay, show-paren--overlay-1): Rename from
5322 show-paren-overlay and show-paren-overlay-1, and initialize to an
5323 overlay rather than to nil.
5324 (show-paren-function): Misc cleanup and simplifications.
5325
53262013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 * paren.el (show-paren-data-function): New hook.
5329 (show-paren--default): New function, extracted from show-paren-function.
5330 (show-paren-function): Use show-paren-data-function.
5331
53322013-05-30 Glenn Morris <rgm@gnu.org>
5333
5334 * ielm.el (ielm-map, ielm-complete-symbol):
5335 Use completion-at-point rather than obsolete functions.
5336 (inferior-emacs-lisp-mode): Doc fix.
5337 Set completion-at-point-functions, rather than
5338 comint-dynamic-complete-functions.
5339
5340 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5341 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5342 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5343
5344 * image.el (image-animated-p): Tweak definition.
5345
5346 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5347 (rlogin-process-connection-type): Tweak default. Add set-after.
5348 (rlogin-host): Doc fix.
5349 (rlogin): Tweak prompt.
5350 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5351
5352 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5353 * progmodes/tcl.el (inferior-tcl-mode-map):
5354 Use completion-at-point rather than obsolete alias.
5355
5356 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5357
5358 * minibuffer.el (read-file-name-completion-ignore-case):
5359 Move before completion--in-region, for eager macro expansion.
5360
53612013-05-29 Juri Linkov <juri@jurta.org>
5362
5363 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5364 for total count of matching lines. Add `global-matches' for total
5365 count of matches. Rename `matches' to `lines' for count of
5366 matching lines. Add `matches' for count of matches.
5367 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5368 to `prev-line' for line number of prev match endpt.
5369 Increment `matches' for every match. Print the number of
5370 matching lines in the header.
5371 (occur-context-lines): Rename `lines' to `curr-line'.
5372 Rename `prev-lines' to `prev-line'. (Bug#14017)
5373
53742013-05-29 Juri Linkov <juri@jurta.org>
5375
5376 * replace.el (perform-replace): Add `skip-read-only-count',
5377 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5378 Increment them for corresponding conditions and report the number
5379 of skipped occurrences in the final message. (Bug#11746)
5380 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5381 (replace-string, replace-regexp): Doc fix.
5382
53832013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5386
5387 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
5388 prog-mode-map (bug#14504).
5389
53902013-05-29 Leo Liu <sdl.web@gmail.com>
5391
5392 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5393 (octave-help): Small simplification.
5394
5395 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5396 off the highlight first.
5397
53982013-05-29 Glenn Morris <rgm@gnu.org>
5399
5400 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5401 Handle idlwave-last-system-routine-info-cons-cell being nil.
5402
5403 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5404 (idlwave-write-paths): Simplify via with-temp-buffer.
5405
5406 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5407 * emulation/cua-rect.el: Also load cua-base at run time.
5408
5409 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5410 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5411 (cperl-imenu-on-info): Require imenu.
5412
54132013-05-28 Alan Mackenzie <acm@muc.de>
5414
5415 Handle "capitalised keywords" correctly.
5416 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
5417
54182013-05-28 Aidan Gauland <aidalgol@amuri.net>
5419
5420 * eshell/em-unix.el: Add -r option to cp.
5421
54222013-05-28 Glenn Morris <rgm@gnu.org>
5423
5424 * vc/vc-arch.el (vc-exec-after): Declare.
5425 (vc-switches): Autoload.
5426 * vc/vc-bzr.el: No need to require vc when compiling.
5427 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5428 (vc-resynch-buffer, vc-dir-refresh): Declare.
5429 (vc-setup-buffer, vc-switches): Autoload.
5430 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5431 (vc-resynch-buffer): Declare.
5432 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
5433 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
5434 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5435 (grep-read-regexp, grep-read-files, grep-expand-template)
5436 (vc-dir-refresh): Declare.
5437 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5438 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5439 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
5440 * vc/vc-mtn.el (vc-exec-after): Declare.
5441 (vc-switches): Autoload.
5442 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5443 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5444 (vc-file-tree-walk): Declare.
5445 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5446 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5447 (vc-tag-precondition, vc-rename-master): Autoload.
5448 * vc/vc-svn.el (vc-exec-after): Declare.
5449 (vc-switches, vc-setup-buffer): Autoload.
5450 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5451 Autoload.
5452 (vc-resynch-buffer): Declare.
5453
5454 * obsolete/fast-lock.el (byte-compile-warnings):
5455 Don't warn about obsolete features in this obsolete file.
5456
5457 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5458 Move definition before use.
5459
5460 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5461 (dun-unix-verbs): Remove dun-zippy.
5462 (dun-zippy): Remove function.
5463
5464 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5465
54662013-05-27 Juri Linkov <juri@jurta.org>
5467
5468 * replace.el (replace-search): New function with code moved out
5469 from `perform-replace'.
5470 (replace-highlight, replace-dehighlight): Move function definitions
5471 up closer to `replace-search'. (Bug#11746)
5472
54732013-05-27 Juri Linkov <juri@jurta.org>
5474
5475 * replace.el (perform-replace): Ignore invisible matches.
5476 In addition to checking `query-replace-skip-read-only', also
5477 filter out matches by calling `run-hook-with-args-until-failure'
5478 on `isearch-filter-predicates', and also check `search-invisible'
5479 for t or call `isearch-range-invisible'.
5480 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5481
54822013-05-27 Juri Linkov <juri@jurta.org>
5483
5484 * isearch.el (isearch-filter-predicates): Rename from
5485 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5486 (isearch-message-prefix): Display text from the property
5487 `isearch-message-prefix' of the currently active filters.
5488 (isearch-search): Don't compare `isearch-filter-predicate' with
5489 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5490 on `isearch-filter-predicates'. Also check `search-invisible' for t
5491 or call `isearch-range-invisible'.
5492 (isearch-filter-visible): Make obsolete.
5493 (isearch-lazy-highlight-search):
5494 Call `run-hook-with-args-until-failure' on
5495 `isearch-filter-predicates' and use `isearch-range-invisible'.
5496
5497 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5498 `isearch-filter-predicates' instead of `funcall'ing
5499 `isearch-filter-predicate'.
5500 (Info-mode): Set `Info-isearch-filter' to
5501 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5502
5503 * dired-aux.el (dired-isearch-filter-predicate-orig):
5504 Remove variable.
5505 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5506 (dired-isearch-filenames-end): Add and remove
5507 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5508 instead of changing the value of `isearch-filter-predicate'.
5509 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5510 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5511 Put property `isearch-message-prefix' to "filename " on
5512 `dired-isearch-filter-filenames'.
5513
5514 * wdired.el (wdired-change-to-wdired-mode):
5515 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5516 locally instead of changing `isearch-filter-predicate'.
5517 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5518
55192013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5520
5521 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5522 return the commit hash (Bug#14459). Also set the
5523 `vc-git-detached' property.
5524 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5525 (vc-git-mode-line-string): Use the same help-echo format whether
5526 in detached mode or not, because we know the actual revision now.
5527 When in detached mode, shorten the revision to 7 chars.
5528
55292013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5530
5531 * emacs-lisp/easy-mmode.el (define-minor-mode):
5532 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5533 mode hook and provide a docstring.
5534
55352013-05-27 Alan Mackenzie <acm@muc.de>
5536
5537 Remove spurious syntax-table text properties inserted by C-y.
5538 * progmodes/cc-mode.el (c-after-change): Also clear hard
5539 syntax-table property with value nil.
5540
55412013-05-27 Michael Albinus <michael.albinus@gmx.de>
5542
5543 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5544 when reading the events; the buffer layout shall not be changed.
5545
55462013-05-27 Leo Liu <sdl.web@gmail.com>
5547
5548 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5549 New variable.
5550 (inferior-octave-directory-tracker): Automatically re-sync
5551 default-directory.
5552 (octave-help): Improve handling of 'See also'.
5553
55542013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * doc-view.el: Minor naming convention tweaks.
5557 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5558
5559 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5560 even if there's no `display' property yet (bug#14435).
5561
55622013-05-25 Eli Zaretskii <eliz@gnu.org>
5563
5564 * subr.el (unmsys--file-name): Rename from reveal-filename.
5565
5566 * Makefile.in (custom-deps, finder-data, autoloads)
5567 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5568 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5569 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5570
55712013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5572
5573 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5574 error-completion on the first 2 args of condition-case (bug#14446).
5575 Don't burp at EOB.
5576
55772013-05-25 Leo Liu <sdl.web@gmail.com>
5578
5579 * comint.el (comint-previous-matching-input): Do not flood the
5580 *Messages* buffer with trivial messages.
5581
55822013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * progmodes/flymake.el (flymake-nop): Don't return a string.
5585 (flymake-set-at): Fix typo.
5586
5587 * simple.el (read--expression): New function, extracted from
5588 eval-expression. Set completion-at-point-functions (bug#14465).
5589 (eval-expression, eval-minibuffer): Use it.
5590
55912013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5592
5593 * progmodes/flymake.el (flymake-save-buffer-in-file)
5594 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5595 (flymake-selected-frame, flymake-log, flymake-ins-after)
5596 (flymake-set-at, flymake-get-buildfile-from-cache)
5597 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5598 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5599 Refine the doc string.
5600 (flymake-get-file-name-mode-and-masks): Reformat.
5601 (flymake-get-real-file-name-function): Fix a minor bug.
5602
56032013-05-24 Juri Linkov <juri@jurta.org>
5604
5605 * progmodes/grep.el (grep-mode-font-lock-keywords):
5606 Support =linenumber= format used by git-grep for lines with
5607 function names. (Bug#13549)
5608
56092013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5612 0 after a semi-colon; it works better for smie-auto-fill.
5613 (octave--indent-new-comment-line): New function.
5614 (octave-indent-new-comment-line): Use it (indirectly).
5615 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5616 modify comment-line-break-function.
5617
5618 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5619 (smie-setup): Use add-function to set it.
5620
56212013-05-24 Sam Steingold <sds@gnu.org>
5622
5623 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5624 argument (before the `interactive' argument).
5625
56262013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5627
5628 * image-mode.el (image-mode-winprops): Add winprops to
5629 image-mode-winprops-alist before running
5630 image-mode-new-window-functions.
5631 * doc-view.el (doc-view-new-window-function): Don't delay
5632 doc-view-goto-page via timers (bug#14435).
5633
56342013-05-24 Tassilo Horn <tsdh@gnu.org>
5635
5636 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5637 (doc-view-desktop-save-buffer): New function.
5638 (doc-view-restore-desktop-buffer): New function.
5639 (desktop-buffer-mode-handlers):
5640 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
5641 handler.
5642 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5643 `desktop-save-buffer' function.
5644
56452013-05-24 Michael Albinus <michael.albinus@gmx.de>
5646
5647 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5648 (tramp-gvfs-file-name-handler): Raise a user error when
5649 `tramp-gvfs-enabled' is nil.
5650 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5651 Do not raise a user error when loading package. (Bug#14447)
5652
5653 * net/xesam.el: Move to obsolete/.
5654
56552013-05-24 Glenn Morris <rgm@gnu.org>
5656
5657 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5658
5659 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5660
5661 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5662 (Info-find-node, Man-getpage-in-background): Declare.
5663
5664 * mail/unrmail.el (unrmail):
5665 Replace obsolete detect-coding-with-priority.
5666
5667 * net/socks.el (socks-split-string): Use this rather than split-string.
5668 (socks-nslookup-host): Update for above change.
5669 (dynamic-choice, s5-dynamic-choice-match)
5670 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5671 Comment out unused code.
5672
5673 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5674 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5675 (gud-tooltip-echo-area): Make obsolete.
5676 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5677
5678 * progmodes/js.el (js--optimize-arglist): Declare.
5679
5680 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5681
5682 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5683 (ediff-window-C): Declare.
5684
5685 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5686 Tweak requires to silence compiler.
5687
5688 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5689 (he-search-string, he-tried-table, he-expand-list)
5690 (he-init-string, he-string-member, he-substitute-string)
5691 (he-reset-string): Declare.
5692
5693 * obsolete/options.el (list-options): Use custom-variable-p,
5694 rather than obsolete alias.
5695
56962013-05-23 Sam Steingold <sds@gnu.org>
5697
5698 * simple.el (shell-command-on-region): Pass the `replace' argument
5699 down to `call-process-region' to comply with the doc as reported on
5700 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5701
57022013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * emacs-lisp/smie.el (smie-indent-forward-token)
5705 (smie-indent-backward-token): Handle string tokens (bug#14381).
5706
57072013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5708
5709 * ielm.el (ielm-menu): New menu.
5710 (inferior-emacs-lisp-mode): Set comment-start.
5711
57122013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5713
5714 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5715 Fix deactivate action.
5716
5717 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5718 Add cleveref macros.
5719
5720 * lisp/textmodes/reftex-parse.el
5721 (reftex-locate-bibliography-files): Accept options for
5722 bibliography commands.
5723 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5724 Add addbibresource. Basic Biblatex support.
5725
57262013-05-23 Michael Albinus <michael.albinus@gmx.de>
5727
5728 * net/tramp-gvfs.el (top):
5729 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5730 when loading package. (Bug#14447)
5731
57322013-05-23 Glenn Morris <rgm@gnu.org>
5733
5734 * progmodes/js.el: No need to load comint when compiling.
5735 (ring-insert, comint-send-string, comint-send-input)
5736 (comint-last-input-end, ido-chop): Declare.
5737
5738 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5739 * vc/ediff-mult.el: Adjust requires.
5740 (ediff-directories-internal, ediff-directory-revisions-internal)
5741 (ediff-patch-file-internal): Declare.
5742 * vc/ediff-ptch.el: Adjust requires.
5743 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5744 (ediff-find-file): Autoload.
5745 * vc/ediff-util.el: No need to load ediff when compiling.
5746 (ediff-regions-internal): Declare.
5747 * vc/ediff-wind.el: Adjust requires.
5748 (ediff-compute-toolbar-width): Define when compiling.
5749 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5750 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5751 (dired-get-filename, dired-get-marked-files)
5752 (ediff-last-dir-patch, ediff-patch-default-directory)
5753 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5754 (ediff-patch-buffer-internal): Declare.
5755
5756 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5757 (ispell-process, ispell-buffer-local-words, lm-summary)
5758 (lm-section-start, lm-section-end): Declare.
5759 (checkdoc-ispell-init): Simplify.
5760
5761 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5762 (he-string-member, he-reset-string, he-substitute-string): Declare.
5763
5764 * eshell/em-ls.el: Adjust requires.
5765 (eshell-glob-regexp): Declare.
5766 * eshell/em-tramp.el: Adjust requires.
5767 (eshell-parse-command): Autoload.
5768 * eshell/em-xtra.el: Adjust requires.
5769 (eshell-parse-command): Autoload.
5770 * eshell/esh-ext.el: Adjust requires.
5771 (eshell-parse-command, eshell-close-handles): Autoload.
5772 * eshell/esh-io.el: Adjust requires.
5773 (eshell-output-filter): Autoload.
5774 * eshell/esh-util.el: No need to load tramp when compiling.
5775 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5776 Declare.
5777 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5778 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5779 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5780 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5781 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5782 * eshell/esh-opt.el, eshell/esh-proc.el:
5783 * eshell/esh-var.el: Adjust requires.
5784 * eshell/eshell.el: Do not require esh-util twice.
5785 (eshell-add-input-to-history): Declare.
5786 (eshell-command): Check history module is active before using it.
5787
5788 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5789
57902013-05-22 Leo Liu <sdl.web@gmail.com>
5791
5792 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5793
57942013-05-22 Michael Albinus <michael.albinus@gmx.de>
5795
5796 * autorevert.el (auto-revert-notify-add-watch)
5797 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5798 it indicates changes in file modification time.
5799
58002013-05-22 Glenn Morris <rgm@gnu.org>
5801
5802 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5803 Always delete the autoloaded function from the noruntime and
5804 unresolved functions lists.
5805
5806 * allout.el: No need to load epa, epg, overlay when compiling.
5807 (epg-context-set-passphrase-callback, epg-list-keys)
5808 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5809 (epg-key-user-id-list): Declare.
5810
5811 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5812 (viper-set-parsing-style-toggling-macro)
5813 (viper-set-emacs-state-searchstyle-macros):
5814 Use called-interactively-p on Emacs.
5815 (viper-looking-back): Make it an obsolete alias. Update callers.
5816 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5817 Use looking-back rather than viper-looking-back.
5818 (viper-tmp-insert-at-eob, viper-enlarge-region)
5819 (viper-read-string-with-history, viper-register-to-point)
5820 (viper-append-to-register, viper-change-state-to-vi)
5821 (viper-backward-char-carefully, viper-forward-char-carefully)
5822 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5823 (viper-change-state-to-emacs): Declare.
5824 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5825 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5826 * emulation/viper-mous.el: Do not load viper-cmd.
5827 (viper-backward-char-carefully, viper-forward-char-carefully)
5828 (viper-forward-word, viper-adjust-window): Declare.
5829
5830 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5831
5832 * progmodes/idlw-help.el (idlwave-help-fontify):
5833 Use called-interactively-p.
5834
5835 * term/w32console.el (w32-get-console-codepage)
5836 (w32-get-console-output-codepage): Declare.
5837
5838 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5839 Remove unnecessary declarations.
5840 (dframe-message): Doc fix.
5841
5842 * info.el (dframe-select-attached-frame, dframe-current-frame):
5843 Declare.
5844
5845 * speedbar.el (speedbar-message): Make it an obsolete alias.
5846 Update all callers.
5847 (speedbar-with-attached-buffer)
5848 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5849 (speedbar-with-writable): Use backquote.
5850 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5851 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5852 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5853 rather than speedbar- aliases.
5854 * mail/rmail.el: Load dframe rather than speedbar when compiling.
5855 (speedbar-make-specialized-keymap, speedbar-insert-button)
5856 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5857 (speedbar-do-function-pointer): Declare.
5858 (rmail-speedbar-button, rmail-speedbar-find-file)
5859 (rmail-speedbar-move-message):
5860 Use dframe-with-attached-buffer rather than speedbar- alias.
5861 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5862 (dframe-message, speedbar-make-specialized-keymap)
5863 (speedbar-add-expansion-list, speedbar-mode-functions-list)
5864 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5865 (speedbar-insert-button, dframe-select-attached-frame)
5866 (dframe-maybee-jump-to-attached-frame)
5867 (speedbar-change-initial-expansion-list)
5868 (speedbar-previously-used-expansion-list-name): Declare.
5869 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5870 Use dframe-message, dframe-with-attached-buffer rather than
5871 speedbar- aliases.
5872 (gud-sentinel): Silence compiler.
5873 * progmodes/vhdl-mode.el (speedbar-refresh)
5874 (speedbar-do-function-pointer, speedbar-add-supported-extension)
5875 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
5876 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
5877 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
5878 (speedbar-file-lists, speedbar-make-tag-line)
5879 (speedbar-line-directory, speedbar-goto-this-file)
5880 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
5881 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
5882 (speedbar-make-button, speedbar-reset-scanners)
5883 (speedbar-files-item-info, speedbar-line-text)
5884 (speedbar-find-file-in-frame, speedbar-set-timer)
5885 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
5886 (speedbar-with-writable): Do not (re)define it.
5887 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
5888 rather than speedbar- alias.
5889
58902013-05-21 Leo Liu <sdl.web@gmail.com>
5891
5892 * progmodes/octave.el (octave-mode-menu): Update and re-organize
5893 menu items.
5894 (octave-mode): Tweak fill-nobreak-predicate.
5895 (inferior-octave-startup): Check process to avoid infinite loop.
5896 (inferior-octave): Pop to buffer first to show abornmal process
5897 exit information.
5898
58992013-05-21 Glenn Morris <rgm@gnu.org>
5900
5901 * printing.el (pr-menu-bar): Define when compiling.
5902
59032013-05-21 Leo Liu <sdl.web@gmail.com>
5904
5905 * progmodes/octave.el (octave-auto-fill): Remove.
5906 (octave-indent-new-comment-line): Improve.
5907 (octave-mode): Use auto fill mode through
5908 comment-line-break-function and fill-nobreak-predicate.
5909 (octave-goto-function-definition): Support DEFUN_DLD.
5910 (octave-beginning-of-defun): Small tweak.
5911 (octave-help): Show parent directory.
5912
59132013-05-21 Glenn Morris <rgm@gnu.org>
5914
5915 * files.el (dired-unmark):
5916 * progmodes/gud.el (gdb-input): Update declarations.
5917
5918 * calculator.el (electric, ehelp): No need to load when compiling.
5919 (Electric-command-loop, electric-describe-mode): Declare.
5920
5921 * doc-view.el (doc-view-current-converter-processes): Move before use.
5922
5923 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5924 Move MODE-set-explicitly definition before use.
5925
5926 * international/mule-diag.el (mule-diag):
5927 Don't use obsolete window-system-version.
5928
5929 * mail/feedmail.el (smtpmail): No need to load when compiling.
5930 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5931
5932 * mail/mail-utils.el (rfc822): No need to load when compiling.
5933 (rfc822-addresses): Autoload it.
5934 (mail-strip-quoted-names): Trivial simplification.
5935
5936 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5937 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5938
5939 * net/snmp-mode.el (tempo): Don't duplicate requires.
5940
5941 * progmodes/prolog.el (info): No need to load when compiling.
5942 (comint): Require before shell requires it.
5943 (Info-goto-node): Autoload it.
5944 (Info-follow-nearest-node): Declare.
5945 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5946
5947 * textmodes/artist.el (picture-mode-exit): Declare.
5948
5949 * textmodes/reftex-parse.el (reftex-parse-from-file):
5950 Trivial rewrite so the compiler can parse it better.
5951
59522013-05-20 Leo Liu <sdl.web@gmail.com>
5953
5954 * progmodes/octave.el (octave-help-mode-map)
5955 (octave-help-mode-finish-hook): New variables.
5956 (octave-help-mode, octave-help-mode-finish): New functions.
5957 (octave-help): Use octave-help-mode.
5958
59592013-05-20 Glenn Morris <rgm@gnu.org>
5960
5961 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5962
59632013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5964
5965 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5966 start at point, so that expansion starting right after opening
5967 slash in a regexp is recognized.
5968 (ruby-syntax-before-regexp-re): New defvar, extracted from
5969 ruby-syntax-propertize-function. Since the value of this regexp
5970 is looked up at runtime now, we should be able to turn
5971 `ruby-syntax-methods-before-regexp' into a defcustom later.
5972 (ruby-syntax-propertize-function): Split regexp matching into two
5973 parts, for opening and closing slashes. That allows us to skip
5974 over string interpolations and support multiline regexps.
5975 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5976 for them, which calls `ruby-syntax-propertize-expansion'.
5977 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5978 call to `ruby-syntax-propertize-function'.
5979 (ruby-syntax-propertize-expansion): Extracted from
5980 `ruby-syntax-propertize-expansions'. Handles one expansion.
5981 (ruby-syntax-propertize-percent-literal): Leave point right after
5982 the percent symbol, so that the expression expansion rule can
5983 propertize the contents.
5984 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5985 heredoc openers.
5986 (ruby-syntax-propertize-expansions): Remove.
5987
59882013-05-18 Juri Linkov <juri@jurta.org>
5989
5990 * man.el (Man-default-man-entry): Remove `-' from the end
5991 of the default value. (Bug#14400)
5992
59932013-05-18 Glenn Morris <rgm@gnu.org>
5994
5995 * comint.el (comint-password-prompt-regexp):
5996 Allow "password for XXX" where XXX contains colons (eg https://...).
5997
59982013-05-18 Leo Liu <sdl.web@gmail.com>
5999
6000 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6001 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6002 (octave-source-directories): Don't check process.
6003 (octave-source-directories, octave-find-definition): Doc fix.
6004
60052013-05-18 Glenn Morris <rgm@gnu.org>
6006
6007 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6008 Remove backspace/delete bindings. (Bug#14392)
6009
6010 * cus-dep.el (custom-make-dependencies): Sort the output.
6011 (custom-versions-load-alist): Convert comment to doc.
6012
60132013-05-17 Leo Liu <sdl.web@gmail.com>
6014
6015 * newcomment.el (comment-search-backward): Stricter in finding
6016 comment start. (Bug#14303)
6017
6018 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6019 (octave-comment-start-skip): Properly anchored.
6020
60212013-05-17 Leo Liu <sdl.web@gmail.com>
6022
6023 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6024 Clean up when turned off. (Bug#14395)
6025 (smie--highlight-matching-block-overlay): No longer buffer-local.
6026 (smie-highlight-matching-block): Adjust.
6027
60282013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6029
6030 Doc string fix for "nanoseconds" (Bug#14406).
6031 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6032 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6033
60342013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6035
6036 * calc/calc-units.el (math-extract-units): Preserve powers
6037 of units.
6038
60392013-05-17 Leo Liu <sdl.web@gmail.com>
6040
6041 * subr.el (delete-consecutive-dups): New function.
6042 * ido.el (ido-set-matches-1): Use it.
6043 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6044 * ido.el (ido-remove-consecutive-dups): Remove.
6045
60462013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6047
6048 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6049 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6050 regexp-opt's `words'.
6051
60522013-05-16 Leo Liu <sdl.web@gmail.com>
6053
6054 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6055 (smie--highlight-matching-block-overlay)
6056 (smie--highlight-matching-block-lastpos)
6057 (smie--highlight-matching-block-timer): New variables.
6058 (smie-highlight-matching-block): New function.
6059 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6060 (smie-setup): Conditionally enable smie-blink-matching-open.
6061
60622013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6063
6064 Sync with upstream verilog-mode r840.
6065 * progmodes/verilog-mode.el (verilog-mode-version)
6066 (verilog-mode-release-date): Update.
6067 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6068 (verilog-sig-tieoff): Fix string error on
6069 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6070 (verilog-read-decls): Fix parameters confusing
6071 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6072
60732013-05-16 Eli Zaretskii <eliz@gnu.org>
6074
6075 * subr.el (reveal-filename): New function.
6076
6077 * loadup.el: Compute Emacs executable versions on MS-Windows,
6078 where executables have the .exe extension. Add a hard link
6079 emacs-XX.YY.ZZ.exe on MS-Windows.
6080
6081 * Makefile.in (XARGS_LIMIT): New variable.
6082 (custom-deps, finder-data, autoloads)
6083 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6084 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6085 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6086 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6087
60882013-05-16 Leo Liu <sdl.web@gmail.com>
6089
6090 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6091 (octave-mode-menu, octave-mode-map): Remove its uses.
6092
60932013-05-16 Reto Zimmermann <reto@gnu.org>
6094
6095 Sync with upstream vhdl mode v3.34.2.
6096 * progmodes/vhdl-mode.el: Use `push' throughout.
6097 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6098 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6099 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6100 (vhdl-actual-generic-name): New option to derive actual generic name.
6101 (vhdl-port-paste-signals): Replace formal by actual generics.
6102 (vhdl-beautify): New name for old group vhdl-align. Update users.
6103 (vhdl-beautify-options): New option.
6104 (vhdl-last-input-event): New compat alias. Use throughout.
6105 (vhdl-goto-line): Replace user level function `goto-line'.
6106 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6107 vhdl-fix-statement-buffer.
6108 (vhdl-create-mode-menu): Add some entries.
6109 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6110 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6111 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6112 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6113 to force statements on one line.
6114 (vhdl-remove-trailing-spaces-region):
6115 New, split from vhdl-remove-trailing-spaces.
6116 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6117 Respect vhdl-beautify-options.
6118 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6119 (vhdl-update-sensitivity-list): Not add with index if exists without.
6120 Not include array index with signal. Ignore keywords in comments.
6121 (vhdl-get-visible-signals): Regexp tweaks.
6122 (vhdl-template-component-inst): Handle empty library.
6123 (vhdl-template-type): Add template for 'enum' type.
6124 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6125 Use vhdl-replace-string.
6126 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6127 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6128 (vhdl-speedbar-initialize): Update for above name change.
6129 (vhdl-compose-wire-components): Fix in handling of constants.
6130 (vhdl-error-regexp-emacs-alist): New variable.
6131 (vhdl-error-regexp-add-emacs): New function;
6132 adds support for new compile.el (Emacs 22+)
6133 (vhdl-generate-makefile-1): Change target order for single lib. units.
6134 Allow use of absolute file names.
6135
61362013-05-16 Leo Liu <sdl.web@gmail.com>
6137
6138 * simple.el (prog-indent-sexp): Indent enclosing defun.
6139
61402013-05-15 Glenn Morris <rgm@gnu.org>
6141
6142 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6143 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6144 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6145 (whitespace-highlight): Move to whitespace group.
6146
6147 * comint.el (comint-source):
6148 * pcmpl-linux.el (pcmpl-linux):
6149 * shell.el (shell-faces):
6150 * eshell/esh-opt.el (eshell-opt):
6151 * international/ccl.el (ccl): Remove empty custom groups.
6152
6153 * completion.el (dynamic-completion-mode):
6154 * jit-lock.el (jit-lock-debug-mode):
6155 * minibuffer.el (completion-in-region-mode):
6156 * type-break.el (type-break-mode-line-message-mode)
6157 (type-break-query-mode):
6158 * emulation/tpu-edt.el (tpu-edt-mode):
6159 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6160 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6161 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6162
6163 * term/xterm.el (xterm): Change parent group to terminals.
6164
6165 * master.el (master): Remove empty custom group.
6166 (master-mode): Remove unused :group argument.
6167 * textmodes/refill.el (refill): Remove empty custom group.
6168 (refill-mode): Remove unused :group argument.
6169
6170 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6171
6172 * cus-dep.el: Provide a feature.
6173 (custom-make-dependencies): Ignore dotfiles (dir-locals).
6174 Don't mistakenly ignore files whose basenames match a basename
6175 from preloaded-file-list (eg cedet/ede/simple.el).
6176 Add a fallback method for getting :group.
6177
61782013-05-15 Juri Linkov <juri@jurta.org>
6179
6180 * isearch.el (isearch-char-by-name): Rename from
6181 `isearch-insert-char-by-name'. Doc fix.
6182 (isearch-forward): Mention `isearch-char-by-name' in
6183 the docstring. (Bug#13348)
6184
6185 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6186 `exit-minibuffer' instead of
6187 `isearch-nonincremental-exit-minibuffer'.
6188 (isearch-edit-string): Remove mention of
6189 `isearch-nonincremental-exit-minibuffer' from docstring.
6190 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6191 (isearch-forward-exit-minibuffer)
6192 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6193
61942013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * loadup.el: Just use unversioned DOC.
6197
6198 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6199 literals as extending to EOB.
6200 (nxml-last-fontify-end): Remove unused variable.
6201 (nxml-after-change1): Use with-silent-modifications.
6202 (nxml-extend-after-change-region): Simplify.
6203 (nxml-extend-after-change-region1): Remove function.
6204 (nxml-after-change1): Don't adjust for dependent regions.
6205 (nxml-fontify-matcher): Simplify.
6206 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6207 (xmltok-add-dependent): Remove function.
6208 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6209 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6210 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6211 unclosed <[[, <?, comment, and other literals as extending to EOB.
6212 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6213 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6214 Remove functions.
6215 (rng-do-some-validation-1): Don't mark dependent regions.
6216 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6217 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6218 (nxml-clear-dependent-regions): Remove functions.
6219 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6220 (nxml-ensure-scan-up-to-date):
6221 Don't clear&mark dependent regions.
6222
62232013-05-15 Leo Liu <sdl.web@gmail.com>
6224
6225 * progmodes/octave.el (octave-goto-function-definition):
6226 Improve and fix callers.
6227
62282013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6231 the setter (bug#14387).
6232
6233 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6234 surrounding group (bug#14402).
6235
62362013-05-14 Juri Linkov <juri@jurta.org>
6237
6238 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6239 (Bug#14390)
6240
62412013-05-14 Glenn Morris <rgm@gnu.org>
6242
6243 * progmodes/f90.el (f90-imenu-generic-expression):
6244 Fix typo in 2013-05-08 change. (Bug#14402)
6245
62462013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6247
6248 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6249 Remove signals for which replies are never received.
6250
62512013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6252
6253 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6254 (gdb-handler-alist, gdb-handler-number): Remove variables.
6255 (gdb-handler-list): New variable.
6256 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6257 (gdb-pending-handler-p, gdb-handle-reply)
6258 (gdb-remove-all-pending-triggers): New functions.
6259 (gdb-discard-unordered-replies): New defcustom.
6260 (gdb-handler): New defstruct.
6261 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6262 instead of gdb-pending-triggers. Update docstring.
6263 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6264 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6265 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6266 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6267 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6268 (gdb-frame-handler): Pending triggers are now automatically managed.
6269 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6270 Remove argument.
6271 (gdb-input): Automatically handles pending triggers. Update docstring.
6272 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6273 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6274 Update comments.
6275 (gdb-done-or-error): Now use gdb-handle-reply.
6276
62772013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6278
6279 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6280 gdb-debug-log.
6281
62822013-05-14 Glenn Morris <rgm@gnu.org>
6283
6284 * subr.el (user-emacs-directory-warning): New option.
6285 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6286
62872013-05-14 Leo Liu <sdl.web@gmail.com>
6288
6289 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6290 during redisplay.
6291 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6292 (octave-font-lock-texinfo-comment): Fix invalid search bound
6293 error: wrong side of point.
6294
62952013-05-14 Glenn Morris <rgm@gnu.org>
6296
6297 * progmodes/flymake.el (flymake-xml-program): New option.
6298 (flymake-xml-init): Use it.
6299
6300 * term/xterm.el: Provide a feature.
6301
6302 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
6303
63042013-05-13 Glenn Morris <rgm@gnu.org>
6305
6306 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6307 Add compat aliases as a hack workaround. (Bug#14384)
6308
63092013-05-13 Leo Liu <sdl.web@gmail.com>
6310
6311 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6312 ###, and %!.
6313 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6314 C-M-q.
6315 (octave-comment-start-skip): Include %!.
6316 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
6317
63182013-05-12 Leo Liu <sdl.web@gmail.com>
6319
6320 * progmodes/octave.el (inferior-octave-startup): Store the value
6321 of __octave_srcdir__ for octave-source-directories.
6322 (inferior-octave-check-process): New function refactored out of
6323 inferior-octave-send-list-and-digest.
6324 (octave-source-directories)
6325 (octave-find-definition-filename-function): New variables.
6326 (octave-source-directories)
6327 (octave-find-definition-default-filename): New functions.
6328 (octave-find-definition): Improve to find functions implemented in C++.
6329
63302013-05-12 Glenn Morris <rgm@gnu.org>
6331
6332 * calendar/diary-lib.el (diary-outlook-format-1):
6333 Don't include dayname in the output. (Bug#14349)
6334
63352013-05-11 Glenn Morris <rgm@gnu.org>
6336
6337 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6338
6339 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6340 Treat cc-provide like provide.
6341
63422013-05-11 Kevin Ryde <user42@zip.com.au>
6343
6344 * cus-dep.el (custom-make-dependencies):
6345 Use generated-autoload-load-name for the sake of files such
6346 such cedet/semantic/bovine/c.el, where the base file name
6347 is not in load-path. (Bug#5277)
6348
63492013-05-11 Glenn Morris <rgm@gnu.org>
6350
6351 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6352 Provide features.
6353
63542013-05-11 Leo Liu <sdl.web@gmail.com>
6355
6356 * progmodes/octave.el (octave-indent-comment): Improve.
6357 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
6358 (octave-eldoc-function-signatures, octave-eldoc-function):
6359 New functions.
6360 (octave-mode, inferior-octave-mode): Add eldoc support.
6361
63622013-05-11 Richard Stallman <rms@gnu.org>
6363
6364 * epa.el (epa-decrypt-file): Take output file name as argument
6365 and read it using `interactive'.
6366
63672013-05-11 Leo Liu <sdl.web@gmail.com>
6368
6369 * progmodes/octave.el (octave-beginning-of-line)
6370 (octave-end-of-line): Check before using up-list because it jumps
6371 out of more syntactic contructs since moving to smie.
6372 (octave-indent-comment): New function.
6373 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6374 (octave-begin-keywords, octave-end-keywords)
6375 (octave-reserved-words, octave-smie-bnf-table)
6376 (octave-smie-rules): Add new keywords from Octave 3.6.4.
6377
63782013-05-11 Glenn Morris <rgm@gnu.org>
6379
6380 * faces.el (internal-face-x-get-resource):
6381 * frame.el (ns-display-monitor-attributes-list):
6382 * calc/calc-aent.el (math-to-radians-2):
6383 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
6384 Fix declarations.
6385
6386 * calc/calc-menu.el: Make it loadable in isolation.
6387
6388 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6389 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6390 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6391 (eudc-bbdb-query-internal): Require 'bbdb.
6392
6393 * lpr.el (lpr-headers-switches):
6394 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6395
6396 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6397
6398 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6399
6400 * term.el (term-set-escape-char): Make it idempotent.
6401
64022013-05-10 Leo Liu <sdl.web@gmail.com>
6403
6404 * progmodes/octave.el (inferior-octave-completion-table):
6405 No longer a function and all uses changed. Use cache to speed up
6406 completion due to bug#11906.
6407 (octave-beginning-of-defun): Re-write to be more general.
6408
64092013-05-10 Glenn Morris <rgm@gnu.org>
6410
6411 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6412
64132013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * comint.el (comint-redirect-send-command-to-process): Use :around
6416 rather than :override for comint-redirect-filter.
6417 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6418 Call it instead of comint-redirect-original-filter-function (which
6419 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6420
64212013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6422
6423 * frame.el (display-monitor-attributes-list): Add NS case.
6424 (ns-display-monitor-attributes-list): Declare.
6425
64262013-05-09 Ulrich Mueller <ulm@gentoo.org>
6427
6428 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6429
64302013-05-09 Glenn Morris <rgm@gnu.org>
6431
6432 * international/fontset.el (vertical-centering-font-regexp):
6433 Set standard-value.
6434
6435 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6436
6437 * bookmark.el (bookmark-search-delay):
6438 * cus-start.el (vertical-centering-font-regexp):
6439 * ps-mule.el (ps-mule-font-info-database-default):
6440 * ps-print.el (ps-default-fg, ps-default-bg):
6441 * type-break.el (type-break-good-break-interval):
6442 * whitespace.el (whitespace-indentation-regexp)
6443 (whitespace-space-after-tab-regexp):
6444 * emacs-lisp/testcover.el (testcover-1value-functions)
6445 (testcover-noreturn-functions, testcover-progn-functions)
6446 (testcover-prog1-functions):
6447 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6448 * eshell/em-glob.el (eshell-glob-translate-alist):
6449 * play/tetris.el (tetris-tty-colors):
6450 * progmodes/cpp.el (cpp-face-default-list):
6451 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6452 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6453 (idlwave-help-browser-generic-args):
6454 * progmodes/make-mode.el (makefile-special-targets-list):
6455 * progmodes/python.el (python-shell-virtualenv-path):
6456 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6457 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6458 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6459 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6460 * textmodes/reftex-vars.el (reftex-format-label-function):
6461 * textmodes/remember.el (remember-diary-file): Fix custom types.
6462
6463 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6464 Add :version.
6465
64662013-05-09 Leo Liu <sdl.web@gmail.com>
6467
6468 * progmodes/octave.el (inferior-octave-completion-at-point):
6469 Restore file completion. (Bug#14300)
6470 (inferior-octave-startup): Fix incorrect highlighting for the
6471 first prompt.
6472
64732013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6474
6475 * progmodes/ruby-mode.el: First cut at SMIE support.
6476 (ruby-use-smie): New var.
6477 (ruby-smie-grammar): New constant.
6478 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6479 (ruby-smie--forward-token, ruby-smie--backward-token)
6480 (ruby-smie-rules): New functions.
6481 (ruby-mode-variables): Setup SMIE if applicable.
6482
64832013-05-08 Eli Zaretskii <eliz@gnu.org>
6484
6485 * simple.el (line-move-visual): Signal beginning/end of buffer
6486 only if vertical-motion moved less than it was requested. Avoids
6487 silly incorrect error messages when there are display strings with
6488 multiple newlines at EOL.
6489
64902013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6493 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6494 (prolog-char-quote-workaround):
6495 * progmodes/cperl-mode.el (cperl-under-as-char):
6496 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
6497 Mark as obsolete.
6498 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
6499 their declaration.
6500 (vhdl-mode-syntax-table-init): Remove.
6501
6502 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6503 last change.
6504
6505 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6506 syntax for "_".
6507 (ld-script-font-lock-keywords):
6508 Change regexps to use things like \_< and \_>.
6509
6510 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6511 Change all regexps to use things like \_< and \_>.
6512
6513 * progmodes/autoconf.el (autoconf-definition-regexp)
6514 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6515 Handle a _ with symbol syntax.
6516 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6517
6518 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6519 Consolidate declaration.
6520 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6521 the declaration.
6522 (ada-create-syntax-table): Remove.
6523 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6524 already has the right syntax nowadays.
6525 (ada-goto-next-word): Don't change the syntax of "_".
6526
6527 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6528 with-wrapper-hook.
6529
65302013-05-08 Sam Steingold <sds@gnu.org>
6531
6532 * thingatpt.el (thing-at-point): Accept optional second argument
6533 NO-PROPERTIES to strip the text properties from the return value.
6534 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6535 to `thing-at-point' instead of stripping the properties ourselves.
6536 Also, when `thing-at-point' fails to find a url, prepend "http://"
6537 to the filename at point on the assumption that the user is
6538 pointing at something like gnu.org/gnu.
6539
65402013-05-08 Juanma Barranquero <lekktu@gmail.com>
6541
6542 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6543 * faces.el (crm-separator):
6544 Silence byte-compiler.
6545
6546 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6547 (tool-bar-map): Remove unneeded defvars.
6548
65492013-05-08 Leo Liu <sdl.web@gmail.com>
6550
6551 Re-work a fix for bug#10994 based on Le Wang's patch.
6552 * ido.el (ido-remove-consecutive-dups): New helper.
6553 (ido-completing-read): Use it.
6554 (ido-chop): Revert fix for bug#10994.
6555
65562013-05-08 Adam Spiers <emacs@adamspiers.org>
6557
6558 * cus-edit.el (custom-save-variables):
6559 Pretty-print long values. (Bug#14187)
6560
65612013-05-08 Glenn Morris <rgm@gnu.org>
6562
6563 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6564 (m4-mode-syntax-table): Init in the defvar.
6565 (m4-mode-abbrev-table): Let define-derived-mode define it.
6566
65672013-05-08 Tom Tromey <tromey@redhat.com>
6568
6569 * progmodes/m4-mode.el (m4-mode-syntax-table):
6570 Do not treat "_" as word constituent. (Bug#14167)
6571
65722013-05-07 Glenn Morris <rgm@gnu.org>
6573
6574 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6575 Remove explicit eshell-isearch-cancel-map.
6576
6577 * progmodes/f90.el (f90-smart-end-names): New option.
6578 (f90-smart-end): Doc fix.
6579 (f90-end-block-optional-name): New constant.
6580 (f90-block-match): Respect f90-smart-end-names.
6581
65822013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6583
6584 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6585 about implicit semi-colons (bug#14218).
6586
65872013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6588
6589 * frame.el (display-monitor-attributes-list)
6590 (frame-monitor-attributes): New functions.
6591
65922013-05-06 Leo Liu <sdl.web@gmail.com>
6593
6594 * progmodes/octave.el (octave-syntax-propertize-function): Change
6595 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6596 (octave-font-lock-keywords): Use octave-operator-regexp.
6597 (octave-completion-at-point): Rename from
6598 octave-completion-at-point-function.
6599 (inferior-octave-directory-tracker): Robustify.
6600 (octave-text-functions): Remove and fix its uses. No such things
6601 any more.
6602
66032013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6604
6605 * emacs-lisp/trace.el (trace--display-buffer): New function.
6606 (trace-make-advice): Use it.
6607
66082013-05-06 Juri Linkov <juri@jurta.org>
6609
6610 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6611 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6612 Doc fix.
6613 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6614 in the help string. (Bug#12985)
6615
66162013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6617
6618 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6619
66202013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6621
6622 * progmodes/perl-mode.el: Add support for here documents.
6623 (perl-syntax-propertize-function): Match here-doc markers.
6624 (perl-syntax-propertize-special-constructs): Find their end.
6625 (perl-imenu-generic-expression): Use [:alnum:].
6626
6627 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6628 (advice--add-function): Refresh the advice if already present
6629 (bug#14317).
6630
66312013-05-06 Ivan Andrus <darthandrus@gmail.com>
6632
6633 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6634
66352013-05-06 Glenn Morris <rgm@gnu.org>
6636
6637 * w32-fns.el (w32-charset-info-alist): Declare.
6638
6639 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6640 of its defcustom properties.
6641 (eshell-cmpl-initialize): No need to load pcomplete.
6642
6643 * generic-x.el: No need to require comint when compiling.
6644
6645 * net/eudc-export.el: Make it loadable without bbdb.
6646 (top-level): Use require rather than load-library.
6647 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6648 (eudc-batch-export-records-to-bbdb)
6649 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6650 Require bbdb.
6651
66522013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6653
6654 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6655 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6656 some tweaks, instead.
6657
66582013-05-05 Leo Liu <sdl.web@gmail.com>
6659
6660 * progmodes/octave.el (octave-font-lock-keywords)
6661 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6662 (inferior-octave-send-list-and-digest): Improve error message.
6663 (octave-mode, inferior-octave-mode): Use setq-local.
6664 (octave-help): Set info-lookup-mode.
6665
66662013-05-05 Richard Stallman <rms@gnu.org>
6667
6668 * vc/compare-w.el (compare-windows-whitespace):
6669 Treat no-break space as whitespace.
6670
6671 * mail/rmailsum.el (rmail-summary-rmail-update):
6672 Detect empty summary and don't change selected message.
6673 (rmail-summary-goto-msg): Likewise.
6674
6675 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6676 Doc fixes, rename args.
6677
66782013-05-05 Alan Mackenzie <acm@muc.de>
6679
6680 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6681
66822013-05-05 Juri Linkov <juri@jurta.org>
6683
6684 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6685 to not add the length of the summary segment to the return value.
6686 (Bug#14125)
6687
66882013-05-05 Leo Liu <sdl.web@gmail.com>
6689
6690 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6691 (inferior-octave-output-filter): Remove.
6692 (octave-send-region, inferior-octave-startup): Fix callers.
6693 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6694 (octave-binary-file-extensions): New user variable.
6695 (octave-find-definition): Confirm if opening binary files.
6696 (octave-help-file): Use octave-find-definition to get the binary
6697 confirmation.
6698 (octave-help): Adjust for octave-help-file change.
6699
67002013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6701
6702 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6703 Merge the two entries that handle function definitions.
6704 (pascal--syntax-propertize): New const.
6705 (pascal-mode): Use it. Use setq-local.
6706
67072013-05-04 Glenn Morris <rgm@gnu.org>
6708
6709 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6710 (diary-from-outlook): Respect diary-from-outlook-function.
6711
67122013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6713
6714 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6715 Move the declaration from C.
6716 (read-minibuffer, eval-minibuffer): Move from C.
6717 (completion-setup-function): Avoid minibuffer-completion-contents.
6718
67192013-05-03 Leo Liu <sdl.web@gmail.com>
6720
6721 * progmodes/octave.el (octave-font-lock-keywords): Do not
6722 dehighlight 'end' in comments or strings.
6723 (octave-completing-read, octave-goto-function-definition):
6724 New helpers.
6725 (octave-help-buffer): New user variable.
6726 (octave-help-file, octave-help-function): New button types.
6727 (octave-help): New command and bind it to C-h ;.
6728 (octave-find-definition): New command and bind it to M-.
6729 (user-error): Alias to error if not defined.
6730
67312013-05-02 Leo Liu <sdl.web@gmail.com>
6732
6733 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6734 for \. (bug#14332)
6735 (octave-font-lock-keywords): Include [ and {.
6736
67372013-05-02 Leo Liu <sdl.web@gmail.com>
6738
6739 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6740 (inferior-octave): Remove calling comint-mode and return the buffer.
6741 (inferior-octave-startup): Cosmetic changes.
6742
67432013-05-02 Leo Liu <sdl.web@gmail.com>
6744
6745 * progmodes/octave.el (octave-syntax-propertize-function):
6746 Include the case when ' is at line beginning. (Bug#14336)
6747
67482013-05-02 Glenn Morris <rgm@gnu.org>
6749
6750 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6751 * desktop.el (vc-dir-mode): Just autoload it here.
6752
67532013-05-02 Alan Mackenzie <acm@muc.de>
6754
6755 Eliminate variable c-standard-font-lock-fontify-region-function.
6756 * progmodes/cc-mode.el
6757 (c-standard-font-lock-fontify-region-function): Remove.
6758 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6759
67602013-05-01 Leo Liu <sdl.web@gmail.com>
6761
6762 * progmodes/octave.el: Compatible with older emacs-24 releases.
6763 (inferior-octave-has-built-in-variables): Remove. Built-in
6764 variables were removed from Octave in 2007.
6765 (inferior-octave-startup): Fix uses.
6766 (comint-line-beginning-position): Remove compatibility code for
6767 emacs 21.
6768
67692013-05-01 Juri Linkov <juri@jurta.org>
6770
6771 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6772
67732013-05-01 Juri Linkov <juri@jurta.org>
6774
6775 * comint.el (comint-previous-matching-input): Don't print message
6776 "History item: %d" when `isearch-mode' is active.
6777 (comint-history-isearch-message): Print message "History item: %d"
6778 when `comint-input-ring-index' is not empty and this function is
6779 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6780
67812013-05-01 Leo Liu <sdl.web@gmail.com>
6782
6783 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6784 definitions. Use completion-at-point to insert keywords.
6785 (octave-abbrev-start): Remove.
6786 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6787
67882013-04-30 Leo Liu <sdl.web@gmail.com>
6789
6790 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6791 change.
6792
67932013-04-30 Alan Mackenzie <acm@muc.de>
6794
6795 Handle arbitrarily long C++ member initialisation lists.
6796 * progmodes/cc-engine.el (c-back-over-member-initializers):
6797 new function.
6798 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6799 (most) member init lists.
6800
68012013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6802
6803 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6804 variable.
6805
68062013-04-30 Leo Liu <sdl.web@gmail.com>
6807
6808 * progmodes/octave.el (octave-variables): Remove. No builtin
6809 variables any more. All converted to functions.
6810 (octave-font-lock-keywords, octave-completion-at-point-function):
6811 Fix uses.
6812 (octave-font-lock-texinfo-comment): New user variable.
6813 (octave-texinfo-font-lock-keywords): New variable for texinfo
6814 comment block.
6815 (octave-function-comment-block): New face.
6816 (octave-font-lock-texinfo-comment): New function.
6817 (octave-mode): Font lock texinfo comment block.
6818
68192013-04-29 Leo Liu <sdl.web@gmail.com>
6820
6821 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6822 indexing expression.
6823 (octave-continuation-string): Do not use \.
6824 (inferior-octave-complete-impossible): Remove.
6825 (inferior-octave-completion-table)
6826 (inferior-octave-completion-at-point): Remove its uses.
6827 (inferior-octave-startup): completion_matches was introduced to
6828 Octave in 1996 so safe to assume it.
6829 (octave-function-file-comment): Improve to follow how Octave does it.
6830 (octave-update-function-file-comment): Tweak.
6831
68322013-04-29 Leo Liu <sdl.web@gmail.com>
6833
6834 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6835 (inferior-octave-startup): Remove inferior-octave-startup-hook.
6836 (octave-function-file-comment): Fix typo.
6837 (octave-sync-function-file-names): Use read-char-choice.
6838
68392013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
6840
6841 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6842 to t for the less important warnings.
6843
68442013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
6845
6846 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
6847
68482013-04-27 Glenn Morris <rgm@gnu.org>
6849
6850 * vc/log-view.el (log-view-current-entry):
6851 Treat "---" separator lines as part of the following rev. (Bug#14169)
6852
68532013-04-27 Juri Linkov <juri@jurta.org>
6854
6855 * subr.el (read-number): Doc fix about using it by interactive
6856 code letter `n'. (Bug#14254)
6857
68582013-04-27 Juri Linkov <juri@jurta.org>
6859
6860 * desktop.el (desktop-auto-save-timeout): New option.
6861 (desktop-file-checksum): New variable.
6862 (desktop-save): Add optional arg `auto-save' and don't auto-save
6863 if nothing changed.
6864 (desktop-auto-save-timer): New variable.
6865 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6866 (after-init-hook): Call `desktop-auto-save-set-timer'.
6867 Suggested by Reuben Thomas <rrt@sc3d.org> in
6868 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6869
68702013-04-27 Leo Liu <sdl.web@gmail.com>
6871
6872 * progmodes/octave.el (octave-function-file-p)
6873 (octave-skip-comment-forward, octave-function-file-comment)
6874 (octave-update-function-file-comment): New functions.
6875 (octave-mode-map): Bind C-c ; to
6876 octave-update-function-file-comment.
6877 (octave-mode-menu): Add octave-update-function-file-comment.
6878 (octave-mode, inferior-octave-mode): Fix doc-string.
6879 (octave-insert-defun): Conform to Octave's coding convention.
6880 (Bug#14285)
6881
6882 * files.el (basic-save-buffer): Don't let errors in
6883 before-save-hook prevent saving buffer.
6884
68852013-04-20 Roland Winkler <winkler@gnu.org>
6886
6887 * faces.el (read-face-name): Use completing-read if arg multiple
6888 is nil.
6889
68902013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
6891
6892 * ls-lisp.el (ls-lisp-insert-directory): If no files are
6893 displayed, move point to after the totals line.
6894 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
6895 for the details.
6896
68972013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6898
6899 * emacs-lisp/package.el (package-autoload-ensure-default-file):
6900 Add current dir to the load-path.
6901 (package-generate-autoloads): Don't rely on
6902 autoload-ensure-default-file.
6903
69042013-04-26 Reuben Thomas <rrt@sc3d.org>
6905
6906 * textmodes/remember.el (remember-store-in-files): Document that
6907 the file name format is passed to `format-time-string'.
6908
69092013-04-26 Leo Liu <sdl.web@gmail.com>
6910
6911 * progmodes/octave.el (octave-sync-function-file-names): New function.
6912 (octave-mode): Use it in before-save-hook.
6913
69142013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6915
6916 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
6917 (bug#14274).
6918
6919 * progmodes/octave.el (octave-smie-forward-token): Properly skip
6920 \n and comment, even if it's not an implicit ; (bug#14218).
6921
69222013-04-26 Glenn Morris <rgm@gnu.org>
6923
6924 * subr.el (read-number): Once more use `read' rather than
6925 `string-to-number', to trap non-numeric input. (Bug#14254)
6926
69272013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
6928
6929 * emacs-lisp/syntax.el (syntax-propertize-multiline):
6930 Use `syntax-multiline' text property consistently instead of
6931 `font-lock-multiline'. (Bug#14237)
6932
69332013-04-26 Glenn Morris <rgm@gnu.org>
6934
6935 * emacs-lisp/shadow.el (list-load-path-shadows):
6936 No longer necessary to check for duplicate simple.el, since
6937 2012-07-07 change to init_lread to not include installation lisp
6938 directories in load-path when running uninstalled. (Bug#14270)
6939
69402013-04-26 Leo Liu <sdl.web@gmail.com>
6941
6942 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6943 (octave-mode, inferior-octave-mode): Use setq-local.
6944 (octave-not-in-string-or-comment-p): Rename to
6945 octave-in-string-or-comment-p.
6946 (octave-in-comment-p, octave-in-string-p)
6947 (octave-in-string-or-comment-p): Replace defsubst with defun.
6948
69492013-04-25 Paul Eggert <eggert@cs.ucla.edu>
6950
6951 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6952
69532013-04-25 Bastien Guerry <bzg@gnu.org>
6954
6955 * textmodes/remember.el (remember-data-directory)
6956 (remember-directory-file-name-format): Fix custom types.
6957
69582013-04-25 Leo Liu <sdl.web@gmail.com>
6959
6960 * progmodes/octave.el (octave-completion-at-point-function):
6961 Make use of inferior octave process.
6962 (octave-initialize-completions): Remove.
6963 (inferior-octave-completion-table): New function.
6964 (inferior-octave-completion-at-point): Use it.
6965 (octave-completion-alist): Remove.
6966
69672013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6968
6969 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6970 (opascal-mode-syntax-table): New var.
6971 (opascal-literal-kind, opascal-is-literal-end)
6972 (opascal-literal-token-at): Rewrite.
6973 (opascal--literal-start-re, opascal-font-lock-keywords)
6974 (opascal--syntax-propertize): New constants.
6975 (opascal-font-lock-defaults): Adjust.
6976 (opascal-mode): Use them. Set comment-<foo> variables as well.
6977 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6978 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6979 (delphi-other-face, opascal-other-face): Remove face variables.
6980 (opascal-save-state): Remove macro.
6981 (opascal-fontifying-progress-step): Remove constant.
6982 (opascal--ignore-changes): Remove var.
6983 (opascal-set-token-property, opascal-parse-next-literal)
6984 (opascal-is-stable-literal, opascal-complete-literal)
6985 (opascal-is-literal-start, opascal-face-of)
6986 (opascal-parse-region, opascal-parse-region-until-stable)
6987 (opascal-fontify-region, opascal-after-change)
6988 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6989 (opascal-debug-parse-region, opascal-debug-parse-window)
6990 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6991 (opascal-debug-fontify-buffer): Remove.
6992 (opascal-debug-mode-map): Adjust accordingly.
6993
69942013-04-25 Leo Liu <sdl.web@gmail.com>
6995
6996 Merge octave-mod.el and octave-inf.el into octave.el with some
6997 cleanups.
6998 * progmodes/octave.el: New file renamed from octave-mod.el.
6999 * progmodes/octave-inf.el: Merged into octave.el.
7000 * progmodes/octave-mod.el: Renamed to octave.el.
7001
70022013-04-25 Tassilo Horn <tsdh@gnu.org>
7003
7004 * textmodes/reftex-vars.el
7005 (reftex-label-ignored-macros-and-environments): New defcustom.
7006
7007 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7008
70092013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7010
7011 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7012 (smie-indent-keyword): Improve the check to ensure that the next
7013 comment is really on the same line.
7014 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7015
7016 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7017 semi-colons if the line is not otherwise empty (bug#14218).
7018
70192013-04-25 Glenn Morris <rgm@gnu.org>
7020
7021 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7022
70232013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7024
7025 * progmodes/opascal.el (opascal-set-token-property): Rename from
7026 opascal-set-text-properties and only set `token' (bug#14134).
7027 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7028 (opascal-literal-text-properties): Remove.
7029 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7030 Adjust callers.
7031
70322013-04-24 Reuben Thomas <rrt@sc3d.org>
7033
7034 * textmodes/remember.el (remember-handler-functions): Add an
7035 option for a new handler `remember-store-in-files'.
7036 (remember-data-directory, remember-directory-file-name-format):
7037 New options.
7038 (remember-store-in-files): New function to store remember notes
7039 as separate files within a directory.
7040
70412013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7042
7043 * progmodes/compile.el (compilation-next-error-function):
7044 Pass "formats" to compilation-find-file (bug#11777).
7045
70462013-04-24 Glenn Morris <rgm@gnu.org>
7047
7048 * vc/vc-bzr.el (vc-bzr-print-log):
7049 * vc/vc-hg.el (vc-hg-print-log):
7050 * vc/vc-svn.el (vc-svn-print-log):
7051 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7052
7053 * vc/vc-bzr.el (vc-bzr-print-log):
7054 * vc/vc-cvs.el (vc-cvs-print-log):
7055 * vc/vc-git.el (vc-git-print-log):
7056 * vc/vc-hg.el (vc-hg-print-log):
7057 * vc/vc-mtn.el (vc-mtn-print-log):
7058 * vc/vc-rcs.el (vc-rcs-print-log):
7059 * vc/vc-sccs.el (vc-sccs-print-log):
7060 * vc/vc-svn.el (vc-svn-print-log):
7061 * vc/vc.el (vc-print-log-internal): Doc fixes.
7062
70632013-04-23 Glenn Morris <rgm@gnu.org>
7064
7065 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7066 Remove venerable code attempting to avoid substitute-command-keys.
7067
70682013-04-23 Tassilo Horn <tsdh@gnu.org>
7069
7070 * textmodes/reftex-vars.el (reftex-label-regexps):
7071 Call `reftex-compile-variables' after changes to this variable.
7072
70732013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7076 Use lexical-binding.
7077 (jit-lock-force-redisplay): Use markers, check buffer's continued
7078 existence and beware narrowed buffers.
7079 (jit-lock-fontify-now): Adjust call accordingly.
7080
70812013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7084 to avoid misleading the user.
7085
70862013-04-22 Leo Liu <sdl.web@gmail.com>
7087
7088 * info-look.el: Prefer latex2e.info. (Bug#14240)
7089
70902013-04-22 Michael Albinus <michael.albinus@gmx.de>
7091
7092 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7093
7094 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
7095 * net/tramp.el (tramp-call-process): ... here.
7096 (tramp-set-completion-function, tramp-parse-putty):
7097 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7098 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7099 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7100 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7101 (tramp-call-local-coding-command): Use `tramp-call-process'
7102 instead of `tramp-compat-call-process'.
7103
7104 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7105 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7106 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7107 (tramp-find-inline-compress): Improve traces.
7108 (tramp-maybe-send-script): Check for Perl binary.
7109 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7110
71112013-04-22 Daiki Ueno <ueno@gnu.org>
7112
7113 * epg.el (epg-context-pinentry-mode): New function.
7114 (epg-context-set-pinentry-mode): New function.
7115 (epg--start): Pass --pinentry-mode option to gpg command.
7116
71172013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7118
7119 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
7120 `comint-dynamic-complete' is obsolete since 24.1, replaced by
7121 `completion-at-point'. (Bug#13774)
7122
7123 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7124 default key binding for `describe-distribution' has been moved to
7125 `C-h C-o'. (Bug#13970)
7126
71272013-04-21 Glenn Morris <rgm@gnu.org>
7128
7129 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7130 Add doc strings.
7131 (vc-print-log): Clarify interactive prompt.
7132
71332013-04-20 Glenn Morris <rgm@gnu.org>
7134
7135 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7136 No longer include timestamp etc information.
7137
71382013-04-20 Roland Winkler <winkler@gnu.org>
7139
7140 * faces.el (read-face-name): Bug fix, return just one face if arg
7141 multiple is nil. (Bug#14209)
7142
71432013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7144
7145 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7146 (remove-function): Autoload.
7147
7148 * comint.el (comint-redirect-original-filter-function): Remove.
7149 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
7150 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7151 (vc-cvs-annotate-command):
7152 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7153 * progmodes/prolog.el (prolog-consult-compile):
7154 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7155 Use add/remove-function instead.
7156 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7157 (gud-tooltip-process-output, gud-tooltip-tips):
7158 Use add/remove-function instead.
7159 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7160 (scheme-interaction-mode, exit-scheme-interaction-mode):
7161 Use add/remove-function instead.
7162
7163 * vc/vc-dispatcher.el: Use lexical-binding.
7164 (vc--process-sentinel): Rename from vc-process-sentinel.
7165 Change last arg to be the code to run. Don't use vc-previous-sentinel
7166 and vc-sentinel-commands any more.
7167 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7168 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7169
71702013-04-19 Masatake YAMATO <yamato@redhat.com>
7171
7172 * progmodes/sh-script.el (sh-imenu-generic-expression):
7173 Handle function names with a single character. (Bug#14111)
7174
71752013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
7176
7177 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7178 for subroutines defined in an eval (bug#14182).
7179
71802013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7181
7182 * bookmark.el (bookmark-completing-read): Improve handling of empty
7183 string (bug#14176).
7184
71852013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7186
7187 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7188
71892013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7190
7191 New faster Imenu implementation (bug#14058).
7192 * progmodes/python.el:
7193 (python-imenu-prev-index-position):
7194 (python-imenu-format-item-label-function)
7195 (python-imenu-format-parent-item-label-function)
7196 (python-imenu-format-parent-item-jump-label-function):
7197 New vars.
7198 (python-imenu-format-item-label)
7199 (python-imenu-format-parent-item-label)
7200 (python-imenu-format-parent-item-jump-label)
7201 (python-imenu--put-parent, python-imenu--build-tree)
7202 (python-imenu-create-index, python-imenu-create-flat-index)
7203 (python-util-popn): New functions.
7204 (python-mode): Set imenu-create-index-function to
7205 python-imenu-create-index.
7206
72072013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7208
7209 * winner.el (winner-active-region): Use region-active-p, activate-mark
7210 and deactivate-mark (bug#14225).
7211
7212 * simple.el (deactivate-mark): Don't inline it.
7213
72142013-04-18 Michael Albinus <michael.albinus@gmx.de>
7215
7216 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7217
72182013-04-18 Tassilo Horn <tsdh@gnu.org>
7219
7220 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7221 file extensions from the archive-mode entry in order to prefer
7222 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7223
72242013-04-18 Leo Liu <sdl.web@gmail.com>
7225
7226 * bindings.el (help-event-list): Add ?\?.
7227
72282013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7229
7230 * subr.el (with-wrapper-hook): Declare obsolete.
7231 * simple.el (filter-buffer-substring-function): New hook.
7232 (filter-buffer-substring): Use it.
7233 (filter-buffer-substring-functions): Mark obsolete.
7234 * minibuffer.el (completion-in-region-function): New hook.
7235 (completion-in-region): Use it.
7236 (completion-in-region-functions): Mark obsolete.
7237 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7238 * abbrev.el (abbrev-expand-function): New hook.
7239 (expand-abbrev): Use it.
7240 (abbrev-expand-functions): Mark obsolete.
7241 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7242 and :filter-return.
7243
72442013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7245
7246 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7247 and do not care about match data.
7248
72492013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7250
7251 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7252 completion tables when completing error conditions and
7253 `declare' arguments.
7254 (lisp-complete-symbol, field-complete): Mark as obsolete.
7255 (check-parens): Unmatched parens are user errors.
7256 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7257
72582013-04-17 Michal Nazarewicz <mina86@mina86.com>
7259
7260 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7261 command changed buffer (ie. `flyspell-pre-buffer' is not current
7262 buffer), which prevents making decisions based on invalid value of
7263 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7264 cause an error when `flyspell-pre-point' was nil after switching
7265 buffers.
7266 (flyspell-post-command-hook): No longer needs to change buffers when
7267 checking pre-word. While at it remove unnecessary progn.
7268
72692013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7270
7271 * textmodes/ispell.el (ispell-add-per-file-word-list):
7272 Fix `flyspell-correct-word-before-point' error when accepting
7273 words and `coment-padding' is an integer by using
7274 `comment-normalize-vars' (Bug #14214).
7275
72762013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7277
7278 New defun movement commands.
7279 * progmodes/python.el (python-nav--syntactically)
7280 (python-nav--forward-defun, python-nav-backward-defun)
7281 (python-nav-forward-defun): New functions.
7282
72832013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7284
7285 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7286 (python-syntax-context): Use named compiler-macro for backwards
7287 compatibility with Emacs 24.x.
7288
72892013-04-17 Leo Liu <sdl.web@gmail.com>
7290
7291 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7292 octave-hide-process-buffer.
7293
72942013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7297 (bug#14216).
7298
72992013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7300
7301 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7302 Fix adjustment of offset when receiving incomplete responses from GDB
7303 (bug#14129).
7304
73052013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7306
7307 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7308 python-mode-abbrev-table.
7309 (python-skeleton-define): Adjust accordingly.
7310 (python-mode-abbrev-table): New table that inherits from it so that
7311 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7312
7313 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7314 (abbrev-symbol): Use it.
7315 (abbrev--before-point): Use it since we already handle inheritance.
7316
73172013-04-16 Leo Liu <sdl.web@gmail.com>
7318
7319 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7320 binding to info-lookup-symbol.
7321
73222013-04-16 Juanma Barranquero <lekktu@gmail.com>
7323
7324 * minibuffer.el (completion--twq-all):
7325 * term/ns-win.el (ns-initialize-window-system):
7326 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7327
73282013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7329
7330 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7331 global bindings.
7332
7333 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7334
73352013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7336
7337 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7338 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7339 to nil.
7340 (ruby-end-of-defun): Remove the unused arg, change the docstring
7341 to reflect that this function is only used as the value of
7342 `end-of-defun-function'.
7343 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7344 to reflect an earlier change that beginning/end-of-defun functions
7345 jump between methods in a class definition, as well as top-level
7346 functions.
7347
73482013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * minibuffer.el (minibuffer-complete): Don't just scroll
7351 a *Completions* that's been iconified.
7352 (minibuffer-force-complete): Make sure repetitions do cycle when going
7353 through completion-in-region -> minibuffer-complete.
7354
73552013-04-15 Alan Mackenzie <acm@muc.de>
7356
7357 Correct the placement of c-cpp-delimiters when there're #s not at
7358 col 0.
7359
7360 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7361 place a submatch around the #.
7362 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7363 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
7364 on the #, not BOL.
7365
73662013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7367
7368 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7369 (advice--member-p): New arg `name'.
7370 (advice--add-function, advice-member-p): Use it (bug#14202).
7371
73722013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7373
7374 Reformulate java imenu-generic-expression.
7375 The old expression contained ill formed regexps.
7376
7377 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7378 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7379 (cc-imenu-java-method-arg-regexp): New defconsts.
7380 (cc-imenu-java-build-type-args-regex): New defun.
7381 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
7382 handling of spaces in the regexp.
7383
73842013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7385
7386 * textmodes/ispell.el (ispell-command-loop): Remove
7387 flyspell highlight of a word when ispell accepts it (bug #14178).
7388
73892013-04-15 Michael Albinus <michael.albinus@gmx.de>
7390
7391 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7392 uses code from the previous `ange-ftp-run-real-handler'.
7393 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7394 only in case that function exist. This is needed for proper
7395 unloading of Tramp.
7396
73972013-04-15 Tassilo Horn <tsdh@gnu.org>
7398
7399 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7400
7401 * textmodes/reftex.el (reftex-compile-variables): Use it.
7402
74032013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7404
7405 * files.el (normal-mode): Only use default major-mode if no other mode
7406 was specified.
7407
7408 * emacs-lisp/trace.el (trace-values): New function.
7409
7410 * files.el: Allow : in local variables (bug#14089).
7411 (hack-local-variable-regexp): New var.
7412 (hack-local-variables-prop-line, hack-local-variables): Use it.
7413
74142013-04-13 Roland Winkler <winkler@gnu.org>
7415
7416 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7417 data before it gets modified by bibtex-beginning-of-entry.
7418
74192013-04-13 Roland Winkler <winkler@gnu.org>
7420
7421 * textmodes/bibtex.el (bibtex-url): Doc fix.
7422
74232013-04-13 Roland Winkler <winkler@gnu.org>
7424
7425 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7426 does not visit a BibTeX file, exclude it from the list of buffers
7427 returned by bibtex-initialize.
7428
74292013-04-13 Stephen Berman <stephen.berman@gmx.net>
7430
7431 * window.el (split-window): Remove interactive form, since as a
7432 command this function is a special case of split-window-below.
7433 Correct doc string.
7434
74352013-04-12 Roland Winkler <winkler@gnu.org>
7436
7437 * faces.el (read-face-name): Do not override value of arg default.
7438 Allow single faces and strings as default values. Remove those
7439 elements from return value that are not faces.
7440 (describe-face): Simplify.
7441 (face-at-point): New optional args thing and multiple so that this
7442 function can provide the same functionality previously provided by
7443 read-face-name.
7444 (make-face-bold, make-face-unbold, make-face-italic)
7445 (make-face-unitalic, make-face-bold-italic, invert-face)
7446 (modify-face, read-face-and-attribute): Use face-at-point.
7447
7448 * cus-edit.el (customize-face, customize-face-other-window)
7449 * cus-theme.el (custom-theme-add-face)
7450 * face-remap.el (buffer-face-set)
7451 * facemenu.el (facemenu-set-face): Use face-at-point.
7452
74532013-04-12 Michael Albinus <michael.albinus@gmx.de>
7454
7455 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7456
74572013-04-10 Tassilo Horn <tsdh@gnu.org>
7458
7459 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7460 off leading { and trailing } from field values.
7461
74622013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * emacs-lisp/timer.el (timer--check): New function.
7465 (timer--time, timer-set-function, timer-event-handler): Use it.
7466 (timer-set-idle-time): Simplify.
7467 (timer--activate): CSE.
7468 (timer-event-handler): Give more info in error message.
7469 (internal-timer-start-idle): New function, moved from C.
7470
7471 * mpc.el (mpc-proc): Add `restart' argument.
7472 (mpc-proc-cmd): Use it.
7473 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7474 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7475 less often.
7476
74772013-04-10 Masatake YAMATO <yamato@redhat.com>
7478
7479 * progmodes/sh-script.el: Implement `sh-mode' own
7480 `add-log-current-defun-function' (bug#14112).
7481 (sh-current-defun-name): New function.
7482 (sh-mode): Use the function.
7483
74842013-04-09 Bastien Guerry <bzg@gnu.org>
7485
7486 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7487
74882013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7491
7492 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7493 timer (bug#14156).
7494
74952013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7496
7497 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7498 declaration.
7499
75002013-04-07 Leo Liu <sdl.web@gmail.com>
7501
7502 * pcmpl-x.el: New file.
7503
75042013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7505
7506 Do not set x-display-name until X connection is established.
7507 This is needed to prevent from weird situation described at
7508 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7509 * frame.el (make-frame): Set x-display-name after call to
7510 window system initialization function, not before.
7511 * term/x-win.el (x-initialize-window-system): Add optional
7512 display argument and use it.
7513 * term/w32-win.el (w32-initialize-window-system):
7514 * term/ns-win.el (ns-initialize-window-system):
7515 * term/pc-win.el (msdos-initialize-window-system):
7516 Add compatible optional display argument.
7517
75182013-04-06 Eli Zaretskii <eliz@gnu.org>
7519
7520 * files.el (normal-backup-enable-predicate): On MS-Windows and
7521 MS-DOS compare truenames of temporary-file-directory and of the
7522 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7523 don't fail comparison by compare-strings. Also, compare file
7524 names case-insensitively on MS-Windows and MS-DOS.
7525
75262013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7529 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7530
75312013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7532
7533 * whitespace.el (whitespace-color-on, whitespace-color-off):
7534 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
7535
75362013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7537
7538 * ispell.el (ispell-set-spellchecker-params):
7539 Really set `ispell-args' for all equivs.
7540
75412013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7542
7543 * ido.el (ido-completions): Use extra elements of ido-decorations
7544 (bug#14143).
7545 (ido-decorations): Update docstring.
7546
75472013-04-05 Michael Albinus <michael.albinus@gmx.de>
7548
7549 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7550 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7551 nil during initialization, in order not to miss changes since the
7552 file was opened. (Bug#14140)
7553
75542013-04-05 Leo Liu <sdl.web@gmail.com>
7555
7556 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7557
75582013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7559
7560 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7561
75622013-04-04 Glenn Morris <rgm@gnu.org>
7563
7564 * electric.el (electric-pair-inhibit-predicate): Add :version.
7565
75662013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7569 when a package is required several times (bug#14082).
7570
75712013-04-04 Roland Winkler <winkler@gnu.org>
7572
7573 * faces.el (read-face-name): Behave as promised by the docstring.
7574 Assume that arg default is a list of faces.
7575 (describe-face): Call read-face-name with list of default faces.
7576
75772013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7578
7579 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7580 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7581 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7582 the header.
7583 (bookmark-exit-hook-internal): Save even if list is empty.
7584
75852013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7586
7587 * emacs-lisp/package.el (package-pinned-packages): New var.
7588 (package--add-to-archive-contents): Obey it (bug#14118).
7589
75902013-04-03 Alan Mackenzie <acm@muc.de>
7591
7592 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7593 Also adapt to the new values of element 7 of a parse state.
7594
7595 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7596 parameter `not-in-delimiter'. Handle being inside comment opener.
7597 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7598 character in case we're typing a '*' after a '/'.
7599 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7600 instead by passing the parameter to c-state-pp-to-literal.
7601
7602 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7603 for elt. 7 of a parse state.
7604
76052013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7606
7607 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7608 * international/latin1-disp.el, international/mule-util.el:
7609 * language/cyril-util.el, language/european.el, language/ind-util.el:
7610 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7611 * language/tibetan.el, language/viet-util.el:
7612 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7613
76142013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7617 (electric-pair-post-self-insert-function): Use it.
7618 (electric-pair-default-inhibit): New function, extracted from
7619 electric-pair-post-self-insert-function.
7620
76212013-03-31 Roland Winkler <winkler@gnu.org>
7622
7623 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7624
76252013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7626
7627 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7628
76292013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
7630
7631 Un-indent after "pass" and "return" statements (Bug#13888)
7632 * progmodes/python.el (python-indent-block-enders): New var.
7633 (python-indent-calculate-indentation): Use it.
7634
76352013-03-30 Michael Albinus <michael.albinus@gmx.de>
7636
7637 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7638 defun. Defining it as defalias could introduce too eager
7639 byte-compiler optimization. (Bug#14030)
7640
76412013-03-30 Chong Yidong <cyd@gnu.org>
7642
7643 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7644
76452013-03-30 Leo Liu <sdl.web@gmail.com>
7646
7647 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7648 (kmacro-execute-from-register): Pass the keyboard macro to
7649 kmacro-call-macro or repeating won't work correctly.
7650
76512013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7652
7653 * progmodes/subword.el: Back to using `forward-symbol'.
7654
7655 * subr.el (forward-whitespace, forward-symbol)
7656 (forward-same-syntax): Move from thingatpt.el.
7657
76582013-03-29 Leo Liu <sdl.web@gmail.com>
7659
7660 * kmacro.el (kmacro-to-register): New command.
7661 (kmacro-execute-from-register): New function.
7662 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7663
76642013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * mpc.el: Use defvar-local and setq-local.
7667 (mpc--proc-connect): Connection failures are not bugs.
7668 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7669 (mpc-volume-map): Bind to the up-events.
7670
76712013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7672
7673 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7674 instead of `forward-symbol'.
7675
76762013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7677
7678 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7679 (edebug--recursive-edit): Use it.
7680 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7681 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7682
76832013-03-28 Leo Liu <sdl.web@gmail.com>
7684
7685 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7686
76872013-03-27 Eli Zaretskii <eliz@gnu.org>
7688
7689 * facemenu.el (list-colors-callback): New defvar.
7690 (list-colors-redisplay): New function.
7691 (list-colors-display): Install list-colors-redisplay as the
7692 revert-buffer-function. (Bug#14063)
7693
76942013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7695
7696 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7697 and suffixes don't overlap (bug#14061).
7698
7699 * case-table.el: Use lexical-binding.
7700 (case-table-get-table): New function.
7701 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7702
77032013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7704
7705 * progmodes/subword.el: Add `superword-mode' to do word motion
7706 over symbol_words (parallels and leverages `subword-mode' which
7707 does word motion inside MixedCaseWords).
7708
77092013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7710
7711 * eshell/em-unix.el: Move su and sudo to...
7712 * eshell/em-tramp.el: ...Eshell tramp module.
7713
77142013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7717 Change return value to be a sexp. Delay `get-buffer' to after
7718 restoring the desktop (bug#13951).
7719
77202013-03-26 Leo Liu <sdl.web@gmail.com>
7721
7722 * register.el: Move semantic tag handling back to
7723 cedet/semantic/senator.el. (Bug#14052)
7724
77252013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7728 into the prompt either (bug#13963).
7729
77302013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7731
7732 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7733 part of "(error-foo)".
7734
77352013-03-24 Juri Linkov <juri@jurta.org>
7736
7737 * replace.el (list-matching-lines-prefix-face): New defcustom.
7738 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7739 `occur-engine' if `face-differs-from-default-p' returns t.
7740 (occur-engine): Add `,' inside backquote construct to evaluate
7741 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7742 Pass `prefix-face' to the functions `occur-context-lines' and
7743 `occur-engine-add-prefix'.
7744 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7745 `prefix-face' and propertize the prefix with `prefix-face'.
7746 (Bug#14017)
7747
77482013-03-24 Leo Liu <sdl.web@gmail.com>
7749
7750 * nxml/rng-valid.el (rng-validate-while-idle)
7751 (rng-validate-quick-while-idle): Guard against deleted buffer.
7752 (Bug#13999)
7753
7754 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7755 is the last entry in kill-buffer-hook.
7756
7757 * files.el (kill-buffer-hook): Doc fix.
7758
77592013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7760
7761 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7762 Make it safe-local.
7763
7764 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7765
77662013-03-23 Leo Liu <sdl.web@gmail.com>
7767
7768 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7769 Remove.
7770
7771 * nxml/rng-valid.el (rng-validate-mode)
7772 (rng-after-change-function, rng-do-some-validation):
7773 * nxml/rng-maint.el (rng-validate-buffer):
7774 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7775 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7776 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7777 (nxml-extend-after-change-region): Use with-silent-modifications.
7778
7779 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7780 timer-idle-list.
7781
7782 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7783 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7784 timer-idle-list. (Bug#13999)
7785
77862013-03-23 Juri Linkov <juri@jurta.org>
7787
7788 * info.el (info-index-match): New face.
7789 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7790 main pattern and add text properties with the new face to matches
7791 in index entries relative to the beginning of the index entry.
7792 (Bug#14015)
7793
77942013-03-21 Eric Ludlam <zappo@gnu.org>
7795
7796 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7797 Inhibit read only while inserting objects.
7798
77992013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7800
7801 * progmodes/cfengine.el: Update docs to mention
7802 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7803 symbol motion. Remove "_" from the word syntax.
7804
78052013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7806
7807 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7808 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7809
78102013-03-20 Juri Linkov <juri@jurta.org>
7811
7812 * info.el (Info-next-reference-or-link)
7813 (Info-prev-reference-or-link): New functions.
7814 (Info-next-reference, Info-prev-reference): Use them.
7815 (Info-try-follow-nearest-node): Handle footnote navigation.
7816 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7817
78182013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7819
7820 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7821 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7822
78232013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7824
7825 Suppress unnecessary non-ASCII chatter during build process.
7826 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7827 (batch-skkdic-convert): Suppress most of the chatter.
7828 It's not needed so much now that machines are faster,
7829 and its non-ASCII component was confusing; see Dmitry Gutov in
7830 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7831
78322013-03-20 Leo Liu <sdl.web@gmail.com>
7833
7834 * ido.el (ido-chop): Fix bug#10994.
7835
78362013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7837
7838 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7839 Remove vars.
7840 (whitespace-color-on, whitespace-color-off):
7841 Use `font-lock-fontify-buffer' (Bug#13817).
7842
78432013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7846 remapping in mode-line.
7847 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7848
78492013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7850
7851 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7852 value for `whitespace-line' face (Bug#13875).
7853 (whitespace-font-lock-keywords): Change description.
7854 (whitespace-color-on): Don't save `font-lock-keywords' value, save
7855 the constructed keywords instead.
7856 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
7857
78582013-03-19 Leo Liu <sdl.web@gmail.com>
7859
7860 * progmodes/compile.el (compilation-display-error): New command.
7861 (compilation-mode-map, compilation-minor-mode-map): Bind it to
7862 C-o. (Bug#13992)
7863
78642013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7865
7866 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7867
78682013-03-18 Jan Djärv <jan.h.d@swipnet.se>
7869
7870 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7871
78722013-03-18 Michael Albinus <michael.albinus@gmx.de>
7873
7874 * net/tramp-compat.el (tramp-compat-user-error): New defun.
7875
7876 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7877 * net/tramp-gvfs.el (top):
7878 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
7879 (tramp-handle-shell-command): Use it.
7880 (tramp-dissect-file-name): Raise an error when hostname is a
7881 method name, and neither method nor user is specified.
7882
7883 * net/trampver.el: Update release number.
7884
78852013-03-18 Leo Liu <sdl.web@gmail.com>
7886
7887 Make sure eldoc can be turned off properly.
7888 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
7889 eldoc-mode.
7890 (eldoc-display-message-p): Revert last change.
7891 (eldoc-display-message-no-interference-p)
7892 (eldoc-print-current-symbol-info): Tweak.
7893
78942013-03-18 Tassilo Horn <tsdh@gnu.org>
7895
7896 * doc-view.el (doc-view-new-window-function): Check the new window
7897 overlay's display property instead the char property of the
7898 buffer's first char. Use `with-selected-window' instead of
7899 `save-window-excursion' with `select-window'.
7900 (doc-view-document->bitmap): Check the current doc-view overlay's
7901 display property instead the char property of the buffer's first char.
7902
79032013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7904
7905 Automate the build of ja-dic.el (Bug#13984).
7906 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
7907 from the input, rather than assume that it's been done for us by the
7908 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
7909 the current date into a ja-dic.el comment, as that complicates
7910 regression testing.
7911
79122013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7913
7914 * whitespace.el: Fix double evaluation.
7915 (whitespace-space, whitespace-hspace, whitespace-tab)
7916 (whitespace-newline, whitespace-trailing, whitespace-line)
7917 (whitespace-space-before-tab, whitespace-indentation)
7918 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
7919 obsolete defvars.
7920 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
7921 (whitespace-color-on): Use a single font-lock-add-keywords call.
7922 Fix double-evaluation of face variables.
7923
79242013-03-17 Michael Albinus <michael.albinus@gmx.de>
7925
7926 * net/tramp-adb.el (tramp-adb-parse-device-names):
7927 Use `start-process' instead of `call-process'. Otherwise, the
7928 function might be blocked under MS Windows. (Bug#13299)
7929
79302013-03-17 Leo Liu <sdl.web@gmail.com>
7931
7932 Extend eldoc to display info in the mode-line. (Bug#13978)
7933 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7934 (eldoc-mode-line-string): New variable.
7935 (eldoc-minibuffer-message): New function.
7936 (eldoc-message-function): New variable.
7937 (eldoc-message): Use it.
7938 (eldoc-display-message-p)
7939 (eldoc-display-message-no-interference-p):
7940 Support eldoc-post-insert-mode.
7941
7942 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7943 (eval-expression): Run it.
7944
79452013-03-17 Roland Winkler <winkler@gnu.org>
7946
7947 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7948 strings in the list of return values.
7949
79502013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7951
7952 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7953 radix before checking for HMS forms.
7954
79552013-03-16 Leo Liu <sdl.web@gmail.com>
7956
7957 * progmodes/scheme.el: Add indentation and font-locking for λ.
7958 (Bug#13975)
7959
79602013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
7961
7962 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7963 token before point (bug#13942).
7964
79652013-03-16 Leo Liu <sdl.web@gmail.com>
7966
7967 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
7968
79692013-03-16 Eli Zaretskii <eliz@gnu.org>
7970
7971 * startup.el (command-line-normalize-file-name): Fix handling of
7972 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7973 <xfq.free@gmail.com> in
7974 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7975
79762013-03-15 Michael Albinus <michael.albinus@gmx.de>
7977
7978 Sync with Tramp 2.2.7.
7979
7980 * net/trampver.el: Update release number.
7981
79822013-03-14 Tassilo Horn <tsdh@gnu.org>
7983
7984 * doc-view.el Fix bug#13887.
7985 (doc-view-insert-image): Don't modify overlay associated to
7986 non-live windows, and implement horizontal centering of image in
7987 case it's smaller than the window.
7988 (doc-view-new-window-function): Force redisplay of new windows on
7989 doc-view buffers.
7990
79912013-03-13 Karl Fogel <kfogel@red-bean.com>
7992
7993 * saveplace.el (save-place-alist-to-file): Don't sort
7994 `save-place-alist', just pretty-print it (bug#13882).
7995
79962013-03-13 Michael Albinus <michael.albinus@gmx.de>
7997
7998 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7999 Check whether `default-file-name-coding-system' is bound.
8000 It isn't in XEmacs.
8001
80022013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8003
8004 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8005 backquotes for `obsolete' (bug#13929).
8006
8007 * international/mule.el (find-auto-coding): Include file name in
8008 obsolescence warning (bug#13922).
8009
80102013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8011
8012 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8013 for CFEngine 3-specific indentation.
8014 (cfengine3-indent-line): Use it. Fix up category regex.
8015 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8016
80172013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8018
8019 * type-break.el (type-break-file-name):
8020 * textmodes/remember.el (remember-data-file):
8021 * strokes.el (strokes-file):
8022 * shadowfile.el (shadow-initialize):
8023 * saveplace.el (save-place-file):
8024 * ps-bdf.el (bdf-cache-file):
8025 * progmodes/idlwave.el (idlwave-config-directory):
8026 * net/quickurl.el (quickurl-url-file):
8027 * international/kkc.el (kkc-init-file-name):
8028 * ido.el (ido-save-directory-list-file):
8029 * emulation/viper.el (viper-custom-file-name):
8030 * emulation/vip.el (vip-startup-file):
8031 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8032 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8033
80342013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8035
8036 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8037 * language/thai-word.el: Switch to UTF-8.
8038
8039See ChangeLog.16 for earlier changes.
8040
8041;; Local Variables:
8042;; coding: utf-8
8043;; End:
8044
8045 Copyright (C) 2011-2013 Free Software Foundation, Inc.
8046
8047 This file is part of GNU Emacs.
8048
8049 GNU Emacs is free software: you can redistribute it and/or modify
8050 it under the terms of the GNU General Public License as published by
8051 the Free Software Foundation, either version 3 of the License, or
8052 (at your option) any later version.
8053
8054 GNU Emacs is distributed in the hope that it will be useful,
8055 but WITHOUT ANY WARRANTY; without even the implied warranty of
8056 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8057 GNU General Public License for more details.
8058
8059 You should have received a copy of the GNU General Public License
8060 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.