1 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
3 * subr.el (delay-warning): New function.
5 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7 * simple.el (default-line-height): New function.
8 (line-move-partial, line-move): Use it instead of computing the
10 (line-move-partial): Always compute ROWH. If the last line is
11 partially-visible, but its text is completely visible, allow
12 cursor to enter such a partially-visible line.
14 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
16 Improve error messages. (Bug#14808)
18 * net/tramp.el (tramp-current-connection): New defvar, moved from
20 (tramp-message-show-progress-reporter-message): Removed, not
22 (tramp-error-with-buffer): Show message in minibuffer. Discard
23 input before waiting. Reset connection timestamp.
24 (with-tramp-progress-reporter): Improve messages.
25 (tramp-process-actions): Use progress reporter. Delete process in
26 case of error. Improve messages.
28 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use
29 condition-case. Call `tramp-error-with-buffer' with vector and buffer.
30 (tramp-current-connection): Removed.
31 (tramp-maybe-open-connection): The car of
32 `tramp-current-connection' are the first 3 slots of the vector.
34 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
36 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
37 inside continued strings.
39 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
41 Timestamp fixes for undo (Bug#14824).
42 * files.el (clear-visited-file-modtime): Move here from fileio.c.
44 2013-07-10 Leo Liu <sdl.web@gmail.com>
46 * files.el (require-final-newline): Allow safe local value.
49 2013-07-09 Leo Liu <sdl.web@gmail.com>
51 * ido.el (ido-read-directory-name): Handle fallback.
52 (ido-read-file-name): Update DIR to ido-current-directory.
54 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
56 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
58 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
59 "autoload". Remove "warn lower camel case" section, previously
60 commented out. Highlight negation char. Do not highlight the
61 target in singleton method definitions.
63 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
65 * faces.el (tty-setup-hook): Declare the hook.
67 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
68 and detect when a guard/pred depends on local vars (bug#14773).
69 (pcase--u1): Adjust caller.
71 2013-07-08 Eli Zaretskii <eliz@gnu.org>
73 * simple.el (line-move-partial, line-move): Account for
75 (line-move-partial): Avoid setting vscroll when the last
76 partially-visible line in window is of default height.
78 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
80 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
83 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
85 * subr.el (read-quoted-char): Remove unused local variable `char'.
87 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
89 * ediff.el (ediff-version): Version update.
90 (ediff-files-command, ediff3-files-command, ediff-merge-command)
91 (ediff-merge-with-ancestor-command, ediff-directories-command)
92 (ediff-directories3-command, ediff-merge-directories-command)
93 (ediff-merge-directories-with-ancestor-command): New functions.
94 All are command-line interfaces to ediff: to facilitate calling
95 Emacs with the appropriate ediff functions invoked.
97 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
98 (viper-save-kill-buffer): Check if buffer is modified.
100 * viper.el (viper-version): Version update.
101 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
103 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
105 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
106 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
107 (viper-intercept-ESC-key): Simplify.
108 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
109 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
110 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
111 (viper-setup-ESC-to-escape): New functions.
112 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
113 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
115 2013-07-07 Eli Zaretskii <eliz@gnu.org>
117 * simple.el (default-font-height, window-screen-lines):
119 (line-move, line-move-partial): Use them instead of
120 frame-char-height and window-text-height. This makes scrolling
121 text smoother when the buffer's default face uses a font that is
122 different from the frame's default font.
124 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
126 * files.el (write-file): Do not display confirm dialog for NS,
127 it does its own dialog, which can't be cancelled (Bug#14578).
129 2013-07-06 Eli Zaretskii <eliz@gnu.org>
131 * simple.el (line-move-partial): Adjust the row returned by
132 posn-at-point for the current window-vscroll. (Bug#14567)
134 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
136 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
137 (tramp-sh-file-inotifywait-process-filter): Handle file names with
140 2013-07-06 Martin Rudalics <rudalics@gmx.at>
142 * window.el (window-state-put-stale-windows): New variable.
143 (window--state-put-2): Save list of windows without matching buffer.
144 (window-state-put): Remove "bufferless" windows if possible.
146 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
148 * simple.el (alternatives-define): Remove leftover :group keyword.
151 2013-07-06 Leo Liu <sdl.web@gmail.com>
153 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
154 (ido-enable-virtual-buffers): New variable.
155 (ido-buffer-internal, ido-toggle-virtual-buffers)
156 (ido-make-buffer-list): Use it.
157 (ido-exhibit): Support turning on and off virtual buffers
160 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
162 * simple.el (alternatives-define): New macro.
164 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
166 * subr.el (read-quoted-char): Use read-key.
167 (sit-for): Let read-event decode tty input (bug#14782).
169 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
171 * calendar/todo-mode.el: Add handling of file deletion, both by
172 mode command and externally. Fix various related bugs.
173 Clarify Commentary and improve some documentation strings and code.
174 (todo-delete-file): New command.
175 (todo-check-file): New function.
176 (todo-show): Handle external deletion of the file we're trying to
177 show (bug#14688). Replace called-interactively-p by an optional
178 prefix argument to avoid problematic interaction with catch form
179 when byte compiled (bug#14702).
180 (todo-quit): Handle external deletion of the archive's todo file.
181 Make sure the buffer that was visiting the archive file is still
182 live before trying to bury it.
183 (todo-category-completions): Handle external deletion of any
184 category completion files.
185 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
186 of todo files, in case of external deletion.
187 (todo-add-file): Replace unnecessary setq by let-binding.
188 (todo-find-archive): Check whether there are any archives.
189 Replace unnecessary setq by let-binding.
190 (todo-archive-done-item): Use find-file-noselect to get the
191 archive buffer whether or not the archive already exists.
192 Remove superfluous code. Use file size instead of buffer-file-name to
193 check if the archive is new; if it is, update list of archives.
194 (todo-default-todo-file): Allow nil to be a valid value for when
195 there are no todo files.
196 (todo-reevaluate-default-file-defcustom): Use corrected definition
197 of todo-default-todo-file.
198 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
199 (todo-delete-category, todo-show-categories-table)
200 (todo-category-number): Clarify comment.
201 (todo-filter-items): Clarify documentation string.
202 (todo-show-current-file, todo-display-as-todo-file)
203 (todo-reset-and-enable-done-separator): Tweak documentation string.
204 (todo-done-separator): Make separator length window-width, since
205 bug#2749 is now fixed.
207 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
209 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
210 Support both "gvfs-monitor-dir" and "inotifywait".
211 (tramp-sh-file-inotifywait-process-filter): Rename from
212 `tramp-sh-file-notify-process-filter'.
213 (tramp-sh-file-gvfs-monitor-dir-process-filter)
214 (tramp-get-remote-gvfs-monitor-dir): New defuns.
216 2013-07-05 Leo Liu <sdl.web@gmail.com>
218 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
220 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
222 * frame.el (display-pixel-height, display-pixel-width)
223 (display-mm-height, display-mm-width): Mention behavior on
224 multi-monitor setups in docstrings.
225 (w32-display-monitor-attributes-list): Declare function.
226 (display-monitor-attributes-list): Use it.
228 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
230 * filenotify.el: New package.
232 * autorevert.el (top): Require filenotify.el.
233 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
235 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
236 (auto-revert-notify-handler): Use `file-notify-*' functions.
238 * subr.el (file-notify-handle-event): Move function to filenotify.el.
240 * net/tramp.el (tramp-file-name-for-operation):
241 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
243 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
244 for `file-notify-add-watch' and `file-notify-rm-watch'.
245 (tramp-process-sentinel): Improve trace.
246 (tramp-sh-handle-file-notify-add-watch)
247 (tramp-sh-file-notify-process-filter)
248 (tramp-sh-handle-file-notify-rm-watch)
249 (tramp-get-remote-inotifywait): New defuns.
251 2013-07-03 Juri Linkov <juri@jurta.org>
253 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
254 call of `occur-read-primary-args' to interactive spec.
256 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
257 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
259 2013-07-03 Matthias Meulien <orontee@gmail.com>
261 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
262 `Buffer-menu-multi-occur'. Add it to the menu.
263 (Buffer-menu-mode): Document it in docstring.
264 (Buffer-menu-multi-occur): New command. (Bug#14673)
266 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
268 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
269 keywords and built-ins.
271 2013-07-03 Glenn Morris <rgm@gnu.org>
273 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
275 Make info-xref checks case-sensitive by default
276 * info.el (Info-find-node, Info-find-in-tag-table)
277 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
278 Add option for exact case matching of nodes.
279 * info-xref.el (info-xref): New custom group.
280 (info-xref-case-fold): New option.
281 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
283 2013-07-03 Leo Liu <sdl.web@gmail.com>
285 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
287 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
289 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
290 middle of block statement initially, lower the depth. Remove
291 FIXME comment, not longer valid. Remove middle of block statement
292 detection, no need to do that anymore since we've been using
293 `ruby-parse-region' here.
295 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
297 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
299 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
301 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
303 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
305 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
306 (desktop-restore-in-current-display): New customization option.
307 (desktop--excluded-frame-parameters): Add `font'.
308 (desktop--save-frames): Rename from desktop--save-windows.
309 (desktop--restore-in-this-display-p): New function.
310 (desktop--make-full-frame): Remove unwanted width/height from
311 full(width|height) frames.
312 (desktop--restore-frames): Rename from desktop--restore-windows.
313 Obey desktop-restore-current-display. Do not delete old frames or
314 select a new frame unless we were able to restore at least one frame.
316 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
318 * files.el (find-file-noselect): Simplify conditional expression.
320 * remember.el (remember-append-to-file):
321 Don't mix `find-buffer-visiting' and `get-file-buffer'.
323 Add `remember-notes' function to store random notes across Emacs
325 * remember.el (remember-data-file): Add :set callback to affect
326 notes buffer (if any).
327 (remember-notes): New command.
328 (remember-notes-buffer-name, bury-remember-notes-on-kill):
329 New defcustoms for the `remember-notes' function.
330 (remember-notes-save-and-bury-buffer): New command.
331 (remember-notes-mode-map): New variable.
332 (remember-mode): New minor mode.
333 (remember-notes--kill-buffer-query): New function.
334 * startup.el (initial-buffer-choice): Add notes to custom type.
336 2013-06-30 Eli Zaretskii <eliz@gnu.org>
338 * bindings.el (right-char, left-char): Don't call sit-for, this is
339 no longer needed. Use arithmetic comparison only for numerical
342 * international/mule-cmds.el (select-safe-coding-system):
343 Handle the case of FROM being a string correctly. (Bug#14755)
345 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
347 * net/shr.el (shr-make-table-1): Add a sanity check that allows
348 progression on degenerate tables.
349 (shr-rescale-image): ImageMagick animated images currently don't work.
351 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
353 Some fixes and improvements for desktop frame restoration.
354 It is still experimental and disabled by default.
355 * desktop.el (desktop--save-windows): Put the selected frame at
356 the head of the list.
357 (desktop--make-full-frame): New function.
358 (desktop--restore-windows): Try to re-select the frame that was
359 selected upon saving. Do not abort if some frames fail to restore,
360 just show an error message and continue. Set up maximized frames
361 so they have default non-maximized dimensions.
363 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
365 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
366 Don't start heredoc inside a string or comment.
368 2013-06-29 Eli Zaretskii <eliz@gnu.org>
370 * bindings.el (visual-order-cursor-movement): New defcustom.
371 (right-char, left-char): Provide visual-order cursor motion by
372 calling move-point-visually. Update the doc strings.
374 2013-06-28 Kenichi Handa <handa@gnu.org>
376 * international/mule.el (define-coding-system): New coding system
377 properties :inhibit-null-byte-detection,
378 :inhibit-iso-escape-detection, and :prefer-utf-8.
379 (set-buffer-file-coding-system): If :charset-list property of
380 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
381 appropriate for setting.
383 * international/mule-cmds.el (select-safe-coding-system):
384 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
385 multibyte characters, return utf-8 (or one of its siblings).
387 * international/mule-conf.el (prefer-utf-8): New coding system.
388 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
391 2013-06-28 Ivan Kanis <ivan@kanis.fr>
393 * net/shr.el (shr-render-region): New function.
395 * net/eww.el: Autoload `eww-browse-url'.
397 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
399 * emacs-lisp/package-x.el (package-upload-buffer-internal):
400 Adapt to `package-desc-version' being a list.
401 Use `package--ac-desc-version' to retrieve version from a package
404 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
406 New experimental feature to save&restore window and frame setup.
407 * desktop.el (desktop-save-windows): New defcustom.
408 (desktop--saved-states): New var.
409 (desktop--excluded-frame-parameters): New defconst.
410 (desktop--filter-frame-parms, desktop--find-frame-in-display)
411 (desktop--restore-windows, desktop--save-windows): New functions.
412 (desktop-save): Call `desktop--save-windows'.
413 (desktop-read): Call `desktop--restore-windows'.
415 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
417 * net/shr.el (add-face-text-property): Remove compat definition.
419 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
421 * info.el (Info-try-follow-nearest-node): Move search for footnote
422 above search for node name to prevent missing a footnote (bug#14717).
424 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
426 * obsolete/otodo-mode.el: Add obsolescence info to file header.
428 2013-06-27 Leo Liu <sdl.web@gmail.com>
430 * net/eww.el (eww-read-bookmarks): Check file size.
432 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
434 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
435 advice--pending if newdef is nil or an autoload (bug#13820).
436 (advice-mapc): New function.
438 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
440 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
442 (eww-mode-map): Add a menu bar.
443 (eww-add-bookmark): New command.
444 (eww-bookmark-mode): New mode and commands.
445 (eww-add-bookmark): Remove newlines from the title.
446 (eww-bookmark-browse): Don't bug out if it's the only window.
448 2013-06-26 Glenn Morris <rgm@gnu.org>
450 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
451 (hfy-size): Handle ttys. (Bug#14668)
453 * info-xref.el: Update for Texinfo 5 change in *note format.
454 (info-xref-node-re, info-xref-note-re): New constants.
455 (info-xref-check-buffer): Use info-xref-note-re.
457 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
459 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
461 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
462 nil terminate the loop (bug#14718).
464 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
466 * net/eww.el: Rework history traversal. When going forward/back,
467 put these actions into the history, too, so that they can be
469 (eww-render): Move the history reset to the correct buffer.
471 2013-06-25 Juri Linkov <juri@jurta.org>
473 * files-x.el (modify-dir-local-variable): Change the header comment
474 in the file with directory local variables. (Bug#14692)
476 * files-x.el (read-file-local-variable-value): Add `default'.
479 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
481 * net/eww.el (eww-make-unique-file-name): Create a unique file
482 name before saving to entering `y' accidentally asynchronously.
484 2013-06-25 Ivan Kanis <ivan@kanis.fr>
486 * net/eww.el (eww-download): New command and keystroke.
488 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
490 * net/eww.el (eww-copy-page-url): Change name of command.
492 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
493 be more consistent with Info and dired.
495 * net/eww.el (eww-mode-map): Ditto.
497 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
499 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
500 packages from archives.
501 (package-archive-contents): Change format; include obsolete packages.
502 (package-desc): Use `dir' to mark builtin packages.
503 (package--from-builtin): Set the `dir' field to `builtin'.
504 (generated-autoload-file, version-control): Declare.
505 (package-compute-transaction): Change first arg and return value to be
506 lists of package-descs. Adjust to new package-archive-contents format.
507 (package--add-to-archive-contents): Adjust to new
508 package-archive-contents format.
509 (package-download-transaction): Arg is now a list of package-descs.
510 (package-install): If `pkg' is a package name, pass it as
511 a requirement, so it is subject to the usual (e.g. disabled) checks.
512 (describe-package): Accept package-desc as well.
513 (describe-package-1): Describe a specific package-desc. Add links to
514 other package-descs for the same package name.
515 (package-menu-describe-package): Pass the actual package-desc.
516 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
518 (package-desc-status): New function.
519 (package-menu--refresh): New function, extracted
520 from package-menu--generate.
521 (package-menu--generate): Use it.
522 (package-delete): Update package-alist.
523 (package-menu-execute): Don't call package-initialize.
525 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
526 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
527 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
528 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
529 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
530 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
532 2013-06-25 Martin Rudalics <rudalics@gmx.at>
534 * window.el (window--state-get-1): Workaround for bug#14527.
535 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
537 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
539 * net/eww.el (eww-back-url): Implement the history by stashing all
540 the data into a list.
541 (eww-forward-url): Allow going forward in the history, too.
543 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
545 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
546 for values and use read--expression for expressions (bug#14710).
547 (read-file-local-variable): Avoid setq.
548 (read-file-local-variable-mode): Use minor-mode-list.
550 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
552 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
555 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
557 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
558 Update imenu-support when dialect changes.
560 2013-06-25 Leo Liu <sdl.web@gmail.com>
562 * ido.el (ido-read-internal): Allow forward slash on windows.
564 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
566 * net/eww.el (eww): Start of strings is \\`, not ^.
568 2013-06-24 Ivan Kanis <ivan@kanis.fr>
570 * net/shr.el (shr-browse-url): Fix interactive spec.
572 * net/eww.el (eww): Add a trailing slash to domain names.
574 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
576 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
578 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
580 * net/shr.el (shr-browse-url): Use an external browser if given a
583 * net/eww.el (eww-external-browser): Move to shr.
585 2013-06-24 Ivan Kanis <ivan@kanis.fr>
587 * net/eww.el (eww): Work more correctly for file: URLs.
588 (eww-detect-charset): Allow quoted charsets.
589 (eww-yank-page-url): New command and keystroke.
591 2013-06-24 Daiki Ueno <ueno@gnu.org>
593 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
594 file name of gpg executable.
595 (epg-context-program): New function.
596 (epg-context-home-directory): New function.
597 (epg-context-set-program): New function.
598 (epg-context-set-home-directory): New function.
599 (epg--start): Use `epg-context-program' instead of
601 (epg--list-keys-1): Likewise.
603 2013-06-24 Leo Liu <sdl.web@gmail.com>
605 * ido.el (ido-read-internal): Fix bug#14620.
607 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
609 * faces.el (face-documentation): Simplify.
610 (read-face-attribute, tty-find-type, x-resolve-font-name):
611 Use `string-match-p'.
612 (list-faces-display): Use `string-match-p'. Simplify.
613 (face-spec-recalc): Check face to avoid face alias loops.
614 (read-color): Use `string-match-p' and non-capturing parenthesis.
616 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
618 * net/shr.el (shr-rescale-image): Use the new
619 :max-width/:max-height functionality.
621 2013-06-23 Ivan Kanis <ivan@kanis.fr>
623 * net/eww.el (eww-search-prefix): New variable.
625 (eww-external-browser): New variable.
626 (eww-mode-map): New keystroke.
627 (eww-browse-with-external-browser): New command.
629 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
631 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
633 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
634 Don't skip aligning the next header field when padding is 0;
635 otherwise, field width is not respected unless the title is as
638 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
640 * emacs-lisp/package.el (package-el-version): Remove.
641 (package-process-define-package): Fix inf-loop.
642 (package-install): Allow symbols as arguments again.
644 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
646 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
647 add some more keyword-like methods.
648 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
650 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
652 * bs.el (bs-buffer-show-mark): Make defvar-local.
653 (bs-mode): Use setq-local.
655 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
656 (emacs-lock--try-unlocking): Make defvar-local.
658 2013-06-22 Glenn Morris <rgm@fencepost.gnu.org>
660 * play/cookie1.el (cookie-apropos): Minor simplification.
662 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
664 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
666 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
667 `regexp-opt', it breaks the build during dumping.
669 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
671 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
672 Highlight keyword-like methods on Kernel and Module with
673 font-lock-builtin-face.
674 (auto-mode-alist): Consolidate different entries into one regexp
675 and add more *file-s.
677 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
679 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
681 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
682 (diary-entry): Use it in the action of this button type instead of
685 * calendar/todo-mode.el: New version.
686 (todo-add-category): Append new category to end of file and give
687 it the highest number, instead of putting it at the beginning and
688 giving it 0. Incorporate noninteractive functionality.
689 (todo-forward-category): Adapt to 1-based category numbering.
690 Allow skipping over archived categories.
691 (todo-backward-category): Derive from todo-forward-category.
692 (todo-backward-item, todo-forward-item): Make noninteractive and
693 delegate interactive part to new commands. Make sensitive to done items.
694 (todo-categories): Make value an alist of category names and
695 vectors of item counts.
696 (todo-category-beg): Make a defconst.
697 (todo-category-number): Use 1 instead of 0 as initial value.
698 (todo-category-select): Make sensitive to overlays, optional item
699 highlighting and done items.
700 (todo-delete-item): Make sensitive to overlays and marked and done items.
701 (todo-edit-item): Make sensitive to overlays and editing of
702 date/time header optional. Add format checks.
703 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
704 no-op if point is not on an item. Advertise using todo-edit-quit.
705 (todo-edit-mode): Make sensitive to new format, font-locking, and
707 (todo-insert-item, todo-insert-item-here): Derive from
708 todo-basic-insert-item and extend functionality.
709 (todo-item-end, todo-item-start): Make sensitive to done items.
710 (todo-item-string): Don't return text properties. Restore point.
711 (todo-jump-to-category): Make sensitive to multiple todo files and
712 todo archives. Use extended category completion.
713 (todo-lower-item, todo-raise-item): Rename to *-priority and
714 derive from todo-set-item-priority.
715 (todo-mode): Derive from special-mode. Make sensitive to new
716 format, font-locking and multiple todo files. Make read-only.
717 (todo-mode-map): Don't suppress digit keys, so they can supply
718 prefix arguments. Add many new key bindings.
719 (todo-prefix): Insert as an overlay instead of file text.
720 Change semantics from diary date expression to purely visual mark.
721 (todo-print): Rename to todo-print-buffer. Make buffer display
722 features printable. Remove option to restrict number of items
723 printed. Add option to print to file.
724 (todo-print-function): Rename to todo-print-buffer-function.
725 (todo-quit): Extend to handle exiting new todo modes.
726 (todo-remove-item): Make sensitive to overlays.
727 (todo-save): Extend to buffers of filtered items.
728 (todo-show): Make sensitive to done items, multiple todo files and
729 new todo modes. Offer to convert legacy todo file before creating
731 (todo-show-priorities): Rename to todo-top-priorities.
732 Change semantics of value 0.
733 (todo-top-priorities): Rename to todo-filter-top-priorities,
734 derive from todo-filter-items and extend functionality.
735 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
736 and extend functionality to other types of filtered items.
737 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
738 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
739 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
740 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
741 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
742 (todo-edit-mode-hook, todo-entry-prefix-function)
743 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
744 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
745 (todo-initials, todo-insert-threshold, todo-item-string-start)
746 (todo-line-string, todo-menu, todo-mode-hook)
747 (todo-more-important-p, todo-previous-answer, todo-previous-line)
748 (todo-print-priorities, todo-remove-separator)
749 (todo-save-top-priorities-too, todo-string-count-lines)
750 (todo-string-multiline-p, todo-time-string-format)
751 (todo-tmp-buffer-name): Remove.
752 (todo-add-file, todo-archive-done-item, todo-choose-archive)
753 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
754 (todo-edit-category-diary-inclusion)
755 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
756 (todo-edit-file, todo-edit-item-date-day)
757 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
758 (todo-edit-item-date-month, todo-edit-item-date-to-today)
759 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
760 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
761 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
762 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
763 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
764 (todo-filter-top-priorities-multifile, todo-find-archive)
765 (todo-find-filtered-items-file, todo-go-to-source-item)
766 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
767 (todo-jump-to-archive-category, todo-lower-category)
768 (todo-mark-category, todo-marked-item-p, todo-merge-category)
769 (todo-move-category, todo-move-item, todo-next-button)
770 (todo-next-item, todo-padded-string, todo-powerset)
771 (todo-previous-button, todo-previous-item)
772 (todo-print-buffer-to-file, todo-raise-category)
773 (todo-rename-category, todo-repair-categories-sexp, todo-search)
774 (todo-set-category-number, todo-set-item-priority)
775 (todo-set-top-priorities-in-category)
776 (todo-set-top-priorities-in-file, todo-show-categories-table)
777 (todo-sort-categories-alphabetically-or-numerically)
778 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
779 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
780 (todo-toggle-item-header, todo-toggle-item-highlighting)
781 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
782 (todo-toggle-view-done-items, todo-toggle-view-done-only)
783 (todo-unarchive-items, todo-unmark-category): New commands.
784 (todo-absolute-file-name, todo-add-to-buffer-list)
785 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
786 (todo-basic-insert-item, todo-category-completions)
787 (todo-category-number, todo-category-string-matcher-1)
788 (todo-category-string-matcher-2, todo-check-filtered-items-file)
789 (todo-check-format, todo-clear-matches)
790 (todo-comment-string-matcher, todo-convert-legacy-date-time)
791 (todo-current-category, todo-date-string-matcher)
792 (todo-define-insertion-command, todo-diary-expired-matcher)
793 (todo-diary-goto-entry, todo-diary-item-p)
794 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
795 (todo-display-categories, todo-display-sorted, todo-done-item-p)
796 (todo-done-item-section-p, todo-done-separator)
797 (todo-done-string-matcher, todo-files, todo-filter-items)
798 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
799 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
800 (todo-insert-category-line, todo-insert-item-from-calendar)
801 (todo-insert-sort-button, todo-insert-with-overlays)
802 (todo-insertion-command-name, todo-insertion-key-bindings)
803 (todo-label-to-key, todo-longest-category-name-length)
804 (todo-make-categories-list, todo-mode-external-set)
805 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
806 (todo-modes-set-3, todo-multiple-filter-files)
807 (todo-nondiary-marker-matcher, todo-prefix-overlays)
808 (todo-read-category, todo-read-date, todo-read-dayname)
809 (todo-read-file-name, todo-read-time)
810 (todo-reevaluate-category-completions-files-defcustom)
811 (todo-reevaluate-default-file-defcustom)
812 (todo-reevaluate-filelist-defcustoms)
813 (todo-reevaluate-filter-files-defcustom)
814 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
815 (todo-reset-done-separator, todo-reset-done-separator-string)
816 (todo-reset-done-string, todo-reset-global-current-todo-file)
817 (todo-reset-highlight-item, todo-reset-nondiary-marker)
818 (todo-reset-prefix, todo-set-categories)
819 (todo-set-date-from-calendar, todo-set-show-current-file)
820 (todo-set-top-priorities, todo-short-file-name)
821 (todo-show-current-file, todo-sort, todo-time-string-matcher)
822 (todo-total-item-counts, todo-update-buffer-list)
823 (todo-update-categories-display, todo-update-categories-sexp)
824 (todo-update-count, todo-validate-name, todo-y-or-n-p):
826 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
828 (todo-categories, todo-display, todo-edit, todo-faces)
829 (todo-filtered): New defgroups.
830 (todo-archived-only, todo-button, todo-category-string, todo-date)
831 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
832 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
833 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
834 (todo-add-item-if-new-category, todo-always-add-time-string)
835 (todo-categories-align, todo-categories-archived-label)
836 (todo-categories-category-label, todo-categories-diary-label)
837 (todo-categories-done-label, todo-categories-number-separator)
838 (todo-categories-todo-label, todo-categories-totals-label)
839 (todo-category-completions-files, todo-completion-ignore-case)
840 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
841 (todo-done-separator-string, todo-done-string)
842 (todo-files-function, todo-filter-done-items, todo-filter-files)
843 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
844 (todo-initial-category, todo-initial-file, todo-item-mark)
845 (todo-legacy-date-time-regexp, todo-mode-line-function)
846 (todo-nondiary-marker, todo-number-prefix)
847 (todo-print-buffer-function, todo-show-current-file)
848 (todo-show-done-only, todo-show-first, todo-show-with-done)
849 (todo-skip-archived-categories, todo-top-priorities-overrides)
850 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
851 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
853 (todo-category-done, todo-date-pattern, todo-date-string-start)
854 (todo-diary-items-buffer, todo-done-string-start)
855 (todo-filtered-items-buffer, todo-item-start)
856 (todo-month-abbrev-array, todo-month-name-array)
857 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
858 (todo-top-priorities-buffer): New defconsts.
859 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
860 (todo-categories-with-marks, todo-category-string-face)
861 (todo-comment-face, todo-comment-string, todo-current-todo-file)
862 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
863 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
864 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
865 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
866 (todo-font-lock-keywords, todo-global-current-todo-file)
867 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
868 (todo-insertion-commands-args)
869 (todo-insertion-commands-args-genlist)
870 (todo-insertion-commands-names, todo-insertion-map)
871 (todo-key-bindings-t, todo-key-bindings-t+a)
872 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
873 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
874 (todo-nondiary-face, todo-print-buffer, todo-time-face)
875 (todo-visited): New variables.
877 2013-06-21 Glenn Morris <rgm@gnu.org>
879 * play/cookie1.el (cookie-apropos): Add optional display argument.
880 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
881 (psychoanalyze-pinhead): Use cookie-doctor.
883 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
885 * emacs-lisp/package.el (tar-get-file-descriptor)
886 (tar--extract): Declare.
888 2013-06-21 Eduard Wiebe <usenet@pusto.de>
890 Extend flymake's warning predicate to be a function (bug#14217).
891 * progmodes/flymake.el (flymake-warning-predicate): New.
892 (flymake-parse-line): Use it.
893 (flymake-warning-re): Make obsolete alias to
894 `flymake-warning-predicate'.
896 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
898 * emacs-lisp/package.el (package-alist): Include obsolete packages.
899 (package-obsolete-list): Remove.
900 (package-activate): Remove min-version argument. Add `force' argument.
901 Adjust to new package-alist format.
902 (package-mark-obsolete): Remove.
903 (package-unpack): Force reload of the package's autoloads.
904 (package-installed-p): Check builtins if the installed package is not
906 (package-initialize): Don't reset package-obsolete-list.
907 Don't specify which package version to activate.
908 (package-process-define-package, describe-package-1)
909 (package-menu--generate): Adjust to new package-alist format.
911 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
913 * allout-widgets.el (allout-widgets-mode-off)
914 (allout-widgets-mode-on, allout-widgets-pre-command-business)
915 (allout-widgets-post-command-business)
916 (allout-widgets-after-copy-or-kill-function)
917 (allout-widgets-after-undo-function, allout-test-range-overlaps)
918 (allout-decorate-item-and-context)
919 (allout-graphics-modification-handler): Fix typos in docstrings.
920 (allout-get-or-create-parent-widget): Use `looking-at-p'.
922 * cmuscheme.el (scheme-start-file): Doc fix.
923 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
924 (scheme-input-filter): Use `string-match-p'.
926 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
928 * dired-x.el: Use Dired consistently in docstrings.
930 * dired.el: Use Dired consistently in docstrings.
931 (dired-readin, dired-mode): Use `setq-local'.
932 (dired-switches-alist): Make defvar-local.
933 (dired-buffers-for-dir): Use `zerop'.
934 (dired-safe-switches-p, dired-switches-escape-p)
935 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
936 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
937 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
938 (dired-goto-next-nontrivial-file): Use `string-match-p'.
939 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
940 (dired-toggle-marks, dired-mark-files-containing-regexp)
941 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
942 (dired-flag-auto-save-files, dired-flag-backup-files):
944 (dired-mark-files-regexp, dired-build-subdir-alist):
945 Use `string-match-p', `looking-at-p'.
947 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
948 (direct-print-region-helper): Use `string-match-p'.
950 2013-06-21 Leo Liu <sdl.web@gmail.com>
952 * comint.el (comint-redirect-results-list-from-process):
955 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
957 * net/eww.el (eww-update-header-line-format): Quote % characters.
959 2013-06-21 Glenn Morris <rgm@gnu.org>
961 * play/cookie1.el (cookie): New custom group.
962 (cookie-file): New option.
963 (cookie-check-file): New function.
964 (cookie): Make it interactive. Make start and end messages optional.
965 Interactively, display the result. Default to cookie-file.
966 (cookie-insert): Default to cookie-file.
967 (cookie-snarf): Make start and end messages optional.
968 Default to cookie-file. Use with-temp-buffer.
969 (cookie-read): Rename from read-cookie.
970 Make start and end messages optional. Default to cookie-file.
971 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
973 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
974 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
976 2013-06-21 Leo Liu <sdl.web@gmail.com>
978 * progmodes/octave.el (octave-mode): Backward compatibility fix.
980 2013-06-21 Glenn Morris <rgm@gnu.org>
982 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
984 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
985 Daniel Hackney <dan@haxney.org>
987 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
988 Consolidate the single-file vs tarball code.
989 (package-desc-suffix): New function.
990 (package-desc-full-name): Don't bother inlining it.
991 (package-load-descriptor): Return the new package-desc.
992 (package-mark-obsolete): Remove unused arg `package'.
993 (package-unpack): Make it work for single files as well.
994 Make it update package-alist.
995 (package--make-autoloads-and-stuff): Rename from
996 package--make-autoloads-and-compile. Don't compile any more.
997 (package--compile): New function.
998 (package-generate-description-file): New function, extracted from
999 package-unpack-single.
1000 (package-unpack-single): Remove.
1001 (package--with-work-buffer): Add indentation and debugging info.
1002 (package-download-single): Remove.
1003 (package-install-from-archive): Rename from package-download-tar, make
1004 it take a pkg-desc, and make it work for single files as well.
1005 (package-download-transaction): Simplify.
1006 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
1007 external tar program.
1008 (package-install-from-buffer): Remove `pkg-desc' argument.
1009 Use package-tar-file-info for tar-mode buffers.
1010 (package-install-file): Simplify accordingly.
1011 (package-archive-base): Change to take a pkg-desc.
1012 * tar-mode.el (tar--check-descriptor): New function, extracted from
1014 (tar-get-descriptor): Use it.
1015 (tar-get-file-descriptor): New function.
1016 (tar--extract): New function, extracted from tar-extract.
1017 (tar--extract): Use it.
1018 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
1019 case the summary uses non-ascii. Adjust to new calling convention of
1020 package-tar-file-info.
1022 2013-06-21 Leo Liu <sdl.web@gmail.com>
1024 * comint.el (comint-redirect-results-list-from-process):
1025 Fix random delay. (Bug#14681)
1027 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
1029 * profiler.el (profiler-format-number): Use log, not log10.
1031 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
1033 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
1035 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1037 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
1038 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
1040 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
1041 (AUTOGENEL): ... here.
1042 * emacs-lisp/cl-macs.el (cl--sublis): New function.
1043 (cl--defsubst-expand): Use it.
1045 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
1047 * subr.el (log10): Move here from C code, and declare as obsolete.
1048 All uses of (log10 X) replaced with (log X 10).
1050 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
1052 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
1053 Declare with `defvar-local'.
1054 (tabulated-list-use-header-line, tabulated-list-entries)
1055 (tabulated-list-padding, tabulated-list-printer)
1056 (tabulated-list-sort-key): Declare with `defvar-local'.
1057 (tabulated-list-init-header, tabulated-list-print-fake-header):
1060 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
1062 * arc-mode.el (archive-mode): Add `archive-write-file' to
1063 `write-contents-functions' also for remote files. (Bug#14652)
1065 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
1067 * cus-edit.el (custom-commands): Fix typos.
1068 (custom-display): Fix tooltip text.
1069 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
1070 Fix typos in docstrings.
1071 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
1072 (custom-unlispify-menu-entry, custom-magic-value-create)
1073 (custom-add-see-also, custom-group-value-create): Use ?\s.
1074 (custom-guess-type, customize-apropos, editable-field)
1075 (custom-face-value-create): Use `string-match-p'.
1076 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
1078 * custom.el (custom-load-symbol): Use `string-match-p'.
1080 * ansi-color.el: Convert to lexical binding.
1081 (ansi-colors): Fix URL.
1082 (ansi-color-context, ansi-color-context-region): Use defvar-local.
1083 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
1084 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
1086 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1088 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
1090 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
1092 2013-06-19 Tom Tromey <tromey@redhat.com>
1094 * net/eww.el (eww-top-url): Remove.
1095 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
1096 (eww-render): Set new variables. Don't set eww-top-url.
1097 (eww-handle-link): Handle "prev", "home", and "contents".
1098 Downcase the rel text.
1099 (eww-top-url): Choose best top URL.
1101 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1103 * net/eww.el: Rewrite to implement form elements "by hand" instead of
1104 relying in widget.el. Using widget.el leads to too many
1105 user interface inconsistencies.
1106 (eww-self-insert): Implement entering commands in text fields.
1107 (eww-process-text-input): New function to make text input field editing
1109 (eww-submit): Rewrite to use the new-style form methods.
1110 (eww-select-display): Display the correct selected item.
1111 (eww-change-select): Implement changing the select value.
1112 (eww-toggle-checkbox): Implement radio/checkboxes.
1113 (eww-update-field): Fix compilation error.
1114 (eww-tag-textarea): Implement <textarea>.
1116 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
1117 we don't shadow mode-specific bindings.
1119 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
1122 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
1124 2013-06-19 Glenn Morris <rgm@fencepost.gnu.org>
1126 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
1128 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
1130 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
1133 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
1135 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1137 * net/browse-url.el (browse-url-browser-function):
1138 `eww-browse-url' has the right calling signature, `eww' does not.
1140 2013-06-19 Glenn Morris <rgm@gnu.org>
1142 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1143 Only eval autoloaded macros.
1144 (byte-compile-autoload): Only give the macro warning for macros.
1146 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
1147 (ps-underlined-faces): Declare.
1149 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
1150 (speedbar-add-supported-extension): Declare.
1152 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
1153 Don't include a date stamp in the header of the generated file;
1154 it leads to needless differences between output files.
1156 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
1158 * net/secrets.el (secrets-struct-secret-content-type):
1159 Replace check of introspection data by a test call of "CreateItem".
1160 Some servers do not offer introspection.
1162 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1164 * electric.el (electric-pair-mode): Improve interaction with
1165 electric-layout-mode.
1166 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
1167 (electric-pair-syntax): Use text-mode-syntax-table in comments
1169 (electric-pair--insert): New function.
1170 (electric-pair-post-self-insert-function): Use it and
1171 electric--after-char-pos.
1173 2013-06-19 Leo Liu <sdl.web@gmail.com>
1175 * progmodes/octave.el (octave-help): Fix regexp.
1177 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1179 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
1180 (shr-table-horizontal-line): Allow nil as a value, and change the
1182 (shr-insert-table-ruler): Respect the nil value.
1184 2013-06-18 Tom Tromey <tromey@barimba>
1186 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
1188 (eww-open-file): New defun.
1189 (eww-render): Initialize new variables.
1190 (eww-display-html): Handle "link" and "a".
1191 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
1192 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
1193 (eww-back-url): Rename from eww-previous-url.
1194 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
1197 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
1199 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
1200 Distinguish ternary operator tokens from slash symbol and slash
1203 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
1205 Convert symbol prettification into minor mode and global minor mode.
1207 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
1208 `prog-prettify-symbols', and make a local defvar instead of defcustom.
1209 (prettify-symbols--keywords): Rename from
1210 `prog-prettify-symbols-alist' and make a local defvar.
1211 (prettify-symbols--compose-symbol): Rename from
1212 `prog--prettify-font-lock-compose-symbol'.
1213 (prettify-symbols--make-keywords): Rename from
1214 `prog-prettify-font-lock-symbols-keywords' and simplify.
1215 (prog-prettify-install): Remove.
1216 (prettify-symbols-mode): New minor mode, based on
1217 `prog-prettify-install'.
1218 (turn-on-prettify-symbols-mode): New function.
1219 (global-prettify-symbols-mode): New globalized minor mode.
1221 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1222 * progmodes/cfengine.el (cfengine3-mode):
1223 * progmodes/perl-mode.el (perl-mode): Don't call
1224 `prog-prettify-install'; set `prettify-symbols-alist' instead.
1226 2013-06-18 Juri Linkov <juri@jurta.org>
1228 * files-x.el (modify-file-local-variable-message): New function.
1229 (modify-file-local-variable)
1230 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
1231 and call `modify-file-local-variable-message' when it's non-nil.
1232 (add-file-local-variable, delete-file-local-variable)
1233 (add-file-local-variable-prop-line)
1234 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
1235 and use it. (Bug#9820)
1237 2013-06-18 Juri Linkov <juri@jurta.org>
1239 * emulation/vi.el (vi-shell-op):
1240 * emulation/vip.el (vip-execute-com, ex-command):
1241 * emulation/viper-cmd.el (viper-exec-bang):
1242 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
1243 the call of `shell-command-on-region'. (Bug#14637)
1245 * simple.el (shell-command-on-region): Doc fix.
1247 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1249 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
1252 2013-06-18 Glenn Morris <rgm@gnu.org>
1254 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
1256 * newcomment.el (comment-search-forward, comment-search-backward):
1257 Doc fix. (Bug#14376)
1259 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
1261 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
1262 (buffer-face-mode-invoke): Doc fix.
1264 2013-06-18 Matthias Meulien <orontee@gmail.com>
1266 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
1267 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
1269 2013-06-18 Glenn Morris <rgm@gnu.org>
1271 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
1272 Replace obsolete function generic-make-keywords with its expansion.
1274 * progmodes/python.el (ffap-alist): Declare.
1276 * textmodes/reftex.el (bibtex-mode-map): Declare.
1278 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1280 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
1281 (package-unpack, package-unpack-single): Return the pkg-dir.
1282 (package-download-transaction): Use it to update package-alist.
1284 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1286 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
1289 2013-06-17 Juri Linkov <juri@jurta.org>
1291 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
1293 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
1295 * emacs-lisp/package.el (package-load-descriptor):
1296 Remove `with-syntax-table' call, `read' doesn't need it.
1297 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
1299 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
1301 * startup.el (command-line): Expand package name returned by
1302 `package--description-file' (bug#14639).
1304 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
1306 * emacs-lisp/package.el (package-load-descriptor): Do not call
1307 `emacs-lisp-mode', just use its syntax table.
1309 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
1311 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
1312 `font-lock-extra-managed-props' if any prettifying keyword is added.
1313 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
1314 (prog-mode): Use `setq-local'.
1316 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1318 * international/characters.el (standard-case-table): Set syntax of ?»
1319 and ?« to punctuation.
1321 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
1323 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
1324 Save relevant match data before calling `syntax-ppss' (bug#14595).
1326 2013-06-15 Juri Linkov <juri@jurta.org>
1328 * files-x.el (modify-file-local-variable-prop-line): Add local
1329 variables to the end of the existing comment on the first line.
1330 Use `file-auto-mode-skip' to skip interpreter magic line,
1331 and also skip XML declaration.
1333 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1335 * startup.el (package--builtin-versions): New var.
1336 (package-subdirectory-regexp): Remove.
1337 (package--description-file): Hard code its value instead.
1339 * emacs-lisp/package.el: Don't activate packages older than builtin.
1340 (package-obsolete-list): Rename from package-obsolete-alist, and make
1341 it into a simple list of package-desc.
1342 (package-strip-version): Remove.
1343 (package-built-in-p): Use package--builtin-versions.
1344 (package-mark-obsolete): Simplify.
1345 (package-process-define-package): Mark it obsolete if older than the
1347 (package-handle-response): Use line-end-position.
1348 (package-read-archive-contents, package--download-one-archive):
1350 (package--add-to-archive-contents): Skip if older than the builtin or
1352 (package-menu-describe-package): Fix last change.
1353 (package-list-unversioned): New var.
1354 (package-menu--generate): Use it.
1356 * emacs-lisp/autoload.el: Manage package--builtin-versions.
1357 (autoload--insert-text, autoload--insert-cookie-text): New functions.
1358 (autoload-builtin-package-versions): New variable.
1359 (autoload-generate-file-autoloads): Use them.
1360 Remove the list of autoloaded functions/macros from the
1361 (autoload...) comments.
1363 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
1365 2013-06-15 Eli Zaretskii <eliz@gnu.org>
1367 * simple.el (line-move-partial): Don't jump to the next screen
1368 line as soon as it becomes visible. Instead, continue enlarging
1369 the vscroll until the portion of a tall screen line that's left on
1370 display is about the height of the frame's default font.
1373 2013-06-15 Glenn Morris <rgm@gnu.org>
1375 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
1376 compilation-error-regexp-alist void, or local while let-bound.
1378 * progmodes/make-mode.el (makefile-mode-syntax-table):
1379 Treat "=" as punctuation. (Bug#14614)
1381 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
1383 * help-fns.el (describe-variable):
1384 Add extra line for permanent-local variables.
1386 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
1388 * progmodes/scheme.el (scheme-font-lock-keywords-2):
1389 Add export, import, library. (Bug#9164)
1390 (library): Set indent function.
1392 2013-06-14 Glenn Morris <rgm@gnu.org>
1394 * term/xterm.el (xterm--query):
1395 Stop after first matching handler. (Bug#14615)
1397 2013-06-14 Ivan Kanis <ivan@kanis.fr>
1399 Add support for dired in saveplace.
1400 * dired.el (dired-initial-position-hook): New variable.
1401 (dired-initial-position): Call hook to place cursor position.
1402 * saveplace.el (save-place-to-alist): Add dired position.
1403 (save-place-dired-hook): New function.
1405 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
1407 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
1408 through a symbol rather than letrec.
1410 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
1411 (package-desc): Add `dir' field.
1412 (package-desc-full-name): New function.
1413 (package-load-descriptor): Combine the two arguments. Don't use `load'.
1414 (package-maybe-load-descriptor): Remove.
1415 (package-load-all-descriptors): Just call package-load-descriptor.
1416 (package--disabled-p): New function.
1417 (package-desc-vers, package-desc-doc): Remove aliases.
1418 (package--dir): Remove function.
1419 (package-activate): Check if a package is disabled.
1420 (package-process-define-package): New function, extracted from
1422 (define-package): Turn into a place holder.
1423 (package-unpack-single, package-tar-file-info):
1424 Use package--description-file.
1425 (package-compute-transaction): Use package--disabled-p.
1426 (package-download-transaction): Don't call
1427 package-maybe-load-descriptor since they're all loaded anyway.
1428 (package-install): Change argument to be a pkg-desc.
1429 (package-delete): Use a single pkg-desc argument.
1430 (describe-package-1): Use package-desc-dir instead of package--dir.
1431 Use package-desc property instead of package-symbol.
1432 (package-install-button-action): Adjust accordingly.
1433 (package--push): Rewrite.
1434 (package-menu--print-info): Adjust accordingly. Change the ID format
1436 (package-menu-describe-package, package-menu-get-status)
1437 (package-menu--find-upgrades, package-menu-mark-upgrades)
1438 (package-menu-execute, package-menu--name-predicate):
1440 * startup.el (package--description-file): New function.
1441 (command-line): Use it.
1442 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1443 Use package-desc-version.
1445 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
1446 (byte-compile-preprocess): Use it.
1447 (byte-compile-file-form-defalias): Try a bit harder to use macros we
1448 can't quite recognize.
1449 (byte-compile-add-to-list): Remove.
1450 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
1451 (cconv-closure-convert): Add assertion.
1453 * emacs-lisp/map-ynp.el: Use lexical-binding.
1454 (map-y-or-n-p): Remove unused vars `tail' and `object'.
1455 Factor out some repeated code.
1457 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1459 * subr.el (with-eval-after-load): New macro.
1460 (eval-after-load): Allow form to be a function.
1461 take advantage of lexical-binding.
1462 (do-after-load-evaluation): Use dolist and adjust to new format.
1463 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
1465 2013-06-13 Juri Linkov <juri@jurta.org>
1467 * replace.el (perform-replace): Display "symbol " and other search
1468 modes from `isearch-message-prefix' in the *Help* buffer.
1470 * isearch.el (isearch-query-replace): Add " symbol" and other
1471 possible search modes from `isearch-message-prefix' to the prompt.
1472 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
1473 when reading a regexp to collect.
1475 2013-06-13 Juri Linkov <juri@jurta.org>
1477 * isearch.el (word-search-regexp): Match whitespace if the search
1478 string begins or ends in whitespace. The LAX arg is applied to
1479 both ends of the search string. Use `regexp-quote' and explicit
1480 \< and \> instead of \b. Use \` and \' instead of ^ and $.
1481 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
1482 boundaries are replaced with symbol boundaries, and characters
1483 between symbols match non-word non-symbol syntax. (Bug#14602)
1485 2013-06-13 Juri Linkov <juri@jurta.org>
1487 * isearch.el (isearch-del-char): Don't exceed the length of
1488 `isearch-string' by the prefix arg. (Bug#14563)
1490 2013-06-13 Juri Linkov <juri@jurta.org>
1492 * isearch.el (isearch-yank-word, isearch-yank-line)
1493 (isearch-char-by-name, isearch-quote-char)
1494 (isearch-printing-char, isearch-process-search-char):
1495 Add optional count prefix arg. (Bug#14563)
1497 * international/isearch-x.el
1498 (isearch-process-search-multibyte-characters):
1499 Add optional count prefix arg.
1501 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1503 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
1504 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
1507 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
1509 * subr.el (set-temporary-overlay-map): Add on-exit argument.
1511 2013-06-13 Glenn Morris <rgm@gnu.org>
1513 * startup.el (tty-handle-args):
1514 Don't just discard "--" and anything after. (Bug#14608)
1516 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
1518 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
1520 Implement changes in Secret Service API. Make it backward compatible.
1521 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
1522 (secrets-create-item): Use it. Prefix properties with interface.
1524 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
1526 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
1527 (term-emulate-terminal): Respect term-suppress-hard-newline.
1529 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
1531 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
1532 Only remove a `thumb-file' overlay. (Bug#14548)
1534 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
1536 * mail/reporter.el (reporter-submit-bug-report):
1537 Handle missing package-name. (Bug#14600)
1539 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1541 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
1542 (reftex-citation-prompt, reftex-default-bibliography)
1543 (reftex-bib-or-thebib, reftex-get-bibfile-list)
1544 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1545 (reftex-bib-sort-author, reftex-bib-sort-year)
1546 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
1547 (reftex-extract-bib-entries-from-thebibliography)
1548 (reftex-get-bibkey-default, reftex-get-bib-names)
1549 (reftex-parse-bibtex-entry, reftex-get-bib-field)
1550 (reftex-format-bib-entry, reftex-parse-bibitem)
1551 (reftex-format-bibitem, reftex-do-citation)
1552 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
1553 (reftex-restrict-bib-matches, reftex-extract-bib-file)
1554 (reftex-insert-bib-matches, reftex-format-citation)
1555 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
1556 (reftex-create-bibtex-file): Add docstrings, mostly by converting
1557 existing comments into docstrings.
1559 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
1561 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
1563 2013-06-12 Andreas Schwab <schwab@suse.de>
1565 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
1566 for auto-save files.
1568 2013-06-12 Glenn Morris <rgm@gnu.org>
1570 * ido.el (ido-delete-ignored-files): Remove.
1571 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
1572 Go back to calling ido-ignore-item-p directly.
1574 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
1576 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
1578 * ido.el (ido-delete-ignored-files): New function,
1579 split from ido-make-file-list-1.
1580 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
1581 (ido-make-file-list-1): Use ido-delete-ignored-files.
1583 2013-06-12 Leo Liu <sdl.web@gmail.com>
1585 * progmodes/octave.el (inferior-octave-startup)
1586 (inferior-octave-completion-table)
1587 (inferior-octave-track-window-width-change)
1588 (octave-eldoc-function-signatures, octave-help)
1589 (octave-find-definition): Use single quoted strings.
1590 (inferior-octave-startup-args): Change default value.
1591 (inferior-octave-startup): Do not hard code "-i" and
1592 "--no-line-editing".
1593 (inferior-octave-resync-dirs): Add optional arg NOERROR.
1594 (inferior-octave-directory-tracker): Use it.
1595 (octave-goto-function-definition): Robustify.
1596 (octave-help): Support highlighting operators in 'See also'.
1597 (octave-find-definition): Find subfunctions only in Octave mode.
1599 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1601 * help-fns.el (help-fns--compiler-macro): If the handler function is
1602 named, then put a link to it.
1603 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
1604 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
1606 (cl-eval-when): Simplify debug spec.
1607 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
1608 compiler-macro function instead of setting `compiler-macro-file'.
1610 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
1612 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
1613 * vc/vc-hooks.el (vc-stay-local): Doc fix.
1615 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1616 Daniel Hackney <dan@haxney.org>
1618 First part of Daniel Hackney's patch to package.el.
1619 * emacs-lisp/package.el: Use defstruct.
1620 (package-desc): New, main struct.
1621 (package--bi-desc, package--ac-desc): New structs, used to describe the
1622 format in external files.
1623 (package-desc-vers): Replace with package-desc-version accessor.
1624 (package-desc-doc): Replace with package-desc-summary accessor.
1625 (package-activate-1): Remove `package' arg since the pkg-vec now
1627 (define-package): Use package-desc-from-define.
1628 (package-unpack-single): Change file-name arg to be a symbol.
1629 (package--add-to-archive-contents): Use package-desc-create and new
1630 accessor functions to package--ac-desc.
1631 (package-buffer-info, package-tar-file-info): Return a package-desc.
1632 (package-install-from-buffer): Remove `type' argument. Change pkg-info
1633 arg to be a package-desc.
1634 (package-install-file): Adjust accordingly. Use \' to match EOS.
1635 (package--from-builtin): New function.
1636 (describe-package-1, package-menu--generate): Use it.
1637 (package--make-autoloads-and-compile): Change name arg to be a symbol.
1638 (package-generate-autoloads): Idem and return the name of the file.
1639 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1640 Change pkg-info arg to be a package-desc.
1641 Use package-make-ac-desc.
1642 (package-upload-file): Use \' to match EOS.
1643 * finder.el (finder-compile-keywords): Use package-make-builtin.
1645 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1647 * vc/vc.el (vc-deduce-fileset): Change error message.
1648 (vc-read-backend): New function.
1649 (vc-next-action): Use it.
1651 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
1653 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
1654 (prolog-font-lock-keywords): Use regexp-opt instead.
1655 Don't manually highlight strings.
1656 (prolog-mode-variables): Simplify comment-start-skip.
1657 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
1659 * emacs-lisp/generic.el (generic--normalise-comments)
1660 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
1661 (generic-mode-set-comments): Use them.
1662 (generic-bracket-support): Use setq-local.
1663 (generic-make-keywords-list): Declare obsolete.
1665 2013-06-11 Glenn Morris <rgm@gnu.org>
1667 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1668 Prettify after setting font-lock-defaults. (Bug#14574)
1670 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
1672 * replace.el (query-replace, occur-read-regexp-defaults-function)
1674 * subr.el (declare-function, number-sequence, local-set-key)
1675 (substitute-key-definition, locate-user-emacs-file)
1676 (with-silent-modifications, split-string, eval-after-load):
1677 Fix typos, remove unneeded backslashes and reflow some docstrings.
1679 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1681 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
1682 default for Elisp files.
1684 2013-06-11 Glenn Morris <rgm@gnu.org>
1686 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
1687 although define-derived-mode was doing this anyway. (Bug#14583)
1689 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
1691 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1692 Fix make-variable-buffer-local call to refer to the correct variable.
1694 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
1696 * eshell/em-term.el (eshell-visual-commands)
1697 (eshell-visual-subcommands, eshell-visual-options):
1698 Add summary line to docstrings. Add cross-references.
1700 2013-06-10 Glenn Morris <rgm@gnu.org>
1702 * epa.el (epa-read-file-name): New function. (Bug#14510)
1703 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
1705 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
1707 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
1708 output redirection to be ignored with visual commands.
1710 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
1712 * eshell/em-term.el (eshell-visual-command-p): New function.
1713 (eshell-term-initialize): Move long lambda to separate function
1714 eshell-visual-command-p.
1715 * eshell/em-dirs.el (eshell-dirs-initialise):
1716 * eshell/em-script.el (eshell-script-initialize):
1717 Add missing #' to lambda.
1719 2013-06-08 Leo Liu <sdl.web@gmail.com>
1721 * progmodes/octave.el (octave-add-log-current-defun): New function.
1722 (octave-mode): Set add-log-current-defun-function.
1723 (octave-goto-function-definition): Do not move point if not found.
1724 (octave-find-definition): Enhance to try subfunctions first.
1726 2013-06-08 Glenn Morris <rgm@gnu.org>
1728 * emacs-lisp/bytecomp.el (byte-compile-char-before)
1729 (byte-compile-backward-char, byte-compile-backward-word):
1730 Improve previous change, to handle non-explicit nil.
1732 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1734 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
1735 (smie--opener/closer-at-point): New function.
1736 (smie--matching-block-data): Use it. Don't match from right after an
1737 opener or right before a closer. Obey smie-blink-matching-inners.
1738 Don't signal a mismatch for repeated inners like "switch..case..case".
1740 2013-06-07 Leo Liu <sdl.web@gmail.com>
1742 * progmodes/octave.el (octave-mode): Set comment-use-global-state
1744 (octave-function-header-regexp): Fix. (Bug#14570)
1745 (octave-help-mode-finish-hook, octave-help-mode-finish):
1746 Remove. Just use temp-buffer-show-hook.
1748 * newcomment.el (comment-search-backward): Revert last change.
1751 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
1753 2013-06-07 Eli Zaretskii <eliz@gnu.org>
1755 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
1756 through xargs, to avoid failure due to MS-Windows limitations on
1757 command-line length.
1759 2013-06-06 Glenn Morris <rgm@gnu.org>
1761 * font-lock.el (lisp-font-lock-keywords-2):
1762 Treat user-error like error.
1764 * emacs-lisp/bytecomp.el (byte-compile-char-before)
1765 (byte-compile-backward-char, byte-compile-backward-word):
1766 Handle explicit nil arguments. (Bug#14565)
1768 2013-06-05 Alan Mackenzie <acm@muc.de>
1770 * isearch.el (isearch-allow-prefix): New user option.
1771 (isearch-other-meta-char): Don't exit isearch when a prefix
1772 argument is typed whilst `isearch-allow-prefix' is non-nil.
1775 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1777 * autorevert.el (auto-revert-notify-handler): Use memq.
1778 Hide assertion failure.
1780 * skeleton.el: Use cl-lib.
1781 (skeleton-further-elements): Use defvar-local.
1782 (skeleton-insert): Use cl-progv.
1784 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1786 * progmodes/prog-mode.el (prog-prettify-symbols)
1787 (prog-prettify-install): Update docstrings.
1789 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1791 * simple.el: Move all the prog-mode code to prog-mode.el.
1792 * progmodes/prog-mode.el: New file.
1793 * loadup.el: Add prog-mode.el.
1795 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1797 * simple.el (prog-prettify-symbols): Add version.
1798 (prog-prettify-install): Add convenience function to prettify symbols.
1800 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
1801 (perl--augmented-font-lock-keywords-1)
1802 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
1803 variables and use it.
1805 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
1806 (cfengine3-mode): Remove unneeded variable and use it.
1808 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
1809 (lisp--augmented-font-lock-keywords-1)
1810 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
1811 Remove unneeded variables and use it.
1813 2013-06-05 João Távora <joaotavora@gmail.com>
1815 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
1816 to point when opening the connection. (Bug#14380)
1818 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1820 * subr.el (load-history-regexp, load-history-filename-element)
1821 (eval-after-load, after-load-functions, do-after-load-evaluation)
1822 (eval-next-after-load, display-delayed-warnings)
1823 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
1824 definition of save-match-data.
1825 (overriding-local-map): Remove accidental obsolescence declaration.
1827 * emacs-lisp/edebug.el (edebug-result): Move before first use.
1829 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1831 Generalize symbol prettify support to prog-mode and implement it
1832 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
1833 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
1834 (prog--prettify-font-lock-compose-symbol)
1835 (prog-prettify-font-lock-symbols-keywords): New variables and
1836 functions to support symbol prettification.
1837 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
1838 (lisp--augmented-font-lock-keywords-1)
1839 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
1840 (lisp--prettify-symbols-alist): Implement prettify of lambda.
1841 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
1842 (cfengine3--prettify-symbols-alist, cfengine3-mode):
1843 Implement prettify of -> => :: strings.
1844 * progmodes/perl-mode.el (perl-prettify-symbols)
1845 (perl--font-lock-compose-symbol)
1846 (perl--font-lock-symbols-keywords): Move to prog-mode.
1847 (perl--prettify-symbols-alist): Prettify -> => :: strings.
1848 (perl-font-lock-keywords-1)
1849 (perl-font-lock-keywords-2): Remove explicit prettify support.
1850 (perl--augmented-font-lock-keywords)
1851 (perl--augmented-font-lock-keywords-1)
1852 (perl--augmented-font-lock-keywords-2, perl-mode):
1853 Implement prettify support.
1855 2013-06-05 Leo Liu <sdl.web@gmail.com>
1857 Re-implement smie matching block highlight using
1858 show-paren-data-function. (Bug#14395)
1859 * emacs-lisp/smie.el (smie-matching-block-highlight)
1860 (smie--highlight-matching-block-overlay)
1861 (smie--highlight-matching-block-lastpos)
1862 (smie-highlight-matching-block)
1863 (smie-highlight-matching-block-mode): Remove.
1864 (smie--matching-block-data-cache): New variable.
1865 (smie--matching-block-data): New function.
1866 (smie-setup): Use smie--matching-block-data for
1867 show-paren-data-function.
1869 * progmodes/octave.el (octave-mode-menu): Fix.
1870 (octave-find-definition): Skip garbage lines.
1872 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1874 Fix compilation error with simultaneous dynamic+lexical scoping.
1875 Add warning when a defvar appears after the first let-binding.
1876 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
1877 (byte-compile-close-variables): Initialize it.
1878 (byte-compile--declare-var): New function.
1879 (byte-compile-file-form-defvar)
1880 (byte-compile-file-form-define-abbrev-table)
1881 (byte-compile-file-form-custom-declare-variable): Use it.
1882 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
1883 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
1884 (byte-compile-bind): Handle dynamic bindings that shadow
1886 (byte-compile-unbind): Make arg non-optional.
1887 (byte-compile-let): Simplify.
1888 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
1889 (cconv--analyse-function, cconv-analyse-form): Populate it.
1890 Protect byte-compile-bound-variables to limit the scope of defvars.
1891 (cconv-analyse-form): Add missing rule for (defvar <foo>).
1892 Remove unneeded rule for `declare'.
1894 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
1895 so as to avoid depending on cl-adjoin at run-time.
1896 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
1898 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
1899 (macroexp--warn-and-return): Use it.
1901 2013-06-05 Leo Liu <sdl.web@gmail.com>
1903 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
1905 2013-06-04 Leo Liu <sdl.web@gmail.com>
1907 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
1908 (compilation-auto-jump): Suppress the "Mark set" message to give
1909 way to exit message.
1911 2013-06-04 Alan Mackenzie <acm@muc.de>
1913 Remove faulty optimisation from indentation calculation.
1914 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
1915 search limit based on 2000 characters back from indent-point.
1917 2013-06-03 Tassilo Horn <tsdh@gnu.org>
1919 * eshell/em-term.el (cl-lib): Require `cl-lib'.
1921 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
1923 * emacs-lisp/lisp.el: Use lexical-binding.
1924 (lisp--local-variables-1, lisp--local-variables): New functions.
1925 (lisp--local-variables-completion-table): New var.
1926 (lisp-completion-at-point): Use it complete let-bound vars.
1928 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
1929 eagerly (bug#14422).
1931 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
1933 * autorevert.el (auto-revert-notify-enabled)
1934 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1935 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
1936 (auto-revert-notify-handler): Handle also gfilenotify.
1938 * subr.el (file-notify-handle-event): New defun. Replacing ...
1939 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
1942 2013-06-03 Juri Linkov <juri@jurta.org>
1944 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
1945 `M-s h .'. (Bug#14427)
1947 * hi-lock.el (highlight-symbol-at-point): New alias for the new
1948 command `hi-lock-face-symbol-at-point'.
1949 (hi-lock-face-symbol-at-point): New command.
1950 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
1951 (hi-lock-menu): Add `highlight-symbol-at-point'.
1952 (hi-lock-mode): Doc fix.
1954 * isearch.el (isearch-forward-symbol-at-point): New command.
1955 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
1956 (isearch-highlight-regexp): Add a regexp which matches
1957 words/symbols for word/symbol mode.
1959 * subr.el (find-tag-default-bounds): New function with the body
1960 mostly moved from `find-tag-default'.
1961 (find-tag-default): Move most code to `find-tag-default-bounds',
1962 call it and apply `buffer-substring-no-properties' afterwards.
1964 2013-06-03 Tassilo Horn <tsdh@gnu.org>
1966 * eshell/em-term.el (eshell-term-initialize):
1967 Use `cl-intersection' rather than `intersection'.
1969 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
1971 * vc/log-view.el: Doc fix.
1972 (log-view-mode-map): Copy keymap from `special-mode-map'.
1974 2013-06-02 Eric Ludlam <zappo@gnu.org>
1976 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
1977 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
1978 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
1979 (eieio-unbound, eieio-default-superclass)
1980 (eieio--define-field-accessors, method-static, method-before)
1981 (method-primary, method-after, method-num-lists)
1982 (method-generic-before, method-generic-primary)
1983 (method-generic-after, method-num-slots)
1984 (eieio-specialized-key-to-generic-key)
1985 (eieio--check-type, class-v, class-p)
1986 (eieio-class-name, define-obsolete-function-alias)
1987 (eieio-class-parents-fast, eieio-class-children-fast)
1988 (same-class-fast-p, class-constructor, generic-p)
1989 (generic-primary-only-p, generic-primary-only-one-p)
1990 (class-option-assoc, class-option, eieio-object-p)
1991 (class-abstract-p, class-method-invocation-order)
1992 (eieio-defclass-autoload-map, eieio-defclass-autoload)
1993 (eieio-class-un-autoload, eieio-defclass)
1994 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
1995 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
1996 (eieio--defgeneric-init-form, eieio-defgeneric-form)
1997 (eieio-defgeneric-reset-generic-form)
1998 (eieio-defgeneric-form-primary-only)
1999 (eieio-defgeneric-reset-generic-form-primary-only)
2000 (eieio-defgeneric-form-primary-only-one)
2001 (eieio-defgeneric-reset-generic-form-primary-only-one)
2002 (eieio-unbind-method-implementations)
2003 (eieio--defmethod, eieio--typep)
2004 (eieio-perform-slot-validation, eieio-validate-slot-value)
2005 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
2006 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
2007 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
2008 (eieio-slot-name-index, eieio-class-slot-name-index)
2009 (eieio-set-defaults, eieio-initarg-to-attribute)
2010 (eieio-attribute-to-initarg, eieio-c3-candidate)
2011 (eieio-c3-merge-lists, eieio-class-precedence-c3)
2012 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
2013 (eieio-class-precedence-list, eieio-generic-call-methodname)
2014 (eieio-generic-call-arglst, eieio-generic-call-key)
2015 (eieio-generic-call-next-method-list)
2016 (eieio-pre-method-execution-functions, eieio-generic-call)
2017 (eieio-generic-call-primary-only, eieiomt-method-list)
2018 (eieiomt-optimizing-obarray, eieiomt-install)
2019 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
2020 (eieio-generic-form, eieio-defmethod, make-obsolete)
2021 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
2022 (defclass): Remove `eval-and-compile' from macro.
2023 (call-next-method, shared-initialize): Instead of using
2024 `scoped-class' variable, use new eieio--scoped-class, and
2025 eieio--with-scoped-class.
2026 (initialize-instance): Rename local variable 'scoped-class' to
2027 'this-class' to remove ambiguitity from old global.
2029 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
2031 (eieio--scoped-class-stack): New variable.
2032 (eieio--scoped-class): New fcn.
2033 (eieio--with-scoped-class): New scoping macro.
2034 (eieio-defclass): Use pushnew instead of add-to-list.
2035 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
2036 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
2037 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
2038 `scoped-class' variable, use new eieio--scoped-class, and
2039 eieio--with-scoped-class.
2041 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
2043 2013-06-02 Tassilo Horn <tsdh@gnu.org>
2045 * eshell/esh-ext.el (eshell-external-command): Pass args to
2046 `eshell-find-interpreter'.
2047 (eshell-find-interpreter): Add new second parameter ARGS.
2049 * eshell/em-script.el (eshell-script-initialize): Add second arg
2050 to the function added as MATCH to `eshell-interpreter-alist'.
2052 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
2053 the function added as MATCH to `eshell-interpreter-alist'.
2055 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
2056 (eshell-visual-options): New defcustom.
2057 (eshell-escape-control-x): Adapt docstring.
2058 (eshell-term-initialize): Test `eshell-visual-subcommands' and
2059 `eshell-visual-options' in addition to `eshell-visual-commands'.
2060 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
2062 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
2064 * progmodes/python.el (python-indent-block-enders): Add break,
2065 continue and raise keywords.
2067 2013-06-01 Glenn Morris <rgm@gnu.org>
2069 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
2071 Plain (f)boundp silences compilation warnings since Emacs 22.1.
2072 * progmodes/cc-cmds.el (delete-forward-p):
2073 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
2074 * progmodes/cc-engine.el (buffer-syntactic-context):
2075 * progmodes/cc-fonts.el (face-property-instance):
2076 * progmodes/cc-mode.el (set-keymap-parents):
2077 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
2078 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
2079 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
2080 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
2081 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
2083 * progmodes/cc-vars.el (other): Emacs has this widget since
2084 at least 21.1, so don't (re)define it.
2086 * eshell/em-cmpl.el (eshell-cmpl-initialize):
2087 Replace the obsolete alias pcomplete-arg-quote-list.
2089 2013-06-01 Leo Liu <sdl.web@gmail.com>
2091 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
2093 (inferior-octave-minimal-columns)
2094 (inferior-octave-last-column-width): New variables.
2095 (inferior-octave-track-window-width-change): New function.
2096 (inferior-octave-mode): Adjust column width so that Octave output,
2097 for example from 'ls', can fit into the window nicely.
2099 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2101 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2102 Highlight expansions inside regexp literals.
2104 2013-05-31 Glenn Morris <rgm@gnu.org>
2106 * obsolete/sym-comp.el (symbol-complete):
2107 Replace obsolete completion-annotate-function.
2109 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
2111 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2113 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2114 New function, checks if point is inside a literal that allows
2115 expression expansion.
2116 (ruby-syntax-propertize-expansion): Use it.
2117 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
2120 2013-05-30 Juri Linkov <juri@jurta.org>
2122 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
2124 (isearch-invisible): New variable.
2125 (isearch-forward): Doc fix.
2126 (isearch-mode): Set `isearch-invisible'
2127 to the value of `search-invisible'.
2128 (isearch-toggle-case-fold): Doc fix.
2129 (isearch-toggle-invisible): New command.
2130 (isearch-query-replace): Let-bind `search-invisible'
2131 to the value of `isearch-invisible'.
2132 (isearch-search): Use `isearch-invisible' instead of
2133 `search-invisible'. Let-bind `search-invisible'
2134 to the value of `isearch-invisible'. (Bug#11378)
2136 2013-05-30 Juri Linkov <juri@jurta.org>
2138 * replace.el (perform-replace): Avoid `isearch-range-invisible'
2139 call when `query-flag' is nil and `search-invisible' is non-nil.
2142 2013-05-30 Glenn Morris <rgm@gnu.org>
2144 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
2146 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
2147 (cc-require): Suppress spurious "noruntime" warnings.
2148 (cc-require-when-compile): Use fboundp, for sake of compiler.
2150 * progmodes/cc-mode.el: Move load of cc-vars before that of
2151 cc-langs (which in turn loads cc-vars), to quieten compiler.
2153 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2155 * paren.el: Simplify the code.
2156 (show-paren-mode): Always start the timer.
2157 (show-paren--idle-timer): Rename from show-paren-idle-timer.
2158 (show-paren--overlay, show-paren--overlay-1): Rename from
2159 show-paren-overlay and show-paren-overlay-1, and initialize to an
2160 overlay rather than to nil.
2161 (show-paren-function): Misc cleanup and simplifications.
2163 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2165 * paren.el (show-paren-data-function): New hook.
2166 (show-paren--default): New function, extracted from show-paren-function.
2167 (show-paren-function): Use show-paren-data-function.
2169 2013-05-30 Glenn Morris <rgm@gnu.org>
2171 * ielm.el (ielm-map, ielm-complete-symbol):
2172 Use completion-at-point rather than obsolete functions.
2173 (inferior-emacs-lisp-mode): Doc fix.
2174 Set completion-at-point-functions, rather than
2175 comint-dynamic-complete-functions.
2177 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
2178 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
2179 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
2181 * image.el (image-animated-p): Tweak definition.
2183 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
2184 (rlogin-process-connection-type): Tweak default. Add set-after.
2185 (rlogin-host): Doc fix.
2186 (rlogin): Tweak prompt.
2187 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
2189 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
2190 * progmodes/tcl.el (inferior-tcl-mode-map):
2191 Use completion-at-point rather than obsolete alias.
2193 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
2195 * minibuffer.el (read-file-name-completion-ignore-case):
2196 Move before completion--in-region, for eager macro expansion.
2198 2013-05-29 Juri Linkov <juri@jurta.org>
2200 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
2201 for total count of matching lines. Add `global-matches' for total
2202 count of matches. Rename `matches' to `lines' for count of
2203 matching lines. Add `matches' for count of matches.
2204 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
2205 to `prev-line' for line number of prev match endpt.
2206 Increment `matches' for every match. Print the number of
2207 matching lines in the header.
2208 (occur-context-lines): Rename `lines' to `curr-line'.
2209 Rename `prev-lines' to `prev-line'. (Bug#14017)
2211 2013-05-29 Juri Linkov <juri@jurta.org>
2213 * replace.el (perform-replace): Add `skip-read-only-count',
2214 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
2215 Increment them for corresponding conditions and report the number
2216 of skipped occurrences in the final message. (Bug#11746)
2217 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2218 (replace-string, replace-regexp): Doc fix.
2220 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2222 * emacs-lisp/trace.el (trace--read-args): Provide a default.
2224 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
2225 prog-mode-map (bug#14504).
2227 2013-05-29 Leo Liu <sdl.web@gmail.com>
2229 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
2230 (octave-help): Small simplification.
2232 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
2233 off the highlight first.
2235 2013-05-29 Glenn Morris <rgm@gnu.org>
2237 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
2238 Handle idlwave-last-system-routine-info-cons-cell being nil.
2240 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
2241 (idlwave-write-paths): Simplify via with-temp-buffer.
2243 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
2244 * emulation/cua-rect.el: Also load cua-base at run time.
2246 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
2247 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
2248 (cperl-imenu-on-info): Require imenu.
2250 2013-05-28 Alan Mackenzie <acm@muc.de>
2252 Handle "capitalised keywords" correctly.
2253 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
2255 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
2257 * eshell/em-unix.el: Add -r option to cp.
2259 2013-05-28 Glenn Morris <rgm@gnu.org>
2261 * vc/vc-arch.el (vc-exec-after): Declare.
2262 (vc-switches): Autoload.
2263 * vc/vc-bzr.el: No need to require vc when compiling.
2264 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
2265 (vc-resynch-buffer, vc-dir-refresh): Declare.
2266 (vc-setup-buffer, vc-switches): Autoload.
2267 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
2268 (vc-resynch-buffer): Declare.
2269 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
2270 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
2271 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
2272 (grep-read-regexp, grep-read-files, grep-expand-template)
2273 (vc-dir-refresh): Declare.
2274 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
2275 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
2276 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
2277 * vc/vc-mtn.el (vc-exec-after): Declare.
2278 (vc-switches): Autoload.
2279 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
2280 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
2281 (vc-file-tree-walk): Declare.
2282 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
2283 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
2284 (vc-tag-precondition, vc-rename-master): Autoload.
2285 * vc/vc-svn.el (vc-exec-after): Declare.
2286 (vc-switches, vc-setup-buffer): Autoload.
2287 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
2289 (vc-resynch-buffer): Declare.
2291 * obsolete/fast-lock.el (byte-compile-warnings):
2292 Don't warn about obsolete features in this obsolete file.
2294 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
2295 Move definition before use.
2297 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
2298 (dun-unix-verbs): Remove dun-zippy.
2299 (dun-zippy): Remove function.
2301 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
2303 2013-05-27 Juri Linkov <juri@jurta.org>
2305 * replace.el (replace-search): New function with code moved out
2306 from `perform-replace'.
2307 (replace-highlight, replace-dehighlight): Move function definitions
2308 up closer to `replace-search'. (Bug#11746)
2310 2013-05-27 Juri Linkov <juri@jurta.org>
2312 * replace.el (perform-replace): Ignore invisible matches.
2313 In addition to checking `query-replace-skip-read-only', also
2314 filter out matches by calling `run-hook-with-args-until-failure'
2315 on `isearch-filter-predicates', and also check `search-invisible'
2316 for t or call `isearch-range-invisible'.
2317 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
2319 2013-05-27 Juri Linkov <juri@jurta.org>
2321 * isearch.el (isearch-filter-predicates): Rename from
2322 `isearch-filter-predicate'. Doc fix. (Bug#11378)
2323 (isearch-message-prefix): Display text from the property
2324 `isearch-message-prefix' of the currently active filters.
2325 (isearch-search): Don't compare `isearch-filter-predicate' with
2326 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
2327 on `isearch-filter-predicates'. Also check `search-invisible' for t
2328 or call `isearch-range-invisible'.
2329 (isearch-filter-visible): Make obsolete.
2330 (isearch-lazy-highlight-search):
2331 Call `run-hook-with-args-until-failure' on
2332 `isearch-filter-predicates' and use `isearch-range-invisible'.
2334 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
2335 `isearch-filter-predicates' instead of `funcall'ing
2336 `isearch-filter-predicate'.
2337 (Info-mode): Set `Info-isearch-filter' to
2338 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
2340 * dired-aux.el (dired-isearch-filter-predicate-orig):
2342 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
2343 (dired-isearch-filenames-end): Add and remove
2344 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
2345 instead of changing the value of `isearch-filter-predicate'.
2346 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
2347 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
2348 Put property `isearch-message-prefix' to "filename " on
2349 `dired-isearch-filter-filenames'.
2351 * wdired.el (wdired-change-to-wdired-mode):
2352 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
2353 locally instead of changing `isearch-filter-predicate'.
2354 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
2356 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
2358 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
2359 return the commit hash (Bug#14459). Also set the
2360 `vc-git-detached' property.
2361 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
2362 (vc-git-mode-line-string): Use the same help-echo format whether
2363 in detached mode or not, because we know the actual revision now.
2364 When in detached mode, shorten the revision to 7 chars.
2366 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2368 * emacs-lisp/easy-mmode.el (define-minor-mode):
2369 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
2370 mode hook and provide a docstring.
2372 2013-05-27 Alan Mackenzie <acm@muc.de>
2374 Remove spurious syntax-table text properties inserted by C-y.
2375 * progmodes/cc-mode.el (c-after-change): Also clear hard
2376 syntax-table property with value nil.
2378 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
2380 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
2381 when reading the events; the buffer layout shall not be changed.
2383 2013-05-27 Leo Liu <sdl.web@gmail.com>
2385 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
2387 (inferior-octave-directory-tracker): Automatically re-sync
2389 (octave-help): Improve handling of 'See also'.
2391 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2393 * doc-view.el: Minor naming convention tweaks.
2394 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
2396 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
2397 even if there's no `display' property yet (bug#14435).
2399 2013-05-25 Eli Zaretskii <eliz@gnu.org>
2401 * subr.el (unmsys--file-name): Rename from reveal-filename.
2403 * Makefile.in (custom-deps, finder-data, autoloads)
2404 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2405 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2406 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
2408 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2410 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
2411 error-completion on the first 2 args of condition-case (bug#14446).
2414 2013-05-25 Leo Liu <sdl.web@gmail.com>
2416 * comint.el (comint-previous-matching-input): Do not flood the
2417 *Messages* buffer with trivial messages.
2419 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2421 * progmodes/flymake.el (flymake-nop): Don't return a string.
2422 (flymake-set-at): Fix typo.
2424 * simple.el (read--expression): New function, extracted from
2425 eval-expression. Set completion-at-point-functions (bug#14465).
2426 (eval-expression, eval-minibuffer): Use it.
2428 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
2430 * progmodes/flymake.el (flymake-save-buffer-in-file)
2431 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
2432 (flymake-selected-frame, flymake-log, flymake-ins-after)
2433 (flymake-set-at, flymake-get-buildfile-from-cache)
2434 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
2435 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
2436 Refine the doc string.
2437 (flymake-get-file-name-mode-and-masks): Reformat.
2438 (flymake-get-real-file-name-function): Fix a minor bug.
2440 2013-05-24 Juri Linkov <juri@jurta.org>
2442 * progmodes/grep.el (grep-mode-font-lock-keywords):
2443 Support =linenumber= format used by git-grep for lines with
2444 function names. (Bug#13549)
2446 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2448 * progmodes/octave.el (octave-smie-rules): Return nil rather than
2449 0 after a semi-colon; it works better for smie-auto-fill.
2450 (octave--indent-new-comment-line): New function.
2451 (octave-indent-new-comment-line): Use it (indirectly).
2452 (octave-mode): Don't disable smie-auto-fill. Use add-function to
2453 modify comment-line-break-function.
2455 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
2456 (smie-setup): Use add-function to set it.
2458 2013-05-24 Sam Steingold <sds@gnu.org>
2460 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
2461 argument (before the `interactive' argument).
2463 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2465 * image-mode.el (image-mode-winprops): Add winprops to
2466 image-mode-winprops-alist before running
2467 image-mode-new-window-functions.
2468 * doc-view.el (doc-view-new-window-function): Don't delay
2469 doc-view-goto-page via timers (bug#14435).
2471 2013-05-24 Tassilo Horn <tsdh@gnu.org>
2473 * doc-view.el: Integrate with desktop.el. (Bug#14435)
2474 (doc-view-desktop-save-buffer): New function.
2475 (doc-view-restore-desktop-buffer): New function.
2476 (desktop-buffer-mode-handlers):
2477 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
2479 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
2480 `desktop-save-buffer' function.
2482 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
2484 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
2485 (tramp-gvfs-file-name-handler): Raise a user error when
2486 `tramp-gvfs-enabled' is nil.
2487 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
2488 Do not raise a user error when loading package. (Bug#14447)
2490 * net/xesam.el: Move to obsolete/.
2492 2013-05-24 Glenn Morris <rgm@gnu.org>
2494 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
2496 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
2498 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
2499 (Info-find-node, Man-getpage-in-background): Declare.
2501 * mail/unrmail.el (unrmail):
2502 Replace obsolete detect-coding-with-priority.
2504 * net/socks.el (socks-split-string): Use this rather than split-string.
2505 (socks-nslookup-host): Update for above change.
2506 (dynamic-choice, s5-dynamic-choice-match)
2507 (s5-dynamic-choice-match-inline, s5-widget-value-create):
2508 Comment out unused code.
2510 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
2511 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
2512 (gud-tooltip-echo-area): Make obsolete.
2513 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
2515 * progmodes/js.el (js--optimize-arglist): Declare.
2517 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
2519 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
2520 (ediff-window-C): Declare.
2522 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
2523 Tweak requires to silence compiler.
2525 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
2526 (he-search-string, he-tried-table, he-expand-list)
2527 (he-init-string, he-string-member, he-substitute-string)
2528 (he-reset-string): Declare.
2530 * obsolete/options.el (list-options): Use custom-variable-p,
2531 rather than obsolete alias.
2533 2013-05-23 Sam Steingold <sds@gnu.org>
2535 * simple.el (shell-command-on-region): Pass the `replace' argument
2536 down to `call-process-region' to comply with the doc as reported on
2537 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
2539 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2541 * emacs-lisp/smie.el (smie-indent-forward-token)
2542 (smie-indent-backward-token): Handle string tokens (bug#14381).
2544 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2546 * ielm.el (ielm-menu): New menu.
2547 (inferior-emacs-lisp-mode): Set comment-start.
2549 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2551 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
2552 Fix deactivate action.
2554 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
2555 Add cleveref macros.
2557 * lisp/textmodes/reftex-parse.el
2558 (reftex-locate-bibliography-files): Accept options for
2559 bibliography commands.
2560 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
2561 Add addbibresource. Basic Biblatex support.
2563 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
2565 * net/tramp-gvfs.el (top):
2566 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
2567 when loading package. (Bug#14447)
2569 2013-05-23 Glenn Morris <rgm@gnu.org>
2571 * progmodes/js.el: No need to load comint when compiling.
2572 (ring-insert, comint-send-string, comint-send-input)
2573 (comint-last-input-end, ido-chop): Declare.
2575 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
2576 * vc/ediff-mult.el: Adjust requires.
2577 (ediff-directories-internal, ediff-directory-revisions-internal)
2578 (ediff-patch-file-internal): Declare.
2579 * vc/ediff-ptch.el: Adjust requires.
2580 (ediff-use-last-dir, ediff-buffers-internal): Declare.
2581 (ediff-find-file): Autoload.
2582 * vc/ediff-util.el: No need to load ediff when compiling.
2583 (ediff-regions-internal): Declare.
2584 * vc/ediff-wind.el: Adjust requires.
2585 (ediff-compute-toolbar-width): Define when compiling.
2586 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
2587 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
2588 (dired-get-filename, dired-get-marked-files)
2589 (ediff-last-dir-patch, ediff-patch-default-directory)
2590 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
2591 (ediff-patch-buffer-internal): Declare.
2593 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
2594 (ispell-process, ispell-buffer-local-words, lm-summary)
2595 (lm-section-start, lm-section-end): Declare.
2596 (checkdoc-ispell-init): Simplify.
2598 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
2599 (he-string-member, he-reset-string, he-substitute-string): Declare.
2601 * eshell/em-ls.el: Adjust requires.
2602 (eshell-glob-regexp): Declare.
2603 * eshell/em-tramp.el: Adjust requires.
2604 (eshell-parse-command): Autoload.
2605 * eshell/em-xtra.el: Adjust requires.
2606 (eshell-parse-command): Autoload.
2607 * eshell/esh-ext.el: Adjust requires.
2608 (eshell-parse-command, eshell-close-handles): Autoload.
2609 * eshell/esh-io.el: Adjust requires.
2610 (eshell-output-filter): Autoload.
2611 * eshell/esh-util.el: No need to load tramp when compiling.
2612 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
2614 (eshell-parse-ange-ls): Require ange-ftp and tramp.
2615 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2616 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
2617 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
2618 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
2619 * eshell/esh-opt.el, eshell/esh-proc.el:
2620 * eshell/esh-var.el: Adjust requires.
2621 * eshell/eshell.el: Do not require esh-util twice.
2622 (eshell-add-input-to-history): Declare.
2623 (eshell-command): Check history module is active before using it.
2625 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
2627 2013-05-22 Leo Liu <sdl.web@gmail.com>
2629 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
2631 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
2633 * autorevert.el (auto-revert-notify-add-watch)
2634 (auto-revert-notify-handler): Add `attrib' for the inotify case,
2635 it indicates changes in file modification time.
2637 2013-05-22 Glenn Morris <rgm@gnu.org>
2639 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2640 Always delete the autoloaded function from the noruntime and
2641 unresolved functions lists.
2643 * allout.el: No need to load epa, epg, overlay when compiling.
2644 (epg-context-set-passphrase-callback, epg-list-keys)
2645 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
2646 (epg-key-user-id-list): Declare.
2648 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
2649 (viper-set-parsing-style-toggling-macro)
2650 (viper-set-emacs-state-searchstyle-macros):
2651 Use called-interactively-p on Emacs.
2652 (viper-looking-back): Make it an obsolete alias. Update callers.
2653 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
2654 Use looking-back rather than viper-looking-back.
2655 (viper-tmp-insert-at-eob, viper-enlarge-region)
2656 (viper-read-string-with-history, viper-register-to-point)
2657 (viper-append-to-register, viper-change-state-to-vi)
2658 (viper-backward-char-carefully, viper-forward-char-carefully)
2659 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
2660 (viper-change-state-to-emacs): Declare.
2661 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
2662 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
2663 * emulation/viper-mous.el: Do not load viper-cmd.
2664 (viper-backward-char-carefully, viper-forward-char-carefully)
2665 (viper-forward-word, viper-adjust-window): Declare.
2667 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
2669 * progmodes/idlw-help.el (idlwave-help-fontify):
2670 Use called-interactively-p.
2672 * term/w32console.el (w32-get-console-codepage)
2673 (w32-get-console-output-codepage): Declare.
2675 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
2676 Remove unnecessary declarations.
2677 (dframe-message): Doc fix.
2679 * info.el (dframe-select-attached-frame, dframe-current-frame):
2682 * speedbar.el (speedbar-message): Make it an obsolete alias.
2684 (speedbar-with-attached-buffer)
2685 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
2686 (speedbar-with-writable): Use backquote.
2687 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
2688 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2689 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
2690 rather than speedbar- aliases.
2691 * mail/rmail.el: Load dframe rather than speedbar when compiling.
2692 (speedbar-make-specialized-keymap, speedbar-insert-button)
2693 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
2694 (speedbar-do-function-pointer): Declare.
2695 (rmail-speedbar-button, rmail-speedbar-find-file)
2696 (rmail-speedbar-move-message):
2697 Use dframe-with-attached-buffer rather than speedbar- alias.
2698 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
2699 (dframe-message, speedbar-make-specialized-keymap)
2700 (speedbar-add-expansion-list, speedbar-mode-functions-list)
2701 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
2702 (speedbar-insert-button, dframe-select-attached-frame)
2703 (dframe-maybee-jump-to-attached-frame)
2704 (speedbar-change-initial-expansion-list)
2705 (speedbar-previously-used-expansion-list-name): Declare.
2706 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
2707 Use dframe-message, dframe-with-attached-buffer rather than
2709 (gud-sentinel): Silence compiler.
2710 * progmodes/vhdl-mode.el (speedbar-refresh)
2711 (speedbar-do-function-pointer, speedbar-add-supported-extension)
2712 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
2713 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
2714 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
2715 (speedbar-file-lists, speedbar-make-tag-line)
2716 (speedbar-line-directory, speedbar-goto-this-file)
2717 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
2718 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
2719 (speedbar-make-button, speedbar-reset-scanners)
2720 (speedbar-files-item-info, speedbar-line-text)
2721 (speedbar-find-file-in-frame, speedbar-set-timer)
2722 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
2723 (speedbar-with-writable): Do not (re)define it.
2724 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
2725 rather than speedbar- alias.
2727 2013-05-21 Leo Liu <sdl.web@gmail.com>
2729 * progmodes/octave.el (octave-mode-menu): Update and re-organize
2731 (octave-mode): Tweak fill-nobreak-predicate.
2732 (inferior-octave-startup): Check process to avoid infinite loop.
2733 (inferior-octave): Pop to buffer first to show abornmal process
2736 2013-05-21 Glenn Morris <rgm@gnu.org>
2738 * printing.el (pr-menu-bar): Define when compiling.
2740 2013-05-21 Leo Liu <sdl.web@gmail.com>
2742 * progmodes/octave.el (octave-auto-fill): Remove.
2743 (octave-indent-new-comment-line): Improve.
2744 (octave-mode): Use auto fill mode through
2745 comment-line-break-function and fill-nobreak-predicate.
2746 (octave-goto-function-definition): Support DEFUN_DLD.
2747 (octave-beginning-of-defun): Small tweak.
2748 (octave-help): Show parent directory.
2750 2013-05-21 Glenn Morris <rgm@gnu.org>
2752 * files.el (dired-unmark):
2753 * progmodes/gud.el (gdb-input): Update declarations.
2755 * calculator.el (electric, ehelp): No need to load when compiling.
2756 (Electric-command-loop, electric-describe-mode): Declare.
2758 * doc-view.el (doc-view-current-converter-processes): Move before use.
2760 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2761 Move MODE-set-explicitly definition before use.
2763 * international/mule-diag.el (mule-diag):
2764 Don't use obsolete window-system-version.
2766 * mail/feedmail.el (smtpmail): No need to load when compiling.
2767 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
2769 * mail/mail-utils.el (rfc822): No need to load when compiling.
2770 (rfc822-addresses): Autoload it.
2771 (mail-strip-quoted-names): Trivial simplification.
2773 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
2774 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
2776 * net/snmp-mode.el (tempo): Don't duplicate requires.
2778 * progmodes/prolog.el (info): No need to load when compiling.
2779 (comint): Require before shell requires it.
2780 (Info-goto-node): Autoload it.
2781 (Info-follow-nearest-node): Declare.
2782 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
2784 * textmodes/artist.el (picture-mode-exit): Declare.
2786 * textmodes/reftex-parse.el (reftex-parse-from-file):
2787 Trivial rewrite so the compiler can parse it better.
2789 2013-05-20 Leo Liu <sdl.web@gmail.com>
2791 * progmodes/octave.el (octave-help-mode-map)
2792 (octave-help-mode-finish-hook): New variables.
2793 (octave-help-mode, octave-help-mode-finish): New functions.
2794 (octave-help): Use octave-help-mode.
2796 2013-05-20 Glenn Morris <rgm@gnu.org>
2798 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
2800 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
2802 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
2803 start at point, so that expansion starting right after opening
2804 slash in a regexp is recognized.
2805 (ruby-syntax-before-regexp-re): New defvar, extracted from
2806 ruby-syntax-propertize-function. Since the value of this regexp
2807 is looked up at runtime now, we should be able to turn
2808 `ruby-syntax-methods-before-regexp' into a defcustom later.
2809 (ruby-syntax-propertize-function): Split regexp matching into two
2810 parts, for opening and closing slashes. That allows us to skip
2811 over string interpolations and support multiline regexps.
2812 Don't call `ruby-syntax-propertize-expansions', instead use another rule
2813 for them, which calls `ruby-syntax-propertize-expansion'.
2814 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
2815 call to `ruby-syntax-propertize-function'.
2816 (ruby-syntax-propertize-expansion): Extracted from
2817 `ruby-syntax-propertize-expansions'. Handles one expansion.
2818 (ruby-syntax-propertize-percent-literal): Leave point right after
2819 the percent symbol, so that the expression expansion rule can
2820 propertize the contents.
2821 (ruby-syntax-propertize-heredoc): Leave point at bol following the
2823 (ruby-syntax-propertize-expansions): Remove.
2825 2013-05-18 Juri Linkov <juri@jurta.org>
2827 * man.el (Man-default-man-entry): Remove `-' from the end
2828 of the default value. (Bug#14400)
2830 2013-05-18 Glenn Morris <rgm@gnu.org>
2832 * comint.el (comint-password-prompt-regexp):
2833 Allow "password for XXX" where XXX contains colons (eg https://...).
2835 2013-05-18 Leo Liu <sdl.web@gmail.com>
2837 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
2838 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
2839 (octave-source-directories): Don't check process.
2840 (octave-source-directories, octave-find-definition): Doc fix.
2842 2013-05-18 Glenn Morris <rgm@gnu.org>
2844 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
2845 Remove backspace/delete bindings. (Bug#14392)
2847 * cus-dep.el (custom-make-dependencies): Sort the output.
2848 (custom-versions-load-alist): Convert comment to doc.
2850 2013-05-17 Leo Liu <sdl.web@gmail.com>
2852 * newcomment.el (comment-search-backward): Stricter in finding
2853 comment start. (Bug#14303)
2855 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
2856 (octave-comment-start-skip): Properly anchored.
2858 2013-05-17 Leo Liu <sdl.web@gmail.com>
2860 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
2861 Clean up when turned off. (Bug#14395)
2862 (smie--highlight-matching-block-overlay): No longer buffer-local.
2863 (smie-highlight-matching-block): Adjust.
2865 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
2867 Doc string fix for "nanoseconds" (Bug#14406).
2868 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
2869 Fix doc string typo that had "nanoseconds" instead of "microseconds".
2871 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
2873 * calc/calc-units.el (math-extract-units): Preserve powers
2876 2013-05-17 Leo Liu <sdl.web@gmail.com>
2878 * subr.el (delete-consecutive-dups): New function.
2879 * ido.el (ido-set-matches-1): Use it.
2880 * progmodes/octave.el (inferior-octave-completion-table): Use it.
2881 * ido.el (ido-remove-consecutive-dups): Remove.
2883 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2885 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2886 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
2887 regexp-opt's `words'.
2889 2013-05-16 Leo Liu <sdl.web@gmail.com>
2891 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
2892 (smie--highlight-matching-block-overlay)
2893 (smie--highlight-matching-block-lastpos)
2894 (smie--highlight-matching-block-timer): New variables.
2895 (smie-highlight-matching-block): New function.
2896 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
2897 (smie-setup): Conditionally enable smie-blink-matching-open.
2899 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
2901 Sync with upstream verilog-mode r840.
2902 * progmodes/verilog-mode.el (verilog-mode-version)
2903 (verilog-mode-release-date): Update.
2904 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
2905 (verilog-sig-tieoff): Fix string error on
2906 AUTORESET with colon define, bug594. Reported by Andrew Hou.
2907 (verilog-read-decls): Fix parameters confusing
2908 AUTOINST interfaces, bug565. Reported by Leith Johnson.
2910 2013-05-16 Eli Zaretskii <eliz@gnu.org>
2912 * subr.el (reveal-filename): New function.
2914 * loadup.el: Compute Emacs executable versions on MS-Windows,
2915 where executables have the .exe extension. Add a hard link
2916 emacs-XX.YY.ZZ.exe on MS-Windows.
2918 * Makefile.in (XARGS_LIMIT): New variable.
2919 (custom-deps, finder-data, autoloads)
2920 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2921 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2922 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
2923 (compile-main): Limit xargs according to $(XARGS_LIMIT).
2925 2013-05-16 Leo Liu <sdl.web@gmail.com>
2927 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
2928 (octave-mode-menu, octave-mode-map): Remove its uses.
2930 2013-05-16 Reto Zimmermann <reto@gnu.org>
2932 Sync with upstream vhdl mode v3.34.2.
2933 * progmodes/vhdl-mode.el: Use `push' throughout.
2934 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
2935 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
2936 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
2937 (vhdl-actual-generic-name): New option to derive actual generic name.
2938 (vhdl-port-paste-signals): Replace formal by actual generics.
2939 (vhdl-beautify): New name for old group vhdl-align. Update users.
2940 (vhdl-beautify-options): New option.
2941 (vhdl-last-input-event): New compat alias. Use throughout.
2942 (vhdl-goto-line): Replace user level function `goto-line'.
2943 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
2944 vhdl-fix-statement-buffer.
2945 (vhdl-create-mode-menu): Add some entries.
2946 (vhdl-align-region-groups): Respect vhdl-beautify-options.
2947 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
2948 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
2949 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
2950 to force statements on one line.
2951 (vhdl-remove-trailing-spaces-region):
2952 New, split from vhdl-remove-trailing-spaces.
2953 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
2954 Respect vhdl-beautify-options.
2955 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
2956 (vhdl-update-sensitivity-list): Not add with index if exists without.
2957 Not include array index with signal. Ignore keywords in comments.
2958 (vhdl-get-visible-signals): Regexp tweaks.
2959 (vhdl-template-component-inst): Handle empty library.
2960 (vhdl-template-type): Add template for 'enum' type.
2961 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
2962 Use vhdl-replace-string.
2963 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
2964 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
2965 (vhdl-speedbar-initialize): Update for above name change.
2966 (vhdl-compose-wire-components): Fix in handling of constants.
2967 (vhdl-error-regexp-emacs-alist): New variable.
2968 (vhdl-error-regexp-add-emacs): New function;
2969 adds support for new compile.el (Emacs 22+)
2970 (vhdl-generate-makefile-1): Change target order for single lib. units.
2971 Allow use of absolute file names.
2973 2013-05-16 Leo Liu <sdl.web@gmail.com>
2975 * simple.el (prog-indent-sexp): Indent enclosing defun.
2977 2013-05-15 Glenn Morris <rgm@gnu.org>
2979 * cus-start.el (show-trailing-whitespace): Move to editing basics.
2980 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
2981 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
2982 (whitespace-highlight): Move to whitespace group.
2984 * comint.el (comint-source):
2985 * pcmpl-linux.el (pcmpl-linux):
2986 * shell.el (shell-faces):
2987 * eshell/esh-opt.el (eshell-opt):
2988 * international/ccl.el (ccl): Remove empty custom groups.
2990 * completion.el (dynamic-completion-mode):
2991 * jit-lock.el (jit-lock-debug-mode):
2992 * minibuffer.el (completion-in-region-mode):
2993 * type-break.el (type-break-mode-line-message-mode)
2994 (type-break-query-mode):
2995 * emulation/tpu-edt.el (tpu-edt-mode):
2996 * progmodes/subword.el (global-subword-mode, global-superword-mode):
2997 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2998 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
3000 * term/xterm.el (xterm): Change parent group to terminals.
3002 * master.el (master): Remove empty custom group.
3003 (master-mode): Remove unused :group argument.
3004 * textmodes/refill.el (refill): Remove empty custom group.
3005 (refill-mode): Remove unused :group argument.
3007 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
3009 * cus-dep.el: Provide a feature.
3010 (custom-make-dependencies): Ignore dotfiles (dir-locals).
3011 Don't mistakenly ignore files whose basenames match a basename
3012 from preloaded-file-list (eg cedet/ede/simple.el).
3013 Add a fallback method for getting :group.
3015 2013-05-15 Juri Linkov <juri@jurta.org>
3017 * isearch.el (isearch-char-by-name): Rename from
3018 `isearch-insert-char-by-name'. Doc fix.
3019 (isearch-forward): Mention `isearch-char-by-name' in
3020 the docstring. (Bug#13348)
3022 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
3023 `exit-minibuffer' instead of
3024 `isearch-nonincremental-exit-minibuffer'.
3025 (isearch-edit-string): Remove mention of
3026 `isearch-nonincremental-exit-minibuffer' from docstring.
3027 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
3028 (isearch-forward-exit-minibuffer)
3029 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
3031 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3033 * loadup.el: Just use unversioned DOC.
3035 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
3036 literals as extending to EOB.
3037 (nxml-last-fontify-end): Remove unused variable.
3038 (nxml-after-change1): Use with-silent-modifications.
3039 (nxml-extend-after-change-region): Simplify.
3040 (nxml-extend-after-change-region1): Remove function.
3041 (nxml-after-change1): Don't adjust for dependent regions.
3042 (nxml-fontify-matcher): Simplify.
3043 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
3044 (xmltok-add-dependent): Remove function.
3045 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
3046 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
3047 (xmltok-scan-prolog-after-processing-instruction-open): Treat
3048 unclosed <[[, <?, comment, and other literals as extending to EOB.
3049 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
3050 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
3052 (rng-do-some-validation-1): Don't mark dependent regions.
3053 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
3054 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
3055 (nxml-clear-dependent-regions): Remove functions.
3056 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
3057 (nxml-ensure-scan-up-to-date):
3058 Don't clear&mark dependent regions.
3060 2013-05-15 Leo Liu <sdl.web@gmail.com>
3062 * progmodes/octave.el (octave-goto-function-definition):
3063 Improve and fix callers.
3065 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3067 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
3068 the setter (bug#14387).
3070 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
3071 surrounding group (bug#14402).
3073 2013-05-14 Juri Linkov <juri@jurta.org>
3075 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
3078 2013-05-14 Glenn Morris <rgm@gnu.org>
3080 * progmodes/f90.el (f90-imenu-generic-expression):
3081 Fix typo in 2013-05-08 change. (Bug#14402)
3083 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3085 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
3086 Remove signals for which replies are never received.
3088 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3090 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
3091 (gdb-handler-alist, gdb-handler-number): Remove variables.
3092 (gdb-handler-list): New variable.
3093 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
3094 (gdb-pending-handler-p, gdb-handle-reply)
3095 (gdb-remove-all-pending-triggers): New functions.
3096 (gdb-discard-unordered-replies): New defcustom.
3097 (gdb-handler): New defstruct.
3098 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
3099 instead of gdb-pending-triggers. Update docstring.
3100 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
3101 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
3102 (gdb-var-update-handler, def-gdb-auto-update-trigger)
3103 (def-gdb-auto-update-handler, gdb-get-changed-registers)
3104 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
3105 (gdb-frame-handler): Pending triggers are now automatically managed.
3106 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
3108 (gdb-input): Automatically handles pending triggers. Update docstring.
3109 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
3110 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
3112 (gdb-done-or-error): Now use gdb-handle-reply.
3114 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3116 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
3119 2013-05-14 Glenn Morris <rgm@gnu.org>
3121 * subr.el (user-emacs-directory-warning): New option.
3122 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
3124 2013-05-14 Leo Liu <sdl.web@gmail.com>
3126 * progmodes/octave.el (octave-font-lock-keywords): Fix error
3128 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
3129 (octave-font-lock-texinfo-comment): Fix invalid search bound
3130 error: wrong side of point.
3132 2013-05-14 Glenn Morris <rgm@gnu.org>
3134 * progmodes/flymake.el (flymake-xml-program): New option.
3135 (flymake-xml-init): Use it.
3137 * term/xterm.el: Provide a feature.
3139 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
3141 2013-05-13 Glenn Morris <rgm@gnu.org>
3143 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
3144 Add compat aliases as a hack workaround. (Bug#14384)
3146 2013-05-13 Leo Liu <sdl.web@gmail.com>
3148 * progmodes/octave.el (octave-indent-comment): Fix indentation for
3150 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
3152 (octave-comment-start-skip): Include %!.
3153 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
3155 2013-05-12 Leo Liu <sdl.web@gmail.com>
3157 * progmodes/octave.el (inferior-octave-startup): Store the value
3158 of __octave_srcdir__ for octave-source-directories.
3159 (inferior-octave-check-process): New function refactored out of
3160 inferior-octave-send-list-and-digest.
3161 (octave-source-directories)
3162 (octave-find-definition-filename-function): New variables.
3163 (octave-source-directories)
3164 (octave-find-definition-default-filename): New functions.
3165 (octave-find-definition): Improve to find functions implemented in C++.
3167 2013-05-12 Glenn Morris <rgm@gnu.org>
3169 * calendar/diary-lib.el (diary-outlook-format-1):
3170 Don't include dayname in the output. (Bug#14349)
3172 2013-05-11 Glenn Morris <rgm@gnu.org>
3174 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
3176 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
3177 Treat cc-provide like provide.
3179 2013-05-11 Kevin Ryde <user42@zip.com.au>
3181 * cus-dep.el (custom-make-dependencies):
3182 Use generated-autoload-load-name for the sake of files such
3183 such cedet/semantic/bovine/c.el, where the base file name
3184 is not in load-path. (Bug#5277)
3186 2013-05-11 Glenn Morris <rgm@gnu.org>
3188 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
3191 2013-05-11 Leo Liu <sdl.web@gmail.com>
3193 * progmodes/octave.el (octave-indent-comment): Improve.
3194 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
3195 (octave-eldoc-function-signatures, octave-eldoc-function):
3197 (octave-mode, inferior-octave-mode): Add eldoc support.
3199 2013-05-11 Richard Stallman <rms@gnu.org>
3201 * epa.el (epa-decrypt-file): Take output file name as argument
3202 and read it using `interactive'.
3204 2013-05-11 Leo Liu <sdl.web@gmail.com>
3206 * progmodes/octave.el (octave-beginning-of-line)
3207 (octave-end-of-line): Check before using up-list because it jumps
3208 out of more syntactic contructs since moving to smie.
3209 (octave-indent-comment): New function.
3210 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
3211 (octave-begin-keywords, octave-end-keywords)
3212 (octave-reserved-words, octave-smie-bnf-table)
3213 (octave-smie-rules): Add new keywords from Octave 3.6.4.
3215 2013-05-11 Glenn Morris <rgm@gnu.org>
3217 * faces.el (internal-face-x-get-resource):
3218 * frame.el (ns-display-monitor-attributes-list):
3219 * calc/calc-aent.el (math-to-radians-2):
3220 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
3223 * calc/calc-menu.el: Make it loadable in isolation.
3225 * net/eudcb-bbdb.el: Make it loadable without bbdb.
3226 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
3227 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
3228 (eudc-bbdb-query-internal): Require 'bbdb.
3230 * lpr.el (lpr-headers-switches):
3231 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
3233 * progmodes/sql.el (sql-login-params): Fix and improve :type.
3235 * emulation/edt-mapper.el: In batch mode, error rather than hang.
3237 * term.el (term-set-escape-char): Make it idempotent.
3239 2013-05-10 Leo Liu <sdl.web@gmail.com>
3241 * progmodes/octave.el (inferior-octave-completion-table):
3242 No longer a function and all uses changed. Use cache to speed up
3243 completion due to bug#11906.
3244 (octave-beginning-of-defun): Re-write to be more general.
3246 2013-05-10 Glenn Morris <rgm@gnu.org>
3248 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
3250 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3252 * comint.el (comint-redirect-send-command-to-process): Use :around
3253 rather than :override for comint-redirect-filter.
3254 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
3255 Call it instead of comint-redirect-original-filter-function (which
3256 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
3258 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
3260 * frame.el (display-monitor-attributes-list): Add NS case.
3261 (ns-display-monitor-attributes-list): Declare.
3263 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
3265 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
3267 2013-05-09 Glenn Morris <rgm@gnu.org>
3269 * international/fontset.el (vertical-centering-font-regexp):
3272 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
3274 * bookmark.el (bookmark-search-delay):
3275 * cus-start.el (vertical-centering-font-regexp):
3276 * ps-mule.el (ps-mule-font-info-database-default):
3277 * ps-print.el (ps-default-fg, ps-default-bg):
3278 * type-break.el (type-break-good-break-interval):
3279 * whitespace.el (whitespace-indentation-regexp)
3280 (whitespace-space-after-tab-regexp):
3281 * emacs-lisp/testcover.el (testcover-1value-functions)
3282 (testcover-noreturn-functions, testcover-progn-functions)
3283 (testcover-prog1-functions):
3284 * emulation/viper-init.el (viper-emacs-state-cursor-color):
3285 * eshell/em-glob.el (eshell-glob-translate-alist):
3286 * play/tetris.el (tetris-tty-colors):
3287 * progmodes/cpp.el (cpp-face-default-list):
3288 * progmodes/flymake.el (flymake-allowed-file-name-masks):
3289 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
3290 (idlwave-help-browser-generic-args):
3291 * progmodes/make-mode.el (makefile-special-targets-list):
3292 * progmodes/python.el (python-shell-virtualenv-path):
3293 * progmodes/verilog-mode.el (verilog-active-low-regexp)
3294 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
3295 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
3296 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
3297 * textmodes/reftex-vars.el (reftex-format-label-function):
3298 * textmodes/remember.el (remember-diary-file): Fix custom types.
3300 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
3303 2013-05-09 Leo Liu <sdl.web@gmail.com>
3305 * progmodes/octave.el (inferior-octave-completion-at-point):
3306 Restore file completion. (Bug#14300)
3307 (inferior-octave-startup): Fix incorrect highlighting for the
3310 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3312 * progmodes/ruby-mode.el: First cut at SMIE support.
3313 (ruby-use-smie): New var.
3314 (ruby-smie-grammar): New constant.
3315 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
3316 (ruby-smie--forward-token, ruby-smie--backward-token)
3317 (ruby-smie-rules): New functions.
3318 (ruby-mode-variables): Setup SMIE if applicable.
3320 2013-05-08 Eli Zaretskii <eliz@gnu.org>
3322 * simple.el (line-move-visual): Signal beginning/end of buffer
3323 only if vertical-motion moved less than it was requested. Avoids
3324 silly incorrect error messages when there are display strings with
3325 multiple newlines at EOL.
3327 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3329 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
3330 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
3331 (prolog-char-quote-workaround):
3332 * progmodes/cperl-mode.el (cperl-under-as-char):
3333 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
3335 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
3337 (vhdl-mode-syntax-table-init): Remove.
3339 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
3342 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
3344 (ld-script-font-lock-keywords):
3345 Change regexps to use things like \_< and \_>.
3347 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
3348 Change all regexps to use things like \_< and \_>.
3350 * progmodes/autoconf.el (autoconf-definition-regexp)
3351 (autoconf-font-lock-keywords, autoconf-current-defun-function):
3352 Handle a _ with symbol syntax.
3353 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
3355 * progmodes/ada-mode.el (ada-mode-abbrev-table):
3356 Consolidate declaration.
3357 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
3359 (ada-create-syntax-table): Remove.
3360 (ada-capitalize-word): Don't mess with the syntax of "_" since it
3361 already has the right syntax nowadays.
3362 (ada-goto-next-word): Don't change the syntax of "_".
3364 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
3367 2013-05-08 Sam Steingold <sds@gnu.org>
3369 * thingatpt.el (thing-at-point): Accept optional second argument
3370 NO-PROPERTIES to strip the text properties from the return value.
3371 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
3372 to `thing-at-point' instead of stripping the properties ourselves.
3373 Also, when `thing-at-point' fails to find a url, prepend "http://"
3374 to the filename at point on the assumption that the user is
3375 pointing at something like gnu.org/gnu.
3377 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
3379 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
3380 * faces.el (crm-separator):
3381 Silence byte-compiler.
3383 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
3384 (tool-bar-map): Remove unneeded defvars.
3386 2013-05-08 Leo Liu <sdl.web@gmail.com>
3388 Re-work a fix for bug#10994 based on Le Wang's patch.
3389 * ido.el (ido-remove-consecutive-dups): New helper.
3390 (ido-completing-read): Use it.
3391 (ido-chop): Revert fix for bug#10994.
3393 2013-05-08 Adam Spiers <emacs@adamspiers.org>
3395 * cus-edit.el (custom-save-variables):
3396 Pretty-print long values. (Bug#14187)
3398 2013-05-08 Glenn Morris <rgm@gnu.org>
3400 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
3401 (m4-mode-syntax-table): Init in the defvar.
3402 (m4-mode-abbrev-table): Let define-derived-mode define it.
3404 2013-05-08 Tom Tromey <tromey@redhat.com>
3406 * progmodes/m4-mode.el (m4-mode-syntax-table):
3407 Do not treat "_" as word constituent. (Bug#14167)
3409 2013-05-07 Glenn Morris <rgm@gnu.org>
3411 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
3412 Remove explicit eshell-isearch-cancel-map.
3414 * progmodes/f90.el (f90-smart-end-names): New option.
3415 (f90-smart-end): Doc fix.
3416 (f90-end-block-optional-name): New constant.
3417 (f90-block-match): Respect f90-smart-end-names.
3419 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3421 * progmodes/octave.el (octave-smie-forward-token): Be more careful
3422 about implicit semi-colons (bug#14218).
3424 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3426 * frame.el (display-monitor-attributes-list)
3427 (frame-monitor-attributes): New functions.
3429 2013-05-06 Leo Liu <sdl.web@gmail.com>
3431 * progmodes/octave.el (octave-syntax-propertize-function): Change
3432 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
3433 (octave-font-lock-keywords): Use octave-operator-regexp.
3434 (octave-completion-at-point): Rename from
3435 octave-completion-at-point-function.
3436 (inferior-octave-directory-tracker): Robustify.
3437 (octave-text-functions): Remove and fix its uses. No such things
3440 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3442 * emacs-lisp/trace.el (trace--display-buffer): New function.
3443 (trace-make-advice): Use it.
3445 2013-05-06 Juri Linkov <juri@jurta.org>
3447 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
3448 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
3450 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
3451 in the help string. (Bug#12985)
3453 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3455 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
3457 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3459 * progmodes/perl-mode.el: Add support for here documents.
3460 (perl-syntax-propertize-function): Match here-doc markers.
3461 (perl-syntax-propertize-special-constructs): Find their end.
3462 (perl-imenu-generic-expression): Use [:alnum:].
3464 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
3465 (advice--add-function): Refresh the advice if already present
3468 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
3470 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
3472 2013-05-06 Glenn Morris <rgm@gnu.org>
3474 * w32-fns.el (w32-charset-info-alist): Declare.
3476 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
3477 of its defcustom properties.
3478 (eshell-cmpl-initialize): No need to load pcomplete.
3480 * generic-x.el: No need to require comint when compiling.
3482 * net/eudc-export.el: Make it loadable without bbdb.
3483 (top-level): Use require rather than load-library.
3484 (eudc-create-bbdb-record, eudc-bbdbify-phone)
3485 (eudc-batch-export-records-to-bbdb)
3486 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
3489 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3491 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
3492 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
3493 some tweaks, instead.
3495 2013-05-05 Leo Liu <sdl.web@gmail.com>
3497 * progmodes/octave.el (octave-font-lock-keywords)
3498 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
3499 (inferior-octave-send-list-and-digest): Improve error message.
3500 (octave-mode, inferior-octave-mode): Use setq-local.
3501 (octave-help): Set info-lookup-mode.
3503 2013-05-05 Richard Stallman <rms@gnu.org>
3505 * vc/compare-w.el (compare-windows-whitespace):
3506 Treat no-break space as whitespace.
3508 * mail/rmailsum.el (rmail-summary-rmail-update):
3509 Detect empty summary and don't change selected message.
3510 (rmail-summary-goto-msg): Likewise.
3512 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
3513 Doc fixes, rename args.
3515 2013-05-05 Alan Mackenzie <acm@muc.de>
3517 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
3519 2013-05-05 Juri Linkov <juri@jurta.org>
3521 * info.el (Info-read-subfile): Use (point-min) instead of (point)
3522 to not add the length of the summary segment to the return value.
3525 2013-05-05 Leo Liu <sdl.web@gmail.com>
3527 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
3528 (inferior-octave-output-filter): Remove.
3529 (octave-send-region, inferior-octave-startup): Fix callers.
3530 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
3531 (octave-binary-file-extensions): New user variable.
3532 (octave-find-definition): Confirm if opening binary files.
3533 (octave-help-file): Use octave-find-definition to get the binary
3535 (octave-help): Adjust for octave-help-file change.
3537 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3539 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
3540 Merge the two entries that handle function definitions.
3541 (pascal--syntax-propertize): New const.
3542 (pascal-mode): Use it. Use setq-local.
3544 2013-05-04 Glenn Morris <rgm@gnu.org>
3546 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
3547 (diary-from-outlook): Respect diary-from-outlook-function.
3549 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3551 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
3552 Move the declaration from C.
3553 (read-minibuffer, eval-minibuffer): Move from C.
3554 (completion-setup-function): Avoid minibuffer-completion-contents.
3556 2013-05-03 Leo Liu <sdl.web@gmail.com>
3558 * progmodes/octave.el (octave-font-lock-keywords): Do not
3559 dehighlight 'end' in comments or strings.
3560 (octave-completing-read, octave-goto-function-definition):
3562 (octave-help-buffer): New user variable.
3563 (octave-help-file, octave-help-function): New button types.
3564 (octave-help): New command and bind it to C-h ;.
3565 (octave-find-definition): New command and bind it to M-.
3566 (user-error): Alias to error if not defined.
3568 2013-05-02 Leo Liu <sdl.web@gmail.com>
3570 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
3572 (octave-font-lock-keywords): Include [ and {.
3574 2013-05-02 Leo Liu <sdl.web@gmail.com>
3576 * progmodes/octave.el (inferior-octave-startup-file): Change default.
3577 (inferior-octave): Remove calling comint-mode and return the buffer.
3578 (inferior-octave-startup): Cosmetic changes.
3580 2013-05-02 Leo Liu <sdl.web@gmail.com>
3582 * progmodes/octave.el (octave-syntax-propertize-function):
3583 Include the case when ' is at line beginning. (Bug#14336)
3585 2013-05-02 Glenn Morris <rgm@gnu.org>
3587 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
3588 * desktop.el (vc-dir-mode): Just autoload it here.
3590 2013-05-02 Alan Mackenzie <acm@muc.de>
3592 Eliminate variable c-standard-font-lock-fontify-region-function.
3593 * progmodes/cc-mode.el
3594 (c-standard-font-lock-fontify-region-function): Remove.
3595 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
3597 2013-05-01 Leo Liu <sdl.web@gmail.com>
3599 * progmodes/octave.el: Compatible with older emacs-24 releases.
3600 (inferior-octave-has-built-in-variables): Remove. Built-in
3601 variables were removed from Octave in 2007.
3602 (inferior-octave-startup): Fix uses.
3603 (comint-line-beginning-position): Remove compatibility code for
3606 2013-05-01 Juri Linkov <juri@jurta.org>
3608 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
3610 2013-05-01 Juri Linkov <juri@jurta.org>
3612 * comint.el (comint-previous-matching-input): Don't print message
3613 "History item: %d" when `isearch-mode' is active.
3614 (comint-history-isearch-message): Print message "History item: %d"
3615 when `comint-input-ring-index' is not empty and this function is
3616 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
3618 2013-05-01 Leo Liu <sdl.web@gmail.com>
3620 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
3621 definitions. Use completion-at-point to insert keywords.
3622 (octave-abbrev-start): Remove.
3623 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
3625 2013-04-30 Leo Liu <sdl.web@gmail.com>
3627 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
3630 2013-04-30 Alan Mackenzie <acm@muc.de>
3632 Handle arbitrarily long C++ member initialisation lists.
3633 * progmodes/cc-engine.el (c-back-over-member-initializers):
3635 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
3636 (most) member init lists.
3638 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3640 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
3643 2013-04-30 Leo Liu <sdl.web@gmail.com>
3645 * progmodes/octave.el (octave-variables): Remove. No builtin
3646 variables any more. All converted to functions.
3647 (octave-font-lock-keywords, octave-completion-at-point-function):
3649 (octave-font-lock-texinfo-comment): New user variable.
3650 (octave-texinfo-font-lock-keywords): New variable for texinfo
3652 (octave-function-comment-block): New face.
3653 (octave-font-lock-texinfo-comment): New function.
3654 (octave-mode): Font lock texinfo comment block.
3656 2013-04-29 Leo Liu <sdl.web@gmail.com>
3658 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
3659 indexing expression.
3660 (octave-continuation-string): Do not use \.
3661 (inferior-octave-complete-impossible): Remove.
3662 (inferior-octave-completion-table)
3663 (inferior-octave-completion-at-point): Remove its uses.
3664 (inferior-octave-startup): completion_matches was introduced to
3665 Octave in 1996 so safe to assume it.
3666 (octave-function-file-comment): Improve to follow how Octave does it.
3667 (octave-update-function-file-comment): Tweak.
3669 2013-04-29 Leo Liu <sdl.web@gmail.com>
3671 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
3672 (inferior-octave-startup): Remove inferior-octave-startup-hook.
3673 (octave-function-file-comment): Fix typo.
3674 (octave-sync-function-file-names): Use read-char-choice.
3676 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
3678 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
3679 to t for the less important warnings.
3681 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
3683 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
3685 2013-04-27 Glenn Morris <rgm@gnu.org>
3687 * vc/log-view.el (log-view-current-entry):
3688 Treat "---" separator lines as part of the following rev. (Bug#14169)
3690 2013-04-27 Juri Linkov <juri@jurta.org>
3692 * subr.el (read-number): Doc fix about using it by interactive
3693 code letter `n'. (Bug#14254)
3695 2013-04-27 Juri Linkov <juri@jurta.org>
3697 * desktop.el (desktop-auto-save-timeout): New option.
3698 (desktop-file-checksum): New variable.
3699 (desktop-save): Add optional arg `auto-save' and don't auto-save
3701 (desktop-auto-save-timer): New variable.
3702 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
3703 (after-init-hook): Call `desktop-auto-save-set-timer'.
3704 Suggested by Reuben Thomas <rrt@sc3d.org> in
3705 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
3707 2013-04-27 Leo Liu <sdl.web@gmail.com>
3709 * progmodes/octave.el (octave-function-file-p)
3710 (octave-skip-comment-forward, octave-function-file-comment)
3711 (octave-update-function-file-comment): New functions.
3712 (octave-mode-map): Bind C-c ; to
3713 octave-update-function-file-comment.
3714 (octave-mode-menu): Add octave-update-function-file-comment.
3715 (octave-mode, inferior-octave-mode): Fix doc-string.
3716 (octave-insert-defun): Conform to Octave's coding convention.
3719 * files.el (basic-save-buffer): Don't let errors in
3720 before-save-hook prevent saving buffer.
3722 2013-04-20 Roland Winkler <winkler@gnu.org>
3724 * faces.el (read-face-name): Use completing-read if arg multiple
3727 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
3729 * ls-lisp.el (ls-lisp-insert-directory): If no files are
3730 displayed, move point to after the totals line.
3731 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
3734 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3736 * emacs-lisp/package.el (package-autoload-ensure-default-file):
3737 Add current dir to the load-path.
3738 (package-generate-autoloads): Don't rely on
3739 autoload-ensure-default-file.
3741 2013-04-26 Reuben Thomas <rrt@sc3d.org>
3743 * textmodes/remember.el (remember-store-in-files): Document that
3744 the file name format is passed to `format-time-string'.
3746 2013-04-26 Leo Liu <sdl.web@gmail.com>
3748 * progmodes/octave.el (octave-sync-function-file-names): New function.
3749 (octave-mode): Use it in before-save-hook.
3751 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3753 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
3756 * progmodes/octave.el (octave-smie-forward-token): Properly skip
3757 \n and comment, even if it's not an implicit ; (bug#14218).
3759 2013-04-26 Glenn Morris <rgm@gnu.org>
3761 * subr.el (read-number): Once more use `read' rather than
3762 `string-to-number', to trap non-numeric input. (Bug#14254)
3764 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
3766 * emacs-lisp/syntax.el (syntax-propertize-multiline):
3767 Use `syntax-multiline' text property consistently instead of
3768 `font-lock-multiline'. (Bug#14237)
3770 2013-04-26 Glenn Morris <rgm@gnu.org>
3772 * emacs-lisp/shadow.el (list-load-path-shadows):
3773 No longer necessary to check for duplicate simple.el, since
3774 2012-07-07 change to init_lread to not include installation lisp
3775 directories in load-path when running uninstalled. (Bug#14270)
3777 2013-04-26 Leo Liu <sdl.web@gmail.com>
3779 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
3780 (octave-mode, inferior-octave-mode): Use setq-local.
3781 (octave-not-in-string-or-comment-p): Rename to
3782 octave-in-string-or-comment-p.
3783 (octave-in-comment-p, octave-in-string-p)
3784 (octave-in-string-or-comment-p): Replace defsubst with defun.
3786 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
3788 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
3790 2013-04-25 Bastien Guerry <bzg@gnu.org>
3792 * textmodes/remember.el (remember-data-directory)
3793 (remember-directory-file-name-format): Fix custom types.
3795 2013-04-25 Leo Liu <sdl.web@gmail.com>
3797 * progmodes/octave.el (octave-completion-at-point-function):
3798 Make use of inferior octave process.
3799 (octave-initialize-completions): Remove.
3800 (inferior-octave-completion-table): New function.
3801 (inferior-octave-completion-at-point): Use it.
3802 (octave-completion-alist): Remove.
3804 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3806 * progmodes/opascal.el: Use font-lock and syntax-propertize.
3807 (opascal-mode-syntax-table): New var.
3808 (opascal-literal-kind, opascal-is-literal-end)
3809 (opascal-literal-token-at): Rewrite.
3810 (opascal--literal-start-re, opascal-font-lock-keywords)
3811 (opascal--syntax-propertize): New constants.
3812 (opascal-font-lock-defaults): Adjust.
3813 (opascal-mode): Use them. Set comment-<foo> variables as well.
3814 (delphi-comment-face, opascal-comment-face, delphi-string-face)
3815 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
3816 (delphi-other-face, opascal-other-face): Remove face variables.
3817 (opascal-save-state): Remove macro.
3818 (opascal-fontifying-progress-step): Remove constant.
3819 (opascal--ignore-changes): Remove var.
3820 (opascal-set-token-property, opascal-parse-next-literal)
3821 (opascal-is-stable-literal, opascal-complete-literal)
3822 (opascal-is-literal-start, opascal-face-of)
3823 (opascal-parse-region, opascal-parse-region-until-stable)
3824 (opascal-fontify-region, opascal-after-change)
3825 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
3826 (opascal-debug-parse-region, opascal-debug-parse-window)
3827 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
3828 (opascal-debug-fontify-buffer): Remove.
3829 (opascal-debug-mode-map): Adjust accordingly.
3831 2013-04-25 Leo Liu <sdl.web@gmail.com>
3833 Merge octave-mod.el and octave-inf.el into octave.el with some
3835 * progmodes/octave.el: New file renamed from octave-mod.el.
3836 * progmodes/octave-inf.el: Merged into octave.el.
3837 * progmodes/octave-mod.el: Renamed to octave.el.
3839 2013-04-25 Tassilo Horn <tsdh@gnu.org>
3841 * textmodes/reftex-vars.el
3842 (reftex-label-ignored-macros-and-environments): New defcustom.
3844 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
3846 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3848 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
3849 (smie-indent-keyword): Improve the check to ensure that the next
3850 comment is really on the same line.
3851 (smie-indent-comment): Don't align with a subsequent closer (or eob).
3853 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
3854 semi-colons if the line is not otherwise empty (bug#14218).
3856 2013-04-25 Glenn Morris <rgm@gnu.org>
3858 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
3860 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3862 * progmodes/opascal.el (opascal-set-token-property): Rename from
3863 opascal-set-text-properties and only set `token' (bug#14134).
3864 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
3865 (opascal-literal-text-properties): Remove.
3866 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
3869 2013-04-24 Reuben Thomas <rrt@sc3d.org>
3871 * textmodes/remember.el (remember-handler-functions): Add an
3872 option for a new handler `remember-store-in-files'.
3873 (remember-data-directory, remember-directory-file-name-format):
3875 (remember-store-in-files): New function to store remember notes
3876 as separate files within a directory.
3878 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
3880 * progmodes/compile.el (compilation-next-error-function):
3881 Pass "formats" to compilation-find-file (bug#11777).
3883 2013-04-24 Glenn Morris <rgm@gnu.org>
3885 * vc/vc-bzr.el (vc-bzr-print-log):
3886 * vc/vc-hg.el (vc-hg-print-log):
3887 * vc/vc-svn.el (vc-svn-print-log):
3888 Fix START-REVISION with LIMIT != 1. (Bug#14168)
3890 * vc/vc-bzr.el (vc-bzr-print-log):
3891 * vc/vc-cvs.el (vc-cvs-print-log):
3892 * vc/vc-git.el (vc-git-print-log):
3893 * vc/vc-hg.el (vc-hg-print-log):
3894 * vc/vc-mtn.el (vc-mtn-print-log):
3895 * vc/vc-rcs.el (vc-rcs-print-log):
3896 * vc/vc-sccs.el (vc-sccs-print-log):
3897 * vc/vc-svn.el (vc-svn-print-log):
3898 * vc/vc.el (vc-print-log-internal): Doc fixes.
3900 2013-04-23 Glenn Morris <rgm@gnu.org>
3902 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
3903 Remove venerable code attempting to avoid substitute-command-keys.
3905 2013-04-23 Tassilo Horn <tsdh@gnu.org>
3907 * textmodes/reftex-vars.el (reftex-label-regexps):
3908 Call `reftex-compile-variables' after changes to this variable.
3910 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3912 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
3913 Use lexical-binding.
3914 (jit-lock-force-redisplay): Use markers, check buffer's continued
3915 existence and beware narrowed buffers.
3916 (jit-lock-fontify-now): Adjust call accordingly.
3918 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3920 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
3921 to avoid misleading the user.
3923 2013-04-22 Leo Liu <sdl.web@gmail.com>
3925 * info-look.el: Prefer latex2e.info. (Bug#14240)
3927 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
3929 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
3931 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
3932 * net/tramp.el (tramp-call-process): ... here.
3933 (tramp-set-completion-function, tramp-parse-putty):
3934 * net/tramp-adb.el (tramp-adb-execute-adb-command):
3935 * net/tramp-gvfs.el (tramp-gvfs-send-command):
3936 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3937 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
3938 (tramp-call-local-coding-command): Use `tramp-call-process'
3939 instead of `tramp-compat-call-process'.
3941 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
3942 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
3943 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
3944 (tramp-find-inline-compress): Improve traces.
3945 (tramp-maybe-send-script): Check for Perl binary.
3946 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
3948 2013-04-22 Daiki Ueno <ueno@gnu.org>
3950 * epg.el (epg-context-pinentry-mode): New function.
3951 (epg-context-set-pinentry-mode): New function.
3952 (epg--start): Pass --pinentry-mode option to gpg command.
3954 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
3956 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
3957 `comint-dynamic-complete' is obsolete since 24.1, replaced by
3958 `completion-at-point'. (Bug#13774)
3960 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
3961 default key binding for `describe-distribution' has been moved to
3962 `C-h C-o'. (Bug#13970)
3964 2013-04-21 Glenn Morris <rgm@gnu.org>
3966 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
3968 (vc-print-log): Clarify interactive prompt.
3970 2013-04-20 Glenn Morris <rgm@gnu.org>
3972 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
3973 No longer include timestamp etc information.
3975 2013-04-20 Roland Winkler <winkler@gnu.org>
3977 * faces.el (read-face-name): Bug fix, return just one face if arg
3978 multiple is nil. (Bug#14209)
3980 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3982 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
3983 (remove-function): Autoload.
3985 * comint.el (comint-redirect-original-filter-function): Remove.
3986 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
3987 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
3988 (vc-cvs-annotate-command):
3989 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
3990 * progmodes/prolog.el (prolog-consult-compile):
3991 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
3992 Use add/remove-function instead.
3993 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
3994 (gud-tooltip-process-output, gud-tooltip-tips):
3995 Use add/remove-function instead.
3996 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
3997 (scheme-interaction-mode, exit-scheme-interaction-mode):
3998 Use add/remove-function instead.
4000 * vc/vc-dispatcher.el: Use lexical-binding.
4001 (vc--process-sentinel): Rename from vc-process-sentinel.
4002 Change last arg to be the code to run. Don't use vc-previous-sentinel
4003 and vc-sentinel-commands any more.
4004 (vc-exec-after): Allow code to be a function. Use add/remove-function.
4005 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
4007 2013-04-19 Masatake YAMATO <yamato@redhat.com>
4009 * progmodes/sh-script.el (sh-imenu-generic-expression):
4010 Handle function names with a single character. (Bug#14111)
4012 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
4014 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
4015 for subroutines defined in an eval (bug#14182).
4017 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4019 * bookmark.el (bookmark-completing-read): Improve handling of empty
4022 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4024 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
4026 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
4028 New faster Imenu implementation (bug#14058).
4029 * progmodes/python.el:
4030 (python-imenu-prev-index-position):
4031 (python-imenu-format-item-label-function)
4032 (python-imenu-format-parent-item-label-function)
4033 (python-imenu-format-parent-item-jump-label-function):
4035 (python-imenu-format-item-label)
4036 (python-imenu-format-parent-item-label)
4037 (python-imenu-format-parent-item-jump-label)
4038 (python-imenu--put-parent, python-imenu--build-tree)
4039 (python-imenu-create-index, python-imenu-create-flat-index)
4040 (python-util-popn): New functions.
4041 (python-mode): Set imenu-create-index-function to
4042 python-imenu-create-index.
4044 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4046 * winner.el (winner-active-region): Use region-active-p, activate-mark
4047 and deactivate-mark (bug#14225).
4049 * simple.el (deactivate-mark): Don't inline it.
4051 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
4053 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
4055 2013-04-18 Tassilo Horn <tsdh@gnu.org>
4057 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
4058 file extensions from the archive-mode entry in order to prefer
4059 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
4061 2013-04-18 Leo Liu <sdl.web@gmail.com>
4063 * bindings.el (help-event-list): Add ?\?.
4065 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4067 * subr.el (with-wrapper-hook): Declare obsolete.
4068 * simple.el (filter-buffer-substring-function): New hook.
4069 (filter-buffer-substring): Use it.
4070 (filter-buffer-substring-functions): Mark obsolete.
4071 * minibuffer.el (completion-in-region-function): New hook.
4072 (completion-in-region): Use it.
4073 (completion-in-region-functions): Mark obsolete.
4074 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
4075 * abbrev.el (abbrev-expand-function): New hook.
4076 (expand-abbrev): Use it.
4077 (abbrev-expand-functions): Mark obsolete.
4078 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
4081 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4083 * progmodes/python.el (python-nav--syntactically): Fix cornercases
4084 and do not care about match data.
4086 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
4089 completion tables when completing error conditions and
4090 `declare' arguments.
4091 (lisp-complete-symbol, field-complete): Mark as obsolete.
4092 (check-parens): Unmatched parens are user errors.
4093 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
4095 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
4097 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
4098 command changed buffer (ie. `flyspell-pre-buffer' is not current
4099 buffer), which prevents making decisions based on invalid value of
4100 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
4101 cause an error when `flyspell-pre-point' was nil after switching
4103 (flyspell-post-command-hook): No longer needs to change buffers when
4104 checking pre-word. While at it remove unnecessary progn.
4106 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4108 * textmodes/ispell.el (ispell-add-per-file-word-list):
4109 Fix `flyspell-correct-word-before-point' error when accepting
4110 words and `coment-padding' is an integer by using
4111 `comment-normalize-vars' (Bug #14214).
4113 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4115 New defun movement commands.
4116 * progmodes/python.el (python-nav--syntactically)
4117 (python-nav--forward-defun, python-nav-backward-defun)
4118 (python-nav-forward-defun): New functions.
4120 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4122 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
4123 (python-syntax-context): Use named compiler-macro for backwards
4124 compatibility with Emacs 24.x.
4126 2013-04-17 Leo Liu <sdl.web@gmail.com>
4128 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
4129 octave-hide-process-buffer.
4131 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4133 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
4136 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
4138 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
4139 Fix adjustment of offset when receiving incomplete responses from GDB
4142 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4144 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
4145 python-mode-abbrev-table.
4146 (python-skeleton-define): Adjust accordingly.
4147 (python-mode-abbrev-table): New table that inherits from it so that
4148 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
4150 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
4151 (abbrev-symbol): Use it.
4152 (abbrev--before-point): Use it since we already handle inheritance.
4154 2013-04-16 Leo Liu <sdl.web@gmail.com>
4156 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
4157 binding to info-lookup-symbol.
4159 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
4161 * minibuffer.el (completion--twq-all):
4162 * term/ns-win.el (ns-initialize-window-system):
4163 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
4165 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4167 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
4170 * doc-view.el (doc-view-start-process): Handle url-handler directories.
4172 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
4174 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
4175 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
4177 (ruby-end-of-defun): Remove the unused arg, change the docstring
4178 to reflect that this function is only used as the value of
4179 `end-of-defun-function'.
4180 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
4181 to reflect an earlier change that beginning/end-of-defun functions
4182 jump between methods in a class definition, as well as top-level
4185 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4187 * minibuffer.el (minibuffer-complete): Don't just scroll
4188 a *Completions* that's been iconified.
4189 (minibuffer-force-complete): Make sure repetitions do cycle when going
4190 through completion-in-region -> minibuffer-complete.
4192 2013-04-15 Alan Mackenzie <acm@muc.de>
4194 Correct the placement of c-cpp-delimiters when there're #s not at
4197 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
4198 place a submatch around the #.
4199 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
4200 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
4203 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4205 * emacs-lisp/nadvice.el: Properly test names when adding advice.
4206 (advice--member-p): New arg `name'.
4207 (advice--add-function, advice-member-p): Use it (bug#14202).
4209 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
4211 Reformulate java imenu-generic-expression.
4212 The old expression contained ill formed regexps.
4214 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
4215 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
4216 (cc-imenu-java-method-arg-regexp): New defconsts.
4217 (cc-imenu-java-build-type-args-regex): New defun.
4218 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
4219 handling of spaces in the regexp.
4221 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4223 * textmodes/ispell.el (ispell-command-loop): Remove
4224 flyspell highlight of a word when ispell accepts it (bug #14178).
4226 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
4228 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
4229 uses code from the previous `ange-ftp-run-real-handler'.
4230 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
4231 only in case that function exist. This is needed for proper
4234 2013-04-15 Tassilo Horn <tsdh@gnu.org>
4236 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
4238 * textmodes/reftex.el (reftex-compile-variables): Use it.
4240 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4242 * files.el (normal-mode): Only use default major-mode if no other mode
4245 * emacs-lisp/trace.el (trace-values): New function.
4247 * files.el: Allow : in local variables (bug#14089).
4248 (hack-local-variable-regexp): New var.
4249 (hack-local-variables-prop-line, hack-local-variables): Use it.
4251 2013-04-13 Roland Winkler <winkler@gnu.org>
4253 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
4254 data before it gets modified by bibtex-beginning-of-entry.
4256 2013-04-13 Roland Winkler <winkler@gnu.org>
4258 * textmodes/bibtex.el (bibtex-url): Doc fix.
4260 2013-04-13 Roland Winkler <winkler@gnu.org>
4262 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
4263 does not visit a BibTeX file, exclude it from the list of buffers
4264 returned by bibtex-initialize.
4266 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
4268 * window.el (split-window): Remove interactive form, since as a
4269 command this function is a special case of split-window-below.
4272 2013-04-12 Roland Winkler <winkler@gnu.org>
4274 * faces.el (read-face-name): Do not override value of arg default.
4275 Allow single faces and strings as default values. Remove those
4276 elements from return value that are not faces.
4277 (describe-face): Simplify.
4278 (face-at-point): New optional args thing and multiple so that this
4279 function can provide the same functionality previously provided by
4281 (make-face-bold, make-face-unbold, make-face-italic)
4282 (make-face-unitalic, make-face-bold-italic, invert-face)
4283 (modify-face, read-face-and-attribute): Use face-at-point.
4285 * cus-edit.el (customize-face, customize-face-other-window)
4286 * cus-theme.el (custom-theme-add-face)
4287 * face-remap.el (buffer-face-set)
4288 * facemenu.el (facemenu-set-face): Use face-at-point.
4290 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
4292 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
4294 2013-04-10 Tassilo Horn <tsdh@gnu.org>
4296 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
4297 off leading { and trailing } from field values.
4299 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4301 * emacs-lisp/timer.el (timer--check): New function.
4302 (timer--time, timer-set-function, timer-event-handler): Use it.
4303 (timer-set-idle-time): Simplify.
4304 (timer--activate): CSE.
4305 (timer-event-handler): Give more info in error message.
4306 (internal-timer-start-idle): New function, moved from C.
4308 * mpc.el (mpc-proc): Add `restart' argument.
4309 (mpc-proc-cmd): Use it.
4310 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
4311 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
4314 2013-04-10 Masatake YAMATO <yamato@redhat.com>
4316 * progmodes/sh-script.el: Implement `sh-mode' own
4317 `add-log-current-defun-function' (bug#14112).
4318 (sh-current-defun-name): New function.
4319 (sh-mode): Use the function.
4321 2013-04-09 Bastien Guerry <bzg@gnu.org>
4323 * simple.el (choose-completion-string): Fix docstring (bug#14163).
4325 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
4327 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
4329 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
4332 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
4334 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
4337 2013-04-07 Leo Liu <sdl.web@gmail.com>
4339 * pcmpl-x.el: New file.
4341 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
4343 Do not set x-display-name until X connection is established.
4344 This is needed to prevent from weird situation described at
4345 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
4346 * frame.el (make-frame): Set x-display-name after call to
4347 window system initialization function, not before.
4348 * term/x-win.el (x-initialize-window-system): Add optional
4349 display argument and use it.
4350 * term/w32-win.el (w32-initialize-window-system):
4351 * term/ns-win.el (ns-initialize-window-system):
4352 * term/pc-win.el (msdos-initialize-window-system):
4353 Add compatible optional display argument.
4355 2013-04-06 Eli Zaretskii <eliz@gnu.org>
4357 * files.el (normal-backup-enable-predicate): On MS-Windows and
4358 MS-DOS compare truenames of temporary-file-directory and of the
4359 file, so that 8+3 aliases (usually found in $TEMP on Windows)
4360 don't fail comparison by compare-strings. Also, compare file
4361 names case-insensitively on MS-Windows and MS-DOS.
4363 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4365 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
4366 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
4368 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
4370 * whitespace.el (whitespace-color-on, whitespace-color-off):
4371 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
4373 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
4375 * ispell.el (ispell-set-spellchecker-params):
4376 Really set `ispell-args' for all equivs.
4378 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4380 * ido.el (ido-completions): Use extra elements of ido-decorations
4382 (ido-decorations): Update docstring.
4384 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
4386 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4387 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
4388 nil during initialization, in order not to miss changes since the
4389 file was opened. (Bug#14140)
4391 2013-04-05 Leo Liu <sdl.web@gmail.com>
4393 * kmacro.el (kmacro-call-macro): Fix bug#14135.
4395 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
4397 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
4399 2013-04-04 Glenn Morris <rgm@gnu.org>
4401 * electric.el (electric-pair-inhibit-predicate): Add :version.
4403 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4405 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
4406 when a package is required several times (bug#14082).
4408 2013-04-04 Roland Winkler <winkler@gnu.org>
4410 * faces.el (read-face-name): Behave as promised by the docstring.
4411 Assume that arg default is a list of faces.
4412 (describe-face): Call read-face-name with list of default faces.
4414 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4416 * bookmark.el: Fix deletion of bookmarks (bug#13972).
4417 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
4418 (bookmark-bmenu-execute-deletions): Only skip first line if it's
4420 (bookmark-exit-hook-internal): Save even if list is empty.
4422 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
4424 * emacs-lisp/package.el (package-pinned-packages): New var.
4425 (package--add-to-archive-contents): Obey it (bug#14118).
4427 2013-04-03 Alan Mackenzie <acm@muc.de>
4429 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
4430 Also adapt to the new values of element 7 of a parse state.
4432 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
4433 parameter `not-in-delimiter'. Handle being inside comment opener.
4434 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
4435 character in case we're typing a '*' after a '/'.
4436 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
4437 instead by passing the parameter to c-state-pp-to-literal.
4439 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
4440 for elt. 7 of a parse state.
4442 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
4444 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
4445 * international/latin1-disp.el, international/mule-util.el:
4446 * language/cyril-util.el, language/european.el, language/ind-util.el:
4447 * language/lao-util.el, language/thai.el, language/tibet-util.el:
4448 * language/tibetan.el, language/viet-util.el:
4449 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
4451 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4453 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
4454 (electric-pair-post-self-insert-function): Use it.
4455 (electric-pair-default-inhibit): New function, extracted from
4456 electric-pair-post-self-insert-function.
4458 2013-03-31 Roland Winkler <winkler@gnu.org>
4460 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
4462 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4464 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
4466 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
4468 Un-indent after "pass" and "return" statements (Bug#13888)
4469 * progmodes/python.el (python-indent-block-enders): New var.
4470 (python-indent-calculate-indentation): Use it.
4472 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
4474 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
4475 defun. Defining it as defalias could introduce too eager
4476 byte-compiler optimization. (Bug#14030)
4478 2013-03-30 Chong Yidong <cyd@gnu.org>
4480 * iswitchb.el (iswitchb-read-buffer): Fix typo.
4482 2013-03-30 Leo Liu <sdl.web@gmail.com>
4484 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
4485 (kmacro-execute-from-register): Pass the keyboard macro to
4486 kmacro-call-macro or repeating won't work correctly.
4488 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
4490 * progmodes/subword.el: Back to using `forward-symbol'.
4492 * subr.el (forward-whitespace, forward-symbol)
4493 (forward-same-syntax): Move from thingatpt.el.
4495 2013-03-29 Leo Liu <sdl.web@gmail.com>
4497 * kmacro.el (kmacro-to-register): New command.
4498 (kmacro-execute-from-register): New function.
4499 (kmacro-keymap): Bind to 'x'. (Bug#14071)
4501 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
4503 * mpc.el: Use defvar-local and setq-local.
4504 (mpc--proc-connect): Connection failures are not bugs.
4505 (mpc-mode-map): `follow-link' only applies to the buffer's content.
4506 (mpc-volume-map): Bind to the up-events.
4508 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
4510 * progmodes/subword.el (superword-mode): Use `forward-sexp'
4511 instead of `forward-symbol'.
4513 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
4515 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
4516 (edebug--recursive-edit): Use it.
4517 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
4518 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
4520 2013-03-28 Leo Liu <sdl.web@gmail.com>
4522 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
4524 2013-03-27 Eli Zaretskii <eliz@gnu.org>
4526 * facemenu.el (list-colors-callback): New defvar.
4527 (list-colors-redisplay): New function.
4528 (list-colors-display): Install list-colors-redisplay as the
4529 revert-buffer-function. (Bug#14063)
4531 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4533 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
4534 and suffixes don't overlap (bug#14061).
4536 * case-table.el: Use lexical-binding.
4537 (case-table-get-table): New function.
4538 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
4540 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
4542 * progmodes/subword.el: Add `superword-mode' to do word motion
4543 over symbol_words (parallels and leverages `subword-mode' which
4544 does word motion inside MixedCaseWords).
4546 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
4548 * eshell/em-unix.el: Move su and sudo to...
4549 * eshell/em-tramp.el: ...Eshell tramp module.
4551 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4553 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
4554 Change return value to be a sexp. Delay `get-buffer' to after
4555 restoring the desktop (bug#13951).
4557 2013-03-26 Leo Liu <sdl.web@gmail.com>
4559 * register.el: Move semantic tag handling back to
4560 cedet/semantic/senator.el. (Bug#14052)
4562 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4564 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
4565 into the prompt either (bug#13963).
4567 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
4569 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
4570 part of "(error-foo)".
4572 2013-03-24 Juri Linkov <juri@jurta.org>
4574 * replace.el (list-matching-lines-prefix-face): New defcustom.
4575 (occur-1): Pass `list-matching-lines-prefix-face' to the function
4576 `occur-engine' if `face-differs-from-default-p' returns t.
4577 (occur-engine): Add `,' inside backquote construct to evaluate
4578 `prefix-face'. Propertize the prefix with the `prefix-face' face.
4579 Pass `prefix-face' to the functions `occur-context-lines' and
4580 `occur-engine-add-prefix'.
4581 (occur-engine-add-prefix, occur-context-lines): Add optional arg
4582 `prefix-face' and propertize the prefix with `prefix-face'.
4585 2013-03-24 Leo Liu <sdl.web@gmail.com>
4587 * nxml/rng-valid.el (rng-validate-while-idle)
4588 (rng-validate-quick-while-idle): Guard against deleted buffer.
4591 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
4592 is the last entry in kill-buffer-hook.
4594 * files.el (kill-buffer-hook): Doc fix.
4596 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
4598 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
4601 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
4603 2013-03-23 Leo Liu <sdl.web@gmail.com>
4605 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
4608 * nxml/rng-valid.el (rng-validate-mode)
4609 (rng-after-change-function, rng-do-some-validation):
4610 * nxml/rng-maint.el (rng-validate-buffer):
4611 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
4612 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
4613 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
4614 (nxml-extend-after-change-region): Use with-silent-modifications.
4616 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
4619 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
4620 (rng-next-error-1, rng-previous-error-1): Do not let-bind
4621 timer-idle-list. (Bug#13999)
4623 2013-03-23 Juri Linkov <juri@jurta.org>
4625 * info.el (info-index-match): New face.
4626 (Info-index, Info-apropos-matches): Add a nested subgroup to the
4627 main pattern and add text properties with the new face to matches
4628 in index entries relative to the beginning of the index entry.
4631 2013-03-21 Eric Ludlam <zappo@gnu.org>
4633 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
4634 Inhibit read only while inserting objects.
4636 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
4638 * progmodes/cfengine.el: Update docs to mention
4639 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
4640 symbol motion. Remove "_" from the word syntax.
4642 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
4644 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
4645 syntax for both `cfengine2-mode' and `cfengine3-mode'.
4647 2013-03-20 Juri Linkov <juri@jurta.org>
4649 * info.el (Info-next-reference-or-link)
4650 (Info-prev-reference-or-link): New functions.
4651 (Info-next-reference, Info-prev-reference): Use them.
4652 (Info-try-follow-nearest-node): Handle footnote navigation.
4653 (Info-fontify-node): Fontify footnotes. (Bug#13989)
4655 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
4657 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
4658 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
4660 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
4662 Suppress unnecessary non-ASCII chatter during build process.
4663 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
4664 (batch-skkdic-convert): Suppress most of the chatter.
4665 It's not needed so much now that machines are faster,
4666 and its non-ASCII component was confusing; see Dmitry Gutov in
4667 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
4669 2013-03-20 Leo Liu <sdl.web@gmail.com>
4671 * ido.el (ido-chop): Fix bug#10994.
4673 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
4675 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
4677 (whitespace-color-on, whitespace-color-off):
4678 Use `font-lock-fontify-buffer' (Bug#13817).
4680 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
4682 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
4683 remapping in mode-line.
4684 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
4686 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
4688 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
4689 value for `whitespace-line' face (Bug#13875).
4690 (whitespace-font-lock-keywords): Change description.
4691 (whitespace-color-on): Don't save `font-lock-keywords' value, save
4692 the constructed keywords instead.
4693 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
4695 2013-03-19 Leo Liu <sdl.web@gmail.com>
4697 * progmodes/compile.el (compilation-display-error): New command.
4698 (compilation-mode-map, compilation-minor-mode-map): Bind it to
4701 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
4703 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
4705 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
4707 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
4709 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
4711 * net/tramp-compat.el (tramp-compat-user-error): New defun.
4713 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4714 * net/tramp-gvfs.el (top):
4715 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
4716 (tramp-handle-shell-command): Use it.
4717 (tramp-dissect-file-name): Raise an error when hostname is a
4718 method name, and neither method nor user is specified.
4720 * net/trampver.el: Update release number.
4722 2013-03-18 Leo Liu <sdl.web@gmail.com>
4724 Make sure eldoc can be turned off properly.
4725 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
4727 (eldoc-display-message-p): Revert last change.
4728 (eldoc-display-message-no-interference-p)
4729 (eldoc-print-current-symbol-info): Tweak.
4731 2013-03-18 Tassilo Horn <tsdh@gnu.org>
4733 * doc-view.el (doc-view-new-window-function): Check the new window
4734 overlay's display property instead the char property of the
4735 buffer's first char. Use `with-selected-window' instead of
4736 `save-window-excursion' with `select-window'.
4737 (doc-view-document->bitmap): Check the current doc-view overlay's
4738 display property instead the char property of the buffer's first char.
4740 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
4742 Automate the build of ja-dic.el (Bug#13984).
4743 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
4744 from the input, rather than assume that it's been done for us by the
4745 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
4746 the current date into a ja-dic.el comment, as that complicates
4749 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4751 * whitespace.el: Fix double evaluation.
4752 (whitespace-space, whitespace-hspace, whitespace-tab)
4753 (whitespace-newline, whitespace-trailing, whitespace-line)
4754 (whitespace-space-before-tab, whitespace-indentation)
4755 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
4757 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
4758 (whitespace-color-on): Use a single font-lock-add-keywords call.
4759 Fix double-evaluation of face variables.
4761 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
4763 * net/tramp-adb.el (tramp-adb-parse-device-names):
4764 Use `start-process' instead of `call-process'. Otherwise, the
4765 function might be blocked under MS Windows. (Bug#13299)
4767 2013-03-17 Leo Liu <sdl.web@gmail.com>
4769 Extend eldoc to display info in the mode-line. (Bug#13978)
4770 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
4771 (eldoc-mode-line-string): New variable.
4772 (eldoc-minibuffer-message): New function.
4773 (eldoc-message-function): New variable.
4774 (eldoc-message): Use it.
4775 (eldoc-display-message-p)
4776 (eldoc-display-message-no-interference-p):
4777 Support eldoc-post-insert-mode.
4779 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
4780 (eval-expression): Run it.
4782 2013-03-17 Roland Winkler <winkler@gnu.org>
4784 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
4785 strings in the list of return values.
4787 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
4789 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
4790 radix before checking for HMS forms.
4792 2013-03-16 Leo Liu <sdl.web@gmail.com>
4794 * progmodes/scheme.el: Add indentation and font-locking for λ.
4797 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
4799 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
4800 token before point (bug#13942).
4802 2013-03-16 Leo Liu <sdl.web@gmail.com>
4804 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
4806 2013-03-16 Eli Zaretskii <eliz@gnu.org>
4808 * startup.el (command-line-normalize-file-name): Fix handling of
4809 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
4810 <xfq.free@gmail.com> in
4811 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
4813 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
4815 Sync with Tramp 2.2.7.
4817 * net/trampver.el: Update release number.
4819 2013-03-14 Tassilo Horn <tsdh@gnu.org>
4821 * doc-view.el Fix bug#13887.
4822 (doc-view-insert-image): Don't modify overlay associated to
4823 non-live windows, and implement horizontal centering of image in
4824 case it's smaller than the window.
4825 (doc-view-new-window-function): Force redisplay of new windows on
4828 2013-03-13 Karl Fogel <kfogel@red-bean.com>
4830 * saveplace.el (save-place-alist-to-file): Don't sort
4831 `save-place-alist', just pretty-print it (bug#13882).
4833 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
4835 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4836 Check whether `default-file-name-coding-system' is bound.
4839 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
4841 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
4842 backquotes for `obsolete' (bug#13929).
4844 * international/mule.el (find-auto-coding): Include file name in
4845 obsolescence warning (bug#13922).
4847 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
4849 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
4850 for CFEngine 3-specific indentation.
4851 (cfengine3-indent-line): Use it. Fix up category regex.
4852 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
4854 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4856 * type-break.el (type-break-file-name):
4857 * textmodes/remember.el (remember-data-file):
4858 * strokes.el (strokes-file):
4859 * shadowfile.el (shadow-initialize):
4860 * saveplace.el (save-place-file):
4861 * ps-bdf.el (bdf-cache-file):
4862 * progmodes/idlwave.el (idlwave-config-directory):
4863 * net/quickurl.el (quickurl-url-file):
4864 * international/kkc.el (kkc-init-file-name):
4865 * ido.el (ido-save-directory-list-file):
4866 * emulation/viper.el (viper-custom-file-name):
4867 * emulation/vip.el (vip-startup-file):
4868 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4869 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
4871 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
4873 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
4874 * language/thai-word.el: Switch to UTF-8.
4876 See ChangeLog.16 for earlier changes.
4882 Copyright (C) 2011-2013 Free Software Foundation, Inc.
4884 This file is part of GNU Emacs.
4886 GNU Emacs is free software: you can redistribute it and/or modify
4887 it under the terms of the GNU General Public License as published by
4888 the Free Software Foundation, either version 3 of the License, or
4889 (at your option) any later version.
4891 GNU Emacs is distributed in the hope that it will be useful,
4892 but WITHOUT ANY WARRANTY; without even the implied warranty of
4893 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4894 GNU General Public License for more details.
4896 You should have received a copy of the GNU General Public License
4897 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.