1 2013-07-10 Eli Zaretskii <eliz@gnu.org>
3 * simple.el (default-line-height): New function.
4 (line-move-partial, line-move): Use it instead of computing the
6 (line-move-partial): Always compute ROWH. If the last line is
7 partially-visible, but its text is completely visible, allow
8 cursor to enter such a partially-visible line.
10 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12 Improve error messages. (Bug#14808)
14 * net/tramp.el (tramp-current-connection): New defvar, moved from
16 (tramp-message-show-progress-reporter-message): Removed, not
18 (tramp-error-with-buffer): Show message in minibuffer. Discard
19 input before waiting. Reset connection timestamp.
20 (with-tramp-progress-reporter): Improve messages.
21 (tramp-process-actions): Use progress reporter. Delete process in
22 case of error. Improve messages.
24 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use
25 condition-case. Call `tramp-error-with-buffer' with vector and buffer.
26 (tramp-current-connection): Removed.
27 (tramp-maybe-open-connection): The car of
28 `tramp-current-connection' are the first 3 slots of the vector.
30 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
32 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
33 inside continued strings.
35 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
37 Timestamp fixes for undo (Bug#14824).
38 * files.el (clear-visited-file-modtime): Move here from fileio.c.
40 2013-07-10 Leo Liu <sdl.web@gmail.com>
42 * files.el (require-final-newline): Allow safe local value.
45 2013-07-09 Leo Liu <sdl.web@gmail.com>
47 * ido.el (ido-read-directory-name): Handle fallback.
48 (ido-read-file-name): Update DIR to ido-current-directory.
50 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
52 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
54 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
55 "autoload". Remove "warn lower camel case" section, previously
56 commented out. Highlight negation char. Do not highlight the
57 target in singleton method definitions.
59 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
61 * faces.el (tty-setup-hook): Declare the hook.
63 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
64 and detect when a guard/pred depends on local vars (bug#14773).
65 (pcase--u1): Adjust caller.
67 2013-07-08 Eli Zaretskii <eliz@gnu.org>
69 * simple.el (line-move-partial, line-move): Account for
71 (line-move-partial): Avoid setting vscroll when the last
72 partially-visible line in window is of default height.
74 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
76 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
79 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
81 * subr.el (read-quoted-char): Remove unused local variable `char'.
83 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
85 * ediff.el (ediff-version): Version update.
86 (ediff-files-command, ediff3-files-command, ediff-merge-command)
87 (ediff-merge-with-ancestor-command, ediff-directories-command)
88 (ediff-directories3-command, ediff-merge-directories-command)
89 (ediff-merge-directories-with-ancestor-command): New functions.
90 All are command-line interfaces to ediff: to facilitate calling
91 Emacs with the appropriate ediff functions invoked.
93 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
94 (viper-save-kill-buffer): Check if buffer is modified.
96 * viper.el (viper-version): Version update.
97 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
99 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
101 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
102 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
103 (viper-intercept-ESC-key): Simplify.
104 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
105 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
106 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
107 (viper-setup-ESC-to-escape): New functions.
108 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
109 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
111 2013-07-07 Eli Zaretskii <eliz@gnu.org>
113 * simple.el (default-font-height, window-screen-lines):
115 (line-move, line-move-partial): Use them instead of
116 frame-char-height and window-text-height. This makes scrolling
117 text smoother when the buffer's default face uses a font that is
118 different from the frame's default font.
120 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
122 * files.el (write-file): Do not display confirm dialog for NS,
123 it does its own dialog, which can't be cancelled (Bug#14578).
125 2013-07-06 Eli Zaretskii <eliz@gnu.org>
127 * simple.el (line-move-partial): Adjust the row returned by
128 posn-at-point for the current window-vscroll. (Bug#14567)
130 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
132 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
133 (tramp-sh-file-inotifywait-process-filter): Handle file names with
136 2013-07-06 Martin Rudalics <rudalics@gmx.at>
138 * window.el (window-state-put-stale-windows): New variable.
139 (window--state-put-2): Save list of windows without matching buffer.
140 (window-state-put): Remove "bufferless" windows if possible.
142 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
144 * simple.el (alternatives-define): Remove leftover :group keyword.
147 2013-07-06 Leo Liu <sdl.web@gmail.com>
149 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
150 (ido-enable-virtual-buffers): New variable.
151 (ido-buffer-internal, ido-toggle-virtual-buffers)
152 (ido-make-buffer-list): Use it.
153 (ido-exhibit): Support turning on and off virtual buffers
156 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
158 * simple.el (alternatives-define): New macro.
160 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
162 * subr.el (read-quoted-char): Use read-key.
163 (sit-for): Let read-event decode tty input (bug#14782).
165 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
167 * calendar/todo-mode.el: Add handling of file deletion, both by
168 mode command and externally. Fix various related bugs.
169 Clarify Commentary and improve some documentation strings and code.
170 (todo-delete-file): New command.
171 (todo-check-file): New function.
172 (todo-show): Handle external deletion of the file we're trying to
173 show (bug#14688). Replace called-interactively-p by an optional
174 prefix argument to avoid problematic interaction with catch form
175 when byte compiled (bug#14702).
176 (todo-quit): Handle external deletion of the archive's todo file.
177 Make sure the buffer that was visiting the archive file is still
178 live before trying to bury it.
179 (todo-category-completions): Handle external deletion of any
180 category completion files.
181 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
182 of todo files, in case of external deletion.
183 (todo-add-file): Replace unnecessary setq by let-binding.
184 (todo-find-archive): Check whether there are any archives.
185 Replace unnecessary setq by let-binding.
186 (todo-archive-done-item): Use find-file-noselect to get the
187 archive buffer whether or not the archive already exists.
188 Remove superfluous code. Use file size instead of buffer-file-name to
189 check if the archive is new; if it is, update list of archives.
190 (todo-default-todo-file): Allow nil to be a valid value for when
191 there are no todo files.
192 (todo-reevaluate-default-file-defcustom): Use corrected definition
193 of todo-default-todo-file.
194 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
195 (todo-delete-category, todo-show-categories-table)
196 (todo-category-number): Clarify comment.
197 (todo-filter-items): Clarify documentation string.
198 (todo-show-current-file, todo-display-as-todo-file)
199 (todo-reset-and-enable-done-separator): Tweak documentation string.
200 (todo-done-separator): Make separator length window-width, since
201 bug#2749 is now fixed.
203 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
205 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
206 Support both "gvfs-monitor-dir" and "inotifywait".
207 (tramp-sh-file-inotifywait-process-filter): Rename from
208 `tramp-sh-file-notify-process-filter'.
209 (tramp-sh-file-gvfs-monitor-dir-process-filter)
210 (tramp-get-remote-gvfs-monitor-dir): New defuns.
212 2013-07-05 Leo Liu <sdl.web@gmail.com>
214 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
216 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
218 * frame.el (display-pixel-height, display-pixel-width)
219 (display-mm-height, display-mm-width): Mention behavior on
220 multi-monitor setups in docstrings.
221 (w32-display-monitor-attributes-list): Declare function.
222 (display-monitor-attributes-list): Use it.
224 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
226 * filenotify.el: New package.
228 * autorevert.el (top): Require filenotify.el.
229 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
231 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
232 (auto-revert-notify-handler): Use `file-notify-*' functions.
234 * subr.el (file-notify-handle-event): Move function to filenotify.el.
236 * net/tramp.el (tramp-file-name-for-operation):
237 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
239 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
240 for `file-notify-add-watch' and `file-notify-rm-watch'.
241 (tramp-process-sentinel): Improve trace.
242 (tramp-sh-handle-file-notify-add-watch)
243 (tramp-sh-file-notify-process-filter)
244 (tramp-sh-handle-file-notify-rm-watch)
245 (tramp-get-remote-inotifywait): New defuns.
247 2013-07-03 Juri Linkov <juri@jurta.org>
249 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
250 call of `occur-read-primary-args' to interactive spec.
252 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
253 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
255 2013-07-03 Matthias Meulien <orontee@gmail.com>
257 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
258 `Buffer-menu-multi-occur'. Add it to the menu.
259 (Buffer-menu-mode): Document it in docstring.
260 (Buffer-menu-multi-occur): New command. (Bug#14673)
262 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
264 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
265 keywords and built-ins.
267 2013-07-03 Glenn Morris <rgm@gnu.org>
269 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
271 Make info-xref checks case-sensitive by default
272 * info.el (Info-find-node, Info-find-in-tag-table)
273 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
274 Add option for exact case matching of nodes.
275 * info-xref.el (info-xref): New custom group.
276 (info-xref-case-fold): New option.
277 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
279 2013-07-03 Leo Liu <sdl.web@gmail.com>
281 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
283 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
285 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
286 middle of block statement initially, lower the depth. Remove
287 FIXME comment, not longer valid. Remove middle of block statement
288 detection, no need to do that anymore since we've been using
289 `ruby-parse-region' here.
291 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
293 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
295 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
297 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
299 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
301 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
302 (desktop-restore-in-current-display): New customization option.
303 (desktop--excluded-frame-parameters): Add `font'.
304 (desktop--save-frames): Rename from desktop--save-windows.
305 (desktop--restore-in-this-display-p): New function.
306 (desktop--make-full-frame): Remove unwanted width/height from
307 full(width|height) frames.
308 (desktop--restore-frames): Rename from desktop--restore-windows.
309 Obey desktop-restore-current-display. Do not delete old frames or
310 select a new frame unless we were able to restore at least one frame.
312 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
314 * files.el (find-file-noselect): Simplify conditional expression.
316 * remember.el (remember-append-to-file):
317 Don't mix `find-buffer-visiting' and `get-file-buffer'.
319 Add `remember-notes' function to store random notes across Emacs
321 * remember.el (remember-data-file): Add :set callback to affect
322 notes buffer (if any).
323 (remember-notes): New command.
324 (remember-notes-buffer-name, bury-remember-notes-on-kill):
325 New defcustoms for the `remember-notes' function.
326 (remember-notes-save-and-bury-buffer): New command.
327 (remember-notes-mode-map): New variable.
328 (remember-mode): New minor mode.
329 (remember-notes--kill-buffer-query): New function.
330 * startup.el (initial-buffer-choice): Add notes to custom type.
332 2013-06-30 Eli Zaretskii <eliz@gnu.org>
334 * bindings.el (right-char, left-char): Don't call sit-for, this is
335 no longer needed. Use arithmetic comparison only for numerical
338 * international/mule-cmds.el (select-safe-coding-system):
339 Handle the case of FROM being a string correctly. (Bug#14755)
341 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
343 * net/shr.el (shr-make-table-1): Add a sanity check that allows
344 progression on degenerate tables.
345 (shr-rescale-image): ImageMagick animated images currently don't work.
347 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
349 Some fixes and improvements for desktop frame restoration.
350 It is still experimental and disabled by default.
351 * desktop.el (desktop--save-windows): Put the selected frame at
352 the head of the list.
353 (desktop--make-full-frame): New function.
354 (desktop--restore-windows): Try to re-select the frame that was
355 selected upon saving. Do not abort if some frames fail to restore,
356 just show an error message and continue. Set up maximized frames
357 so they have default non-maximized dimensions.
359 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
361 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
362 Don't start heredoc inside a string or comment.
364 2013-06-29 Eli Zaretskii <eliz@gnu.org>
366 * bindings.el (visual-order-cursor-movement): New defcustom.
367 (right-char, left-char): Provide visual-order cursor motion by
368 calling move-point-visually. Update the doc strings.
370 2013-06-28 Kenichi Handa <handa@gnu.org>
372 * international/mule.el (define-coding-system): New coding system
373 properties :inhibit-null-byte-detection,
374 :inhibit-iso-escape-detection, and :prefer-utf-8.
375 (set-buffer-file-coding-system): If :charset-list property of
376 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
377 appropriate for setting.
379 * international/mule-cmds.el (select-safe-coding-system):
380 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
381 multibyte characters, return utf-8 (or one of its siblings).
383 * international/mule-conf.el (prefer-utf-8): New coding system.
384 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
387 2013-06-28 Ivan Kanis <ivan@kanis.fr>
389 * net/shr.el (shr-render-region): New function.
391 * net/eww.el: Autoload `eww-browse-url'.
393 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
395 * emacs-lisp/package-x.el (package-upload-buffer-internal):
396 Adapt to `package-desc-version' being a list.
397 Use `package--ac-desc-version' to retrieve version from a package
400 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
402 New experimental feature to save&restore window and frame setup.
403 * desktop.el (desktop-save-windows): New defcustom.
404 (desktop--saved-states): New var.
405 (desktop--excluded-frame-parameters): New defconst.
406 (desktop--filter-frame-parms, desktop--find-frame-in-display)
407 (desktop--restore-windows, desktop--save-windows): New functions.
408 (desktop-save): Call `desktop--save-windows'.
409 (desktop-read): Call `desktop--restore-windows'.
411 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
413 * net/shr.el (add-face-text-property): Remove compat definition.
415 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
417 * info.el (Info-try-follow-nearest-node): Move search for footnote
418 above search for node name to prevent missing a footnote (bug#14717).
420 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
422 * obsolete/otodo-mode.el: Add obsolescence info to file header.
424 2013-06-27 Leo Liu <sdl.web@gmail.com>
426 * net/eww.el (eww-read-bookmarks): Check file size.
428 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
430 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
431 advice--pending if newdef is nil or an autoload (bug#13820).
432 (advice-mapc): New function.
434 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
436 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
438 (eww-mode-map): Add a menu bar.
439 (eww-add-bookmark): New command.
440 (eww-bookmark-mode): New mode and commands.
441 (eww-add-bookmark): Remove newlines from the title.
442 (eww-bookmark-browse): Don't bug out if it's the only window.
444 2013-06-26 Glenn Morris <rgm@gnu.org>
446 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
447 (hfy-size): Handle ttys. (Bug#14668)
449 * info-xref.el: Update for Texinfo 5 change in *note format.
450 (info-xref-node-re, info-xref-note-re): New constants.
451 (info-xref-check-buffer): Use info-xref-note-re.
453 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
455 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
457 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
458 nil terminate the loop (bug#14718).
460 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
462 * net/eww.el: Rework history traversal. When going forward/back,
463 put these actions into the history, too, so that they can be
465 (eww-render): Move the history reset to the correct buffer.
467 2013-06-25 Juri Linkov <juri@jurta.org>
469 * files-x.el (modify-dir-local-variable): Change the header comment
470 in the file with directory local variables. (Bug#14692)
472 * files-x.el (read-file-local-variable-value): Add `default'.
475 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
477 * net/eww.el (eww-make-unique-file-name): Create a unique file
478 name before saving to entering `y' accidentally asynchronously.
480 2013-06-25 Ivan Kanis <ivan@kanis.fr>
482 * net/eww.el (eww-download): New command and keystroke.
484 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
486 * net/eww.el (eww-copy-page-url): Change name of command.
488 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
489 be more consistent with Info and dired.
491 * net/eww.el (eww-mode-map): Ditto.
493 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
495 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
496 packages from archives.
497 (package-archive-contents): Change format; include obsolete packages.
498 (package-desc): Use `dir' to mark builtin packages.
499 (package--from-builtin): Set the `dir' field to `builtin'.
500 (generated-autoload-file, version-control): Declare.
501 (package-compute-transaction): Change first arg and return value to be
502 lists of package-descs. Adjust to new package-archive-contents format.
503 (package--add-to-archive-contents): Adjust to new
504 package-archive-contents format.
505 (package-download-transaction): Arg is now a list of package-descs.
506 (package-install): If `pkg' is a package name, pass it as
507 a requirement, so it is subject to the usual (e.g. disabled) checks.
508 (describe-package): Accept package-desc as well.
509 (describe-package-1): Describe a specific package-desc. Add links to
510 other package-descs for the same package name.
511 (package-menu-describe-package): Pass the actual package-desc.
512 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
514 (package-desc-status): New function.
515 (package-menu--refresh): New function, extracted
516 from package-menu--generate.
517 (package-menu--generate): Use it.
518 (package-delete): Update package-alist.
519 (package-menu-execute): Don't call package-initialize.
521 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
522 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
523 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
524 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
525 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
526 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
528 2013-06-25 Martin Rudalics <rudalics@gmx.at>
530 * window.el (window--state-get-1): Workaround for bug#14527.
531 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
533 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
535 * net/eww.el (eww-back-url): Implement the history by stashing all
536 the data into a list.
537 (eww-forward-url): Allow going forward in the history, too.
539 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
541 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
542 for values and use read--expression for expressions (bug#14710).
543 (read-file-local-variable): Avoid setq.
544 (read-file-local-variable-mode): Use minor-mode-list.
546 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
548 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
551 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
553 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
554 Update imenu-support when dialect changes.
556 2013-06-25 Leo Liu <sdl.web@gmail.com>
558 * ido.el (ido-read-internal): Allow forward slash on windows.
560 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
562 * net/eww.el (eww): Start of strings is \\`, not ^.
564 2013-06-24 Ivan Kanis <ivan@kanis.fr>
566 * net/shr.el (shr-browse-url): Fix interactive spec.
568 * net/eww.el (eww): Add a trailing slash to domain names.
570 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
572 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
574 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
576 * net/shr.el (shr-browse-url): Use an external browser if given a
579 * net/eww.el (eww-external-browser): Move to shr.
581 2013-06-24 Ivan Kanis <ivan@kanis.fr>
583 * net/eww.el (eww): Work more correctly for file: URLs.
584 (eww-detect-charset): Allow quoted charsets.
585 (eww-yank-page-url): New command and keystroke.
587 2013-06-24 Daiki Ueno <ueno@gnu.org>
589 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
590 file name of gpg executable.
591 (epg-context-program): New function.
592 (epg-context-home-directory): New function.
593 (epg-context-set-program): New function.
594 (epg-context-set-home-directory): New function.
595 (epg--start): Use `epg-context-program' instead of
597 (epg--list-keys-1): Likewise.
599 2013-06-24 Leo Liu <sdl.web@gmail.com>
601 * ido.el (ido-read-internal): Fix bug#14620.
603 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
605 * faces.el (face-documentation): Simplify.
606 (read-face-attribute, tty-find-type, x-resolve-font-name):
607 Use `string-match-p'.
608 (list-faces-display): Use `string-match-p'. Simplify.
609 (face-spec-recalc): Check face to avoid face alias loops.
610 (read-color): Use `string-match-p' and non-capturing parenthesis.
612 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
614 * net/shr.el (shr-rescale-image): Use the new
615 :max-width/:max-height functionality.
617 2013-06-23 Ivan Kanis <ivan@kanis.fr>
619 * net/eww.el (eww-search-prefix): New variable.
621 (eww-external-browser): New variable.
622 (eww-mode-map): New keystroke.
623 (eww-browse-with-external-browser): New command.
625 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
627 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
629 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
630 Don't skip aligning the next header field when padding is 0;
631 otherwise, field width is not respected unless the title is as
634 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
636 * emacs-lisp/package.el (package-el-version): Remove.
637 (package-process-define-package): Fix inf-loop.
638 (package-install): Allow symbols as arguments again.
640 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
642 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
643 add some more keyword-like methods.
644 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
646 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
648 * bs.el (bs-buffer-show-mark): Make defvar-local.
649 (bs-mode): Use setq-local.
651 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
652 (emacs-lock--try-unlocking): Make defvar-local.
654 2013-06-22 Glenn Morris <rgm@fencepost.gnu.org>
656 * play/cookie1.el (cookie-apropos): Minor simplification.
658 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
660 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
662 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
663 `regexp-opt', it breaks the build during dumping.
665 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
667 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
668 Highlight keyword-like methods on Kernel and Module with
669 font-lock-builtin-face.
670 (auto-mode-alist): Consolidate different entries into one regexp
671 and add more *file-s.
673 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
675 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
677 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
678 (diary-entry): Use it in the action of this button type instead of
681 * calendar/todo-mode.el: New version.
682 (todo-add-category): Append new category to end of file and give
683 it the highest number, instead of putting it at the beginning and
684 giving it 0. Incorporate noninteractive functionality.
685 (todo-forward-category): Adapt to 1-based category numbering.
686 Allow skipping over archived categories.
687 (todo-backward-category): Derive from todo-forward-category.
688 (todo-backward-item, todo-forward-item): Make noninteractive and
689 delegate interactive part to new commands. Make sensitive to done items.
690 (todo-categories): Make value an alist of category names and
691 vectors of item counts.
692 (todo-category-beg): Make a defconst.
693 (todo-category-number): Use 1 instead of 0 as initial value.
694 (todo-category-select): Make sensitive to overlays, optional item
695 highlighting and done items.
696 (todo-delete-item): Make sensitive to overlays and marked and done items.
697 (todo-edit-item): Make sensitive to overlays and editing of
698 date/time header optional. Add format checks.
699 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
700 no-op if point is not on an item. Advertise using todo-edit-quit.
701 (todo-edit-mode): Make sensitive to new format, font-locking, and
703 (todo-insert-item, todo-insert-item-here): Derive from
704 todo-basic-insert-item and extend functionality.
705 (todo-item-end, todo-item-start): Make sensitive to done items.
706 (todo-item-string): Don't return text properties. Restore point.
707 (todo-jump-to-category): Make sensitive to multiple todo files and
708 todo archives. Use extended category completion.
709 (todo-lower-item, todo-raise-item): Rename to *-priority and
710 derive from todo-set-item-priority.
711 (todo-mode): Derive from special-mode. Make sensitive to new
712 format, font-locking and multiple todo files. Make read-only.
713 (todo-mode-map): Don't suppress digit keys, so they can supply
714 prefix arguments. Add many new key bindings.
715 (todo-prefix): Insert as an overlay instead of file text.
716 Change semantics from diary date expression to purely visual mark.
717 (todo-print): Rename to todo-print-buffer. Make buffer display
718 features printable. Remove option to restrict number of items
719 printed. Add option to print to file.
720 (todo-print-function): Rename to todo-print-buffer-function.
721 (todo-quit): Extend to handle exiting new todo modes.
722 (todo-remove-item): Make sensitive to overlays.
723 (todo-save): Extend to buffers of filtered items.
724 (todo-show): Make sensitive to done items, multiple todo files and
725 new todo modes. Offer to convert legacy todo file before creating
727 (todo-show-priorities): Rename to todo-top-priorities.
728 Change semantics of value 0.
729 (todo-top-priorities): Rename to todo-filter-top-priorities,
730 derive from todo-filter-items and extend functionality.
731 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
732 and extend functionality to other types of filtered items.
733 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
734 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
735 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
736 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
737 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
738 (todo-edit-mode-hook, todo-entry-prefix-function)
739 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
740 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
741 (todo-initials, todo-insert-threshold, todo-item-string-start)
742 (todo-line-string, todo-menu, todo-mode-hook)
743 (todo-more-important-p, todo-previous-answer, todo-previous-line)
744 (todo-print-priorities, todo-remove-separator)
745 (todo-save-top-priorities-too, todo-string-count-lines)
746 (todo-string-multiline-p, todo-time-string-format)
747 (todo-tmp-buffer-name): Remove.
748 (todo-add-file, todo-archive-done-item, todo-choose-archive)
749 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
750 (todo-edit-category-diary-inclusion)
751 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
752 (todo-edit-file, todo-edit-item-date-day)
753 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
754 (todo-edit-item-date-month, todo-edit-item-date-to-today)
755 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
756 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
757 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
758 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
759 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
760 (todo-filter-top-priorities-multifile, todo-find-archive)
761 (todo-find-filtered-items-file, todo-go-to-source-item)
762 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
763 (todo-jump-to-archive-category, todo-lower-category)
764 (todo-mark-category, todo-marked-item-p, todo-merge-category)
765 (todo-move-category, todo-move-item, todo-next-button)
766 (todo-next-item, todo-padded-string, todo-powerset)
767 (todo-previous-button, todo-previous-item)
768 (todo-print-buffer-to-file, todo-raise-category)
769 (todo-rename-category, todo-repair-categories-sexp, todo-search)
770 (todo-set-category-number, todo-set-item-priority)
771 (todo-set-top-priorities-in-category)
772 (todo-set-top-priorities-in-file, todo-show-categories-table)
773 (todo-sort-categories-alphabetically-or-numerically)
774 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
775 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
776 (todo-toggle-item-header, todo-toggle-item-highlighting)
777 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
778 (todo-toggle-view-done-items, todo-toggle-view-done-only)
779 (todo-unarchive-items, todo-unmark-category): New commands.
780 (todo-absolute-file-name, todo-add-to-buffer-list)
781 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
782 (todo-basic-insert-item, todo-category-completions)
783 (todo-category-number, todo-category-string-matcher-1)
784 (todo-category-string-matcher-2, todo-check-filtered-items-file)
785 (todo-check-format, todo-clear-matches)
786 (todo-comment-string-matcher, todo-convert-legacy-date-time)
787 (todo-current-category, todo-date-string-matcher)
788 (todo-define-insertion-command, todo-diary-expired-matcher)
789 (todo-diary-goto-entry, todo-diary-item-p)
790 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
791 (todo-display-categories, todo-display-sorted, todo-done-item-p)
792 (todo-done-item-section-p, todo-done-separator)
793 (todo-done-string-matcher, todo-files, todo-filter-items)
794 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
795 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
796 (todo-insert-category-line, todo-insert-item-from-calendar)
797 (todo-insert-sort-button, todo-insert-with-overlays)
798 (todo-insertion-command-name, todo-insertion-key-bindings)
799 (todo-label-to-key, todo-longest-category-name-length)
800 (todo-make-categories-list, todo-mode-external-set)
801 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
802 (todo-modes-set-3, todo-multiple-filter-files)
803 (todo-nondiary-marker-matcher, todo-prefix-overlays)
804 (todo-read-category, todo-read-date, todo-read-dayname)
805 (todo-read-file-name, todo-read-time)
806 (todo-reevaluate-category-completions-files-defcustom)
807 (todo-reevaluate-default-file-defcustom)
808 (todo-reevaluate-filelist-defcustoms)
809 (todo-reevaluate-filter-files-defcustom)
810 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
811 (todo-reset-done-separator, todo-reset-done-separator-string)
812 (todo-reset-done-string, todo-reset-global-current-todo-file)
813 (todo-reset-highlight-item, todo-reset-nondiary-marker)
814 (todo-reset-prefix, todo-set-categories)
815 (todo-set-date-from-calendar, todo-set-show-current-file)
816 (todo-set-top-priorities, todo-short-file-name)
817 (todo-show-current-file, todo-sort, todo-time-string-matcher)
818 (todo-total-item-counts, todo-update-buffer-list)
819 (todo-update-categories-display, todo-update-categories-sexp)
820 (todo-update-count, todo-validate-name, todo-y-or-n-p):
822 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
824 (todo-categories, todo-display, todo-edit, todo-faces)
825 (todo-filtered): New defgroups.
826 (todo-archived-only, todo-button, todo-category-string, todo-date)
827 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
828 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
829 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
830 (todo-add-item-if-new-category, todo-always-add-time-string)
831 (todo-categories-align, todo-categories-archived-label)
832 (todo-categories-category-label, todo-categories-diary-label)
833 (todo-categories-done-label, todo-categories-number-separator)
834 (todo-categories-todo-label, todo-categories-totals-label)
835 (todo-category-completions-files, todo-completion-ignore-case)
836 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
837 (todo-done-separator-string, todo-done-string)
838 (todo-files-function, todo-filter-done-items, todo-filter-files)
839 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
840 (todo-initial-category, todo-initial-file, todo-item-mark)
841 (todo-legacy-date-time-regexp, todo-mode-line-function)
842 (todo-nondiary-marker, todo-number-prefix)
843 (todo-print-buffer-function, todo-show-current-file)
844 (todo-show-done-only, todo-show-first, todo-show-with-done)
845 (todo-skip-archived-categories, todo-top-priorities-overrides)
846 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
847 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
849 (todo-category-done, todo-date-pattern, todo-date-string-start)
850 (todo-diary-items-buffer, todo-done-string-start)
851 (todo-filtered-items-buffer, todo-item-start)
852 (todo-month-abbrev-array, todo-month-name-array)
853 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
854 (todo-top-priorities-buffer): New defconsts.
855 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
856 (todo-categories-with-marks, todo-category-string-face)
857 (todo-comment-face, todo-comment-string, todo-current-todo-file)
858 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
859 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
860 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
861 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
862 (todo-font-lock-keywords, todo-global-current-todo-file)
863 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
864 (todo-insertion-commands-args)
865 (todo-insertion-commands-args-genlist)
866 (todo-insertion-commands-names, todo-insertion-map)
867 (todo-key-bindings-t, todo-key-bindings-t+a)
868 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
869 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
870 (todo-nondiary-face, todo-print-buffer, todo-time-face)
871 (todo-visited): New variables.
873 2013-06-21 Glenn Morris <rgm@gnu.org>
875 * play/cookie1.el (cookie-apropos): Add optional display argument.
876 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
877 (psychoanalyze-pinhead): Use cookie-doctor.
879 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
881 * emacs-lisp/package.el (tar-get-file-descriptor)
882 (tar--extract): Declare.
884 2013-06-21 Eduard Wiebe <usenet@pusto.de>
886 Extend flymake's warning predicate to be a function (bug#14217).
887 * progmodes/flymake.el (flymake-warning-predicate): New.
888 (flymake-parse-line): Use it.
889 (flymake-warning-re): Make obsolete alias to
890 `flymake-warning-predicate'.
892 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
894 * emacs-lisp/package.el (package-alist): Include obsolete packages.
895 (package-obsolete-list): Remove.
896 (package-activate): Remove min-version argument. Add `force' argument.
897 Adjust to new package-alist format.
898 (package-mark-obsolete): Remove.
899 (package-unpack): Force reload of the package's autoloads.
900 (package-installed-p): Check builtins if the installed package is not
902 (package-initialize): Don't reset package-obsolete-list.
903 Don't specify which package version to activate.
904 (package-process-define-package, describe-package-1)
905 (package-menu--generate): Adjust to new package-alist format.
907 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
909 * allout-widgets.el (allout-widgets-mode-off)
910 (allout-widgets-mode-on, allout-widgets-pre-command-business)
911 (allout-widgets-post-command-business)
912 (allout-widgets-after-copy-or-kill-function)
913 (allout-widgets-after-undo-function, allout-test-range-overlaps)
914 (allout-decorate-item-and-context)
915 (allout-graphics-modification-handler): Fix typos in docstrings.
916 (allout-get-or-create-parent-widget): Use `looking-at-p'.
918 * cmuscheme.el (scheme-start-file): Doc fix.
919 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
920 (scheme-input-filter): Use `string-match-p'.
922 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
924 * dired-x.el: Use Dired consistently in docstrings.
926 * dired.el: Use Dired consistently in docstrings.
927 (dired-readin, dired-mode): Use `setq-local'.
928 (dired-switches-alist): Make defvar-local.
929 (dired-buffers-for-dir): Use `zerop'.
930 (dired-safe-switches-p, dired-switches-escape-p)
931 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
932 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
933 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
934 (dired-goto-next-nontrivial-file): Use `string-match-p'.
935 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
936 (dired-toggle-marks, dired-mark-files-containing-regexp)
937 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
938 (dired-flag-auto-save-files, dired-flag-backup-files):
940 (dired-mark-files-regexp, dired-build-subdir-alist):
941 Use `string-match-p', `looking-at-p'.
943 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
944 (direct-print-region-helper): Use `string-match-p'.
946 2013-06-21 Leo Liu <sdl.web@gmail.com>
948 * comint.el (comint-redirect-results-list-from-process):
951 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
953 * net/eww.el (eww-update-header-line-format): Quote % characters.
955 2013-06-21 Glenn Morris <rgm@gnu.org>
957 * play/cookie1.el (cookie): New custom group.
958 (cookie-file): New option.
959 (cookie-check-file): New function.
960 (cookie): Make it interactive. Make start and end messages optional.
961 Interactively, display the result. Default to cookie-file.
962 (cookie-insert): Default to cookie-file.
963 (cookie-snarf): Make start and end messages optional.
964 Default to cookie-file. Use with-temp-buffer.
965 (cookie-read): Rename from read-cookie.
966 Make start and end messages optional. Default to cookie-file.
967 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
969 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
970 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
972 2013-06-21 Leo Liu <sdl.web@gmail.com>
974 * progmodes/octave.el (octave-mode): Backward compatibility fix.
976 2013-06-21 Glenn Morris <rgm@gnu.org>
978 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
980 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
981 Daniel Hackney <dan@haxney.org>
983 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
984 Consolidate the single-file vs tarball code.
985 (package-desc-suffix): New function.
986 (package-desc-full-name): Don't bother inlining it.
987 (package-load-descriptor): Return the new package-desc.
988 (package-mark-obsolete): Remove unused arg `package'.
989 (package-unpack): Make it work for single files as well.
990 Make it update package-alist.
991 (package--make-autoloads-and-stuff): Rename from
992 package--make-autoloads-and-compile. Don't compile any more.
993 (package--compile): New function.
994 (package-generate-description-file): New function, extracted from
995 package-unpack-single.
996 (package-unpack-single): Remove.
997 (package--with-work-buffer): Add indentation and debugging info.
998 (package-download-single): Remove.
999 (package-install-from-archive): Rename from package-download-tar, make
1000 it take a pkg-desc, and make it work for single files as well.
1001 (package-download-transaction): Simplify.
1002 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
1003 external tar program.
1004 (package-install-from-buffer): Remove `pkg-desc' argument.
1005 Use package-tar-file-info for tar-mode buffers.
1006 (package-install-file): Simplify accordingly.
1007 (package-archive-base): Change to take a pkg-desc.
1008 * tar-mode.el (tar--check-descriptor): New function, extracted from
1010 (tar-get-descriptor): Use it.
1011 (tar-get-file-descriptor): New function.
1012 (tar--extract): New function, extracted from tar-extract.
1013 (tar--extract): Use it.
1014 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
1015 case the summary uses non-ascii. Adjust to new calling convention of
1016 package-tar-file-info.
1018 2013-06-21 Leo Liu <sdl.web@gmail.com>
1020 * comint.el (comint-redirect-results-list-from-process):
1021 Fix random delay. (Bug#14681)
1023 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
1025 * profiler.el (profiler-format-number): Use log, not log10.
1027 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
1029 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
1031 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1033 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
1034 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
1036 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
1037 (AUTOGENEL): ... here.
1038 * emacs-lisp/cl-macs.el (cl--sublis): New function.
1039 (cl--defsubst-expand): Use it.
1041 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
1043 * subr.el (log10): Move here from C code, and declare as obsolete.
1044 All uses of (log10 X) replaced with (log X 10).
1046 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
1048 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
1049 Declare with `defvar-local'.
1050 (tabulated-list-use-header-line, tabulated-list-entries)
1051 (tabulated-list-padding, tabulated-list-printer)
1052 (tabulated-list-sort-key): Declare with `defvar-local'.
1053 (tabulated-list-init-header, tabulated-list-print-fake-header):
1056 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
1058 * arc-mode.el (archive-mode): Add `archive-write-file' to
1059 `write-contents-functions' also for remote files. (Bug#14652)
1061 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
1063 * cus-edit.el (custom-commands): Fix typos.
1064 (custom-display): Fix tooltip text.
1065 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
1066 Fix typos in docstrings.
1067 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
1068 (custom-unlispify-menu-entry, custom-magic-value-create)
1069 (custom-add-see-also, custom-group-value-create): Use ?\s.
1070 (custom-guess-type, customize-apropos, editable-field)
1071 (custom-face-value-create): Use `string-match-p'.
1072 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
1074 * custom.el (custom-load-symbol): Use `string-match-p'.
1076 * ansi-color.el: Convert to lexical binding.
1077 (ansi-colors): Fix URL.
1078 (ansi-color-context, ansi-color-context-region): Use defvar-local.
1079 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
1080 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
1082 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1084 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
1086 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
1088 2013-06-19 Tom Tromey <tromey@redhat.com>
1090 * net/eww.el (eww-top-url): Remove.
1091 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
1092 (eww-render): Set new variables. Don't set eww-top-url.
1093 (eww-handle-link): Handle "prev", "home", and "contents".
1094 Downcase the rel text.
1095 (eww-top-url): Choose best top URL.
1097 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1099 * net/eww.el: Rewrite to implement form elements "by hand" instead of
1100 relying in widget.el. Using widget.el leads to too many
1101 user interface inconsistencies.
1102 (eww-self-insert): Implement entering commands in text fields.
1103 (eww-process-text-input): New function to make text input field editing
1105 (eww-submit): Rewrite to use the new-style form methods.
1106 (eww-select-display): Display the correct selected item.
1107 (eww-change-select): Implement changing the select value.
1108 (eww-toggle-checkbox): Implement radio/checkboxes.
1109 (eww-update-field): Fix compilation error.
1110 (eww-tag-textarea): Implement <textarea>.
1112 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
1113 we don't shadow mode-specific bindings.
1115 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
1118 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
1120 2013-06-19 Glenn Morris <rgm@fencepost.gnu.org>
1122 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
1124 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
1126 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
1129 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
1131 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1133 * net/browse-url.el (browse-url-browser-function):
1134 `eww-browse-url' has the right calling signature, `eww' does not.
1136 2013-06-19 Glenn Morris <rgm@gnu.org>
1138 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
1139 Only eval autoloaded macros.
1140 (byte-compile-autoload): Only give the macro warning for macros.
1142 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
1143 (ps-underlined-faces): Declare.
1145 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
1146 (speedbar-add-supported-extension): Declare.
1148 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
1149 Don't include a date stamp in the header of the generated file;
1150 it leads to needless differences between output files.
1152 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
1154 * net/secrets.el (secrets-struct-secret-content-type):
1155 Replace check of introspection data by a test call of "CreateItem".
1156 Some servers do not offer introspection.
1158 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1160 * electric.el (electric-pair-mode): Improve interaction with
1161 electric-layout-mode.
1162 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
1163 (electric-pair-syntax): Use text-mode-syntax-table in comments
1165 (electric-pair--insert): New function.
1166 (electric-pair-post-self-insert-function): Use it and
1167 electric--after-char-pos.
1169 2013-06-19 Leo Liu <sdl.web@gmail.com>
1171 * progmodes/octave.el (octave-help): Fix regexp.
1173 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1175 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
1176 (shr-table-horizontal-line): Allow nil as a value, and change the
1178 (shr-insert-table-ruler): Respect the nil value.
1180 2013-06-18 Tom Tromey <tromey@barimba>
1182 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
1184 (eww-open-file): New defun.
1185 (eww-render): Initialize new variables.
1186 (eww-display-html): Handle "link" and "a".
1187 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
1188 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
1189 (eww-back-url): Rename from eww-previous-url.
1190 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
1193 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
1195 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
1196 Distinguish ternary operator tokens from slash symbol and slash
1199 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
1201 Convert symbol prettification into minor mode and global minor mode.
1203 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
1204 `prog-prettify-symbols', and make a local defvar instead of defcustom.
1205 (prettify-symbols--keywords): Rename from
1206 `prog-prettify-symbols-alist' and make a local defvar.
1207 (prettify-symbols--compose-symbol): Rename from
1208 `prog--prettify-font-lock-compose-symbol'.
1209 (prettify-symbols--make-keywords): Rename from
1210 `prog-prettify-font-lock-symbols-keywords' and simplify.
1211 (prog-prettify-install): Remove.
1212 (prettify-symbols-mode): New minor mode, based on
1213 `prog-prettify-install'.
1214 (turn-on-prettify-symbols-mode): New function.
1215 (global-prettify-symbols-mode): New globalized minor mode.
1217 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1218 * progmodes/cfengine.el (cfengine3-mode):
1219 * progmodes/perl-mode.el (perl-mode): Don't call
1220 `prog-prettify-install'; set `prettify-symbols-alist' instead.
1222 2013-06-18 Juri Linkov <juri@jurta.org>
1224 * files-x.el (modify-file-local-variable-message): New function.
1225 (modify-file-local-variable)
1226 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
1227 and call `modify-file-local-variable-message' when it's non-nil.
1228 (add-file-local-variable, delete-file-local-variable)
1229 (add-file-local-variable-prop-line)
1230 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
1231 and use it. (Bug#9820)
1233 2013-06-18 Juri Linkov <juri@jurta.org>
1235 * emulation/vi.el (vi-shell-op):
1236 * emulation/vip.el (vip-execute-com, ex-command):
1237 * emulation/viper-cmd.el (viper-exec-bang):
1238 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
1239 the call of `shell-command-on-region'. (Bug#14637)
1241 * simple.el (shell-command-on-region): Doc fix.
1243 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1245 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
1248 2013-06-18 Glenn Morris <rgm@gnu.org>
1250 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
1252 * newcomment.el (comment-search-forward, comment-search-backward):
1253 Doc fix. (Bug#14376)
1255 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
1257 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
1258 (buffer-face-mode-invoke): Doc fix.
1260 2013-06-18 Matthias Meulien <orontee@gmail.com>
1262 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
1263 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
1265 2013-06-18 Glenn Morris <rgm@gnu.org>
1267 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
1268 Replace obsolete function generic-make-keywords with its expansion.
1270 * progmodes/python.el (ffap-alist): Declare.
1272 * textmodes/reftex.el (bibtex-mode-map): Declare.
1274 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1276 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
1277 (package-unpack, package-unpack-single): Return the pkg-dir.
1278 (package-download-transaction): Use it to update package-alist.
1280 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1282 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
1285 2013-06-17 Juri Linkov <juri@jurta.org>
1287 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
1289 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
1291 * emacs-lisp/package.el (package-load-descriptor):
1292 Remove `with-syntax-table' call, `read' doesn't need it.
1293 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
1295 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
1297 * startup.el (command-line): Expand package name returned by
1298 `package--description-file' (bug#14639).
1300 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
1302 * emacs-lisp/package.el (package-load-descriptor): Do not call
1303 `emacs-lisp-mode', just use its syntax table.
1305 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
1307 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
1308 `font-lock-extra-managed-props' if any prettifying keyword is added.
1309 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
1310 (prog-mode): Use `setq-local'.
1312 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1314 * international/characters.el (standard-case-table): Set syntax of ?»
1315 and ?« to punctuation.
1317 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
1319 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
1320 Save relevant match data before calling `syntax-ppss' (bug#14595).
1322 2013-06-15 Juri Linkov <juri@jurta.org>
1324 * files-x.el (modify-file-local-variable-prop-line): Add local
1325 variables to the end of the existing comment on the first line.
1326 Use `file-auto-mode-skip' to skip interpreter magic line,
1327 and also skip XML declaration.
1329 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1331 * startup.el (package--builtin-versions): New var.
1332 (package-subdirectory-regexp): Remove.
1333 (package--description-file): Hard code its value instead.
1335 * emacs-lisp/package.el: Don't activate packages older than builtin.
1336 (package-obsolete-list): Rename from package-obsolete-alist, and make
1337 it into a simple list of package-desc.
1338 (package-strip-version): Remove.
1339 (package-built-in-p): Use package--builtin-versions.
1340 (package-mark-obsolete): Simplify.
1341 (package-process-define-package): Mark it obsolete if older than the
1343 (package-handle-response): Use line-end-position.
1344 (package-read-archive-contents, package--download-one-archive):
1346 (package--add-to-archive-contents): Skip if older than the builtin or
1348 (package-menu-describe-package): Fix last change.
1349 (package-list-unversioned): New var.
1350 (package-menu--generate): Use it.
1352 * emacs-lisp/autoload.el: Manage package--builtin-versions.
1353 (autoload--insert-text, autoload--insert-cookie-text): New functions.
1354 (autoload-builtin-package-versions): New variable.
1355 (autoload-generate-file-autoloads): Use them.
1356 Remove the list of autoloaded functions/macros from the
1357 (autoload...) comments.
1359 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
1361 2013-06-15 Eli Zaretskii <eliz@gnu.org>
1363 * simple.el (line-move-partial): Don't jump to the next screen
1364 line as soon as it becomes visible. Instead, continue enlarging
1365 the vscroll until the portion of a tall screen line that's left on
1366 display is about the height of the frame's default font.
1369 2013-06-15 Glenn Morris <rgm@gnu.org>
1371 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
1372 compilation-error-regexp-alist void, or local while let-bound.
1374 * progmodes/make-mode.el (makefile-mode-syntax-table):
1375 Treat "=" as punctuation. (Bug#14614)
1377 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
1379 * help-fns.el (describe-variable):
1380 Add extra line for permanent-local variables.
1382 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
1384 * progmodes/scheme.el (scheme-font-lock-keywords-2):
1385 Add export, import, library. (Bug#9164)
1386 (library): Set indent function.
1388 2013-06-14 Glenn Morris <rgm@gnu.org>
1390 * term/xterm.el (xterm--query):
1391 Stop after first matching handler. (Bug#14615)
1393 2013-06-14 Ivan Kanis <ivan@kanis.fr>
1395 Add support for dired in saveplace.
1396 * dired.el (dired-initial-position-hook): New variable.
1397 (dired-initial-position): Call hook to place cursor position.
1398 * saveplace.el (save-place-to-alist): Add dired position.
1399 (save-place-dired-hook): New function.
1401 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
1403 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
1404 through a symbol rather than letrec.
1406 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
1407 (package-desc): Add `dir' field.
1408 (package-desc-full-name): New function.
1409 (package-load-descriptor): Combine the two arguments. Don't use `load'.
1410 (package-maybe-load-descriptor): Remove.
1411 (package-load-all-descriptors): Just call package-load-descriptor.
1412 (package--disabled-p): New function.
1413 (package-desc-vers, package-desc-doc): Remove aliases.
1414 (package--dir): Remove function.
1415 (package-activate): Check if a package is disabled.
1416 (package-process-define-package): New function, extracted from
1418 (define-package): Turn into a place holder.
1419 (package-unpack-single, package-tar-file-info):
1420 Use package--description-file.
1421 (package-compute-transaction): Use package--disabled-p.
1422 (package-download-transaction): Don't call
1423 package-maybe-load-descriptor since they're all loaded anyway.
1424 (package-install): Change argument to be a pkg-desc.
1425 (package-delete): Use a single pkg-desc argument.
1426 (describe-package-1): Use package-desc-dir instead of package--dir.
1427 Use package-desc property instead of package-symbol.
1428 (package-install-button-action): Adjust accordingly.
1429 (package--push): Rewrite.
1430 (package-menu--print-info): Adjust accordingly. Change the ID format
1432 (package-menu-describe-package, package-menu-get-status)
1433 (package-menu--find-upgrades, package-menu-mark-upgrades)
1434 (package-menu-execute, package-menu--name-predicate):
1436 * startup.el (package--description-file): New function.
1437 (command-line): Use it.
1438 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1439 Use package-desc-version.
1441 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
1442 (byte-compile-preprocess): Use it.
1443 (byte-compile-file-form-defalias): Try a bit harder to use macros we
1444 can't quite recognize.
1445 (byte-compile-add-to-list): Remove.
1446 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
1447 (cconv-closure-convert): Add assertion.
1449 * emacs-lisp/map-ynp.el: Use lexical-binding.
1450 (map-y-or-n-p): Remove unused vars `tail' and `object'.
1451 Factor out some repeated code.
1453 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1455 * subr.el (with-eval-after-load): New macro.
1456 (eval-after-load): Allow form to be a function.
1457 take advantage of lexical-binding.
1458 (do-after-load-evaluation): Use dolist and adjust to new format.
1459 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
1461 2013-06-13 Juri Linkov <juri@jurta.org>
1463 * replace.el (perform-replace): Display "symbol " and other search
1464 modes from `isearch-message-prefix' in the *Help* buffer.
1466 * isearch.el (isearch-query-replace): Add " symbol" and other
1467 possible search modes from `isearch-message-prefix' to the prompt.
1468 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
1469 when reading a regexp to collect.
1471 2013-06-13 Juri Linkov <juri@jurta.org>
1473 * isearch.el (word-search-regexp): Match whitespace if the search
1474 string begins or ends in whitespace. The LAX arg is applied to
1475 both ends of the search string. Use `regexp-quote' and explicit
1476 \< and \> instead of \b. Use \` and \' instead of ^ and $.
1477 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
1478 boundaries are replaced with symbol boundaries, and characters
1479 between symbols match non-word non-symbol syntax. (Bug#14602)
1481 2013-06-13 Juri Linkov <juri@jurta.org>
1483 * isearch.el (isearch-del-char): Don't exceed the length of
1484 `isearch-string' by the prefix arg. (Bug#14563)
1486 2013-06-13 Juri Linkov <juri@jurta.org>
1488 * isearch.el (isearch-yank-word, isearch-yank-line)
1489 (isearch-char-by-name, isearch-quote-char)
1490 (isearch-printing-char, isearch-process-search-char):
1491 Add optional count prefix arg. (Bug#14563)
1493 * international/isearch-x.el
1494 (isearch-process-search-multibyte-characters):
1495 Add optional count prefix arg.
1497 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1499 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
1500 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
1503 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
1505 * subr.el (set-temporary-overlay-map): Add on-exit argument.
1507 2013-06-13 Glenn Morris <rgm@gnu.org>
1509 * startup.el (tty-handle-args):
1510 Don't just discard "--" and anything after. (Bug#14608)
1512 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
1514 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
1516 Implement changes in Secret Service API. Make it backward compatible.
1517 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
1518 (secrets-create-item): Use it. Prefix properties with interface.
1520 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
1522 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
1523 (term-emulate-terminal): Respect term-suppress-hard-newline.
1525 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
1527 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
1528 Only remove a `thumb-file' overlay. (Bug#14548)
1530 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
1532 * mail/reporter.el (reporter-submit-bug-report):
1533 Handle missing package-name. (Bug#14600)
1535 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1537 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
1538 (reftex-citation-prompt, reftex-default-bibliography)
1539 (reftex-bib-or-thebib, reftex-get-bibfile-list)
1540 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1541 (reftex-bib-sort-author, reftex-bib-sort-year)
1542 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
1543 (reftex-extract-bib-entries-from-thebibliography)
1544 (reftex-get-bibkey-default, reftex-get-bib-names)
1545 (reftex-parse-bibtex-entry, reftex-get-bib-field)
1546 (reftex-format-bib-entry, reftex-parse-bibitem)
1547 (reftex-format-bibitem, reftex-do-citation)
1548 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
1549 (reftex-restrict-bib-matches, reftex-extract-bib-file)
1550 (reftex-insert-bib-matches, reftex-format-citation)
1551 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
1552 (reftex-create-bibtex-file): Add docstrings, mostly by converting
1553 existing comments into docstrings.
1555 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
1557 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
1559 2013-06-12 Andreas Schwab <schwab@suse.de>
1561 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
1562 for auto-save files.
1564 2013-06-12 Glenn Morris <rgm@gnu.org>
1566 * ido.el (ido-delete-ignored-files): Remove.
1567 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
1568 Go back to calling ido-ignore-item-p directly.
1570 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
1572 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
1574 * ido.el (ido-delete-ignored-files): New function,
1575 split from ido-make-file-list-1.
1576 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
1577 (ido-make-file-list-1): Use ido-delete-ignored-files.
1579 2013-06-12 Leo Liu <sdl.web@gmail.com>
1581 * progmodes/octave.el (inferior-octave-startup)
1582 (inferior-octave-completion-table)
1583 (inferior-octave-track-window-width-change)
1584 (octave-eldoc-function-signatures, octave-help)
1585 (octave-find-definition): Use single quoted strings.
1586 (inferior-octave-startup-args): Change default value.
1587 (inferior-octave-startup): Do not hard code "-i" and
1588 "--no-line-editing".
1589 (inferior-octave-resync-dirs): Add optional arg NOERROR.
1590 (inferior-octave-directory-tracker): Use it.
1591 (octave-goto-function-definition): Robustify.
1592 (octave-help): Support highlighting operators in 'See also'.
1593 (octave-find-definition): Find subfunctions only in Octave mode.
1595 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1597 * help-fns.el (help-fns--compiler-macro): If the handler function is
1598 named, then put a link to it.
1599 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
1600 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
1602 (cl-eval-when): Simplify debug spec.
1603 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
1604 compiler-macro function instead of setting `compiler-macro-file'.
1606 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
1608 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
1609 * vc/vc-hooks.el (vc-stay-local): Doc fix.
1611 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1612 Daniel Hackney <dan@haxney.org>
1614 First part of Daniel Hackney's patch to package.el.
1615 * emacs-lisp/package.el: Use defstruct.
1616 (package-desc): New, main struct.
1617 (package--bi-desc, package--ac-desc): New structs, used to describe the
1618 format in external files.
1619 (package-desc-vers): Replace with package-desc-version accessor.
1620 (package-desc-doc): Replace with package-desc-summary accessor.
1621 (package-activate-1): Remove `package' arg since the pkg-vec now
1623 (define-package): Use package-desc-from-define.
1624 (package-unpack-single): Change file-name arg to be a symbol.
1625 (package--add-to-archive-contents): Use package-desc-create and new
1626 accessor functions to package--ac-desc.
1627 (package-buffer-info, package-tar-file-info): Return a package-desc.
1628 (package-install-from-buffer): Remove `type' argument. Change pkg-info
1629 arg to be a package-desc.
1630 (package-install-file): Adjust accordingly. Use \' to match EOS.
1631 (package--from-builtin): New function.
1632 (describe-package-1, package-menu--generate): Use it.
1633 (package--make-autoloads-and-compile): Change name arg to be a symbol.
1634 (package-generate-autoloads): Idem and return the name of the file.
1635 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1636 Change pkg-info arg to be a package-desc.
1637 Use package-make-ac-desc.
1638 (package-upload-file): Use \' to match EOS.
1639 * finder.el (finder-compile-keywords): Use package-make-builtin.
1641 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1643 * vc/vc.el (vc-deduce-fileset): Change error message.
1644 (vc-read-backend): New function.
1645 (vc-next-action): Use it.
1647 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
1649 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
1650 (prolog-font-lock-keywords): Use regexp-opt instead.
1651 Don't manually highlight strings.
1652 (prolog-mode-variables): Simplify comment-start-skip.
1653 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
1655 * emacs-lisp/generic.el (generic--normalise-comments)
1656 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
1657 (generic-mode-set-comments): Use them.
1658 (generic-bracket-support): Use setq-local.
1659 (generic-make-keywords-list): Declare obsolete.
1661 2013-06-11 Glenn Morris <rgm@gnu.org>
1663 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1664 Prettify after setting font-lock-defaults. (Bug#14574)
1666 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
1668 * replace.el (query-replace, occur-read-regexp-defaults-function)
1670 * subr.el (declare-function, number-sequence, local-set-key)
1671 (substitute-key-definition, locate-user-emacs-file)
1672 (with-silent-modifications, split-string, eval-after-load):
1673 Fix typos, remove unneeded backslashes and reflow some docstrings.
1675 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1677 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
1678 default for Elisp files.
1680 2013-06-11 Glenn Morris <rgm@gnu.org>
1682 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
1683 although define-derived-mode was doing this anyway. (Bug#14583)
1685 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
1687 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1688 Fix make-variable-buffer-local call to refer to the correct variable.
1690 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
1692 * eshell/em-term.el (eshell-visual-commands)
1693 (eshell-visual-subcommands, eshell-visual-options):
1694 Add summary line to docstrings. Add cross-references.
1696 2013-06-10 Glenn Morris <rgm@gnu.org>
1698 * epa.el (epa-read-file-name): New function. (Bug#14510)
1699 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
1701 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
1703 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
1704 output redirection to be ignored with visual commands.
1706 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
1708 * eshell/em-term.el (eshell-visual-command-p): New function.
1709 (eshell-term-initialize): Move long lambda to separate function
1710 eshell-visual-command-p.
1711 * eshell/em-dirs.el (eshell-dirs-initialise):
1712 * eshell/em-script.el (eshell-script-initialize):
1713 Add missing #' to lambda.
1715 2013-06-08 Leo Liu <sdl.web@gmail.com>
1717 * progmodes/octave.el (octave-add-log-current-defun): New function.
1718 (octave-mode): Set add-log-current-defun-function.
1719 (octave-goto-function-definition): Do not move point if not found.
1720 (octave-find-definition): Enhance to try subfunctions first.
1722 2013-06-08 Glenn Morris <rgm@gnu.org>
1724 * emacs-lisp/bytecomp.el (byte-compile-char-before)
1725 (byte-compile-backward-char, byte-compile-backward-word):
1726 Improve previous change, to handle non-explicit nil.
1728 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1730 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
1731 (smie--opener/closer-at-point): New function.
1732 (smie--matching-block-data): Use it. Don't match from right after an
1733 opener or right before a closer. Obey smie-blink-matching-inners.
1734 Don't signal a mismatch for repeated inners like "switch..case..case".
1736 2013-06-07 Leo Liu <sdl.web@gmail.com>
1738 * progmodes/octave.el (octave-mode): Set comment-use-global-state
1740 (octave-function-header-regexp): Fix. (Bug#14570)
1741 (octave-help-mode-finish-hook, octave-help-mode-finish):
1742 Remove. Just use temp-buffer-show-hook.
1744 * newcomment.el (comment-search-backward): Revert last change.
1747 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
1749 2013-06-07 Eli Zaretskii <eliz@gnu.org>
1751 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
1752 through xargs, to avoid failure due to MS-Windows limitations on
1753 command-line length.
1755 2013-06-06 Glenn Morris <rgm@gnu.org>
1757 * font-lock.el (lisp-font-lock-keywords-2):
1758 Treat user-error like error.
1760 * emacs-lisp/bytecomp.el (byte-compile-char-before)
1761 (byte-compile-backward-char, byte-compile-backward-word):
1762 Handle explicit nil arguments. (Bug#14565)
1764 2013-06-05 Alan Mackenzie <acm@muc.de>
1766 * isearch.el (isearch-allow-prefix): New user option.
1767 (isearch-other-meta-char): Don't exit isearch when a prefix
1768 argument is typed whilst `isearch-allow-prefix' is non-nil.
1771 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1773 * autorevert.el (auto-revert-notify-handler): Use memq.
1774 Hide assertion failure.
1776 * skeleton.el: Use cl-lib.
1777 (skeleton-further-elements): Use defvar-local.
1778 (skeleton-insert): Use cl-progv.
1780 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1782 * progmodes/prog-mode.el (prog-prettify-symbols)
1783 (prog-prettify-install): Update docstrings.
1785 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1787 * simple.el: Move all the prog-mode code to prog-mode.el.
1788 * progmodes/prog-mode.el: New file.
1789 * loadup.el: Add prog-mode.el.
1791 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1793 * simple.el (prog-prettify-symbols): Add version.
1794 (prog-prettify-install): Add convenience function to prettify symbols.
1796 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
1797 (perl--augmented-font-lock-keywords-1)
1798 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
1799 variables and use it.
1801 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
1802 (cfengine3-mode): Remove unneeded variable and use it.
1804 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
1805 (lisp--augmented-font-lock-keywords-1)
1806 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
1807 Remove unneeded variables and use it.
1809 2013-06-05 João Távora <joaotavora@gmail.com>
1811 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
1812 to point when opening the connection. (Bug#14380)
1814 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1816 * subr.el (load-history-regexp, load-history-filename-element)
1817 (eval-after-load, after-load-functions, do-after-load-evaluation)
1818 (eval-next-after-load, display-delayed-warnings)
1819 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
1820 definition of save-match-data.
1821 (overriding-local-map): Remove accidental obsolescence declaration.
1823 * emacs-lisp/edebug.el (edebug-result): Move before first use.
1825 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
1827 Generalize symbol prettify support to prog-mode and implement it
1828 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
1829 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
1830 (prog--prettify-font-lock-compose-symbol)
1831 (prog-prettify-font-lock-symbols-keywords): New variables and
1832 functions to support symbol prettification.
1833 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
1834 (lisp--augmented-font-lock-keywords-1)
1835 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
1836 (lisp--prettify-symbols-alist): Implement prettify of lambda.
1837 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
1838 (cfengine3--prettify-symbols-alist, cfengine3-mode):
1839 Implement prettify of -> => :: strings.
1840 * progmodes/perl-mode.el (perl-prettify-symbols)
1841 (perl--font-lock-compose-symbol)
1842 (perl--font-lock-symbols-keywords): Move to prog-mode.
1843 (perl--prettify-symbols-alist): Prettify -> => :: strings.
1844 (perl-font-lock-keywords-1)
1845 (perl-font-lock-keywords-2): Remove explicit prettify support.
1846 (perl--augmented-font-lock-keywords)
1847 (perl--augmented-font-lock-keywords-1)
1848 (perl--augmented-font-lock-keywords-2, perl-mode):
1849 Implement prettify support.
1851 2013-06-05 Leo Liu <sdl.web@gmail.com>
1853 Re-implement smie matching block highlight using
1854 show-paren-data-function. (Bug#14395)
1855 * emacs-lisp/smie.el (smie-matching-block-highlight)
1856 (smie--highlight-matching-block-overlay)
1857 (smie--highlight-matching-block-lastpos)
1858 (smie-highlight-matching-block)
1859 (smie-highlight-matching-block-mode): Remove.
1860 (smie--matching-block-data-cache): New variable.
1861 (smie--matching-block-data): New function.
1862 (smie-setup): Use smie--matching-block-data for
1863 show-paren-data-function.
1865 * progmodes/octave.el (octave-mode-menu): Fix.
1866 (octave-find-definition): Skip garbage lines.
1868 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1870 Fix compilation error with simultaneous dynamic+lexical scoping.
1871 Add warning when a defvar appears after the first let-binding.
1872 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
1873 (byte-compile-close-variables): Initialize it.
1874 (byte-compile--declare-var): New function.
1875 (byte-compile-file-form-defvar)
1876 (byte-compile-file-form-define-abbrev-table)
1877 (byte-compile-file-form-custom-declare-variable): Use it.
1878 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
1879 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
1880 (byte-compile-bind): Handle dynamic bindings that shadow
1882 (byte-compile-unbind): Make arg non-optional.
1883 (byte-compile-let): Simplify.
1884 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
1885 (cconv--analyse-function, cconv-analyse-form): Populate it.
1886 Protect byte-compile-bound-variables to limit the scope of defvars.
1887 (cconv-analyse-form): Add missing rule for (defvar <foo>).
1888 Remove unneeded rule for `declare'.
1890 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
1891 so as to avoid depending on cl-adjoin at run-time.
1892 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
1894 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
1895 (macroexp--warn-and-return): Use it.
1897 2013-06-05 Leo Liu <sdl.web@gmail.com>
1899 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
1901 2013-06-04 Leo Liu <sdl.web@gmail.com>
1903 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
1904 (compilation-auto-jump): Suppress the "Mark set" message to give
1905 way to exit message.
1907 2013-06-04 Alan Mackenzie <acm@muc.de>
1909 Remove faulty optimisation from indentation calculation.
1910 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
1911 search limit based on 2000 characters back from indent-point.
1913 2013-06-03 Tassilo Horn <tsdh@gnu.org>
1915 * eshell/em-term.el (cl-lib): Require `cl-lib'.
1917 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
1919 * emacs-lisp/lisp.el: Use lexical-binding.
1920 (lisp--local-variables-1, lisp--local-variables): New functions.
1921 (lisp--local-variables-completion-table): New var.
1922 (lisp-completion-at-point): Use it complete let-bound vars.
1924 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
1925 eagerly (bug#14422).
1927 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
1929 * autorevert.el (auto-revert-notify-enabled)
1930 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1931 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
1932 (auto-revert-notify-handler): Handle also gfilenotify.
1934 * subr.el (file-notify-handle-event): New defun. Replacing ...
1935 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
1938 2013-06-03 Juri Linkov <juri@jurta.org>
1940 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
1941 `M-s h .'. (Bug#14427)
1943 * hi-lock.el (highlight-symbol-at-point): New alias for the new
1944 command `hi-lock-face-symbol-at-point'.
1945 (hi-lock-face-symbol-at-point): New command.
1946 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
1947 (hi-lock-menu): Add `highlight-symbol-at-point'.
1948 (hi-lock-mode): Doc fix.
1950 * isearch.el (isearch-forward-symbol-at-point): New command.
1951 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
1952 (isearch-highlight-regexp): Add a regexp which matches
1953 words/symbols for word/symbol mode.
1955 * subr.el (find-tag-default-bounds): New function with the body
1956 mostly moved from `find-tag-default'.
1957 (find-tag-default): Move most code to `find-tag-default-bounds',
1958 call it and apply `buffer-substring-no-properties' afterwards.
1960 2013-06-03 Tassilo Horn <tsdh@gnu.org>
1962 * eshell/em-term.el (eshell-term-initialize):
1963 Use `cl-intersection' rather than `intersection'.
1965 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
1967 * vc/log-view.el: Doc fix.
1968 (log-view-mode-map): Copy keymap from `special-mode-map'.
1970 2013-06-02 Eric Ludlam <zappo@gnu.org>
1972 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
1973 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
1974 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
1975 (eieio-unbound, eieio-default-superclass)
1976 (eieio--define-field-accessors, method-static, method-before)
1977 (method-primary, method-after, method-num-lists)
1978 (method-generic-before, method-generic-primary)
1979 (method-generic-after, method-num-slots)
1980 (eieio-specialized-key-to-generic-key)
1981 (eieio--check-type, class-v, class-p)
1982 (eieio-class-name, define-obsolete-function-alias)
1983 (eieio-class-parents-fast, eieio-class-children-fast)
1984 (same-class-fast-p, class-constructor, generic-p)
1985 (generic-primary-only-p, generic-primary-only-one-p)
1986 (class-option-assoc, class-option, eieio-object-p)
1987 (class-abstract-p, class-method-invocation-order)
1988 (eieio-defclass-autoload-map, eieio-defclass-autoload)
1989 (eieio-class-un-autoload, eieio-defclass)
1990 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
1991 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
1992 (eieio--defgeneric-init-form, eieio-defgeneric-form)
1993 (eieio-defgeneric-reset-generic-form)
1994 (eieio-defgeneric-form-primary-only)
1995 (eieio-defgeneric-reset-generic-form-primary-only)
1996 (eieio-defgeneric-form-primary-only-one)
1997 (eieio-defgeneric-reset-generic-form-primary-only-one)
1998 (eieio-unbind-method-implementations)
1999 (eieio--defmethod, eieio--typep)
2000 (eieio-perform-slot-validation, eieio-validate-slot-value)
2001 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
2002 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
2003 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
2004 (eieio-slot-name-index, eieio-class-slot-name-index)
2005 (eieio-set-defaults, eieio-initarg-to-attribute)
2006 (eieio-attribute-to-initarg, eieio-c3-candidate)
2007 (eieio-c3-merge-lists, eieio-class-precedence-c3)
2008 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
2009 (eieio-class-precedence-list, eieio-generic-call-methodname)
2010 (eieio-generic-call-arglst, eieio-generic-call-key)
2011 (eieio-generic-call-next-method-list)
2012 (eieio-pre-method-execution-functions, eieio-generic-call)
2013 (eieio-generic-call-primary-only, eieiomt-method-list)
2014 (eieiomt-optimizing-obarray, eieiomt-install)
2015 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
2016 (eieio-generic-form, eieio-defmethod, make-obsolete)
2017 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
2018 (defclass): Remove `eval-and-compile' from macro.
2019 (call-next-method, shared-initialize): Instead of using
2020 `scoped-class' variable, use new eieio--scoped-class, and
2021 eieio--with-scoped-class.
2022 (initialize-instance): Rename local variable 'scoped-class' to
2023 'this-class' to remove ambiguitity from old global.
2025 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
2027 (eieio--scoped-class-stack): New variable.
2028 (eieio--scoped-class): New fcn.
2029 (eieio--with-scoped-class): New scoping macro.
2030 (eieio-defclass): Use pushnew instead of add-to-list.
2031 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
2032 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
2033 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
2034 `scoped-class' variable, use new eieio--scoped-class, and
2035 eieio--with-scoped-class.
2037 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
2039 2013-06-02 Tassilo Horn <tsdh@gnu.org>
2041 * eshell/esh-ext.el (eshell-external-command): Pass args to
2042 `eshell-find-interpreter'.
2043 (eshell-find-interpreter): Add new second parameter ARGS.
2045 * eshell/em-script.el (eshell-script-initialize): Add second arg
2046 to the function added as MATCH to `eshell-interpreter-alist'.
2048 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
2049 the function added as MATCH to `eshell-interpreter-alist'.
2051 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
2052 (eshell-visual-options): New defcustom.
2053 (eshell-escape-control-x): Adapt docstring.
2054 (eshell-term-initialize): Test `eshell-visual-subcommands' and
2055 `eshell-visual-options' in addition to `eshell-visual-commands'.
2056 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
2058 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
2060 * progmodes/python.el (python-indent-block-enders): Add break,
2061 continue and raise keywords.
2063 2013-06-01 Glenn Morris <rgm@gnu.org>
2065 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
2067 Plain (f)boundp silences compilation warnings since Emacs 22.1.
2068 * progmodes/cc-cmds.el (delete-forward-p):
2069 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
2070 * progmodes/cc-engine.el (buffer-syntactic-context):
2071 * progmodes/cc-fonts.el (face-property-instance):
2072 * progmodes/cc-mode.el (set-keymap-parents):
2073 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
2074 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
2075 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
2076 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
2077 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
2079 * progmodes/cc-vars.el (other): Emacs has this widget since
2080 at least 21.1, so don't (re)define it.
2082 * eshell/em-cmpl.el (eshell-cmpl-initialize):
2083 Replace the obsolete alias pcomplete-arg-quote-list.
2085 2013-06-01 Leo Liu <sdl.web@gmail.com>
2087 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
2089 (inferior-octave-minimal-columns)
2090 (inferior-octave-last-column-width): New variables.
2091 (inferior-octave-track-window-width-change): New function.
2092 (inferior-octave-mode): Adjust column width so that Octave output,
2093 for example from 'ls', can fit into the window nicely.
2095 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2097 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2098 Highlight expansions inside regexp literals.
2100 2013-05-31 Glenn Morris <rgm@gnu.org>
2102 * obsolete/sym-comp.el (symbol-complete):
2103 Replace obsolete completion-annotate-function.
2105 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
2107 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
2109 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
2110 New function, checks if point is inside a literal that allows
2111 expression expansion.
2112 (ruby-syntax-propertize-expansion): Use it.
2113 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
2116 2013-05-30 Juri Linkov <juri@jurta.org>
2118 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
2120 (isearch-invisible): New variable.
2121 (isearch-forward): Doc fix.
2122 (isearch-mode): Set `isearch-invisible'
2123 to the value of `search-invisible'.
2124 (isearch-toggle-case-fold): Doc fix.
2125 (isearch-toggle-invisible): New command.
2126 (isearch-query-replace): Let-bind `search-invisible'
2127 to the value of `isearch-invisible'.
2128 (isearch-search): Use `isearch-invisible' instead of
2129 `search-invisible'. Let-bind `search-invisible'
2130 to the value of `isearch-invisible'. (Bug#11378)
2132 2013-05-30 Juri Linkov <juri@jurta.org>
2134 * replace.el (perform-replace): Avoid `isearch-range-invisible'
2135 call when `query-flag' is nil and `search-invisible' is non-nil.
2138 2013-05-30 Glenn Morris <rgm@gnu.org>
2140 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
2142 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
2143 (cc-require): Suppress spurious "noruntime" warnings.
2144 (cc-require-when-compile): Use fboundp, for sake of compiler.
2146 * progmodes/cc-mode.el: Move load of cc-vars before that of
2147 cc-langs (which in turn loads cc-vars), to quieten compiler.
2149 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2151 * paren.el: Simplify the code.
2152 (show-paren-mode): Always start the timer.
2153 (show-paren--idle-timer): Rename from show-paren-idle-timer.
2154 (show-paren--overlay, show-paren--overlay-1): Rename from
2155 show-paren-overlay and show-paren-overlay-1, and initialize to an
2156 overlay rather than to nil.
2157 (show-paren-function): Misc cleanup and simplifications.
2159 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2161 * paren.el (show-paren-data-function): New hook.
2162 (show-paren--default): New function, extracted from show-paren-function.
2163 (show-paren-function): Use show-paren-data-function.
2165 2013-05-30 Glenn Morris <rgm@gnu.org>
2167 * ielm.el (ielm-map, ielm-complete-symbol):
2168 Use completion-at-point rather than obsolete functions.
2169 (inferior-emacs-lisp-mode): Doc fix.
2170 Set completion-at-point-functions, rather than
2171 comint-dynamic-complete-functions.
2173 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
2174 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
2175 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
2177 * image.el (image-animated-p): Tweak definition.
2179 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
2180 (rlogin-process-connection-type): Tweak default. Add set-after.
2181 (rlogin-host): Doc fix.
2182 (rlogin): Tweak prompt.
2183 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
2185 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
2186 * progmodes/tcl.el (inferior-tcl-mode-map):
2187 Use completion-at-point rather than obsolete alias.
2189 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
2191 * minibuffer.el (read-file-name-completion-ignore-case):
2192 Move before completion--in-region, for eager macro expansion.
2194 2013-05-29 Juri Linkov <juri@jurta.org>
2196 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
2197 for total count of matching lines. Add `global-matches' for total
2198 count of matches. Rename `matches' to `lines' for count of
2199 matching lines. Add `matches' for count of matches.
2200 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
2201 to `prev-line' for line number of prev match endpt.
2202 Increment `matches' for every match. Print the number of
2203 matching lines in the header.
2204 (occur-context-lines): Rename `lines' to `curr-line'.
2205 Rename `prev-lines' to `prev-line'. (Bug#14017)
2207 2013-05-29 Juri Linkov <juri@jurta.org>
2209 * replace.el (perform-replace): Add `skip-read-only-count',
2210 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
2211 Increment them for corresponding conditions and report the number
2212 of skipped occurrences in the final message. (Bug#11746)
2213 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2214 (replace-string, replace-regexp): Doc fix.
2216 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2218 * emacs-lisp/trace.el (trace--read-args): Provide a default.
2220 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
2221 prog-mode-map (bug#14504).
2223 2013-05-29 Leo Liu <sdl.web@gmail.com>
2225 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
2226 (octave-help): Small simplification.
2228 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
2229 off the highlight first.
2231 2013-05-29 Glenn Morris <rgm@gnu.org>
2233 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
2234 Handle idlwave-last-system-routine-info-cons-cell being nil.
2236 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
2237 (idlwave-write-paths): Simplify via with-temp-buffer.
2239 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
2240 * emulation/cua-rect.el: Also load cua-base at run time.
2242 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
2243 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
2244 (cperl-imenu-on-info): Require imenu.
2246 2013-05-28 Alan Mackenzie <acm@muc.de>
2248 Handle "capitalised keywords" correctly.
2249 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
2251 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
2253 * eshell/em-unix.el: Add -r option to cp.
2255 2013-05-28 Glenn Morris <rgm@gnu.org>
2257 * vc/vc-arch.el (vc-exec-after): Declare.
2258 (vc-switches): Autoload.
2259 * vc/vc-bzr.el: No need to require vc when compiling.
2260 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
2261 (vc-resynch-buffer, vc-dir-refresh): Declare.
2262 (vc-setup-buffer, vc-switches): Autoload.
2263 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
2264 (vc-resynch-buffer): Declare.
2265 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
2266 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
2267 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
2268 (grep-read-regexp, grep-read-files, grep-expand-template)
2269 (vc-dir-refresh): Declare.
2270 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
2271 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
2272 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
2273 * vc/vc-mtn.el (vc-exec-after): Declare.
2274 (vc-switches): Autoload.
2275 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
2276 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
2277 (vc-file-tree-walk): Declare.
2278 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
2279 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
2280 (vc-tag-precondition, vc-rename-master): Autoload.
2281 * vc/vc-svn.el (vc-exec-after): Declare.
2282 (vc-switches, vc-setup-buffer): Autoload.
2283 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
2285 (vc-resynch-buffer): Declare.
2287 * obsolete/fast-lock.el (byte-compile-warnings):
2288 Don't warn about obsolete features in this obsolete file.
2290 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
2291 Move definition before use.
2293 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
2294 (dun-unix-verbs): Remove dun-zippy.
2295 (dun-zippy): Remove function.
2297 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
2299 2013-05-27 Juri Linkov <juri@jurta.org>
2301 * replace.el (replace-search): New function with code moved out
2302 from `perform-replace'.
2303 (replace-highlight, replace-dehighlight): Move function definitions
2304 up closer to `replace-search'. (Bug#11746)
2306 2013-05-27 Juri Linkov <juri@jurta.org>
2308 * replace.el (perform-replace): Ignore invisible matches.
2309 In addition to checking `query-replace-skip-read-only', also
2310 filter out matches by calling `run-hook-with-args-until-failure'
2311 on `isearch-filter-predicates', and also check `search-invisible'
2312 for t or call `isearch-range-invisible'.
2313 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
2315 2013-05-27 Juri Linkov <juri@jurta.org>
2317 * isearch.el (isearch-filter-predicates): Rename from
2318 `isearch-filter-predicate'. Doc fix. (Bug#11378)
2319 (isearch-message-prefix): Display text from the property
2320 `isearch-message-prefix' of the currently active filters.
2321 (isearch-search): Don't compare `isearch-filter-predicate' with
2322 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
2323 on `isearch-filter-predicates'. Also check `search-invisible' for t
2324 or call `isearch-range-invisible'.
2325 (isearch-filter-visible): Make obsolete.
2326 (isearch-lazy-highlight-search):
2327 Call `run-hook-with-args-until-failure' on
2328 `isearch-filter-predicates' and use `isearch-range-invisible'.
2330 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
2331 `isearch-filter-predicates' instead of `funcall'ing
2332 `isearch-filter-predicate'.
2333 (Info-mode): Set `Info-isearch-filter' to
2334 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
2336 * dired-aux.el (dired-isearch-filter-predicate-orig):
2338 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
2339 (dired-isearch-filenames-end): Add and remove
2340 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
2341 instead of changing the value of `isearch-filter-predicate'.
2342 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
2343 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
2344 Put property `isearch-message-prefix' to "filename " on
2345 `dired-isearch-filter-filenames'.
2347 * wdired.el (wdired-change-to-wdired-mode):
2348 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
2349 locally instead of changing `isearch-filter-predicate'.
2350 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
2352 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
2354 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
2355 return the commit hash (Bug#14459). Also set the
2356 `vc-git-detached' property.
2357 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
2358 (vc-git-mode-line-string): Use the same help-echo format whether
2359 in detached mode or not, because we know the actual revision now.
2360 When in detached mode, shorten the revision to 7 chars.
2362 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2364 * emacs-lisp/easy-mmode.el (define-minor-mode):
2365 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
2366 mode hook and provide a docstring.
2368 2013-05-27 Alan Mackenzie <acm@muc.de>
2370 Remove spurious syntax-table text properties inserted by C-y.
2371 * progmodes/cc-mode.el (c-after-change): Also clear hard
2372 syntax-table property with value nil.
2374 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
2376 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
2377 when reading the events; the buffer layout shall not be changed.
2379 2013-05-27 Leo Liu <sdl.web@gmail.com>
2381 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
2383 (inferior-octave-directory-tracker): Automatically re-sync
2385 (octave-help): Improve handling of 'See also'.
2387 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
2389 * doc-view.el: Minor naming convention tweaks.
2390 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
2392 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
2393 even if there's no `display' property yet (bug#14435).
2395 2013-05-25 Eli Zaretskii <eliz@gnu.org>
2397 * subr.el (unmsys--file-name): Rename from reveal-filename.
2399 * Makefile.in (custom-deps, finder-data, autoloads)
2400 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2401 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2402 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
2404 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
2407 error-completion on the first 2 args of condition-case (bug#14446).
2410 2013-05-25 Leo Liu <sdl.web@gmail.com>
2412 * comint.el (comint-previous-matching-input): Do not flood the
2413 *Messages* buffer with trivial messages.
2415 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2417 * progmodes/flymake.el (flymake-nop): Don't return a string.
2418 (flymake-set-at): Fix typo.
2420 * simple.el (read--expression): New function, extracted from
2421 eval-expression. Set completion-at-point-functions (bug#14465).
2422 (eval-expression, eval-minibuffer): Use it.
2424 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
2426 * progmodes/flymake.el (flymake-save-buffer-in-file)
2427 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
2428 (flymake-selected-frame, flymake-log, flymake-ins-after)
2429 (flymake-set-at, flymake-get-buildfile-from-cache)
2430 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
2431 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
2432 Refine the doc string.
2433 (flymake-get-file-name-mode-and-masks): Reformat.
2434 (flymake-get-real-file-name-function): Fix a minor bug.
2436 2013-05-24 Juri Linkov <juri@jurta.org>
2438 * progmodes/grep.el (grep-mode-font-lock-keywords):
2439 Support =linenumber= format used by git-grep for lines with
2440 function names. (Bug#13549)
2442 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2444 * progmodes/octave.el (octave-smie-rules): Return nil rather than
2445 0 after a semi-colon; it works better for smie-auto-fill.
2446 (octave--indent-new-comment-line): New function.
2447 (octave-indent-new-comment-line): Use it (indirectly).
2448 (octave-mode): Don't disable smie-auto-fill. Use add-function to
2449 modify comment-line-break-function.
2451 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
2452 (smie-setup): Use add-function to set it.
2454 2013-05-24 Sam Steingold <sds@gnu.org>
2456 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
2457 argument (before the `interactive' argument).
2459 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2461 * image-mode.el (image-mode-winprops): Add winprops to
2462 image-mode-winprops-alist before running
2463 image-mode-new-window-functions.
2464 * doc-view.el (doc-view-new-window-function): Don't delay
2465 doc-view-goto-page via timers (bug#14435).
2467 2013-05-24 Tassilo Horn <tsdh@gnu.org>
2469 * doc-view.el: Integrate with desktop.el. (Bug#14435)
2470 (doc-view-desktop-save-buffer): New function.
2471 (doc-view-restore-desktop-buffer): New function.
2472 (desktop-buffer-mode-handlers):
2473 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
2475 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
2476 `desktop-save-buffer' function.
2478 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
2480 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
2481 (tramp-gvfs-file-name-handler): Raise a user error when
2482 `tramp-gvfs-enabled' is nil.
2483 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
2484 Do not raise a user error when loading package. (Bug#14447)
2486 * net/xesam.el: Move to obsolete/.
2488 2013-05-24 Glenn Morris <rgm@gnu.org>
2490 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
2492 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
2494 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
2495 (Info-find-node, Man-getpage-in-background): Declare.
2497 * mail/unrmail.el (unrmail):
2498 Replace obsolete detect-coding-with-priority.
2500 * net/socks.el (socks-split-string): Use this rather than split-string.
2501 (socks-nslookup-host): Update for above change.
2502 (dynamic-choice, s5-dynamic-choice-match)
2503 (s5-dynamic-choice-match-inline, s5-widget-value-create):
2504 Comment out unused code.
2506 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
2507 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
2508 (gud-tooltip-echo-area): Make obsolete.
2509 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
2511 * progmodes/js.el (js--optimize-arglist): Declare.
2513 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
2515 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
2516 (ediff-window-C): Declare.
2518 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
2519 Tweak requires to silence compiler.
2521 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
2522 (he-search-string, he-tried-table, he-expand-list)
2523 (he-init-string, he-string-member, he-substitute-string)
2524 (he-reset-string): Declare.
2526 * obsolete/options.el (list-options): Use custom-variable-p,
2527 rather than obsolete alias.
2529 2013-05-23 Sam Steingold <sds@gnu.org>
2531 * simple.el (shell-command-on-region): Pass the `replace' argument
2532 down to `call-process-region' to comply with the doc as reported on
2533 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
2535 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2537 * emacs-lisp/smie.el (smie-indent-forward-token)
2538 (smie-indent-backward-token): Handle string tokens (bug#14381).
2540 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2542 * ielm.el (ielm-menu): New menu.
2543 (inferior-emacs-lisp-mode): Set comment-start.
2545 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2547 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
2548 Fix deactivate action.
2550 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
2551 Add cleveref macros.
2553 * lisp/textmodes/reftex-parse.el
2554 (reftex-locate-bibliography-files): Accept options for
2555 bibliography commands.
2556 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
2557 Add addbibresource. Basic Biblatex support.
2559 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
2561 * net/tramp-gvfs.el (top):
2562 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
2563 when loading package. (Bug#14447)
2565 2013-05-23 Glenn Morris <rgm@gnu.org>
2567 * progmodes/js.el: No need to load comint when compiling.
2568 (ring-insert, comint-send-string, comint-send-input)
2569 (comint-last-input-end, ido-chop): Declare.
2571 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
2572 * vc/ediff-mult.el: Adjust requires.
2573 (ediff-directories-internal, ediff-directory-revisions-internal)
2574 (ediff-patch-file-internal): Declare.
2575 * vc/ediff-ptch.el: Adjust requires.
2576 (ediff-use-last-dir, ediff-buffers-internal): Declare.
2577 (ediff-find-file): Autoload.
2578 * vc/ediff-util.el: No need to load ediff when compiling.
2579 (ediff-regions-internal): Declare.
2580 * vc/ediff-wind.el: Adjust requires.
2581 (ediff-compute-toolbar-width): Define when compiling.
2582 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
2583 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
2584 (dired-get-filename, dired-get-marked-files)
2585 (ediff-last-dir-patch, ediff-patch-default-directory)
2586 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
2587 (ediff-patch-buffer-internal): Declare.
2589 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
2590 (ispell-process, ispell-buffer-local-words, lm-summary)
2591 (lm-section-start, lm-section-end): Declare.
2592 (checkdoc-ispell-init): Simplify.
2594 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
2595 (he-string-member, he-reset-string, he-substitute-string): Declare.
2597 * eshell/em-ls.el: Adjust requires.
2598 (eshell-glob-regexp): Declare.
2599 * eshell/em-tramp.el: Adjust requires.
2600 (eshell-parse-command): Autoload.
2601 * eshell/em-xtra.el: Adjust requires.
2602 (eshell-parse-command): Autoload.
2603 * eshell/esh-ext.el: Adjust requires.
2604 (eshell-parse-command, eshell-close-handles): Autoload.
2605 * eshell/esh-io.el: Adjust requires.
2606 (eshell-output-filter): Autoload.
2607 * eshell/esh-util.el: No need to load tramp when compiling.
2608 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
2610 (eshell-parse-ange-ls): Require ange-ftp and tramp.
2611 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2612 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
2613 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
2614 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
2615 * eshell/esh-opt.el, eshell/esh-proc.el:
2616 * eshell/esh-var.el: Adjust requires.
2617 * eshell/eshell.el: Do not require esh-util twice.
2618 (eshell-add-input-to-history): Declare.
2619 (eshell-command): Check history module is active before using it.
2621 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
2623 2013-05-22 Leo Liu <sdl.web@gmail.com>
2625 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
2627 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
2629 * autorevert.el (auto-revert-notify-add-watch)
2630 (auto-revert-notify-handler): Add `attrib' for the inotify case,
2631 it indicates changes in file modification time.
2633 2013-05-22 Glenn Morris <rgm@gnu.org>
2635 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2636 Always delete the autoloaded function from the noruntime and
2637 unresolved functions lists.
2639 * allout.el: No need to load epa, epg, overlay when compiling.
2640 (epg-context-set-passphrase-callback, epg-list-keys)
2641 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
2642 (epg-key-user-id-list): Declare.
2644 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
2645 (viper-set-parsing-style-toggling-macro)
2646 (viper-set-emacs-state-searchstyle-macros):
2647 Use called-interactively-p on Emacs.
2648 (viper-looking-back): Make it an obsolete alias. Update callers.
2649 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
2650 Use looking-back rather than viper-looking-back.
2651 (viper-tmp-insert-at-eob, viper-enlarge-region)
2652 (viper-read-string-with-history, viper-register-to-point)
2653 (viper-append-to-register, viper-change-state-to-vi)
2654 (viper-backward-char-carefully, viper-forward-char-carefully)
2655 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
2656 (viper-change-state-to-emacs): Declare.
2657 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
2658 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
2659 * emulation/viper-mous.el: Do not load viper-cmd.
2660 (viper-backward-char-carefully, viper-forward-char-carefully)
2661 (viper-forward-word, viper-adjust-window): Declare.
2663 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
2665 * progmodes/idlw-help.el (idlwave-help-fontify):
2666 Use called-interactively-p.
2668 * term/w32console.el (w32-get-console-codepage)
2669 (w32-get-console-output-codepage): Declare.
2671 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
2672 Remove unnecessary declarations.
2673 (dframe-message): Doc fix.
2675 * info.el (dframe-select-attached-frame, dframe-current-frame):
2678 * speedbar.el (speedbar-message): Make it an obsolete alias.
2680 (speedbar-with-attached-buffer)
2681 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
2682 (speedbar-with-writable): Use backquote.
2683 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
2684 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2685 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
2686 rather than speedbar- aliases.
2687 * mail/rmail.el: Load dframe rather than speedbar when compiling.
2688 (speedbar-make-specialized-keymap, speedbar-insert-button)
2689 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
2690 (speedbar-do-function-pointer): Declare.
2691 (rmail-speedbar-button, rmail-speedbar-find-file)
2692 (rmail-speedbar-move-message):
2693 Use dframe-with-attached-buffer rather than speedbar- alias.
2694 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
2695 (dframe-message, speedbar-make-specialized-keymap)
2696 (speedbar-add-expansion-list, speedbar-mode-functions-list)
2697 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
2698 (speedbar-insert-button, dframe-select-attached-frame)
2699 (dframe-maybee-jump-to-attached-frame)
2700 (speedbar-change-initial-expansion-list)
2701 (speedbar-previously-used-expansion-list-name): Declare.
2702 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
2703 Use dframe-message, dframe-with-attached-buffer rather than
2705 (gud-sentinel): Silence compiler.
2706 * progmodes/vhdl-mode.el (speedbar-refresh)
2707 (speedbar-do-function-pointer, speedbar-add-supported-extension)
2708 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
2709 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
2710 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
2711 (speedbar-file-lists, speedbar-make-tag-line)
2712 (speedbar-line-directory, speedbar-goto-this-file)
2713 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
2714 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
2715 (speedbar-make-button, speedbar-reset-scanners)
2716 (speedbar-files-item-info, speedbar-line-text)
2717 (speedbar-find-file-in-frame, speedbar-set-timer)
2718 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
2719 (speedbar-with-writable): Do not (re)define it.
2720 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
2721 rather than speedbar- alias.
2723 2013-05-21 Leo Liu <sdl.web@gmail.com>
2725 * progmodes/octave.el (octave-mode-menu): Update and re-organize
2727 (octave-mode): Tweak fill-nobreak-predicate.
2728 (inferior-octave-startup): Check process to avoid infinite loop.
2729 (inferior-octave): Pop to buffer first to show abornmal process
2732 2013-05-21 Glenn Morris <rgm@gnu.org>
2734 * printing.el (pr-menu-bar): Define when compiling.
2736 2013-05-21 Leo Liu <sdl.web@gmail.com>
2738 * progmodes/octave.el (octave-auto-fill): Remove.
2739 (octave-indent-new-comment-line): Improve.
2740 (octave-mode): Use auto fill mode through
2741 comment-line-break-function and fill-nobreak-predicate.
2742 (octave-goto-function-definition): Support DEFUN_DLD.
2743 (octave-beginning-of-defun): Small tweak.
2744 (octave-help): Show parent directory.
2746 2013-05-21 Glenn Morris <rgm@gnu.org>
2748 * files.el (dired-unmark):
2749 * progmodes/gud.el (gdb-input): Update declarations.
2751 * calculator.el (electric, ehelp): No need to load when compiling.
2752 (Electric-command-loop, electric-describe-mode): Declare.
2754 * doc-view.el (doc-view-current-converter-processes): Move before use.
2756 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2757 Move MODE-set-explicitly definition before use.
2759 * international/mule-diag.el (mule-diag):
2760 Don't use obsolete window-system-version.
2762 * mail/feedmail.el (smtpmail): No need to load when compiling.
2763 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
2765 * mail/mail-utils.el (rfc822): No need to load when compiling.
2766 (rfc822-addresses): Autoload it.
2767 (mail-strip-quoted-names): Trivial simplification.
2769 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
2770 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
2772 * net/snmp-mode.el (tempo): Don't duplicate requires.
2774 * progmodes/prolog.el (info): No need to load when compiling.
2775 (comint): Require before shell requires it.
2776 (Info-goto-node): Autoload it.
2777 (Info-follow-nearest-node): Declare.
2778 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
2780 * textmodes/artist.el (picture-mode-exit): Declare.
2782 * textmodes/reftex-parse.el (reftex-parse-from-file):
2783 Trivial rewrite so the compiler can parse it better.
2785 2013-05-20 Leo Liu <sdl.web@gmail.com>
2787 * progmodes/octave.el (octave-help-mode-map)
2788 (octave-help-mode-finish-hook): New variables.
2789 (octave-help-mode, octave-help-mode-finish): New functions.
2790 (octave-help): Use octave-help-mode.
2792 2013-05-20 Glenn Morris <rgm@gnu.org>
2794 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
2796 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
2798 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
2799 start at point, so that expansion starting right after opening
2800 slash in a regexp is recognized.
2801 (ruby-syntax-before-regexp-re): New defvar, extracted from
2802 ruby-syntax-propertize-function. Since the value of this regexp
2803 is looked up at runtime now, we should be able to turn
2804 `ruby-syntax-methods-before-regexp' into a defcustom later.
2805 (ruby-syntax-propertize-function): Split regexp matching into two
2806 parts, for opening and closing slashes. That allows us to skip
2807 over string interpolations and support multiline regexps.
2808 Don't call `ruby-syntax-propertize-expansions', instead use another rule
2809 for them, which calls `ruby-syntax-propertize-expansion'.
2810 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
2811 call to `ruby-syntax-propertize-function'.
2812 (ruby-syntax-propertize-expansion): Extracted from
2813 `ruby-syntax-propertize-expansions'. Handles one expansion.
2814 (ruby-syntax-propertize-percent-literal): Leave point right after
2815 the percent symbol, so that the expression expansion rule can
2816 propertize the contents.
2817 (ruby-syntax-propertize-heredoc): Leave point at bol following the
2819 (ruby-syntax-propertize-expansions): Remove.
2821 2013-05-18 Juri Linkov <juri@jurta.org>
2823 * man.el (Man-default-man-entry): Remove `-' from the end
2824 of the default value. (Bug#14400)
2826 2013-05-18 Glenn Morris <rgm@gnu.org>
2828 * comint.el (comint-password-prompt-regexp):
2829 Allow "password for XXX" where XXX contains colons (eg https://...).
2831 2013-05-18 Leo Liu <sdl.web@gmail.com>
2833 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
2834 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
2835 (octave-source-directories): Don't check process.
2836 (octave-source-directories, octave-find-definition): Doc fix.
2838 2013-05-18 Glenn Morris <rgm@gnu.org>
2840 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
2841 Remove backspace/delete bindings. (Bug#14392)
2843 * cus-dep.el (custom-make-dependencies): Sort the output.
2844 (custom-versions-load-alist): Convert comment to doc.
2846 2013-05-17 Leo Liu <sdl.web@gmail.com>
2848 * newcomment.el (comment-search-backward): Stricter in finding
2849 comment start. (Bug#14303)
2851 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
2852 (octave-comment-start-skip): Properly anchored.
2854 2013-05-17 Leo Liu <sdl.web@gmail.com>
2856 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
2857 Clean up when turned off. (Bug#14395)
2858 (smie--highlight-matching-block-overlay): No longer buffer-local.
2859 (smie-highlight-matching-block): Adjust.
2861 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
2863 Doc string fix for "nanoseconds" (Bug#14406).
2864 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
2865 Fix doc string typo that had "nanoseconds" instead of "microseconds".
2867 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
2869 * calc/calc-units.el (math-extract-units): Preserve powers
2872 2013-05-17 Leo Liu <sdl.web@gmail.com>
2874 * subr.el (delete-consecutive-dups): New function.
2875 * ido.el (ido-set-matches-1): Use it.
2876 * progmodes/octave.el (inferior-octave-completion-table): Use it.
2877 * ido.el (ido-remove-consecutive-dups): Remove.
2879 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2881 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2882 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
2883 regexp-opt's `words'.
2885 2013-05-16 Leo Liu <sdl.web@gmail.com>
2887 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
2888 (smie--highlight-matching-block-overlay)
2889 (smie--highlight-matching-block-lastpos)
2890 (smie--highlight-matching-block-timer): New variables.
2891 (smie-highlight-matching-block): New function.
2892 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
2893 (smie-setup): Conditionally enable smie-blink-matching-open.
2895 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
2897 Sync with upstream verilog-mode r840.
2898 * progmodes/verilog-mode.el (verilog-mode-version)
2899 (verilog-mode-release-date): Update.
2900 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
2901 (verilog-sig-tieoff): Fix string error on
2902 AUTORESET with colon define, bug594. Reported by Andrew Hou.
2903 (verilog-read-decls): Fix parameters confusing
2904 AUTOINST interfaces, bug565. Reported by Leith Johnson.
2906 2013-05-16 Eli Zaretskii <eliz@gnu.org>
2908 * subr.el (reveal-filename): New function.
2910 * loadup.el: Compute Emacs executable versions on MS-Windows,
2911 where executables have the .exe extension. Add a hard link
2912 emacs-XX.YY.ZZ.exe on MS-Windows.
2914 * Makefile.in (XARGS_LIMIT): New variable.
2915 (custom-deps, finder-data, autoloads)
2916 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2917 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2918 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
2919 (compile-main): Limit xargs according to $(XARGS_LIMIT).
2921 2013-05-16 Leo Liu <sdl.web@gmail.com>
2923 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
2924 (octave-mode-menu, octave-mode-map): Remove its uses.
2926 2013-05-16 Reto Zimmermann <reto@gnu.org>
2928 Sync with upstream vhdl mode v3.34.2.
2929 * progmodes/vhdl-mode.el: Use `push' throughout.
2930 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
2931 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
2932 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
2933 (vhdl-actual-generic-name): New option to derive actual generic name.
2934 (vhdl-port-paste-signals): Replace formal by actual generics.
2935 (vhdl-beautify): New name for old group vhdl-align. Update users.
2936 (vhdl-beautify-options): New option.
2937 (vhdl-last-input-event): New compat alias. Use throughout.
2938 (vhdl-goto-line): Replace user level function `goto-line'.
2939 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
2940 vhdl-fix-statement-buffer.
2941 (vhdl-create-mode-menu): Add some entries.
2942 (vhdl-align-region-groups): Respect vhdl-beautify-options.
2943 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
2944 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
2945 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
2946 to force statements on one line.
2947 (vhdl-remove-trailing-spaces-region):
2948 New, split from vhdl-remove-trailing-spaces.
2949 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
2950 Respect vhdl-beautify-options.
2951 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
2952 (vhdl-update-sensitivity-list): Not add with index if exists without.
2953 Not include array index with signal. Ignore keywords in comments.
2954 (vhdl-get-visible-signals): Regexp tweaks.
2955 (vhdl-template-component-inst): Handle empty library.
2956 (vhdl-template-type): Add template for 'enum' type.
2957 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
2958 Use vhdl-replace-string.
2959 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
2960 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
2961 (vhdl-speedbar-initialize): Update for above name change.
2962 (vhdl-compose-wire-components): Fix in handling of constants.
2963 (vhdl-error-regexp-emacs-alist): New variable.
2964 (vhdl-error-regexp-add-emacs): New function;
2965 adds support for new compile.el (Emacs 22+)
2966 (vhdl-generate-makefile-1): Change target order for single lib. units.
2967 Allow use of absolute file names.
2969 2013-05-16 Leo Liu <sdl.web@gmail.com>
2971 * simple.el (prog-indent-sexp): Indent enclosing defun.
2973 2013-05-15 Glenn Morris <rgm@gnu.org>
2975 * cus-start.el (show-trailing-whitespace): Move to editing basics.
2976 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
2977 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
2978 (whitespace-highlight): Move to whitespace group.
2980 * comint.el (comint-source):
2981 * pcmpl-linux.el (pcmpl-linux):
2982 * shell.el (shell-faces):
2983 * eshell/esh-opt.el (eshell-opt):
2984 * international/ccl.el (ccl): Remove empty custom groups.
2986 * completion.el (dynamic-completion-mode):
2987 * jit-lock.el (jit-lock-debug-mode):
2988 * minibuffer.el (completion-in-region-mode):
2989 * type-break.el (type-break-mode-line-message-mode)
2990 (type-break-query-mode):
2991 * emulation/tpu-edt.el (tpu-edt-mode):
2992 * progmodes/subword.el (global-subword-mode, global-superword-mode):
2993 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2994 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
2996 * term/xterm.el (xterm): Change parent group to terminals.
2998 * master.el (master): Remove empty custom group.
2999 (master-mode): Remove unused :group argument.
3000 * textmodes/refill.el (refill): Remove empty custom group.
3001 (refill-mode): Remove unused :group argument.
3003 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
3005 * cus-dep.el: Provide a feature.
3006 (custom-make-dependencies): Ignore dotfiles (dir-locals).
3007 Don't mistakenly ignore files whose basenames match a basename
3008 from preloaded-file-list (eg cedet/ede/simple.el).
3009 Add a fallback method for getting :group.
3011 2013-05-15 Juri Linkov <juri@jurta.org>
3013 * isearch.el (isearch-char-by-name): Rename from
3014 `isearch-insert-char-by-name'. Doc fix.
3015 (isearch-forward): Mention `isearch-char-by-name' in
3016 the docstring. (Bug#13348)
3018 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
3019 `exit-minibuffer' instead of
3020 `isearch-nonincremental-exit-minibuffer'.
3021 (isearch-edit-string): Remove mention of
3022 `isearch-nonincremental-exit-minibuffer' from docstring.
3023 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
3024 (isearch-forward-exit-minibuffer)
3025 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
3027 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3029 * loadup.el: Just use unversioned DOC.
3031 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
3032 literals as extending to EOB.
3033 (nxml-last-fontify-end): Remove unused variable.
3034 (nxml-after-change1): Use with-silent-modifications.
3035 (nxml-extend-after-change-region): Simplify.
3036 (nxml-extend-after-change-region1): Remove function.
3037 (nxml-after-change1): Don't adjust for dependent regions.
3038 (nxml-fontify-matcher): Simplify.
3039 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
3040 (xmltok-add-dependent): Remove function.
3041 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
3042 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
3043 (xmltok-scan-prolog-after-processing-instruction-open): Treat
3044 unclosed <[[, <?, comment, and other literals as extending to EOB.
3045 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
3046 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
3048 (rng-do-some-validation-1): Don't mark dependent regions.
3049 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
3050 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
3051 (nxml-clear-dependent-regions): Remove functions.
3052 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
3053 (nxml-ensure-scan-up-to-date):
3054 Don't clear&mark dependent regions.
3056 2013-05-15 Leo Liu <sdl.web@gmail.com>
3058 * progmodes/octave.el (octave-goto-function-definition):
3059 Improve and fix callers.
3061 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3063 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
3064 the setter (bug#14387).
3066 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
3067 surrounding group (bug#14402).
3069 2013-05-14 Juri Linkov <juri@jurta.org>
3071 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
3074 2013-05-14 Glenn Morris <rgm@gnu.org>
3076 * progmodes/f90.el (f90-imenu-generic-expression):
3077 Fix typo in 2013-05-08 change. (Bug#14402)
3079 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3081 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
3082 Remove signals for which replies are never received.
3084 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3086 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
3087 (gdb-handler-alist, gdb-handler-number): Remove variables.
3088 (gdb-handler-list): New variable.
3089 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
3090 (gdb-pending-handler-p, gdb-handle-reply)
3091 (gdb-remove-all-pending-triggers): New functions.
3092 (gdb-discard-unordered-replies): New defcustom.
3093 (gdb-handler): New defstruct.
3094 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
3095 instead of gdb-pending-triggers. Update docstring.
3096 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
3097 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
3098 (gdb-var-update-handler, def-gdb-auto-update-trigger)
3099 (def-gdb-auto-update-handler, gdb-get-changed-registers)
3100 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
3101 (gdb-frame-handler): Pending triggers are now automatically managed.
3102 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
3104 (gdb-input): Automatically handles pending triggers. Update docstring.
3105 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
3106 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
3108 (gdb-done-or-error): Now use gdb-handle-reply.
3110 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
3112 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
3115 2013-05-14 Glenn Morris <rgm@gnu.org>
3117 * subr.el (user-emacs-directory-warning): New option.
3118 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
3120 2013-05-14 Leo Liu <sdl.web@gmail.com>
3122 * progmodes/octave.el (octave-font-lock-keywords): Fix error
3124 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
3125 (octave-font-lock-texinfo-comment): Fix invalid search bound
3126 error: wrong side of point.
3128 2013-05-14 Glenn Morris <rgm@gnu.org>
3130 * progmodes/flymake.el (flymake-xml-program): New option.
3131 (flymake-xml-init): Use it.
3133 * term/xterm.el: Provide a feature.
3135 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
3137 2013-05-13 Glenn Morris <rgm@gnu.org>
3139 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
3140 Add compat aliases as a hack workaround. (Bug#14384)
3142 2013-05-13 Leo Liu <sdl.web@gmail.com>
3144 * progmodes/octave.el (octave-indent-comment): Fix indentation for
3146 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
3148 (octave-comment-start-skip): Include %!.
3149 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
3151 2013-05-12 Leo Liu <sdl.web@gmail.com>
3153 * progmodes/octave.el (inferior-octave-startup): Store the value
3154 of __octave_srcdir__ for octave-source-directories.
3155 (inferior-octave-check-process): New function refactored out of
3156 inferior-octave-send-list-and-digest.
3157 (octave-source-directories)
3158 (octave-find-definition-filename-function): New variables.
3159 (octave-source-directories)
3160 (octave-find-definition-default-filename): New functions.
3161 (octave-find-definition): Improve to find functions implemented in C++.
3163 2013-05-12 Glenn Morris <rgm@gnu.org>
3165 * calendar/diary-lib.el (diary-outlook-format-1):
3166 Don't include dayname in the output. (Bug#14349)
3168 2013-05-11 Glenn Morris <rgm@gnu.org>
3170 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
3172 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
3173 Treat cc-provide like provide.
3175 2013-05-11 Kevin Ryde <user42@zip.com.au>
3177 * cus-dep.el (custom-make-dependencies):
3178 Use generated-autoload-load-name for the sake of files such
3179 such cedet/semantic/bovine/c.el, where the base file name
3180 is not in load-path. (Bug#5277)
3182 2013-05-11 Glenn Morris <rgm@gnu.org>
3184 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
3187 2013-05-11 Leo Liu <sdl.web@gmail.com>
3189 * progmodes/octave.el (octave-indent-comment): Improve.
3190 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
3191 (octave-eldoc-function-signatures, octave-eldoc-function):
3193 (octave-mode, inferior-octave-mode): Add eldoc support.
3195 2013-05-11 Richard Stallman <rms@gnu.org>
3197 * epa.el (epa-decrypt-file): Take output file name as argument
3198 and read it using `interactive'.
3200 2013-05-11 Leo Liu <sdl.web@gmail.com>
3202 * progmodes/octave.el (octave-beginning-of-line)
3203 (octave-end-of-line): Check before using up-list because it jumps
3204 out of more syntactic contructs since moving to smie.
3205 (octave-indent-comment): New function.
3206 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
3207 (octave-begin-keywords, octave-end-keywords)
3208 (octave-reserved-words, octave-smie-bnf-table)
3209 (octave-smie-rules): Add new keywords from Octave 3.6.4.
3211 2013-05-11 Glenn Morris <rgm@gnu.org>
3213 * faces.el (internal-face-x-get-resource):
3214 * frame.el (ns-display-monitor-attributes-list):
3215 * calc/calc-aent.el (math-to-radians-2):
3216 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
3219 * calc/calc-menu.el: Make it loadable in isolation.
3221 * net/eudcb-bbdb.el: Make it loadable without bbdb.
3222 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
3223 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
3224 (eudc-bbdb-query-internal): Require 'bbdb.
3226 * lpr.el (lpr-headers-switches):
3227 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
3229 * progmodes/sql.el (sql-login-params): Fix and improve :type.
3231 * emulation/edt-mapper.el: In batch mode, error rather than hang.
3233 * term.el (term-set-escape-char): Make it idempotent.
3235 2013-05-10 Leo Liu <sdl.web@gmail.com>
3237 * progmodes/octave.el (inferior-octave-completion-table):
3238 No longer a function and all uses changed. Use cache to speed up
3239 completion due to bug#11906.
3240 (octave-beginning-of-defun): Re-write to be more general.
3242 2013-05-10 Glenn Morris <rgm@gnu.org>
3244 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
3246 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3248 * comint.el (comint-redirect-send-command-to-process): Use :around
3249 rather than :override for comint-redirect-filter.
3250 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
3251 Call it instead of comint-redirect-original-filter-function (which
3252 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
3254 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
3256 * frame.el (display-monitor-attributes-list): Add NS case.
3257 (ns-display-monitor-attributes-list): Declare.
3259 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
3261 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
3263 2013-05-09 Glenn Morris <rgm@gnu.org>
3265 * international/fontset.el (vertical-centering-font-regexp):
3268 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
3270 * bookmark.el (bookmark-search-delay):
3271 * cus-start.el (vertical-centering-font-regexp):
3272 * ps-mule.el (ps-mule-font-info-database-default):
3273 * ps-print.el (ps-default-fg, ps-default-bg):
3274 * type-break.el (type-break-good-break-interval):
3275 * whitespace.el (whitespace-indentation-regexp)
3276 (whitespace-space-after-tab-regexp):
3277 * emacs-lisp/testcover.el (testcover-1value-functions)
3278 (testcover-noreturn-functions, testcover-progn-functions)
3279 (testcover-prog1-functions):
3280 * emulation/viper-init.el (viper-emacs-state-cursor-color):
3281 * eshell/em-glob.el (eshell-glob-translate-alist):
3282 * play/tetris.el (tetris-tty-colors):
3283 * progmodes/cpp.el (cpp-face-default-list):
3284 * progmodes/flymake.el (flymake-allowed-file-name-masks):
3285 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
3286 (idlwave-help-browser-generic-args):
3287 * progmodes/make-mode.el (makefile-special-targets-list):
3288 * progmodes/python.el (python-shell-virtualenv-path):
3289 * progmodes/verilog-mode.el (verilog-active-low-regexp)
3290 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
3291 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
3292 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
3293 * textmodes/reftex-vars.el (reftex-format-label-function):
3294 * textmodes/remember.el (remember-diary-file): Fix custom types.
3296 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
3299 2013-05-09 Leo Liu <sdl.web@gmail.com>
3301 * progmodes/octave.el (inferior-octave-completion-at-point):
3302 Restore file completion. (Bug#14300)
3303 (inferior-octave-startup): Fix incorrect highlighting for the
3306 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3308 * progmodes/ruby-mode.el: First cut at SMIE support.
3309 (ruby-use-smie): New var.
3310 (ruby-smie-grammar): New constant.
3311 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
3312 (ruby-smie--forward-token, ruby-smie--backward-token)
3313 (ruby-smie-rules): New functions.
3314 (ruby-mode-variables): Setup SMIE if applicable.
3316 2013-05-08 Eli Zaretskii <eliz@gnu.org>
3318 * simple.el (line-move-visual): Signal beginning/end of buffer
3319 only if vertical-motion moved less than it was requested. Avoids
3320 silly incorrect error messages when there are display strings with
3321 multiple newlines at EOL.
3323 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3325 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
3326 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
3327 (prolog-char-quote-workaround):
3328 * progmodes/cperl-mode.el (cperl-under-as-char):
3329 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
3331 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
3333 (vhdl-mode-syntax-table-init): Remove.
3335 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
3338 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
3340 (ld-script-font-lock-keywords):
3341 Change regexps to use things like \_< and \_>.
3343 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
3344 Change all regexps to use things like \_< and \_>.
3346 * progmodes/autoconf.el (autoconf-definition-regexp)
3347 (autoconf-font-lock-keywords, autoconf-current-defun-function):
3348 Handle a _ with symbol syntax.
3349 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
3351 * progmodes/ada-mode.el (ada-mode-abbrev-table):
3352 Consolidate declaration.
3353 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
3355 (ada-create-syntax-table): Remove.
3356 (ada-capitalize-word): Don't mess with the syntax of "_" since it
3357 already has the right syntax nowadays.
3358 (ada-goto-next-word): Don't change the syntax of "_".
3360 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
3363 2013-05-08 Sam Steingold <sds@gnu.org>
3365 * thingatpt.el (thing-at-point): Accept optional second argument
3366 NO-PROPERTIES to strip the text properties from the return value.
3367 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
3368 to `thing-at-point' instead of stripping the properties ourselves.
3369 Also, when `thing-at-point' fails to find a url, prepend "http://"
3370 to the filename at point on the assumption that the user is
3371 pointing at something like gnu.org/gnu.
3373 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
3375 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
3376 * faces.el (crm-separator):
3377 Silence byte-compiler.
3379 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
3380 (tool-bar-map): Remove unneeded defvars.
3382 2013-05-08 Leo Liu <sdl.web@gmail.com>
3384 Re-work a fix for bug#10994 based on Le Wang's patch.
3385 * ido.el (ido-remove-consecutive-dups): New helper.
3386 (ido-completing-read): Use it.
3387 (ido-chop): Revert fix for bug#10994.
3389 2013-05-08 Adam Spiers <emacs@adamspiers.org>
3391 * cus-edit.el (custom-save-variables):
3392 Pretty-print long values. (Bug#14187)
3394 2013-05-08 Glenn Morris <rgm@gnu.org>
3396 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
3397 (m4-mode-syntax-table): Init in the defvar.
3398 (m4-mode-abbrev-table): Let define-derived-mode define it.
3400 2013-05-08 Tom Tromey <tromey@redhat.com>
3402 * progmodes/m4-mode.el (m4-mode-syntax-table):
3403 Do not treat "_" as word constituent. (Bug#14167)
3405 2013-05-07 Glenn Morris <rgm@gnu.org>
3407 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
3408 Remove explicit eshell-isearch-cancel-map.
3410 * progmodes/f90.el (f90-smart-end-names): New option.
3411 (f90-smart-end): Doc fix.
3412 (f90-end-block-optional-name): New constant.
3413 (f90-block-match): Respect f90-smart-end-names.
3415 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3417 * progmodes/octave.el (octave-smie-forward-token): Be more careful
3418 about implicit semi-colons (bug#14218).
3420 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3422 * frame.el (display-monitor-attributes-list)
3423 (frame-monitor-attributes): New functions.
3425 2013-05-06 Leo Liu <sdl.web@gmail.com>
3427 * progmodes/octave.el (octave-syntax-propertize-function): Change
3428 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
3429 (octave-font-lock-keywords): Use octave-operator-regexp.
3430 (octave-completion-at-point): Rename from
3431 octave-completion-at-point-function.
3432 (inferior-octave-directory-tracker): Robustify.
3433 (octave-text-functions): Remove and fix its uses. No such things
3436 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3438 * emacs-lisp/trace.el (trace--display-buffer): New function.
3439 (trace-make-advice): Use it.
3441 2013-05-06 Juri Linkov <juri@jurta.org>
3443 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
3444 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
3446 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
3447 in the help string. (Bug#12985)
3449 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3451 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
3453 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3455 * progmodes/perl-mode.el: Add support for here documents.
3456 (perl-syntax-propertize-function): Match here-doc markers.
3457 (perl-syntax-propertize-special-constructs): Find their end.
3458 (perl-imenu-generic-expression): Use [:alnum:].
3460 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
3461 (advice--add-function): Refresh the advice if already present
3464 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
3466 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
3468 2013-05-06 Glenn Morris <rgm@gnu.org>
3470 * w32-fns.el (w32-charset-info-alist): Declare.
3472 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
3473 of its defcustom properties.
3474 (eshell-cmpl-initialize): No need to load pcomplete.
3476 * generic-x.el: No need to require comint when compiling.
3478 * net/eudc-export.el: Make it loadable without bbdb.
3479 (top-level): Use require rather than load-library.
3480 (eudc-create-bbdb-record, eudc-bbdbify-phone)
3481 (eudc-batch-export-records-to-bbdb)
3482 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
3485 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3487 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
3488 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
3489 some tweaks, instead.
3491 2013-05-05 Leo Liu <sdl.web@gmail.com>
3493 * progmodes/octave.el (octave-font-lock-keywords)
3494 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
3495 (inferior-octave-send-list-and-digest): Improve error message.
3496 (octave-mode, inferior-octave-mode): Use setq-local.
3497 (octave-help): Set info-lookup-mode.
3499 2013-05-05 Richard Stallman <rms@gnu.org>
3501 * vc/compare-w.el (compare-windows-whitespace):
3502 Treat no-break space as whitespace.
3504 * mail/rmailsum.el (rmail-summary-rmail-update):
3505 Detect empty summary and don't change selected message.
3506 (rmail-summary-goto-msg): Likewise.
3508 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
3509 Doc fixes, rename args.
3511 2013-05-05 Alan Mackenzie <acm@muc.de>
3513 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
3515 2013-05-05 Juri Linkov <juri@jurta.org>
3517 * info.el (Info-read-subfile): Use (point-min) instead of (point)
3518 to not add the length of the summary segment to the return value.
3521 2013-05-05 Leo Liu <sdl.web@gmail.com>
3523 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
3524 (inferior-octave-output-filter): Remove.
3525 (octave-send-region, inferior-octave-startup): Fix callers.
3526 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
3527 (octave-binary-file-extensions): New user variable.
3528 (octave-find-definition): Confirm if opening binary files.
3529 (octave-help-file): Use octave-find-definition to get the binary
3531 (octave-help): Adjust for octave-help-file change.
3533 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3535 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
3536 Merge the two entries that handle function definitions.
3537 (pascal--syntax-propertize): New const.
3538 (pascal-mode): Use it. Use setq-local.
3540 2013-05-04 Glenn Morris <rgm@gnu.org>
3542 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
3543 (diary-from-outlook): Respect diary-from-outlook-function.
3545 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3547 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
3548 Move the declaration from C.
3549 (read-minibuffer, eval-minibuffer): Move from C.
3550 (completion-setup-function): Avoid minibuffer-completion-contents.
3552 2013-05-03 Leo Liu <sdl.web@gmail.com>
3554 * progmodes/octave.el (octave-font-lock-keywords): Do not
3555 dehighlight 'end' in comments or strings.
3556 (octave-completing-read, octave-goto-function-definition):
3558 (octave-help-buffer): New user variable.
3559 (octave-help-file, octave-help-function): New button types.
3560 (octave-help): New command and bind it to C-h ;.
3561 (octave-find-definition): New command and bind it to M-.
3562 (user-error): Alias to error if not defined.
3564 2013-05-02 Leo Liu <sdl.web@gmail.com>
3566 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
3568 (octave-font-lock-keywords): Include [ and {.
3570 2013-05-02 Leo Liu <sdl.web@gmail.com>
3572 * progmodes/octave.el (inferior-octave-startup-file): Change default.
3573 (inferior-octave): Remove calling comint-mode and return the buffer.
3574 (inferior-octave-startup): Cosmetic changes.
3576 2013-05-02 Leo Liu <sdl.web@gmail.com>
3578 * progmodes/octave.el (octave-syntax-propertize-function):
3579 Include the case when ' is at line beginning. (Bug#14336)
3581 2013-05-02 Glenn Morris <rgm@gnu.org>
3583 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
3584 * desktop.el (vc-dir-mode): Just autoload it here.
3586 2013-05-02 Alan Mackenzie <acm@muc.de>
3588 Eliminate variable c-standard-font-lock-fontify-region-function.
3589 * progmodes/cc-mode.el
3590 (c-standard-font-lock-fontify-region-function): Remove.
3591 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
3593 2013-05-01 Leo Liu <sdl.web@gmail.com>
3595 * progmodes/octave.el: Compatible with older emacs-24 releases.
3596 (inferior-octave-has-built-in-variables): Remove. Built-in
3597 variables were removed from Octave in 2007.
3598 (inferior-octave-startup): Fix uses.
3599 (comint-line-beginning-position): Remove compatibility code for
3602 2013-05-01 Juri Linkov <juri@jurta.org>
3604 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
3606 2013-05-01 Juri Linkov <juri@jurta.org>
3608 * comint.el (comint-previous-matching-input): Don't print message
3609 "History item: %d" when `isearch-mode' is active.
3610 (comint-history-isearch-message): Print message "History item: %d"
3611 when `comint-input-ring-index' is not empty and this function is
3612 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
3614 2013-05-01 Leo Liu <sdl.web@gmail.com>
3616 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
3617 definitions. Use completion-at-point to insert keywords.
3618 (octave-abbrev-start): Remove.
3619 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
3621 2013-04-30 Leo Liu <sdl.web@gmail.com>
3623 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
3626 2013-04-30 Alan Mackenzie <acm@muc.de>
3628 Handle arbitrarily long C++ member initialisation lists.
3629 * progmodes/cc-engine.el (c-back-over-member-initializers):
3631 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
3632 (most) member init lists.
3634 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3636 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
3639 2013-04-30 Leo Liu <sdl.web@gmail.com>
3641 * progmodes/octave.el (octave-variables): Remove. No builtin
3642 variables any more. All converted to functions.
3643 (octave-font-lock-keywords, octave-completion-at-point-function):
3645 (octave-font-lock-texinfo-comment): New user variable.
3646 (octave-texinfo-font-lock-keywords): New variable for texinfo
3648 (octave-function-comment-block): New face.
3649 (octave-font-lock-texinfo-comment): New function.
3650 (octave-mode): Font lock texinfo comment block.
3652 2013-04-29 Leo Liu <sdl.web@gmail.com>
3654 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
3655 indexing expression.
3656 (octave-continuation-string): Do not use \.
3657 (inferior-octave-complete-impossible): Remove.
3658 (inferior-octave-completion-table)
3659 (inferior-octave-completion-at-point): Remove its uses.
3660 (inferior-octave-startup): completion_matches was introduced to
3661 Octave in 1996 so safe to assume it.
3662 (octave-function-file-comment): Improve to follow how Octave does it.
3663 (octave-update-function-file-comment): Tweak.
3665 2013-04-29 Leo Liu <sdl.web@gmail.com>
3667 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
3668 (inferior-octave-startup): Remove inferior-octave-startup-hook.
3669 (octave-function-file-comment): Fix typo.
3670 (octave-sync-function-file-names): Use read-char-choice.
3672 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
3674 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
3675 to t for the less important warnings.
3677 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
3679 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
3681 2013-04-27 Glenn Morris <rgm@gnu.org>
3683 * vc/log-view.el (log-view-current-entry):
3684 Treat "---" separator lines as part of the following rev. (Bug#14169)
3686 2013-04-27 Juri Linkov <juri@jurta.org>
3688 * subr.el (read-number): Doc fix about using it by interactive
3689 code letter `n'. (Bug#14254)
3691 2013-04-27 Juri Linkov <juri@jurta.org>
3693 * desktop.el (desktop-auto-save-timeout): New option.
3694 (desktop-file-checksum): New variable.
3695 (desktop-save): Add optional arg `auto-save' and don't auto-save
3697 (desktop-auto-save-timer): New variable.
3698 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
3699 (after-init-hook): Call `desktop-auto-save-set-timer'.
3700 Suggested by Reuben Thomas <rrt@sc3d.org> in
3701 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
3703 2013-04-27 Leo Liu <sdl.web@gmail.com>
3705 * progmodes/octave.el (octave-function-file-p)
3706 (octave-skip-comment-forward, octave-function-file-comment)
3707 (octave-update-function-file-comment): New functions.
3708 (octave-mode-map): Bind C-c ; to
3709 octave-update-function-file-comment.
3710 (octave-mode-menu): Add octave-update-function-file-comment.
3711 (octave-mode, inferior-octave-mode): Fix doc-string.
3712 (octave-insert-defun): Conform to Octave's coding convention.
3715 * files.el (basic-save-buffer): Don't let errors in
3716 before-save-hook prevent saving buffer.
3718 2013-04-20 Roland Winkler <winkler@gnu.org>
3720 * faces.el (read-face-name): Use completing-read if arg multiple
3723 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
3725 * ls-lisp.el (ls-lisp-insert-directory): If no files are
3726 displayed, move point to after the totals line.
3727 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
3730 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3732 * emacs-lisp/package.el (package-autoload-ensure-default-file):
3733 Add current dir to the load-path.
3734 (package-generate-autoloads): Don't rely on
3735 autoload-ensure-default-file.
3737 2013-04-26 Reuben Thomas <rrt@sc3d.org>
3739 * textmodes/remember.el (remember-store-in-files): Document that
3740 the file name format is passed to `format-time-string'.
3742 2013-04-26 Leo Liu <sdl.web@gmail.com>
3744 * progmodes/octave.el (octave-sync-function-file-names): New function.
3745 (octave-mode): Use it in before-save-hook.
3747 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3749 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
3752 * progmodes/octave.el (octave-smie-forward-token): Properly skip
3753 \n and comment, even if it's not an implicit ; (bug#14218).
3755 2013-04-26 Glenn Morris <rgm@gnu.org>
3757 * subr.el (read-number): Once more use `read' rather than
3758 `string-to-number', to trap non-numeric input. (Bug#14254)
3760 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
3762 * emacs-lisp/syntax.el (syntax-propertize-multiline):
3763 Use `syntax-multiline' text property consistently instead of
3764 `font-lock-multiline'. (Bug#14237)
3766 2013-04-26 Glenn Morris <rgm@gnu.org>
3768 * emacs-lisp/shadow.el (list-load-path-shadows):
3769 No longer necessary to check for duplicate simple.el, since
3770 2012-07-07 change to init_lread to not include installation lisp
3771 directories in load-path when running uninstalled. (Bug#14270)
3773 2013-04-26 Leo Liu <sdl.web@gmail.com>
3775 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
3776 (octave-mode, inferior-octave-mode): Use setq-local.
3777 (octave-not-in-string-or-comment-p): Rename to
3778 octave-in-string-or-comment-p.
3779 (octave-in-comment-p, octave-in-string-p)
3780 (octave-in-string-or-comment-p): Replace defsubst with defun.
3782 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
3784 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
3786 2013-04-25 Bastien Guerry <bzg@gnu.org>
3788 * textmodes/remember.el (remember-data-directory)
3789 (remember-directory-file-name-format): Fix custom types.
3791 2013-04-25 Leo Liu <sdl.web@gmail.com>
3793 * progmodes/octave.el (octave-completion-at-point-function):
3794 Make use of inferior octave process.
3795 (octave-initialize-completions): Remove.
3796 (inferior-octave-completion-table): New function.
3797 (inferior-octave-completion-at-point): Use it.
3798 (octave-completion-alist): Remove.
3800 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * progmodes/opascal.el: Use font-lock and syntax-propertize.
3803 (opascal-mode-syntax-table): New var.
3804 (opascal-literal-kind, opascal-is-literal-end)
3805 (opascal-literal-token-at): Rewrite.
3806 (opascal--literal-start-re, opascal-font-lock-keywords)
3807 (opascal--syntax-propertize): New constants.
3808 (opascal-font-lock-defaults): Adjust.
3809 (opascal-mode): Use them. Set comment-<foo> variables as well.
3810 (delphi-comment-face, opascal-comment-face, delphi-string-face)
3811 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
3812 (delphi-other-face, opascal-other-face): Remove face variables.
3813 (opascal-save-state): Remove macro.
3814 (opascal-fontifying-progress-step): Remove constant.
3815 (opascal--ignore-changes): Remove var.
3816 (opascal-set-token-property, opascal-parse-next-literal)
3817 (opascal-is-stable-literal, opascal-complete-literal)
3818 (opascal-is-literal-start, opascal-face-of)
3819 (opascal-parse-region, opascal-parse-region-until-stable)
3820 (opascal-fontify-region, opascal-after-change)
3821 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
3822 (opascal-debug-parse-region, opascal-debug-parse-window)
3823 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
3824 (opascal-debug-fontify-buffer): Remove.
3825 (opascal-debug-mode-map): Adjust accordingly.
3827 2013-04-25 Leo Liu <sdl.web@gmail.com>
3829 Merge octave-mod.el and octave-inf.el into octave.el with some
3831 * progmodes/octave.el: New file renamed from octave-mod.el.
3832 * progmodes/octave-inf.el: Merged into octave.el.
3833 * progmodes/octave-mod.el: Renamed to octave.el.
3835 2013-04-25 Tassilo Horn <tsdh@gnu.org>
3837 * textmodes/reftex-vars.el
3838 (reftex-label-ignored-macros-and-environments): New defcustom.
3840 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
3842 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3844 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
3845 (smie-indent-keyword): Improve the check to ensure that the next
3846 comment is really on the same line.
3847 (smie-indent-comment): Don't align with a subsequent closer (or eob).
3849 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
3850 semi-colons if the line is not otherwise empty (bug#14218).
3852 2013-04-25 Glenn Morris <rgm@gnu.org>
3854 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
3856 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3858 * progmodes/opascal.el (opascal-set-token-property): Rename from
3859 opascal-set-text-properties and only set `token' (bug#14134).
3860 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
3861 (opascal-literal-text-properties): Remove.
3862 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
3865 2013-04-24 Reuben Thomas <rrt@sc3d.org>
3867 * textmodes/remember.el (remember-handler-functions): Add an
3868 option for a new handler `remember-store-in-files'.
3869 (remember-data-directory, remember-directory-file-name-format):
3871 (remember-store-in-files): New function to store remember notes
3872 as separate files within a directory.
3874 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
3876 * progmodes/compile.el (compilation-next-error-function):
3877 Pass "formats" to compilation-find-file (bug#11777).
3879 2013-04-24 Glenn Morris <rgm@gnu.org>
3881 * vc/vc-bzr.el (vc-bzr-print-log):
3882 * vc/vc-hg.el (vc-hg-print-log):
3883 * vc/vc-svn.el (vc-svn-print-log):
3884 Fix START-REVISION with LIMIT != 1. (Bug#14168)
3886 * vc/vc-bzr.el (vc-bzr-print-log):
3887 * vc/vc-cvs.el (vc-cvs-print-log):
3888 * vc/vc-git.el (vc-git-print-log):
3889 * vc/vc-hg.el (vc-hg-print-log):
3890 * vc/vc-mtn.el (vc-mtn-print-log):
3891 * vc/vc-rcs.el (vc-rcs-print-log):
3892 * vc/vc-sccs.el (vc-sccs-print-log):
3893 * vc/vc-svn.el (vc-svn-print-log):
3894 * vc/vc.el (vc-print-log-internal): Doc fixes.
3896 2013-04-23 Glenn Morris <rgm@gnu.org>
3898 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
3899 Remove venerable code attempting to avoid substitute-command-keys.
3901 2013-04-23 Tassilo Horn <tsdh@gnu.org>
3903 * textmodes/reftex-vars.el (reftex-label-regexps):
3904 Call `reftex-compile-variables' after changes to this variable.
3906 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3908 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
3909 Use lexical-binding.
3910 (jit-lock-force-redisplay): Use markers, check buffer's continued
3911 existence and beware narrowed buffers.
3912 (jit-lock-fontify-now): Adjust call accordingly.
3914 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3916 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
3917 to avoid misleading the user.
3919 2013-04-22 Leo Liu <sdl.web@gmail.com>
3921 * info-look.el: Prefer latex2e.info. (Bug#14240)
3923 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
3925 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
3927 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
3928 * net/tramp.el (tramp-call-process): ... here.
3929 (tramp-set-completion-function, tramp-parse-putty):
3930 * net/tramp-adb.el (tramp-adb-execute-adb-command):
3931 * net/tramp-gvfs.el (tramp-gvfs-send-command):
3932 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3933 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
3934 (tramp-call-local-coding-command): Use `tramp-call-process'
3935 instead of `tramp-compat-call-process'.
3937 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
3938 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
3939 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
3940 (tramp-find-inline-compress): Improve traces.
3941 (tramp-maybe-send-script): Check for Perl binary.
3942 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
3944 2013-04-22 Daiki Ueno <ueno@gnu.org>
3946 * epg.el (epg-context-pinentry-mode): New function.
3947 (epg-context-set-pinentry-mode): New function.
3948 (epg--start): Pass --pinentry-mode option to gpg command.
3950 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
3952 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
3953 `comint-dynamic-complete' is obsolete since 24.1, replaced by
3954 `completion-at-point'. (Bug#13774)
3956 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
3957 default key binding for `describe-distribution' has been moved to
3958 `C-h C-o'. (Bug#13970)
3960 2013-04-21 Glenn Morris <rgm@gnu.org>
3962 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
3964 (vc-print-log): Clarify interactive prompt.
3966 2013-04-20 Glenn Morris <rgm@gnu.org>
3968 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
3969 No longer include timestamp etc information.
3971 2013-04-20 Roland Winkler <winkler@gnu.org>
3973 * faces.el (read-face-name): Bug fix, return just one face if arg
3974 multiple is nil. (Bug#14209)
3976 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3978 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
3979 (remove-function): Autoload.
3981 * comint.el (comint-redirect-original-filter-function): Remove.
3982 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
3983 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
3984 (vc-cvs-annotate-command):
3985 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
3986 * progmodes/prolog.el (prolog-consult-compile):
3987 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
3988 Use add/remove-function instead.
3989 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
3990 (gud-tooltip-process-output, gud-tooltip-tips):
3991 Use add/remove-function instead.
3992 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
3993 (scheme-interaction-mode, exit-scheme-interaction-mode):
3994 Use add/remove-function instead.
3996 * vc/vc-dispatcher.el: Use lexical-binding.
3997 (vc--process-sentinel): Rename from vc-process-sentinel.
3998 Change last arg to be the code to run. Don't use vc-previous-sentinel
3999 and vc-sentinel-commands any more.
4000 (vc-exec-after): Allow code to be a function. Use add/remove-function.
4001 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
4003 2013-04-19 Masatake YAMATO <yamato@redhat.com>
4005 * progmodes/sh-script.el (sh-imenu-generic-expression):
4006 Handle function names with a single character. (Bug#14111)
4008 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
4010 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
4011 for subroutines defined in an eval (bug#14182).
4013 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4015 * bookmark.el (bookmark-completing-read): Improve handling of empty
4018 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4020 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
4022 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
4024 New faster Imenu implementation (bug#14058).
4025 * progmodes/python.el:
4026 (python-imenu-prev-index-position):
4027 (python-imenu-format-item-label-function)
4028 (python-imenu-format-parent-item-label-function)
4029 (python-imenu-format-parent-item-jump-label-function):
4031 (python-imenu-format-item-label)
4032 (python-imenu-format-parent-item-label)
4033 (python-imenu-format-parent-item-jump-label)
4034 (python-imenu--put-parent, python-imenu--build-tree)
4035 (python-imenu-create-index, python-imenu-create-flat-index)
4036 (python-util-popn): New functions.
4037 (python-mode): Set imenu-create-index-function to
4038 python-imenu-create-index.
4040 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4042 * winner.el (winner-active-region): Use region-active-p, activate-mark
4043 and deactivate-mark (bug#14225).
4045 * simple.el (deactivate-mark): Don't inline it.
4047 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
4049 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
4051 2013-04-18 Tassilo Horn <tsdh@gnu.org>
4053 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
4054 file extensions from the archive-mode entry in order to prefer
4055 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
4057 2013-04-18 Leo Liu <sdl.web@gmail.com>
4059 * bindings.el (help-event-list): Add ?\?.
4061 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4063 * subr.el (with-wrapper-hook): Declare obsolete.
4064 * simple.el (filter-buffer-substring-function): New hook.
4065 (filter-buffer-substring): Use it.
4066 (filter-buffer-substring-functions): Mark obsolete.
4067 * minibuffer.el (completion-in-region-function): New hook.
4068 (completion-in-region): Use it.
4069 (completion-in-region-functions): Mark obsolete.
4070 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
4071 * abbrev.el (abbrev-expand-function): New hook.
4072 (expand-abbrev): Use it.
4073 (abbrev-expand-functions): Mark obsolete.
4074 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
4077 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4079 * progmodes/python.el (python-nav--syntactically): Fix cornercases
4080 and do not care about match data.
4082 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4084 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
4085 completion tables when completing error conditions and
4086 `declare' arguments.
4087 (lisp-complete-symbol, field-complete): Mark as obsolete.
4088 (check-parens): Unmatched parens are user errors.
4089 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
4091 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
4093 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
4094 command changed buffer (ie. `flyspell-pre-buffer' is not current
4095 buffer), which prevents making decisions based on invalid value of
4096 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
4097 cause an error when `flyspell-pre-point' was nil after switching
4099 (flyspell-post-command-hook): No longer needs to change buffers when
4100 checking pre-word. While at it remove unnecessary progn.
4102 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
4104 * textmodes/ispell.el (ispell-add-per-file-word-list):
4105 Fix `flyspell-correct-word-before-point' error when accepting
4106 words and `coment-padding' is an integer by using
4107 `comment-normalize-vars' (Bug #14214).
4109 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4111 New defun movement commands.
4112 * progmodes/python.el (python-nav--syntactically)
4113 (python-nav--forward-defun, python-nav-backward-defun)
4114 (python-nav-forward-defun): New functions.
4116 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
4118 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
4119 (python-syntax-context): Use named compiler-macro for backwards
4120 compatibility with Emacs 24.x.
4122 2013-04-17 Leo Liu <sdl.web@gmail.com>
4124 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
4125 octave-hide-process-buffer.
4127 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4129 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
4132 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
4134 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
4135 Fix adjustment of offset when receiving incomplete responses from GDB
4138 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4140 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
4141 python-mode-abbrev-table.
4142 (python-skeleton-define): Adjust accordingly.
4143 (python-mode-abbrev-table): New table that inherits from it so that
4144 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
4146 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
4147 (abbrev-symbol): Use it.
4148 (abbrev--before-point): Use it since we already handle inheritance.
4150 2013-04-16 Leo Liu <sdl.web@gmail.com>
4152 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
4153 binding to info-lookup-symbol.
4155 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
4157 * minibuffer.el (completion--twq-all):
4158 * term/ns-win.el (ns-initialize-window-system):
4159 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
4161 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4163 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
4166 * doc-view.el (doc-view-start-process): Handle url-handler directories.
4168 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
4170 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
4171 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
4173 (ruby-end-of-defun): Remove the unused arg, change the docstring
4174 to reflect that this function is only used as the value of
4175 `end-of-defun-function'.
4176 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
4177 to reflect an earlier change that beginning/end-of-defun functions
4178 jump between methods in a class definition, as well as top-level
4181 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4183 * minibuffer.el (minibuffer-complete): Don't just scroll
4184 a *Completions* that's been iconified.
4185 (minibuffer-force-complete): Make sure repetitions do cycle when going
4186 through completion-in-region -> minibuffer-complete.
4188 2013-04-15 Alan Mackenzie <acm@muc.de>
4190 Correct the placement of c-cpp-delimiters when there're #s not at
4193 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
4194 place a submatch around the #.
4195 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
4196 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
4199 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4201 * emacs-lisp/nadvice.el: Properly test names when adding advice.
4202 (advice--member-p): New arg `name'.
4203 (advice--add-function, advice-member-p): Use it (bug#14202).
4205 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
4207 Reformulate java imenu-generic-expression.
4208 The old expression contained ill formed regexps.
4210 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
4211 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
4212 (cc-imenu-java-method-arg-regexp): New defconsts.
4213 (cc-imenu-java-build-type-args-regex): New defun.
4214 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
4215 handling of spaces in the regexp.
4217 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4219 * textmodes/ispell.el (ispell-command-loop): Remove
4220 flyspell highlight of a word when ispell accepts it (bug #14178).
4222 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
4224 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
4225 uses code from the previous `ange-ftp-run-real-handler'.
4226 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
4227 only in case that function exist. This is needed for proper
4230 2013-04-15 Tassilo Horn <tsdh@gnu.org>
4232 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
4234 * textmodes/reftex.el (reftex-compile-variables): Use it.
4236 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4238 * files.el (normal-mode): Only use default major-mode if no other mode
4241 * emacs-lisp/trace.el (trace-values): New function.
4243 * files.el: Allow : in local variables (bug#14089).
4244 (hack-local-variable-regexp): New var.
4245 (hack-local-variables-prop-line, hack-local-variables): Use it.
4247 2013-04-13 Roland Winkler <winkler@gnu.org>
4249 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
4250 data before it gets modified by bibtex-beginning-of-entry.
4252 2013-04-13 Roland Winkler <winkler@gnu.org>
4254 * textmodes/bibtex.el (bibtex-url): Doc fix.
4256 2013-04-13 Roland Winkler <winkler@gnu.org>
4258 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
4259 does not visit a BibTeX file, exclude it from the list of buffers
4260 returned by bibtex-initialize.
4262 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
4264 * window.el (split-window): Remove interactive form, since as a
4265 command this function is a special case of split-window-below.
4268 2013-04-12 Roland Winkler <winkler@gnu.org>
4270 * faces.el (read-face-name): Do not override value of arg default.
4271 Allow single faces and strings as default values. Remove those
4272 elements from return value that are not faces.
4273 (describe-face): Simplify.
4274 (face-at-point): New optional args thing and multiple so that this
4275 function can provide the same functionality previously provided by
4277 (make-face-bold, make-face-unbold, make-face-italic)
4278 (make-face-unitalic, make-face-bold-italic, invert-face)
4279 (modify-face, read-face-and-attribute): Use face-at-point.
4281 * cus-edit.el (customize-face, customize-face-other-window)
4282 * cus-theme.el (custom-theme-add-face)
4283 * face-remap.el (buffer-face-set)
4284 * facemenu.el (facemenu-set-face): Use face-at-point.
4286 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
4288 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
4290 2013-04-10 Tassilo Horn <tsdh@gnu.org>
4292 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
4293 off leading { and trailing } from field values.
4295 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4297 * emacs-lisp/timer.el (timer--check): New function.
4298 (timer--time, timer-set-function, timer-event-handler): Use it.
4299 (timer-set-idle-time): Simplify.
4300 (timer--activate): CSE.
4301 (timer-event-handler): Give more info in error message.
4302 (internal-timer-start-idle): New function, moved from C.
4304 * mpc.el (mpc-proc): Add `restart' argument.
4305 (mpc-proc-cmd): Use it.
4306 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
4307 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
4310 2013-04-10 Masatake YAMATO <yamato@redhat.com>
4312 * progmodes/sh-script.el: Implement `sh-mode' own
4313 `add-log-current-defun-function' (bug#14112).
4314 (sh-current-defun-name): New function.
4315 (sh-mode): Use the function.
4317 2013-04-09 Bastien Guerry <bzg@gnu.org>
4319 * simple.el (choose-completion-string): Fix docstring (bug#14163).
4321 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
4323 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
4325 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
4328 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
4330 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
4333 2013-04-07 Leo Liu <sdl.web@gmail.com>
4335 * pcmpl-x.el: New file.
4337 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
4339 Do not set x-display-name until X connection is established.
4340 This is needed to prevent from weird situation described at
4341 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
4342 * frame.el (make-frame): Set x-display-name after call to
4343 window system initialization function, not before.
4344 * term/x-win.el (x-initialize-window-system): Add optional
4345 display argument and use it.
4346 * term/w32-win.el (w32-initialize-window-system):
4347 * term/ns-win.el (ns-initialize-window-system):
4348 * term/pc-win.el (msdos-initialize-window-system):
4349 Add compatible optional display argument.
4351 2013-04-06 Eli Zaretskii <eliz@gnu.org>
4353 * files.el (normal-backup-enable-predicate): On MS-Windows and
4354 MS-DOS compare truenames of temporary-file-directory and of the
4355 file, so that 8+3 aliases (usually found in $TEMP on Windows)
4356 don't fail comparison by compare-strings. Also, compare file
4357 names case-insensitively on MS-Windows and MS-DOS.
4359 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4361 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
4362 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
4364 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
4366 * whitespace.el (whitespace-color-on, whitespace-color-off):
4367 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
4369 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
4371 * ispell.el (ispell-set-spellchecker-params):
4372 Really set `ispell-args' for all equivs.
4374 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
4376 * ido.el (ido-completions): Use extra elements of ido-decorations
4378 (ido-decorations): Update docstring.
4380 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
4382 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4383 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
4384 nil during initialization, in order not to miss changes since the
4385 file was opened. (Bug#14140)
4387 2013-04-05 Leo Liu <sdl.web@gmail.com>
4389 * kmacro.el (kmacro-call-macro): Fix bug#14135.
4391 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
4393 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
4395 2013-04-04 Glenn Morris <rgm@gnu.org>
4397 * electric.el (electric-pair-inhibit-predicate): Add :version.
4399 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4401 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
4402 when a package is required several times (bug#14082).
4404 2013-04-04 Roland Winkler <winkler@gnu.org>
4406 * faces.el (read-face-name): Behave as promised by the docstring.
4407 Assume that arg default is a list of faces.
4408 (describe-face): Call read-face-name with list of default faces.
4410 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4412 * bookmark.el: Fix deletion of bookmarks (bug#13972).
4413 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
4414 (bookmark-bmenu-execute-deletions): Only skip first line if it's
4416 (bookmark-exit-hook-internal): Save even if list is empty.
4418 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
4420 * emacs-lisp/package.el (package-pinned-packages): New var.
4421 (package--add-to-archive-contents): Obey it (bug#14118).
4423 2013-04-03 Alan Mackenzie <acm@muc.de>
4425 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
4426 Also adapt to the new values of element 7 of a parse state.
4428 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
4429 parameter `not-in-delimiter'. Handle being inside comment opener.
4430 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
4431 character in case we're typing a '*' after a '/'.
4432 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
4433 instead by passing the parameter to c-state-pp-to-literal.
4435 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
4436 for elt. 7 of a parse state.
4438 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
4440 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
4441 * international/latin1-disp.el, international/mule-util.el:
4442 * language/cyril-util.el, language/european.el, language/ind-util.el:
4443 * language/lao-util.el, language/thai.el, language/tibet-util.el:
4444 * language/tibetan.el, language/viet-util.el:
4445 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
4447 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4449 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
4450 (electric-pair-post-self-insert-function): Use it.
4451 (electric-pair-default-inhibit): New function, extracted from
4452 electric-pair-post-self-insert-function.
4454 2013-03-31 Roland Winkler <winkler@gnu.org>
4456 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
4458 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4460 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
4462 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
4464 Un-indent after "pass" and "return" statements (Bug#13888)
4465 * progmodes/python.el (python-indent-block-enders): New var.
4466 (python-indent-calculate-indentation): Use it.
4468 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
4470 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
4471 defun. Defining it as defalias could introduce too eager
4472 byte-compiler optimization. (Bug#14030)
4474 2013-03-30 Chong Yidong <cyd@gnu.org>
4476 * iswitchb.el (iswitchb-read-buffer): Fix typo.
4478 2013-03-30 Leo Liu <sdl.web@gmail.com>
4480 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
4481 (kmacro-execute-from-register): Pass the keyboard macro to
4482 kmacro-call-macro or repeating won't work correctly.
4484 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
4486 * progmodes/subword.el: Back to using `forward-symbol'.
4488 * subr.el (forward-whitespace, forward-symbol)
4489 (forward-same-syntax): Move from thingatpt.el.
4491 2013-03-29 Leo Liu <sdl.web@gmail.com>
4493 * kmacro.el (kmacro-to-register): New command.
4494 (kmacro-execute-from-register): New function.
4495 (kmacro-keymap): Bind to 'x'. (Bug#14071)
4497 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
4499 * mpc.el: Use defvar-local and setq-local.
4500 (mpc--proc-connect): Connection failures are not bugs.
4501 (mpc-mode-map): `follow-link' only applies to the buffer's content.
4502 (mpc-volume-map): Bind to the up-events.
4504 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
4506 * progmodes/subword.el (superword-mode): Use `forward-sexp'
4507 instead of `forward-symbol'.
4509 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
4511 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
4512 (edebug--recursive-edit): Use it.
4513 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
4514 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
4516 2013-03-28 Leo Liu <sdl.web@gmail.com>
4518 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
4520 2013-03-27 Eli Zaretskii <eliz@gnu.org>
4522 * facemenu.el (list-colors-callback): New defvar.
4523 (list-colors-redisplay): New function.
4524 (list-colors-display): Install list-colors-redisplay as the
4525 revert-buffer-function. (Bug#14063)
4527 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4529 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
4530 and suffixes don't overlap (bug#14061).
4532 * case-table.el: Use lexical-binding.
4533 (case-table-get-table): New function.
4534 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
4536 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
4538 * progmodes/subword.el: Add `superword-mode' to do word motion
4539 over symbol_words (parallels and leverages `subword-mode' which
4540 does word motion inside MixedCaseWords).
4542 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
4544 * eshell/em-unix.el: Move su and sudo to...
4545 * eshell/em-tramp.el: ...Eshell tramp module.
4547 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4549 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
4550 Change return value to be a sexp. Delay `get-buffer' to after
4551 restoring the desktop (bug#13951).
4553 2013-03-26 Leo Liu <sdl.web@gmail.com>
4555 * register.el: Move semantic tag handling back to
4556 cedet/semantic/senator.el. (Bug#14052)
4558 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4560 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
4561 into the prompt either (bug#13963).
4563 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
4565 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
4566 part of "(error-foo)".
4568 2013-03-24 Juri Linkov <juri@jurta.org>
4570 * replace.el (list-matching-lines-prefix-face): New defcustom.
4571 (occur-1): Pass `list-matching-lines-prefix-face' to the function
4572 `occur-engine' if `face-differs-from-default-p' returns t.
4573 (occur-engine): Add `,' inside backquote construct to evaluate
4574 `prefix-face'. Propertize the prefix with the `prefix-face' face.
4575 Pass `prefix-face' to the functions `occur-context-lines' and
4576 `occur-engine-add-prefix'.
4577 (occur-engine-add-prefix, occur-context-lines): Add optional arg
4578 `prefix-face' and propertize the prefix with `prefix-face'.
4581 2013-03-24 Leo Liu <sdl.web@gmail.com>
4583 * nxml/rng-valid.el (rng-validate-while-idle)
4584 (rng-validate-quick-while-idle): Guard against deleted buffer.
4587 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
4588 is the last entry in kill-buffer-hook.
4590 * files.el (kill-buffer-hook): Doc fix.
4592 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
4594 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
4597 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
4599 2013-03-23 Leo Liu <sdl.web@gmail.com>
4601 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
4604 * nxml/rng-valid.el (rng-validate-mode)
4605 (rng-after-change-function, rng-do-some-validation):
4606 * nxml/rng-maint.el (rng-validate-buffer):
4607 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
4608 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
4609 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
4610 (nxml-extend-after-change-region): Use with-silent-modifications.
4612 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
4615 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
4616 (rng-next-error-1, rng-previous-error-1): Do not let-bind
4617 timer-idle-list. (Bug#13999)
4619 2013-03-23 Juri Linkov <juri@jurta.org>
4621 * info.el (info-index-match): New face.
4622 (Info-index, Info-apropos-matches): Add a nested subgroup to the
4623 main pattern and add text properties with the new face to matches
4624 in index entries relative to the beginning of the index entry.
4627 2013-03-21 Eric Ludlam <zappo@gnu.org>
4629 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
4630 Inhibit read only while inserting objects.
4632 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
4634 * progmodes/cfengine.el: Update docs to mention
4635 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
4636 symbol motion. Remove "_" from the word syntax.
4638 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
4640 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
4641 syntax for both `cfengine2-mode' and `cfengine3-mode'.
4643 2013-03-20 Juri Linkov <juri@jurta.org>
4645 * info.el (Info-next-reference-or-link)
4646 (Info-prev-reference-or-link): New functions.
4647 (Info-next-reference, Info-prev-reference): Use them.
4648 (Info-try-follow-nearest-node): Handle footnote navigation.
4649 (Info-fontify-node): Fontify footnotes. (Bug#13989)
4651 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
4653 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
4654 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
4656 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
4658 Suppress unnecessary non-ASCII chatter during build process.
4659 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
4660 (batch-skkdic-convert): Suppress most of the chatter.
4661 It's not needed so much now that machines are faster,
4662 and its non-ASCII component was confusing; see Dmitry Gutov in
4663 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
4665 2013-03-20 Leo Liu <sdl.web@gmail.com>
4667 * ido.el (ido-chop): Fix bug#10994.
4669 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
4671 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
4673 (whitespace-color-on, whitespace-color-off):
4674 Use `font-lock-fontify-buffer' (Bug#13817).
4676 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
4678 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
4679 remapping in mode-line.
4680 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
4682 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
4684 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
4685 value for `whitespace-line' face (Bug#13875).
4686 (whitespace-font-lock-keywords): Change description.
4687 (whitespace-color-on): Don't save `font-lock-keywords' value, save
4688 the constructed keywords instead.
4689 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
4691 2013-03-19 Leo Liu <sdl.web@gmail.com>
4693 * progmodes/compile.el (compilation-display-error): New command.
4694 (compilation-mode-map, compilation-minor-mode-map): Bind it to
4697 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
4699 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
4701 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
4703 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
4705 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
4707 * net/tramp-compat.el (tramp-compat-user-error): New defun.
4709 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4710 * net/tramp-gvfs.el (top):
4711 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
4712 (tramp-handle-shell-command): Use it.
4713 (tramp-dissect-file-name): Raise an error when hostname is a
4714 method name, and neither method nor user is specified.
4716 * net/trampver.el: Update release number.
4718 2013-03-18 Leo Liu <sdl.web@gmail.com>
4720 Make sure eldoc can be turned off properly.
4721 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
4723 (eldoc-display-message-p): Revert last change.
4724 (eldoc-display-message-no-interference-p)
4725 (eldoc-print-current-symbol-info): Tweak.
4727 2013-03-18 Tassilo Horn <tsdh@gnu.org>
4729 * doc-view.el (doc-view-new-window-function): Check the new window
4730 overlay's display property instead the char property of the
4731 buffer's first char. Use `with-selected-window' instead of
4732 `save-window-excursion' with `select-window'.
4733 (doc-view-document->bitmap): Check the current doc-view overlay's
4734 display property instead the char property of the buffer's first char.
4736 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
4738 Automate the build of ja-dic.el (Bug#13984).
4739 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
4740 from the input, rather than assume that it's been done for us by the
4741 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
4742 the current date into a ja-dic.el comment, as that complicates
4745 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4747 * whitespace.el: Fix double evaluation.
4748 (whitespace-space, whitespace-hspace, whitespace-tab)
4749 (whitespace-newline, whitespace-trailing, whitespace-line)
4750 (whitespace-space-before-tab, whitespace-indentation)
4751 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
4753 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
4754 (whitespace-color-on): Use a single font-lock-add-keywords call.
4755 Fix double-evaluation of face variables.
4757 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
4759 * net/tramp-adb.el (tramp-adb-parse-device-names):
4760 Use `start-process' instead of `call-process'. Otherwise, the
4761 function might be blocked under MS Windows. (Bug#13299)
4763 2013-03-17 Leo Liu <sdl.web@gmail.com>
4765 Extend eldoc to display info in the mode-line. (Bug#13978)
4766 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
4767 (eldoc-mode-line-string): New variable.
4768 (eldoc-minibuffer-message): New function.
4769 (eldoc-message-function): New variable.
4770 (eldoc-message): Use it.
4771 (eldoc-display-message-p)
4772 (eldoc-display-message-no-interference-p):
4773 Support eldoc-post-insert-mode.
4775 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
4776 (eval-expression): Run it.
4778 2013-03-17 Roland Winkler <winkler@gnu.org>
4780 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
4781 strings in the list of return values.
4783 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
4785 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
4786 radix before checking for HMS forms.
4788 2013-03-16 Leo Liu <sdl.web@gmail.com>
4790 * progmodes/scheme.el: Add indentation and font-locking for λ.
4793 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
4796 token before point (bug#13942).
4798 2013-03-16 Leo Liu <sdl.web@gmail.com>
4800 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
4802 2013-03-16 Eli Zaretskii <eliz@gnu.org>
4804 * startup.el (command-line-normalize-file-name): Fix handling of
4805 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
4806 <xfq.free@gmail.com> in
4807 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
4809 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
4811 Sync with Tramp 2.2.7.
4813 * net/trampver.el: Update release number.
4815 2013-03-14 Tassilo Horn <tsdh@gnu.org>
4817 * doc-view.el Fix bug#13887.
4818 (doc-view-insert-image): Don't modify overlay associated to
4819 non-live windows, and implement horizontal centering of image in
4820 case it's smaller than the window.
4821 (doc-view-new-window-function): Force redisplay of new windows on
4824 2013-03-13 Karl Fogel <kfogel@red-bean.com>
4826 * saveplace.el (save-place-alist-to-file): Don't sort
4827 `save-place-alist', just pretty-print it (bug#13882).
4829 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
4831 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4832 Check whether `default-file-name-coding-system' is bound.
4835 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
4837 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
4838 backquotes for `obsolete' (bug#13929).
4840 * international/mule.el (find-auto-coding): Include file name in
4841 obsolescence warning (bug#13922).
4843 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
4845 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
4846 for CFEngine 3-specific indentation.
4847 (cfengine3-indent-line): Use it. Fix up category regex.
4848 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
4850 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4852 * type-break.el (type-break-file-name):
4853 * textmodes/remember.el (remember-data-file):
4854 * strokes.el (strokes-file):
4855 * shadowfile.el (shadow-initialize):
4856 * saveplace.el (save-place-file):
4857 * ps-bdf.el (bdf-cache-file):
4858 * progmodes/idlwave.el (idlwave-config-directory):
4859 * net/quickurl.el (quickurl-url-file):
4860 * international/kkc.el (kkc-init-file-name):
4861 * ido.el (ido-save-directory-list-file):
4862 * emulation/viper.el (viper-custom-file-name):
4863 * emulation/vip.el (vip-startup-file):
4864 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4865 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
4867 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
4869 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
4870 * language/thai-word.el: Switch to UTF-8.
4872 See ChangeLog.16 for earlier changes.
4878 Copyright (C) 2011-2013 Free Software Foundation, Inc.
4880 This file is part of GNU Emacs.
4882 GNU Emacs is free software: you can redistribute it and/or modify
4883 it under the terms of the GNU General Public License as published by
4884 the Free Software Foundation, either version 3 of the License, or
4885 (at your option) any later version.
4887 GNU Emacs is distributed in the hope that it will be useful,
4888 but WITHOUT ANY WARRANTY; without even the implied warranty of
4889 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4890 GNU General Public License for more details.
4892 You should have received a copy of the GNU General Public License
4893 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.