* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
[emacs.git] / lisp / ChangeLog
blobae0dcc3de32eef275840f44f67398a7400b1c7d0
1 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
3         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4         after the end of a percent literal.
6 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
8         * progmodes/ruby-mode.el (ruby-forward-string): Document.  Handle
9         caret-delimited strings (Bug#16079).
11 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
13         * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
14         `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15         `ruby-parse-partial' (Bug#16078).
17 2013-12-09  Leo Liu  <sdl.web@gmail.com>
19         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
21 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
23         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
24         (js-switch-indent-offset): New option.
25         (js--proper-indentation): Use it.  And handle the case when
26         "default" is actually a key in an object literal.
27         (js--same-line): New function.
28         (js--multi-line-declaration-indentation): Use it.
29         (js--indent-in-array-comp, js--array-comp-indentation): New
30         functions.
31         (js--proper-indentation): Use them, to handle array comprehension
32         continuations.
34 2013-12-08  Leo Liu  <sdl.web@gmail.com>
36         * progmodes/flymake.el (flymake-highlight-line): Re-write.
37         (flymake-make-overlay): Remove arg MOUSE-FACE.
38         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
40 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
42         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
43         New function.
44         (redisplay-highlight-region-function): Use it.
46         * emulation/cua-base.el (cua--explicit-region-start)
47         (cua--last-region-shifted): Remove.
48         (cua--deactivate): Use deactivate-mark.
49         (cua--pre-command-handler-1): Don't handle shift-selection.
50         (cua--post-command-handler-1): Don't change transient-mark-mode.
51         (cua--select-keymaps): Use region-active-p rather than
52         cua--explicit-region-start or cua--last-region-shifted.
53         (cua-mode): Enable shift-select-mode.
55 2013-12-08  Leo Liu  <sdl.web@gmail.com>
57         * progmodes/flymake.el (flymake-popup-current-error-menu):
58         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
59         (flymake-posn-at-point-as-event, flymake-popup-menu)
60         (flymake-make-emacs-menu): Remove.  (Bug#16077)
62 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
64         * rect.el (rectangle-mark-mode): Activate mark even if
65         transient-mark-mode is off (bug#16066).
66         (rectangle--highlight-for-redisplay): Fix boundary condition when point
67         is > mark and at bolp.
69         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
70         (region-extract-function): Use it.
71         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
72         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
73         Delete functions.
74         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
75         kill-ring-save, kill-region, delete-char, delete-forward-char.
76         Ignore self-insert-iso.
78         * emulation/cua-gmrk.el (cua--init-global-mark):
79         Ignore `self-insert-iso'.
81         * emulation/cua-base.el (cua--prefix-copy-handler)
82         (cua--prefix-cut-handler): Rely on region-extract-function rather than
83         checking cua--rectangle.
84         (cua-delete-region): Use region-extract-function.
85         (cua-replace-region): Delete function.
86         (cua-copy-region, cua-cut-region): Obey region-extract-function.
87         (cua--pre-command-handler-1): Don't do the delete-selection thing.
88         (cua--self-insert-char-p): Ignore `self-insert-iso'.
89         (cua--init-keymaps): Don't remap delete-selection commands.
90         (cua-mode): Use delete-selection-mode instead of rolling our own
91         (bug#16085).
93         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
94         Obey region-extract-function.
96         Make registers and delete-selection-mode work on rectangles.
97         * register.el (describe-register-1): Don't modify the register's value.
98         (copy-to-register): Obey region-extract-function.
99         * delsel.el (delete-active-region): Obey region-extract-function.
101 2013-12-08  Leo Liu  <sdl.web@gmail.com>
103         * progmodes/flymake.el (flymake, flymake-error-bitmap)
104         (flymake-warning-bitmap, flymake-fringe-indicator-position)
105         (flymake-compilation-prevents-syntax-check)
106         (flymake-start-syntax-check-on-newline)
107         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
108         (flymake-start-syntax-check-on-find-file, flymake-log-level)
109         (flymake-xml-program, flymake-master-file-dirs)
110         (flymake-master-file-count-limit)
111         (flymake-allowed-file-name-masks): Relocate.
112         (flymake-makehash, flymake-float-time)
113         (flymake-replace-regexp-in-string, flymake-split-string)
114         (flymake-get-temp-dir): Remove.
115         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
116         (flymake-current-row, flymake-selected-frame)
117         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
118         related functions.  (Bug#16077)
120 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
122         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
124 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
126         * help-fns.el (describe-function-1): Use new advice-* functions
127         rather than old ad-* functions.  Fix function type description and
128         source links for advised functions and subrs.
130 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
132         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
134 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
136         * progmodes/compile.el (compilation-start):
137         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
139         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
140         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
142 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
144         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
145         Touch up the last change.
147 2013-12-06  Leo Liu  <sdl.web@gmail.com>
149         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
150         (inferior-octave-startup): Always use "octave> " for prompt.
151         (octave-goto-function-definition)
152         (octave-sync-function-file-names)
153         (octave-find-definition-default-filename): Remove redundant backquotes.
155 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
157         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
158         syntax for `?'.
159         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
160         where appropriate already.
161         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
162         end of method names (Bug#15874).
164 2013-12-06  Juri Linkov  <juri@jurta.org>
166         * isearch.el (isearch--saved-overriding-local-map):
167         New internal variable.
168         (isearch-mode): Set it to the initial value of
169         `overriding-terminal-local-map'.
170         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
171         with `isearch--saved-overriding-local-map'.  (Bug#16035)
173 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
175         * progmodes/octave.el (inferior-octave-completion-table):
176         Turn back into function, use `completion-table-with-cache'
177         (Bug#11906).  Update all references.
179         * minibuffer.el (completion-table-with-cache): New function.
181 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
183         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
185 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
187         * net/eww.el (eww-current-source): New variable to store page
188         source.
189         (eww-display-html, eww-mode, eww-save-history)
190         (eww-restore-history): Use it.
191         (eww-view-source): New command to view page source.
192         Opportunistically uses `html-mode' to highlight the buffer.
193         (eww-mode-map): Install it.
195 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
197         * net/dbus.el (dbus-unregister-service)
198         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
199         Fix docstring.
200         (dbus-unregister-service): Skip :serial entries in
201         `dbus-registered-objects-table'.
202         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
204 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
206         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
207         around keywords with extra `split-string' argument.
209 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
211         * windmove.el (windmove-other-window-loc): Handle navigation
212         between windows (excluding the minibuffer window - Bug#16017).
214 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
216         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
217         in D-Bus type syntax.
218         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
219         preserve unibyte strings.  (Bug#16048)
221 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
223         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
224         Call force-mode-line-update is the proper buffer (bug#16042).
226 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
228         * vc/log-edit.el (log-edit-add-new-comment): Rename to
229         `log-edit-remember-comment', make argument optional.  Adjust all
230         callers.
231         (log-edit-mode): Add `log-edit-remember-comment' to
232         `kill-buffer-hook' locally.
233         (log-edit-kill-buffer): Don't remember comment explicitly since
234         the buffer is killed anyway.
236 2013-12-04  Juri Linkov  <juri@jurta.org>
238         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
239         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
241 2013-12-03  Tom Regner <tom@goochesa.de>  (tiny change)
243         * notifications.el (notifications-close-notification): Call the
244         D-Bus method with ID being a `:uint32'.  (Bug#16030)
246 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
248         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
250 2013-12-03  Juri Linkov  <juri@jurta.org>
252         * progmodes/compile.el (compilation-start): Rename window alist
253         entry `no-display-ok' to `allow-no-window'.
255         * simple.el (shell-command): Add window alist entry
256         `allow-no-window' to `display-buffer'.
257         (async-shell-command): Doc fix.
259         * window.el (display-buffer-no-window): New action function.
260         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
262 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
264         * vc/log-edit.el (log-edit-set-header): Extract from
265         `log-edit-toggle-header'.
266         (log-edit-extract-headers): Separate the summary, when extracted
267         from header, from the rest of the message with an empty line.
269         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
270         line, if present, to the Summary header.
272 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
274         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
275         in current-buffer (bug#16029).
277 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
279         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
280         (debugger-mode-map): Bind it.
281         (debugger--backtrace-base): New function.
282         (debugger-eval-expression): Use it.
283         (debugger-frame-number): Skip local vars when present.
284         (debugger--locals-visible-p, debugger--insert-locals)
285         (debugger--show-locals, debugger--hide-locals): New functions.
287 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
289         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
290         "LC_ALL".
291         (tramp-get-remote-locale): New defun.
292         (tramp-open-connection-setup-interactive-shell): Use it.
294 2013-12-02  Leo Liu  <sdl.web@gmail.com>
296         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
298         * progmodes/sh-script.el (sh-shell-process):
299         * progmodes/octave.el (inferior-octave-process-live-p):
300         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
301         (gdb-inferior-io-sentinel):
302         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
304 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
306         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
307         `save-selected-window' to `log-edit-hide-buf'.  This makes
308         `log-edit-show-files' idempotent.
309         (log-edit-show-files): Mark the new window as dedicated.
311 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
313         * vc/log-edit.el (log-edit-mode-map): Add binding for
314         `log-edit-kill-biffer'.
315         (log-edit-hide-buf): Add a FIXME comment.
316         (log-edit-add-new-comment): New function, extracted from
317         `log-edit-done'.
318         (log-edit-done, log-edit-add-to-changelog): Use it.
319         (log-edit-kill-buffer): New command.
321 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
323         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
324         instead of killing the buffer.
326 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
328         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
330 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
332         * net/eww.el (eww-form-checkbox-selected-symbol)
333         (eww-form-checkbox-symbol): New customizable variable.
334         (eww-form-checkbox, eww-toggle-checkbox):
335         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
337         * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
338         (shr--get-media-pref, shr--extract-best-source): New function.
339         (shr-tag-video, shr-tag-audio):  Use `shr--extract-best-source' when
340         no :src tag was specified.
342         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
343         (eww-render): Handle `eww-use-external-browser-for-content-type'.
344         Use \\` to match beginning of string instead of ^.
345         (eww-browse-with-external-browser): Provide optional URL parameter.
346         (eww-render): Set `eww-current-title' back to "".
348         * net/shr.el (shr-tag-video): Display content for video if no
349         poster is available.
350         (shr-tag-audio): Add support for <audio> tag.
352         * net/eww.el (eww-text-input-types): : New const.
353         (eww-process-text-input): Treat input types in
354         `eww-text-input-types' as text.
356         * net/shr.el (shr-tag-table): Fix comment typo.
358 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
360         * net/eww.el (eww-follow-link): New command to avoid reloading
361         pages when we follow #target links (bug#15243).
362         (eww-quit): Special mode buffers shouldn't query before exiting.
364 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
366         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
367         forms.
369 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
371         * net/eww.el (eww-restore-history): Update the window title after
372         moving in the history.
373         (eww-current-dom): New variable used to save the current DOM.
375 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
377         * vc/log-edit.el (log-edit-mode-map): Add binding for
378         `log-edit-beginning-of-line'.
379         (log-edit-setup-add-author): New user option.
380         (log-edit-beginning-of-line): New command.
381         (log-edit): Move major mode call above the contents setup so that
382         the local variable values are already applied.
383         (log-edit): Only insert "Author: " when
384         `log-edit-setup-add-author' is non-nil.
385         (log-edit): When SETUP is non-nil, position point after ": "
386         instead of point-min.
388 2013-12-01  Glenn Morris  <rgm@gnu.org>
390         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
392 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
394         * startup.el (fancy-splash-frame): On MS-Windows, trigger
395         redisplay to make sure the initial frame gets a chance to become
396         visible.  (Bug#16014)
398 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
400         Support resizing frames and windows pixelwise.
401         * cus-start.el (frame-resize-pixelwise)
402         (window-resize-pixelwise): New entries.
403         * emacs-lisp/debug.el (debug): Use window-total-height instead
404         of window-total-size.
405         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
406         * help.el (describe-bindings-internal): Call help-buffer
407         (temp-buffer-max-width): New option.
408         (resize-temp-buffer-window, help-window-setup)
409         (with-help-window): Rewrite.
410         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
411         dragging dividers.
412         * window.el (frame-char-size, window-min-pixel-height)
413         (window-safe-min-pixel-height, window-safe-min-pixel-width)
414         (window-min-pixel-width, window-safe-min-pixel-size)
415         (window-combination-p, window-safe-min-size)
416         (window-resizable-p, window--size-to-pixel)
417         (window--pixel-to-size, window--resize-apply-p): New functions.
418         (window-safe-min-height): Fix doc-string.
419         (window-size, window-min-size, window--min-size-1)
420         (window-sizable, window-sizable-p, window--min-delta-1)
421         (window-min-delta, window--max-delta-1, window-max-delta)
422         (window--resizable, window--resizable-p, window-resizable)
423         (window-full-height-p, window-full-width-p, window-at-side-p)
424         (window--in-direction-2, window-in-direction)
425         (window--resize-reset-1, window--resize-mini-window)
426         (window-resize, window-resize-no-error)
427         (window--resize-child-windows-normal)
428         (window--resize-child-windows, window--resize-siblings)
429         (window--resize-this-window, window--resize-root-window)
430         (window--resize-root-window-vertically)
431         (adjust-window-trailing-edge, enlarge-window, shrink-window)
432         (maximize-window, minimize-window, delete-window)
433         (quit-restore-window, window-split-min-size, split-window)
434         (balance-windows-2, balance-windows)
435         (balance-windows-area-adjust, balance-windows-area)
436         (window--state-get-1, window-state-get, window--state-put-1)
437         (window--state-put-2, window-state-put)
438         (display-buffer-record-window, window--display-buffer):
439         Make functions handle pixelwise sizing of windows.
440         (display-buffer--action-function-custom-type)
441         (display-buffer-fallback-action):
442         Add display-buffer-in-previous-window.
443         (display-buffer-use-some-window): Resize window to height it had
444         before.
445         (fit-window-to-buffer-horizontally): New option.
446         (fit-frame-to-buffer): Describe new values.
447         (fit-frame-to-buffer-bottom-margin): Replace with
448         fit-frame-to-buffer-margins.
449         (window--sanitize-margin): New function.
450         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
451         using window-text-pixel-size.
453 2013-11-30  Glenn Morris  <rgm@gnu.org>
455         * emacs-lisp/bytecomp.el (byte-compile-form):
456         Make the `interactive-only' warning like the `obsolete' one.
457         * comint.el (comint-run):
458         * files.el (insert-file-literally, insert-file):
459         * replace.el (replace-string, replace-regexp):
460         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
461         (goto-line, insert-buffer, next-line, previous-line):
462         Tweak `interactive-only' spec.
464         Stop keeping (most) generated cedet grammar files in the repository.
465         * Makefile.in (semantic): New.
466         (compile-main): Depend on semantic.
468 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
470         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
471         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
473         * uniquify.el (uniquify-buffer-name-style): Change default.
475         * loadup.el: Preload "uniquify".
477         * time.el (display-time-update): Update all mode lines (bug#15999).
479         * electric.el (electric-indent-mode): Enable by default.
480         * loadup.el: Preload "electric".
482 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
484         * emacs-lisp/helpers.el (string-empty-p): New function.
485         (string-blank-p): New function.
487 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
489         * imenu.el (imenu--index-alist): Add missing dot to the docstring
490         (Bug#14029).
492 2013-11-29  Andreas Politz  <politza@fh-trier.de>
493         * imenu.el (imenu--subalist-p): Don't error on non-conses and
494         allow non-lambda lists as functions.
495         (imenu--in-alist): Don't recurse into non-subalists.
496         (imenu): Don't pass function itself as an argument (Bug#14029).
498 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
500         * progmodes/python.el (python-mode-map): Remove binding for ":".
501         (python-indent-electric-colon): Remove command.
502         (python-indent-post-self-insert-function): Integrate the previous code
503         of python-indent-electric-colon.  Make it conditional on
504         electric-indent-mode.
505         (python-mode): Add ?: to electric-indent-chars.
506         Move python-indent-post-self-insert-function to the end of
507         post-self-insert-hook.
509 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
511         * doc-view.el (doc-view-goto-page): Update mode-line.
513         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
515 2013-11-27  Glenn Morris  <rgm@gnu.org>
517         * international/charprop.el, international/uni-bidi.el:
518         * international/uni-category.el, international/uni-combining.el:
519         * international/uni-comment.el, international/uni-decimal.el:
520         * international/uni-decomposition.el, international/uni-digit.el:
521         * international/uni-lowercase.el, international/uni-mirrored.el:
522         * international/uni-name.el, international/uni-numeric.el:
523         * international/uni-old-name.el, international/uni-titlecase.el:
524         * international/uni-uppercase.el:
525         Remove generated files from VCS repository.
527 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
529         * filenotify.el (file-notify-add-watch): Don't special-case
530         w32notify when computing the directory to watch.
532 2013-11-27  Glenn Morris  <rgm@gnu.org>
534         Make bootstrap without generated uni-*.el files possible again.
535         * loadup.el: Update command-line-args checking for unidata-gen.
536         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
537         * composite.el, international/characters.el:
538         Handle unicode tables being undefined.
540         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
541         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
542         (compile-main): Depend on leim rule.
543         (leim): New rule.
544         * loadup.el: Move leim-list.el to leim/ subdirectory.
545         * startup.el (normal-top-level): No more leim directory.
546         * international/ja-dic-cnv.el (skkdic-convert):
547         Disable version-control and autoloads in output files.
548         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
549         Disable version-control and autoloads in output files.
550         * leim/quail: Move here from ../leim.
551         * leim/quail/hangul.el (hangul-input-method-activate):
552         Add autoload cookie.
553         (generated-autoload-load-name): Set file-local value.
554         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
555         (generated-autoload-load-name): Set file-local value.
557 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>  (tiny change)
559         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
560         (eww-add-bookmark): ask confirmation when add to bookmarks
561         (eww-quit): ask confirmation before quitting eww
563 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
565         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
566         reading output from Diff on MS-Windows and MS-DOS.
568 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
570         * emacs-lisp/helpers.el (string-reverse): New function.
572 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
574         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
575         names on MS Windows, like "/[::1]:".
577         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
578         SWITCHES.
580 2013-11-26  Glenn Morris  <rgm@gnu.org>
582         * progmodes/python.el (python-indent-guess-indent-offset):
583         Avoid corner-case error.  (Bug#15975)
585         Preload leim-list.el.  (Bug#4789)
586         * loadup.el: Load leim-list.el when found.
587         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
589 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
591         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
593         * emacs-lisp/helpers.el (string-join): New function.
595 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
597         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
598         Mark as obsolete and replace it with a symbol property.
599         (byte-compile-form): Use new 'interactive-only property.
600         * comint.el, files.el, replace.el, simple.el:
601         Apply new 'interactive-only properly.
603 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
605         * window.el (display-buffer-at-bottom): Make sure that
606         split-window-sensibly creates the new window on bottom
607         (Bug#15961).
609 2013-11-23  David Kastrup  <dak@gnu.org>
611         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
612         on the conflict markers when available.
613         (smerge--get-marker): New function.
614         (smerge-end-re, smerge-base-re): Add subgroup.
616 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
618         * frame.el (handle-focus-in, handle-focus-out): Add missing
619         interactive spec.
621 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
623         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
624         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
626 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
628         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
629         (gomoku--last-pos): New var.
630         (gomoku--intangible-chars): New const.
631         (gomoku--intangible): New function.
632         (gomoku-mode): Use it.  Derive from special-mode.
633         (gomoku-move-up): Adjust line count.
634         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
635         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
636         Simplify accordingly.
638         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
639         Remove blink-cursor code.
640         (blink-cursor-timer-function, blink-cursor-suspend):
641         Don't special-case GUIs.
642         (blink-cursor-mode): Use focus-in/out-hook.
644 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
646         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
647         work when annotation is invisible (Bug#13886).
649 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
651         * json.el (json-alist-p): Only return non-nil if the alist has
652         simple keys (Bug#13518).
654 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
656         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
657         when control-statement is the first statement in a buffer (Bug#15956).
659 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
661         * imenu.el (imenu-generic-skip-comments-and-strings):
662         New option (Bug#15560).
663         (imenu--generic-function): Use it.
665 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
667         * minibuffer.el (completion--in-region-1): Scroll the correct
668         window. (Bug#13898)
670 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
672         * emacs-lisp/helpers.el: Add some string helpers.
673         (string-trim-left): Removes leading whitespace.
674         (string-trim-right): Removes trailing whitespace.
675         (string-trim): Removes leading and trailing whitespace.
677         * subr.el (string-suffix-p): New function.
679 2013-11-23  Glenn Morris  <rgm@gnu.org>
681         * progmodes/python.el (python-shell-send-file):
682         Add option to delete file when done.  (Bug#15647)
683         (python-shell-send-string, python-shell-send-region): Use it.
685 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
687         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
688         to set buffer-read-only to t, never to nil.  (Bug#15938)
690         * textmodes/tex-mode.el (latex-noindent-environments):
691         Add safe-local-variable property.  (Bug#15936)
693 2013-11-23  Glenn Morris  <rgm@gnu.org>
695         * textmodes/enriched.el (enriched-mode): Doc fix.
696         * emacs-lisp/authors.el (authors-renamed-files-alist):
697         Add enriched.doc -> enriched.txt.
699         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
701 2013-11-22  Leo Liu  <sdl.web@gmail.com>
703         * progmodes/octave.el (inferior-octave-startup): Spit out error
704         message.
706 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
708         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
709         Improve docstring.
710         Add :version.
711         (ruby-encoding-magic-comment-style): Add :version.
713 2013-11-22  Leo Liu  <sdl.web@gmail.com>
715         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
716         (Bug#15076)
717         (octave-help-mode): Adapt to change to help-mode-finish to use
718         derived-mode-p on 2013-09-17.
719         (inferior-octave-prompt): Also match octave-gui.
720         (octave-kill-process): Don't ask twice.  (Bug#10564)
722 2013-11-22  Leo Liu  <sdl.web@gmail.com>
724         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
725         (inferior-octave-startup, inferior-octave-check-process)
726         (inferior-octave-track-window-width-change)
727         (octave-completion-at-point, octave-eldoc-function): Use it.
728         (octave-kill-process): Provide confirmation.  (Bug#10564)
730 2013-11-21  Leo Liu  <sdl.web@gmail.com>
732         * progmodes/octave.el (octave-mode, inferior-octave-mode):
733         Fix obsolete variable comment-use-global-state.
735 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
737         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
738         Add `octave-source-file'.
739         (octave-source-file): New function.  (Bug#15935)
741 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>  (tiny change)
743         * net/eww.el (eww-local-regex): New variable.
744         (eww): Use it to detect localhost and similar.
746 2013-11-21  Leo Liu  <sdl.web@gmail.com>
748         Add completion for command `ag'.
749         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
750         (pcomplete/ag): New function.
751         (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
753 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
755         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
756         (bug#14646).
757         (make-obsolete): Remove interactive spec.
759 2013-11-21  Glenn Morris  <rgm@gnu.org>
761         * startup.el (command-line-1): Use path-separator with -L.
763 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
765         * emacs-lisp/package.el (describe-package-1): Add package archive
766         to shown fields.
768 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
770         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
771         Change default to "# encoding: %s" to differentiate it from the
772         default Ruby encoding comment template.
774 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
776         * ses.el (ses-mode): Doc fix.  (Bug#14748)
778 2013-11-20  Leo Liu  <sdl.web@gmail.com>
780         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
782 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
784         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
785         when rebase or bisect are in progress.
787 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
789         * filenotify.el (file-notify-add-watch): Doc fix.
791 2013-11-19  Leo Liu  <sdl.web@gmail.com>
793         * obsolete/rcompile.el: Mark obsolete.
795         * progmodes/compile.el (compilation-start)
796         (compilation-goto-locus, compilation-find-file):
797         Pass no-display-ok and handle nil value from display-buffer.
798         (Bug#13594)
800         * window.el (display-buffer-alist, display-buffer): Document the
801         new parameter no-display-ok.  Return either a window or nil
802         but never a non-window value.
804 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
806         * electric.el (electric-indent-mode-map): Remove.
807         (electric-indent-mode): Change the global-map instead (bug#15915).
809         * textmodes/text-mode.el (paragraph-indent-minor-mode):
810         Use add-function.
812 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
814         * emacs-lisp/nadvice.el (remove-function): Align with
815         add-function's behavior.
817         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
818         (gdb--string-regexp): New constant.
819         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
820         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
821         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
822         submatch 1.
823         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
824         Adjust use accordingly.
825         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
827 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
829         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
830         interpolation curlies (Bug#15914).
832 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
834         * calc/calc.el (calc-context-sensitive-enter): New variable.
835         (calc-enter): Use `calc-context-sensitive-enter'.
837 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
839         * progmodes/cfengine.el: Version bump.
840         (cfengine-cf-promises): New defcustom to locate cf-promises.
841         (cfengine3-vartypes): Add new "data" type.
842         (cfengine3--current-word): New function to get current name-like
843         word or its bounds.
844         (cfengine3--current-function): New function to look up a CFEngine
845         function's definition.
846         (cfengine3-format-function-docstring): New function.
847         (cfengine3-make-syntax-cache): New function.
848         (cfengine3-documentation-function): New function: ElDoc glue.
849         (cfengine3-completion-function): New function: completion glue.
850         (cfengine3-mode): Set `compile-command',
851         `eldoc-documentation-function', and add to
852         `completion-at-point-functions'.
854 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
856         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
857         `tramp-current-connection'.
859 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
861         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
862         nil/self/true/false with "end of symbol".
864 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
866         * subr.el (version-regexp-alist): Fix a typo.
868 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
870         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
871         "en_US.utf8" and "LC_CTYPE" to "".
872         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
873         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
875 2013-11-15  Leo Liu  <sdl.web@gmail.com>
877         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
879 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
881         * progmodes/gud.el (ctl-x-map):
882         Remove C-x SPC binding.  (Bug#12342)
883         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
885 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
887         * subr.el (version-regexp-alist):
888         Recognize hg, svn and darcs versions as snapshot versions.
890         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
891         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
892         (ruby--encoding-comment-required-p): Extract from
893         `ruby-mode-set-encoding'.
894         (ruby-mode-set-encoding): Add the ability to always insert an
895         utf-8 encoding comment.  Fix and simplify coding comment update
896         logic.
898 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
900         * net/tramp-gvfs.el (top): Run init code only when
901         `tramp-gvfs-enabled' is not nil.
902         (tramp-gvfs-enabled): Check also :system bus.
904 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
906         Sync with upstream verilog-mode revision 78e66ba.
907         * progmodes/verilog-mode.el (verilog-end-of-defun)
908         (verilog-type-completion, verilog-get-list): Remove unused funcs.
909         (verilog-get-end-of-defun): Remove unused argument.
910         (verilog-comment-depth): Remove unused local `e'.
911         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
912         Don't pass arg to verilog-get-end-of-defun.
914 2013-11-14  Glenn Morris  <rgm@gnu.org>
916         * obsolete/assoc.el (aget): Prefix dynamic variable.
918         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
920 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
922         * widget.el, hfy-cmap.el: Remove bogus package version number.
924 2013-11-13  Glenn Morris  <rgm@gnu.org>
926         * replace.el (replace-eval-replacement):
927         Try to give more helpful error message.  (Bug#15836)
929         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
930         (archive-7z-update): Avoid custom type mismatches.
932         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
934 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
936         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
937         address can be empty.
939         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
940         Accept nil SWITCHES.
941         (tramp-gvfs-handle-write-region): Implement APPEND.
943 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
945         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
946         binary "|" operator and closing block args delimiter.
947         Remove FIXME comment referring to Ruby 1.8-only syntax.
948         (ruby-smie--implicit-semi-p): Not after "|" operator.
949         (ruby-smie--closing-pipe-p): New function.
950         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
951         (ruby-smie-rules): Indent after "|".
953 2013-11-12  Glenn Morris  <rgm@gnu.org>
955         * ps-print.el (ps-face-attribute-list):
956         Handle anonymous faces.  (Bug#15827)
958 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
960         * window.el (display-buffer-other-frame): Fix doc-string.
961         (Bug#15868)
963 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
965         * subr.el (force-mode-line-update): Delete, move to buffer.c.
967 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
969         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
970         (tramp-sh-handle-file-local-copy): Don't write a message when
971         saving temporary files.
973         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
974         both directories are remote.
975         (tramp-smb-handle-directory-files): Do not return double entries.
976         Do not expand full file names.
977         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
978         (tramp-smb-handle-write-region): Implement APPEND.
979         (tramp-smb-get-stat-capability): Fix a stupid bug.
981 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
983         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
985 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
987         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
988         throwing error over malformed let/let* (bug#15814).
990 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
992         * iswitchb.el (iswitchb-mode): Mark obsolete.
994 2013-11-11  Glenn Morris  <rgm@gnu.org>
996         * international/uni-bidi.el, international/uni-category.el:
997         * international/uni-name.el, international/uni-numeric.el:
998         Regenerate for Unicode 6.3.0.
1000 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
1002         * net/tramp.el (tramp-methods):
1003         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1004         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1006 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
1008         * progmodes/sh-script.el (sh-font-lock-keywords-var):
1009         Force highlighting text after Summary keyword in doc face for rpm.
1011 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
1013         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1014         available and the word has no wildcards, append one to the grep pattern.
1015         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1016         (ispell-complete-word): Call `ispell-lookup-words' with the value
1017         independent of `ispell-look-p'.
1019 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1021         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1022         Not after "||".
1023         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1024         their parent.
1026 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1028         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
1029         (ruby-font-lock-keywords): Use backquote.
1031 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1033         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1034         (ruby-smie--backward-token): Only consider full-string matches.
1036 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
1038         * faces.el (describe-face): Add distant-foreground.
1040 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
1042         * progmodes/ruby-mode.el: Improve encoding comment handling.
1043         (ruby-encoding-magic-comment-style): New option.
1044         (ruby-custom-encoding-magic-comment-template): New option.
1045         (ruby--insert-coding-comment, ruby--detect-encoding):
1046         New functions extracted from `ruby-mode-set-encoding'.
1047         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1048         to control the style of the auto-inserted encoding comment.
1050 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1052         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1053         Use `smie-backward-sexp' with token argument.
1055 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
1057         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1058         Remove instrumentation code.
1060 2013-11-08  Glenn Morris  <rgm@gnu.org>
1062         * progmodes/autoconf.el (autoconf-mode):
1063         Tweak comment-start-skip.  (Bug#15822)
1065 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1067         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1068         at bobp (bug#15826).
1069         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1071 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
1073         * man.el (Man-start-calling): New macro, extracted from
1074         Man-getpage-in-background.
1075         (Man-getpage-in-background): Use it.
1076         (Man-update-manpage): New command.
1077         (Man-mode-map): Bind it.
1079 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
1081         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1082         of "and", "or", "&&" and "||".
1083         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1084         argument.  Prohibit opening curly brace because it could only be a
1085         block opener in that position.
1086         (ruby-smie--forward-token, ruby-smie--backward-token):
1087         Separate "|" from "&" or "*" going after it.  That can happen in block
1088         arguments.
1089         (ruby-smie--indent-to-stmt): New function, seeks the end of
1090         previous statement or beginning of buffer.
1091         (ruby-smie-rules): Use it.
1092         (ruby-smie-rules): Check if there's a ":" before a curly block
1093         opener candidate; if there is, it's a hash.
1095 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1097         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1098         (cl--block-wrapper): Fix last accidental change.
1100 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
1102         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1103         Instrument, in order to hunt failure on hydra.
1105 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1107         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1108         malformed bindings form (bug#15814).
1110 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
1112         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1113         "." compared to " @ ".  This incidentally fixes some indentation
1114         examples with "do".
1115         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1116         (ruby-smie-grammar): New tokens: "and" and "or".
1117         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1118         Exclude "and" and "or".  Remove "do" in order to work around token
1119         priorities.
1120         (ruby-smie-rules): Add all infix tokens.  Handle the case of
1121         beginning-of-buffer.
1123 2013-11-06  Glenn Morris  <rgm@gnu.org>
1125         * Makefile.in (setwins_almost, setwins_for_subdirs):
1126         Avoid accidental matches.
1128 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1130         * menu-bar.el (popup-menu): Use key-binding.
1132 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
1134         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1135         menus, support also the menus produced by minor modes.
1136         (Bug#15817)
1138 2013-11-06  Leo Liu  <sdl.web@gmail.com>
1140         * thingatpt.el (thing-at-point-looking-at): Add optional arg
1141         DISTANCE to bound the search. All uses changed.  (Bug#15808)
1143 2013-11-06  Glenn Morris  <rgm@gnu.org>
1145         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1146         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1147         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1149 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1151         * electric.el (electric-indent-just-newline): New command.
1152         (electric-indent-mode-map): New keymap.
1153         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1154         Re-add :group which weren't redundant.
1156         * electric.el (electric-indent-local-mode): New minor mode.
1157         (electric-indent-functions-without-reindent): New var.
1158         (electric-indent-post-self-insert-function): Use it.
1159         * emacs-lisp/gv.el (buffer-local-value): Add setter.
1161 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
1163         * international/quail.el (quail-help): Be more explicit about the
1164         meaning of the labels shown on the keys.  (Bug#15800)
1166         * startup.el (normal-top-level): Load the subdirs.el files before
1167         setting the locale environment.  (Bug#15805)
1169 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1171         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1172         via arguments so as to get the right ones (bug#15418).
1174         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1176 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
1178         Fix problems found while writing a test suite.
1180         * net/tramp-compat.el (tramp-compat-load): New defun.
1181         * net/tramp.el (tramp-handle-load): Use it.
1183         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1184         "(numberp ok-if-already-exists)" correctly.
1186 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
1188         * international/characters.el (glyphless-char-display-control):
1189         Add usage note.
1191 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
1193         * progmodes/python.el (python-mode):
1194         * progmodes/scheme.el (scheme-mode):
1195         * progmodes/prolog.el (prolog-mode):
1196         * progmodes/ruby-mode.el (ruby-mode):
1197         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1198         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1200 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1202         * rect.el (rectangle--highlight-for-redisplay):
1203         * emacs-lisp/smie.el (smie--next-indent-change):
1204         Use buffer-chars-modified-tick.
1206         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1208         * electric.el (electric-indent-post-self-insert-function):
1209         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1211 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
1213         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1215 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1217         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1218         (bug#15786).
1220 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1222         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
1224         * progmodes/python.el: Fix up last change.
1225         (python-shell--save-temp-file): New function.
1226         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
1227         `string' comes from the current buffer.
1228         (python-shell-send-string-no-output): Remove `msg' arg.
1229         (python--use-fake-loc): New var.
1230         (python-shell-buffer-substring): Obey it.  Try to compensate for the
1231         extra coding line added by python-shell--save-temp-file.
1232         (python-shell-send-region): Use python-shell--save-temp-file and
1233         python-shell-send-file directly.  Add `nomain' argument.
1234         (python-shell-send-buffer): Use python-shell-send-region.
1235         (python-electric-pair-string-delimiter): New function.
1236         (python-mode): Use it.
1238 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
1240         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1241         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1242         environment and decoding all of the default-directory's to here
1243         from command-line.
1244         (command-line): Decode also argv[0].
1246         * loadup.el: Error out if default-directory is a multibyte string
1247         when we are dumping.
1249         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
1251 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
1253         * emacs-lisp/package.el (package-menu-mode)
1254         (package-menu--print-info, package-menu--archive-predicate):
1255         Add Archive column to package list.
1257 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
1259         Fix problems found while writing a test suite.
1261         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1262         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1263         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1264         to nil when running original file name handler.  Otherwise,
1265         there are problems with constructs like "$$FOO".
1267         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1268         for `localname'.
1270 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
1272         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1274         * subr.el (version<, version<=, version=):
1275         Update docstrings with information for snapshot versions.
1277         * helpers.el: New library for misc helper functions.
1278         (hash-table-keys): New function returning a list of hash keys.
1279         (hash-table-values): New function returning a list of hash values.
1281 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
1283         * progmodes/ruby-mode.el (ruby-smie--forward-token)
1284         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1286 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
1288         * textmodes/fill.el (fill-single-char-nobreak-p): New function
1289         checking whether point is after a 1-letter word.
1291 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1293         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1294         Don't infloop when expanding region over `multiline' syntax-type that
1295         begins a line (bug#15778).
1297 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1299         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1300         Make it into a proper minor mode.
1301         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1302         (rectangle-mark-mode-map): New keymap.
1303         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1305 2013-11-04  Glenn Morris  <rgm@gnu.org>
1307         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1309 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1311         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1312         (ruby-smie-rules): Use smie-rule-parent instead.
1314         * emacs-lisp/smie.el (smie-rule-parent): Always call
1315         smie-indent-virtual rather than only for hanging tokens.
1316         (smie--next-indent-change): New helper command.
1318 2013-11-03  Glenn Morris  <rgm@gnu.org>
1320         * Makefile.in (abs_srcdir): Remove.
1321         (emacs): Unset EMACSLOADPATH.
1323 2013-11-02  Glenn Morris  <rgm@gnu.org>
1325         * Makefile.in (EMACS): Use a relative filename.
1326         (abs_top_builddir): Remove.
1327         (custom-deps, finder-data, autoloads): Use --chdir.
1329         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1331         Use relative filenames in TAGS files.
1332         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1333         (lisptagsfiles4, TAGS): Use relative file names.
1334         (TAGS-LISP): Remove.
1335         (maintainer-clean): No more TAGS-LISP file.
1337         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1338         (lisptagsfiles4): Use absolute filenames again.
1339         (TAGS, TAGS-LISP): Not everything needs to run in one line.
1340         Remove all *loaddefs files, not just the first.  Remove esh-groups.
1341         (maintainer-clean): Delete TAGS, TAGS-LISP.
1343 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1345         * emacs-lisp/package.el (package-version-join):
1346         Recognize snapshot versions.
1348 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1350         * subr.el (version-regexp-alist): Add support for snapshot versions.
1352 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1354         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1355         New function, replacement for `smie-rule-parent' for when we want to
1356         skip over our direct parent if it's an assignment token..
1357         (ruby-smie-rules): Use it.
1359 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
1361         * progmodes/ruby-mode.el Use `syntax-propertize-function'
1362         unconditionally.  Remove now unnecessary forward declarations.
1363         Remove XEmacs-specific setup.
1364         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1365         (ruby-font-lock-syntactic-keywords)
1366         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1367         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1368         (ruby-here-doc-end-syntax): Remove.
1369         (ruby-mode): Don't check whether `syntax-propertize-rules' is
1370         defined as function.
1372 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
1374         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1376 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1378         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1379         table and abbrev table, `define-derived-mode' does that for us
1380         anyway.
1382 2013-11-01  Glenn Morris  <rgm@gnu.org>
1384         * Makefile.in: Remove manual mh-e dependencies (writing .elc
1385         files is atomic for some time, so no parallel compilation issues).
1387 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
1389         * faces.el (face-x-resources): Add :distant-foreground.
1390         (region): Use :distant-foreground for gtk and ns.
1392 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
1394         Allow multiple bibliographies when BibLaTeX is used rather than
1395         BibTeX.
1396         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1397         (reftex-locate-bibliography-files): Us it.
1399 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
1401         * image.el (image-type-header-regexps): Fix the 'pbm' part to
1402         allow comments in pbm files.
1404         * term/w32-win.el (dynamic-library-alist): Support newer versions
1405         of libjpeg starting with v7: look only for the DLL from the
1406         version against which Emacs was built.
1407         Support versions of libpng beyond 1.4.x.
1408         Support libtiff v4.x.
1410 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
1412         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1413         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1414         Add property :safe.
1415         (ruby-deep-arglist): Add property :type.
1417 2013-10-31  Glenn Morris  <rgm@gnu.org>
1419         * Makefile.in (custom-deps, finder-data): No need to setq the target
1420         variables, we are in the right directory and the defaults work fine.
1422 2013-10-30  Glenn Morris  <rgm@gnu.org>
1424         * Makefile.in (autoloads): Do not use abs_lisp.
1426         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1427         `newline' does not respect `standard-output', so use `princ'.
1429 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
1431         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
1432         * buff-menu.el (Buffer-menu--unmark): New function.
1433         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1435 2013-10-30  Glenn Morris  <rgm@gnu.org>
1437         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1439         * emacs-lisp/package.el (lm-homepage): Declare.
1441         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1442         Fix doc typos.
1444         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1446         * Makefile.in (finder-data, autoloads, update-subdirs)
1447         (compile-main, compile-clean, compile-always, bootstrap-clean):
1448         Check return value of cd.
1449         (compile-calc): Remove.
1451 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1453         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1455         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1456         (byte-compile-and-folded): New function.
1457         (=, <, >, <=, >=): Use it.
1459         * dos-w32.el (minibuffer-history-case-insensitive-variables)
1460         (path-separator, null-device, buffer-file-coding-system)
1461         (lpr-headers-switches): Check system-type before modifying them.
1462         (find-buffer-file-type-coding-system): Mark obsolete.
1463         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1464         find-file-not-found-set-buffer-file-coding-system.
1465         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1466         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1467         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1468         (w32-direct-print-region-helper, w32-direct-print-region-function)
1469         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1470         * startup.el (normal-top-level-add-subdirs-to-load-path):
1471         * ps-print.el (ps-print-region-function):
1472         * lpr.el (print-region-function): Use new name.
1474         * subr.el (custom-declare-variable-early): Remove function.
1475         (custom-declare-variable-list): Remove var.
1476         (error, user-error): Remove `while' loop.
1477         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1478         (user-emacs-directory-warning, locate-user-emacs-file):
1479         Move to files.el.
1480         * simple.el (read-quoted-char-radix, read-quoted-char):
1481         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1482         Move from subr.el.
1483         * custom.el (custom-declare-variable-list): Don't process
1484         custom-declare-variable-list.
1486         * progmodes/python.el (python-shell-get-buffer): New function.
1487         (python-shell-get-process): Use it.
1488         (python-shell-send-string): Always use utf-8 and add a cookie to tell
1489         Python which encoding was used.  Don't split-string since we only care
1490         about the first line.  Return the temp-file, if applicable.
1491         (python-shell-send-region): Tell compile.el how to turn locations in
1492         the temp-file into locations in the source buffer.
1494 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1496         * subr.el (undefined): Add missing behavior from the C code for
1497         unbound keys.
1499         * rect.el: Use lexical-binding.  Add new rectangular region support.
1500         (rectangle-mark): New command.
1501         (rectangle--region): New var.
1502         (deactivate-mark-hook): Reset rectangle--region.
1503         (rectangle--extract-region, rectangle--insert-for-yank)
1504         (rectangle--highlight-for-redisplay)
1505         (rectangle--unhighlight-for-redisplay): New functions.
1506         (region-extract-function, redisplay-unhighlight-region-function)
1507         (redisplay-highlight-region-function): Use them to handle
1508         rectangular region.
1509         * simple.el (region-extract-function): New var.
1510         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1511         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1512         (kill-region): Replace obsolete `yank-handler' arg with `region'.
1513         (copy-region-as-kill, kill-ring-save): Add `region' argument.
1514         (redisplay-unhighlight-region-function)
1515         (redisplay-highlight-region-function): New vars.
1516         (redisplay--update-region-highlight): New function.
1517         (pre-redisplay-function): Use it.
1518         (exchange-point-and-mark): Don't deactivate the mark before
1519         reactivate-it anyway.
1520         * comint.el (comint-kill-region): Remove yank-handler argument.
1521         * delsel.el (delete-backward-char, backward-delete-char-untabify)
1522         (delete-char): Remove property, since it's now part of their
1523         default behavior.
1524         (self-insert-iso): Remove property since this command doesn't exist.
1526         * emacs-lisp/package.el (package--download-one-archive)
1527         (describe-package-1): Don't query the user about final newline.
1529 2013-10-29  Daniel Colascione  <dancol@dancol.org>
1531         * net/tramp.el (tramp-methods): Document new functionality.
1532         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1533         tramp-hostname-checker if method provides one instead of scanning
1534         argument list for "%h" to decide hostname acceptability.
1536 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
1538         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1539         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1540         Handle COPY-CONTENTS.  (Bug#15737)
1542 2013-10-28  Daiki Ueno  <ueno@gnu.org>
1544         * epa-file.el
1545         (epa-file-cache-passphrase-for-symmetric-encryption):
1546         Document that this option has no effect with GnuPG 2.0 (bug#15552).
1548 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
1550         * image.el (defimage):
1551         (image-load-path): Doc fixes.
1553 2013-10-27  Alan Mackenzie  <acm@muc.de>
1555         Indent statements in macros following "##" correctly.
1556         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1557         Modify the "#" arm of a cond form to handle "#" and "##" operators.
1559 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1561         * linum.el (linum-update-window): Fix boundary test (bug#13446).
1563 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
1565         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1566         after `=' is probably a new expression.
1568 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1570         * man.el (man-imenu-title): New option.
1571         (Man-mode-map): Add menu.  (Bug#15722)
1572         (Man-mode): Add imenu to menu.
1574 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
1576         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1577         specific in what the first arg can be: a non-keyword word,
1578         string/regexp/percent literal opener, opening paren, or unary
1579         operator followed directly by word.
1581 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1583         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1584         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1585         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1586         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1587         Remove vars, they do not apply any more.
1588         (prolog-mode-abbrev-table): Remove redundant declaration.
1589         (prolog-upper-case-string, prolog-lower-case-string): Remove.
1590         (prolog-use-smie): Remove.
1591         (prolog-smie-rules): Add indentation rule for the if-then-else layout
1592         supported by prolog-electric-if-then-else-flag.
1593         (prolog-mode-variables, prolog-menu): Use setq-local.
1594         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1595         Remove binding to `Backspace' since this key doesn't exist anyway.
1596         Remove bindings for electric self-inserting keys.
1597         (prog-mode): Assume it's defined.
1598         (prolog-post-self-insert): New function.
1599         (prolog-mode): Use it.
1600         (prolog-indent-line, prolog-indent-level)
1601         (prolog-find-indent-of-matching-paren)
1602         (prolog-indentation-level-of-line, prolog-goto-comment-column)
1603         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1604         (prolog-goto-next-paren, prolog-in-string-or-comment)
1605         (prolog-tokenize, prolog-inside-mline-comment)
1606         (prolog-find-start-of-mline-comment): Remove functions.
1607         (prolog-find-unmatched-paren, prolog-clause-end)
1608         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1609         (prolog-electric--if-then-else): Rename from
1610         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1611         (prolog-tokenize-searchkey): Remove const.
1612         (prolog-clause-info): Use forward-sexp.
1613         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1614         (prolog-electric-if-then-else): Remove commands.
1615         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1616         for use in post-self-insert-hook.
1617         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1618         for use in post-self-insert-hook.
1619         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1620         for use in post-self-insert-hook.
1621         (prolog-electric--underscore): Rename from prolog-electric--underscore;
1622         adapt it for use in post-self-insert-hook.
1624 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
1626         * emacs-lisp/ert.el (ert-run-tests-interactively):
1627         Use `completing-read'.  (Bug#9756)
1629 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
1631         * simple.el (line-move): Call line-move-1 instead of
1632         line-move-visual when the current window hscroll is zero, but
1633         temporary-goal-column indicates we will need to hscroll as result
1634         of the movement.  (Bug#15712)
1636 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
1638         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1639         capitalization.  Use :visible instead of :active.
1640         Fix `ruby-indent-exp' reference.  Add menu items for the generic
1641         commands that are used with SMIE.
1642         (ruby-do-end-to-brace): Insert space after `{'.
1644 2013-10-25  John Anthony  <john@jo.hnanthony.com>
1646         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
1648         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
1650 2013-10-25  Glenn Morris  <rgm@gnu.org>
1652         * vc/vc.el (vc-print-log): Don't use a working revision unless
1653         one was explicitly specified.  (Bug#15322)
1655 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1657         * subr.el (add-to-list): Preserve return value in compiler-macro
1658         (bug#15692).
1660 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1662         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1663         result.  Ask user to retry using '-all' flag.  (Bug#15701)
1665 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1667         * emacs-lisp/smie.el: New smie-config system.
1668         (smie-config): New defcustom.
1669         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1670         (smie-config-guess, smie-config-save): New commands.
1671         (smie-config--mode-local, smie-config--buffer-local)
1672         (smie-config--trace, smie-config--modefuns): New vars.
1673         (smie-config--advice, smie-config--mode-hook)
1674         (smie-config--setter, smie-config-local, smie-config--get-trace)
1675         (smie-config--guess-value, smie-config--guess): New functions.
1676         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1677         text properties.  Treat "string fence" syntax like string syntax.
1679         * progmodes/sh-script.el (sh-use-smie): Change default.
1680         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1681         (sh-var-value): Simplify by CSE.
1682         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1683         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1684         is used.
1685         (sh-guess-basic-offset): Use cl-incf.
1686         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1688 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
1690         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1691         (bug#15699).
1693 2013-10-24  Glenn Morris  <rgm@gnu.org>
1695         * Makefile.in (abs_top_srcdir): Remove.
1696         (update-subdirs): Use relative path to update-subdirs.
1698 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
1700         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1701         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1702         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1703         Call unmsys--file-name before expand-file-name, not after it.
1705 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
1707         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1708         (ert-test-skipped): New error.
1709         (ert-skip, ert-stats-skipped): New defuns.
1710         (ert--skip-unless): New macro.
1711         (ert-test-skipped): New struct.
1712         (ert--run-test-debugger, ert-test-result-type-p)
1713         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1714         (ert--stats-set-test-and-result, ert-char-for-test-result)
1715         (ert-string-for-test-result, ert-run-tests-batch)
1716         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1717         Handle skipped tests.  (Bug#9803)
1719 2013-10-24  Glenn Morris  <rgm@gnu.org>
1721         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1723         * Makefile.in (abs_top_srcdir): New, set by configure.
1724         (update-subdirs): Correct build-aux location.
1726 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
1728         * vc/vc.el (vc-print-root-log): Always set `default-directory'
1729         value, whether we could auto-deduce `backend', or not.
1731         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1732         with parameters" example.  Simplify the "is it block or is it
1733         hash" check, but also make it more thorough.
1735 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
1737         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
1739 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1741         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1742         { if it is hanging.
1744         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1745         :before ";".
1747 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
1749         * progmodes/compile.el (compilation-directory-matcher)
1750         (compilation-page-delimiter):
1751         Support GNU Make-4.0 directory quoting.  (Bug#15678)
1753 2013-10-23  Leo Liu  <sdl.web@gmail.com>
1755         * ido.el (ido-tidy): Handle read-only text.
1757 2013-10-23  Glenn Morris  <rgm@gnu.org>
1759         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1760         (emacs, compile, compile-always):
1761         Quote entities that might contain whitespace.
1762         (custom-deps, finder-data, autoloads): Use abs_lisp.
1763         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1764         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1765         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1767 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
1769         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1770         Use `following-char'.
1772 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1774         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1775         * progmodes/ruby-mode.el (ruby-smie-rules):
1776         Remove corresponding workaround.  Fix indentation rule of ";" so it
1777         also applies when ";" is the parent.
1779 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
1781         * frame.el (display-screens, display-pixel-height)
1782         (display-pixel-width, display-mm-width, display-backing-store)
1783         (display-save-under, display-planes, display-color-cells)
1784         (display-visual-class, display-monitor-attributes-list):
1785         Mention the optional ‘display’ argument in doc strings.
1787 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
1789         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1790         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
1792 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
1794         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1795         TODO.  Add "." after " @ ".
1796         (ruby-smie--at-dot-call): New function.  Checks if point at method
1797         call with explicit target.
1798         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1799         to the method name tokens when it precedes them.
1800         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1801         (ruby-smie-rules): Add rule for indentation before and after "."
1802         token.
1804 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1806         * textmodes/remember.el (remember-diary-extract-entries):
1807         Avoid add-to-list.
1809         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1810         an instruction.
1812 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
1814         * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1815         (ruby-smie--implicit-semi-p): Add new operator chars.
1817         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1818         `smie-down-list'.
1819         (ruby-smie--args-separator-p): Check that there's no newline
1820         between method call and its arguments.
1822 2013-10-20  Alan Mackenzie  <acm@muc.de>
1824         Allow comma separated lists after Java "implements".
1826         * progmodes/cc-engine.el (c-backward-over-enum-header):
1827         Parse commas.
1828         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1829         from a "disallowed" list in enum fontification.
1831 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
1833         * startup.el (default-frame-background-mode): Remove unused defvar.
1835         * progmodes/verilog-mode.el (verilog-mode): Don't set
1836         comment-indent-function globally.
1838 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
1840         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1841         Move Info menu item creation to ns-win.el.
1843         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1844         in menu bar.
1846         * menu-bar.el: Move GNUStep specific menus...
1848         * term/ns-win.el (ns-initialize-window-system): ... to here.
1850 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1852         * simple.el (newline): Only run post-self-insert-hook when
1853         called interactively.
1855 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
1857         * icomplete.el (icomplete-with-completion-tables): Add :version.
1859 2013-10-19  Alan Mackenzie  <acm@muc.de>
1861         Fix fontification bugs with constructors and const.
1863         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1864         CASE 2) Remove the check for the absence of a suffix construct
1865         after a function declaration with only types (no identifiers) in
1866         the parentheses.  Also, accept a function declaration with just a
1867         type inside the parentheses, if this type can be positively
1868         recognised as such, or if a prefix keyword like "explicit" nails
1869         down the construct as a declaration.
1871 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
1873         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1874         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
1875         the problem whereby selecting a menu item that leads to a
1876         minibuffer prompt moves the cursor out of the minibuffer window,
1877         making it hard to type at the prompt.  Suggested by Stefan Monnier
1878         <monnier@iro.umontreal.ca>.
1880 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
1882         * menu-bar.el: Don't make Services menu.
1884 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1886         * ffap.el: Handle "/usr/include/c++/<version>" directories.
1887         (ffap-alist): Use ffap-c++-mode for c++-mode.
1888         (ffap-c++-path): New variable.
1889         (ffap-c++-mode): New function.
1891 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
1893         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
1895 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
1897         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1898         introduced on 2013-09-08, which results in an infinite loop
1899         requesting a password.
1901 2013-10-18  Glenn Morris  <rgm@gnu.org>
1903         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1905 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
1907         Sync with upstream verilog-mode revision 1a6ecec7.
1908         * progmodes/verilog-mode.el (verilog-mode-version): Update.
1909         (verilog-mode-release-date): Remove.
1910         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1911         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1912         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1913         (verilog-auto-tieoff-ignore-regexp)
1914         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1915         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1916         (verilog-signals-with, verilog-dir-cache-preserving)
1917         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1918         Doc fixes.
1919         (verilog-case-fold): New option, to control case folding in
1920         regexp searches, bug597.
1921         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1922         (verilog-string-match-fold, verilog-in-paren-count)
1923         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1924         (verilog-at-close-struct-p): New functions.
1925         (verilog-beg-block-re-ordered, verilog-extended-case-re)
1926         (verilog-forward-sexp, verilog-set-auto-endcomments):
1927         (verilog-leap-to-case-head): Handle "unique0" case.
1928         (verilog-in-constraint-re): New constant.
1929         (verilog-keywords, verilog-type-font-keywords):
1930         Add some SystemVerilog 1800-2012 keywords.
1931         (verilog-label-be): Remove unimplemented argument, bug669.
1932         (verilog-batch-execute-func): When batch expanding clear
1933         create-lockfiles to prevent spurious user locks when a file ends
1934         up not changing.
1935         (verilog-calculate-indent, verilog-calc-1)
1936         (verilog-at-close-constraint-p, verilog-at-constraint-p)
1937         (verilog-do-indent): Fix indentation of nested constraints
1938         and structures.
1939         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1940         (verilog-auto-inst-param): Use verilog-string-match-fold.
1941         (verilog-read-inst-module-matcher):
1942         Fix AUTOINST on gate primitives with #1.
1943         (verilog-read-decls): Fix double-declaring user-defined typed signals.
1944         Reads all user-defined typed variables.
1945         (verilog-read-defines): Fix reading definitions inside comments, bug647.
1946         (verilog-signals-matching-regexp)
1947         (verilog-signals-not-matching-regexp, verilog-auto):
1948         Respect verilog-case-fold.
1949         (verilog-diff-report): Fix line count.
1950         (verilog-auto-assign-modport): Remove unused local `modi'.
1951         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1952         better handle multidimensional arrays.
1953         Fix packed array ports misadding bit index in AUTOINST, bug637.
1954         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1955         to not double-declare existing outputs and inputs, respectively.
1956         (verilog-template-map): Bind U to verilog-sk-uvm-component.
1957         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1958         (verilog-sk-uvm-component): New skeleton.
1959         (verilog-submit-bug-report): Add verilog-case-fold,
1960         remove verilog-mode-release-date.
1962 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
1964         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1965         as before.
1967 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
1969         * textmodes/remember.el (remember): set buffer-offer-save in
1970         remember buffers (bug#13566).
1972 2013-10-18  Daniel Colascione  <dancol@dancol.org>
1974         When evaluating forms in ielm, direct standard output to ielm
1975         buffer.  Add new ielm-return-for-effect command.  Remove trailing
1976         whitespace throughout.
1978         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1979         (ielm-return-for-effect): New command.
1980         (ielm-send-input): Accept optional `for-effect' parameter.
1981         (ielm-eval-input): Accept optional `for-effect' parameter.
1982         Bind `standard-output' to stream we create using
1983         `ielm-standard-output-impl'.  Suppress printing result when
1984         `for-effect'.
1985         (ielm-standard-output-impl): New function.
1986         (inferior-emacs-lisp-mode): Explain new features in documentation.
1988 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
1990         Code cleanup.
1992         * net/tramp.el (tramp-debug-message): Do not check for connection
1993         buffer.
1994         (tramp-message): Use "vector" connection property.
1996         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1997         (tramp-equal-remote, tramp-eshell-directory-change)
1998         * net/tramp-adb.el (tramp-adb-handle-copy-file)
1999         (tramp-adb-handle-rename-file)
2000         * net/tramp-cmds.el (tramp-list-remote-buffers)
2001         (tramp-cleanup-connection, tramp-cleanup-this-connection)
2002         * net/tramp-compat.el (tramp-compat-process-running-p)
2003         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2004         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2005         (tramp-gvfs-handle-rename-file)
2006         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2007         (tramp-set-file-uid-gid)
2008         * net/tramp-smb.el (tramp-smb-handle-copy-file)
2009         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2010         of `file-remote-p'.
2012         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2013         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2014         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2015         (tramp-gw-open-network-stream): Suppress unrelated traces.
2017         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2018         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2019         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2020         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2021         connection property.
2023         * net/tramp-cache.el (top): Suppress traces when reading
2024         persistency file.
2026         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2027         Refactor common code.  Improve debug message.
2028         (tramp-maybe-open-connection)
2029         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2030         connection buffer too early.
2032         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2033         from `tramp-smb-actions-with-acl'.
2034         (tramp-smb-actions-set-acl): New defconst.
2035         (tramp-smb-handle-copy-directory)
2036         (tramp-smb-action-get-acl): New defun, renamed from
2037         `tramp-smb-action-with-acl'.
2038         (tramp-smb-action-set-acl): New defun.
2039         (tramp-smb-handle-set-file-acl): Rewrite.
2041 2013-10-17  Glenn Morris  <rgm@gnu.org>
2043         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
2045 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2047         * skeleton.el (skeleton-newline): Remove.
2048         (skeleton-internal-1): Use (insert "\n") instead.
2050         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2051         let-bindings.
2053         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2054         forward-sexp-function while we redo its job (bug#15613).
2056 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
2058         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2059         represented by lists.
2061 2013-10-16  Glenn Morris  <rgm@gnu.org>
2063         * tmm.el (tmm--history): New dynamic variable.
2064         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
2066 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
2068         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2069         (tramp-smb-errors): Add error messages.
2070         (tramp-smb-actions-with-acl): New defconst.
2071         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2072         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2073         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2074         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2075         (tramp-smb-get-stat-capability): Fix tests.
2077 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2079         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2080         (bug#15580).
2082 2013-10-16  Glenn Morris  <rgm@gnu.org>
2084         * ansi-color.el (ansi-color-drop-regexp):
2085         Add 1J, 1K, 2K.  (Bug#15617)
2087         * files.el (hack-local-variables--warned-lexical): New.
2088         (hack-local-variables):
2089         Warn about misplaced lexical-binding.  (Bug#15616)
2091         * net/eww.el (eww-render): Always set eww-current-url,
2092         and update header line.  (Bug#15622)
2093         (eww-display-html): ... Rather than just doing it here.
2095 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
2097         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2098         menu navigations commands.
2100 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2102         * progmodes/subword.el (subword-capitalize): Be careful when
2103         the search for [[:alpha:]] fails (bug#15580).
2105 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
2107         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2108         to commands that scroll the menu.
2110 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
2112         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2113         Handle methods ending with `?' and `!'.
2115 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
2117         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2118         `japanese-cp932' to `cp932' to fix the problem where saving a
2119         source file written in Shift_JIS twice would end up having
2120         `coding: japanese-cp932' which Ruby could not recognize.
2121         (ruby-mode-set-encoding): Add support for encodings mapped to nil
2122         in `ruby-encoding-map'.
2123         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2124         doesn't need to be explicitly declared in magic comment.
2125         (ruby-encoding-map): Add type declaration for better customize UI.
2127 2013-10-13  Glenn Morris  <rgm@gnu.org>
2129         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2130         Occur buffers are read-only.  http://bugs.debian.org/720775
2132         * emacs-lisp/authors.el (authors-fixed-entries):
2133         Comment out old alpha stuff.
2135 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
2137         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2138         to `after-save-hook' instead of `before-save-hook'.
2139         (ruby-mode-set-encoding): Use the value of coding system used to
2140         write the file.  Call `basic-save-buffer-1' after modifying the
2141         buffer.
2143 2013-10-13  Alan Mackenzie  <acm@muc.de>
2145         Fix indentation/fontification of Java enum with
2146         "implements"/generic.
2148         * progmodes/cc-engine.el (c-backward-over-enum-header):
2149         Extracted from the three other places and enhanced to handle generics.
2150         (c-inside-bracelist-p): Uses new function above.
2151         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2152         function above.
2153         (c-font-lock-enum-tail): Uses new function above.
2155 2013-10-13  Kenichi Handa  <handa@gnu.org>
2157         * international/mule-cmds.el (select-safe-coding-system): Remove a
2158         superfluous condition in chekcing whether a coding system is safe
2159         or not.
2161 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
2163         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
2165 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
2167         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
2169 2013-10-13  Glenn Morris  <rgm@gnu.org>
2171         * menu-bar.el (menu-bar-update-buffers):
2172         Unify Buffers menu prompt string.  (Bug#15576)
2174         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
2176         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2177         Add some entries.
2178         (authors-fixed-entries): Use accented form of name.
2180 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2182         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2183         method calls (bug#15594).
2184         (ruby-smie--args-separator-p): New function.
2185         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2186         recognize paren-free method calls.
2188         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2189         internals of universal-argument.
2191 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
2193         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2194         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2195         dropped menu on second mouse click on the menu bar.
2197 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2199         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2200         (explicit-shell-file-name): Declare.
2201         (sh--vars-before-point, sh--cmd-completion-table): New functions.
2202         (sh-completion-at-point-function): New function.
2203         (sh-mode): Use it.
2204         (sh-smie--keyword-p): Remove unused argument.
2205         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2206         vars.
2207         (sh-set-shell): Always setup SMIE, even if we use the
2208         old indentation code.
2210 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
2212         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2213         cases of ? and =.
2214         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
2215         predicate would return nil are almost non-existent.
2216         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2218         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2219         cache also after commands that modify the buffer but don't move
2220         point.
2222 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2224         * env.el (substitute-env-in-file-name): New function.
2225         (substitute-env-vars): Extend the meaning of the optional arg.
2227 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
2229         * term/w32-win.el (dynamic-library-alist): Define separate lists
2230         of GIF DLLs for versions before and after 5.0.0 of giflib.
2231         (Bug#15531)
2233 2013-10-10  João Távora  <joaotavora@gmail.com>
2235         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2236         not locked, use last revision and current source as
2237         defaults.  (Bug#15569)
2239 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
2241         * menu-bar.el (menu-bar-open): Don't use popup-menu if
2242         menu-bar is hidden.
2244 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
2246         * window.el (pop-to-buffer-same-window): Fix doc-string.
2247         (Bug#15492)
2249 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2251         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2253 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
2255         * calendar/icalendar.el (icalendar-import-file):
2256         Fix interactive spec.  (Bug#15482)
2258 2013-10-10  Glenn Morris  <rgm@gnu.org>
2260         * desktop.el (desktop-save): Default to saving in .emacs.d,
2261         since PWD is no longer in desktop-path by default.  (Bug#15319)
2263         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2264         now that text mode has a menu with the same entry.
2265         (menu-bar-text-mode-auto-fill): Remove now unused func.
2266         * textmodes/text-mode.el (text-mode-map):
2267         Use auto-fill help text from menu-bar.el.
2269 2013-10-10  John Anthony  <john@jo.hnanthony.com>
2271         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
2273 2013-10-09  Juri Linkov  <juri@jurta.org>
2275         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2276         instead of this-command-keys.  Add universal-argument-more and
2277         universal-argument-minus to the list of prefix commands.  (Bug#15568)
2279 2013-10-09  Glenn Morris  <rgm@gnu.org>
2281         * vc/vc-svn.el (vc-svn-create-repo):
2282         Expand paths in file://... url.  (Bug#15446)
2284         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2285         Add some entries.
2286         (authors): Remove unused local variables.
2288 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2290         * profiler.el: Create a more coherent calltree from partial backtraces.
2291         (profiler-format): Hide the tail with `invisible' so that C-s can still
2292         find the hidden elements.
2293         (profiler-calltree-depth): Don't recurse so enthusiastically.
2294         (profiler-function-equal): New hash-table-test.
2295         (profiler-calltree-build-unified): New function.
2296         (profiler-calltree-build): Use it.
2297         (profiler-report-make-name-part): Indent the calltree less.
2298         (profiler-report-mode): Add visibility specs for profiler-format.
2299         (profiler-report-expand-entry, profiler-report-toggle-entry):
2300         Expand the whole subtree when provided with a prefix arg.
2302 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
2304         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2305         iuwu-mod token.
2306         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2307         hanging iuwu-mod token.
2308         (ruby-smie--forward-token): Do not include a dot after a token in
2309         that token.
2310         (ruby-smie--backward-token): Likewise.
2312 2013-10-08  Juri Linkov  <juri@jurta.org>
2314         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2315         to isearch-other-control-char.
2316         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2317         and isearch-post-command-hook to post-command-hook.
2318         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2319         and isearch-post-command-hook from post-command-hook.
2320         (isearch-unread-key-sequence)
2321         (isearch-reread-key-sequence-naturally)
2322         (isearch-lookup-scroll-key, isearch-other-control-char)
2323         (isearch-other-meta-char): Remove functions.
2324         (isearch-pre-command-hook, isearch-post-command-hook):
2325         New functions based on isearch-other-meta-char rewritten
2326         relying on the new behavior of overriding-terminal-local-map
2327         that does not replace the local keymaps any more.  (Bug#15200)
2329 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
2331         Support menus on text-mode terminals.
2332         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2333         functionality.
2335         * tooltip.el (tooltip-mode): Don't error out on TTYs.
2337         * menu-bar.el (popup-menu, popup-menu-normalize-position):
2338         Move here from mouse.el.
2339         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2340         and arrow keys.
2341         (tty-menu-navigation-map): New map for TTY menu navigation.
2343         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2345         * frame.el (display-mouse-p): Report text-mode mouse as available
2346         on w32.
2347         (display-popup-menus-p): Report availability if mouse is
2348         available; don't condition on window-system.
2350         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2351         (tty-menu-selected-face): New faces.
2353 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2355         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2356         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2357         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2358         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2359         New constants.
2360         (lisp-mode-variables): New `elisp' argument.
2361         (emacs-lisp-mode): Use it.
2362         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2363         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2365         * indent.el: Use lexical-binding.
2366         (indent-region): Add progress reporter.
2367         (tab-stop-list): Make it implicitly extend to infinity by repeating the
2368         last step.
2369         (indent--next-tab-stop): New function to implement this behavior.
2370         (tab-to-tab-stop, move-to-tab-stop): Use it.
2372 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
2374         * indent.el (indent-rigidly--current-indentation): New function.
2375         (indent-rigidly-map): New var.
2376         (indent-rigidly): Use it to provide interactive mode (bug#8196).
2378 2013-10-08  Bastien Guerry  <bzg@gnu.org>
2380         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2382 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2384         * progmodes/perl-mode.el: Use lexical-binding.
2385         Remove redundant :group args.
2386         (perl-nochange): Change default to be closer to other major modes's
2387         standard behavior.
2388         (perl-indent-line): Don't consider text on current line as a
2389         valid beginning of function from which to indent.
2391         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2392         with more than one argument (bug#15538).
2394         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2396         * vc/pcvs.el: Use lexical-binding.
2397         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2398         environment of `eval'.
2399         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2400         than a list of expressions.  Adjust callers.
2401         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2403 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
2405         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2406         case of the dot in a chained method call being on the following line.
2408 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2410         * electric.el (electric-indent-inhibit): New var.
2411         (electric-indent-post-self-insert-function): Use it.
2412         * progmodes/python.el (python-mode): Set it.
2414         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2415         open braces.
2417         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2419         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2420         (css-mode): Use electric-indent-chars.
2422         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2423         (font-lock-beg, font-lock-end): Move before first use.
2424         (nxml-mode): Use syntax-propertize-function.
2425         (nxml-after-change, nxml-after-change1): Adjust accordingly.
2426         (nxml-extend-after-change-region): Remove.
2427         * nxml/xmltok.el: Use lexical-binding.
2428         (xmltok-save): Use `declare'.
2429         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2430         * nxml/nxml-util.el: Use lexical-binding.
2431         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2432         Use `declare'.
2433         * nxml/nxml-ns.el: Use lexical-binding.
2434         (nxml-ns-save): Use `declare'.
2435         (nxml-ns-prefixes-for): Avoid add-to-list.
2436         * nxml/rng-match.el: Use lexical-binding.
2437         (rng--ipattern): Use cl-defstruct.
2438         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2439         (rng-cons-group-after, rng-subst-group-after)
2440         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2441         Use closures instead of `(lambda...).
2443 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
2445         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2446         of BEG and END.
2448         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2449         Use `tramp-handle-insert-file-contents'.
2450         (tramp-gvfs-handle-insert-file-contents): Remove function.
2452         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2453         Use `save-restriction' in order to keep markers.
2455         * net/trampver.el: Update release number.
2457 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2459         * progmodes/compile.el (compilation-parse-errors):
2460         Use compilation--put-prop.
2461         (compilation--ensure-parse): Check compilation-multiline.
2463         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2465         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2466         lexical-binding.
2468         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2470         * progmodes/ruby-mode.el: Fix recently added tests.
2471         (ruby-smie-grammar): Add - and +.
2472         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2473         (ruby-smie--backward-id): New functions.
2474         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2475         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
2476         any more.
2478 2013-10-07  Leo Liu  <sdl.web@gmail.com>
2480         * register.el (register-preview-delay)
2481         (register-preview-functions): New variables.
2482         (register-read-with-preview, register-preview)
2483         (register-describe-oneline): New functions.
2484         (point-to-register, window-configuration-to-register)
2485         (frame-configuration-to-register, jump-to-register)
2486         (number-to-register, view-register, insert-register)
2487         (copy-to-register, append-to-register, prepend-to-register)
2488         (copy-rectangle-to-register): Use register-read-with-preview to
2489         read register.  (Bug#15525)
2491 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
2493         * net/network-stream.el (network-stream-open-starttls): Don't add
2494         --insecure if it's already present, because that gnutls-cli
2495         rejects getting that parameter twice.
2497 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
2499         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2500         keyword, too.
2502 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
2504         * newcomment.el (comment-use-global-state): Change default value
2505         to t, mark obsolete (Bug#15251).
2506         (comment-beginning): In addition to `comment-to-syntax', check the
2507         value of `comment-use-global-state'.
2509 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2511         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2512         (ruby-comment-column): Follow the global default, by default.
2513         (ruby-smie-grammar): Add assignment syntax.
2514         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2515         open-paren, a comma, or a \.
2516         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2517         and line continuations.
2518         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2519         followed by implicit semi-colons.  Add rule for string concatenation
2520         and for indentation at BOB.
2521         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2523         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2524         calling next-sexp, since next-token may have skipped chars which
2525         next-sexp doesn't know should be skipped!
2527 2013-10-05  Leo Liu  <sdl.web@gmail.com>
2529         * progmodes/octave.el (octave-send-region):
2530         Call compilation-forget-errors.
2532 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2534         * vc/vc-svn.el (vc-svn-find-admin-dir):
2535         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2536         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2537         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2538         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2540 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2542         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2544 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2546         * subr.el (read-passwd): Hide chars even when called within a context
2547         where after-change-functions is disabled (bug#15501).
2548         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2549         until we removed ourself from overriding-terminal-local-map.
2551 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2553         * progmodes/octave.el (inferior-octave-mode):
2554         Call compilation-forget-errors.
2556 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
2558         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2560 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
2562         * net/secrets.el (secrets-create-collection): Add optional
2563         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
2564         dbus-call-method argument.  (Bug#15516)
2566 2013-10-04  Leo Liu  <sdl.web@gmail.com>
2568         * progmodes/octave.el (inferior-octave-error-regexp-alist)
2569         (inferior-octave-compilation-font-lock-keywords): New variables.
2570         (compilation-error-regexp-alist)
2571         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2572         (inferior-octave-mode): Use compilation-shell-minor-mode.
2574 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
2576         * minibuffer.el (completion--replace): Be careful that `end' might be
2577         a marker.
2579 2013-10-03  Daiki Ueno  <ueno@gnu.org>
2581         Add support for package signature checking.
2582         * emacs-lisp/package.el (url-http-file-exists-p)
2583         (epg-make-context, epg-context-set-home-directory)
2584         (epg-verify-string, epg-context-result-for)
2585         (epg-signature-status, epg-signature-to-string)
2586         (epg-check-configuration, epg-configuration)
2587         (epg-import-keys-from-file): Declare.
2588         (package-check-signature): New user option.
2589         (package-unsigned-archives): New user option.
2590         (package-desc): Add `signed' field.
2591         (package-load-descriptor): Set `signed' field if .signed file exists.
2592         (package--archive-file-exists-p): New function.
2593         (package--check-signature): New function.
2594         (package-install-from-archive): Check package signature.
2595         (package--download-one-archive): Check archive signature.
2596         (package-delete): Remove .signed file.
2597         (package-import-keyring): New command.
2598         (package-refresh-contents): Import default keyring.
2599         (package-desc-status): Add "unsigned" status.
2600         (describe-package-1, package-menu--print-info)
2601         (package-menu-mark-delete, package-menu--find-upgrades)
2602         (package-menu--status-predicate): Support "unsigned" status.
2604 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2606         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2607         the new compilation scheme using the new byte-codes.
2609         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2610         (byte-pophandler): New byte codes.
2611         (byte-goto-ops): Adjust accordingly.
2612         (byte-compile--use-old-handlers): New var.
2613         (byte-compile-catch): Use new byte codes depending on
2614         byte-compile--use-old-handlers.
2615         (byte-compile-condition-case--old): Rename from
2616         byte-compile-condition-case.
2617         (byte-compile-condition-case--new): New function.
2618         (byte-compile-condition-case): New function that dispatches depending
2619         on byte-compile--use-old-handlers.
2620         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2621         when we can.
2623         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2624         Optimize under `condition-case' and `catch' if
2625         byte-compile--use-old-handlers is nil.
2626         (disassemble-offset): Handle new bytecodes.
2628 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2630         * subr.el (error): Use `declare'.
2631         (decode-char, encode-char): Use advertised-calling-convention instead
2632         of the docstring to discourage use of the `restriction' arg.
2634 2013-10-03  Daiki Ueno  <ueno@gnu.org>
2636         * epg.el (epg-verify-file): Add a comment saying that it does not
2637         notify verification error as a return value nor a signal.
2638         (epg-verify-string): Ditto.
2640 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
2642         * progmodes/compile.el (compilation-start): Try globbing the arg to
2643         `cd' (bug#15417).
2645 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
2647         Sync with Tramp 2.2.8.
2649         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2650         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2651         * net/trampver.el: Update release number.
2653 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
2655         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2656         and default-process-coding-system for darwin only.
2658 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2660         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2662 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
2664         * vc/vc-git.el (vc-git-grep): Disable pager.
2666 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
2668         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2669         Use :url instead of :homepage, as per
2670         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2672         * newcomment.el (comment-beginning): When `comment-use-syntax' is
2673         non-nil, use `syntax-ppss' (Bug#15251).
2675 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2677         * progmodes/octave.el (inferior-octave-startup-file):
2678         Prefer ~/.emacs.d/init_octave.m.
2680 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
2682         * emacs-lisp/package.el (package-desc-from-define):
2683         Accept additional arguments as plist, convert them to an alist and store
2684         them in the `extras' slot.
2685         (package-generate-description-file): Convert extras alist back to
2686         plist and append to the `define-package' form arguments.
2687         (package--alist-to-plist): New function.
2688         (package--ac-desc): Add `extras' slot.
2689         (package--add-to-archive-contents): Check if the archive-contents
2690         vector is long enough, and if it is, pass its `extras' slot value
2691         to `package-desc-create'.
2692         (package-buffer-info): Call `lm-homepage', pass the returned value
2693         to `package-desc-from-define'.
2694         (describe-package-1): Render the homepage button (Bug#13291).
2696         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2697         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2699 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
2701         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2702         and default-process-coding-system to utf-8-unix (Bug#15402).
2704 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
2706         * subr.el (looking-back): Do not recommend using looking-back.
2708 2013-09-28  Alan Mackenzie  <acm@muc.de>
2710         Fix indentation/fontification of Java enum with "implements".
2712         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2713         regexp which matches "implements", etc., in Java.
2714         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2715         specifier clauses coming after "enum".
2716         * progmodes/cc-fonts.el (c-font-lock-declarations)
2717         (c-font-lock-enum-tail): Check for extra specifier clauses coming
2718         after "enum".
2720 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
2722         * faces.el (region): Change ns_selection_color to
2723         ns_selection_fg_color, add ns_selection_bg_color.
2725 2013-09-28  Leo Liu  <sdl.web@gmail.com>
2727         * progmodes/octave.el (inferior-octave-completion-table)
2728         (inferior-octave-completion-at-point): Minor tweaks.
2730         * textmodes/ispell.el (ispell-lookup-words): Rename from
2731         lookup-words.  (Bug#15460)
2732         (lookup-words): Obsolete.
2733         (ispell-complete-word, ispell-command-loop): All uses changed.
2735 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2737         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2738         (octave-mode-menu): Add octave-send-buffer.
2739         (octave-send-buffer): New function.
2741 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2743         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2744         octave-lookfor.
2745         (octave-mode-menu): Add octave-lookfor.
2746         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2747         octave-lookfor.
2748         (octave-lookfor): New function.
2750 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2752         * emacs-lisp/cl-macs.el:
2753         (cl--loop-destr-temps): Remove.
2754         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2755         its convention.
2756         (cl--loop-set-iterator-function): New function.
2757         (cl-loop): Adjust accordingly, so as not to use cl-subst.
2758         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2759         Bind `it' with `let' instead of substituting it with `cl-subst'.
2760         (cl--unused-var-p): New function.
2761         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2762         Eliminate some unused variable warnings (bug#15326).
2764 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
2766         * doc-view.el (doc-view-scale-reset): Rename from
2767         `doc-view-reset-zoom-level'.
2768         (doc-view-scale-adjust): New command.
2769         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2770         `doc-view-scale-adjust'.
2772 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
2774         * doc-view.el (doc-view-reset-zoom-level): New command.
2775         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2776         zoom commands (bug#15466).
2778 2013-09-26  Kenichi Handa  <handa@gnu.org>
2780         * international/quail.el (quail-help): Make it not a command.
2782 2013-09-26  Leo Liu  <sdl.web@gmail.com>
2784         * minibuffer.el (completion-all-sorted-completions): Make args
2785         optional as they are.
2787 2013-09-25  Daniel Colascione  <dancol@dancol.org>
2789         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2790         specs are and that they're not evaluated.
2792 2013-09-24  Sam Steingold  <sds@gnu.org>
2794         * midnight.el (clean-buffer-list-kill-regexps)
2795         (clean-buffer-list-kill-buffer-names): Update for the new Man
2796         buffer naming which includes the object name.
2798 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2800         * eshell/esh-cmd.el (eshell--sep-terms): New var.
2801         (eshell-parse-command, eshell-parse-pipeline): Use it since
2802         eshell-separate-commands requires a dynamic scoped var.
2803         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2805 2013-09-23  Leo Liu  <sdl.web@gmail.com>
2807         * autoinsert.el (auto-insert-alist): Make the value of
2808         lexical-binding match its file setting.
2810 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
2812         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2814         * autoarg.el (autoarg-kp-digit-argument):
2815         * electric.el (Electric-command-loop):
2816         * kmacro.el (kmacro-step-edit-insert):
2817         Do not set universal-argument-num-events.
2819 2013-09-22  Leo Liu  <sdl.web@gmail.com>
2821         * files.el (interpreter-mode-alist): Add octave.
2823 2013-09-21  Alan Mackenzie  <acm@muc.de>
2825         C++: fontify identifier in declaration following "public:" correctly.
2826         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2827         to match "public", etc.
2828         (c-decl-prefix-re): Add ":" into the C++ value.
2829         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2830         bit.  Add a check for a ":" preceded by "public", etc.
2832 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
2834         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2835         recognized by GDB 7.5 and later.
2837 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
2839         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2841 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2843         * subr.el (internal--call-interactively): New const.
2844         (called-interactively-p): Use it (bug#3984).
2846 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
2848         * vc/pcvs.el (cvs-mode-ignore):
2849         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2850         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2852 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2854         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
2855         (eshell-ls-orig-insert-directory): Remove.
2856         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
2857         (eshell-ls-use-in-dired): Use advice-add/remove.
2858         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2859         Add `orig-fun' arg for use in :around advice.
2860         Make it check (redundantly) eshell-ls-use-in-dired.
2862 2013-09-19  Glenn Morris  <rgm@gnu.org>
2864         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2866         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2868         * emacs-lisp/eieio.el (class-parent): Undo previous change.
2870 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
2872         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2873         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2874         (tramp-get-remote-python): New defuns.
2875         (tramp-get-remote-uid-with-perl)
2876         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
2877         contributed by yary <not.com@gmail.com> (tiny change).
2878         (tramp-get-remote-uid-with-python)
2879         (tramp-get-remote-gid-with-python): New defuns.  Python code
2880         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2881         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2883 2013-09-19  Glenn Morris  <rgm@gnu.org>
2885         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2887         * eshell/em-unix.el (eshell-remove-entries):
2888         Rename argument to avoid name-clash with global `top-level'.
2890         * eshell/esh-proc.el (eshell-kill-process-function):
2891         Remove eshell-reset-after-proc from eshell-kill-hook if present.
2892         (eshell-reset-after-proc): Remove unused arg `proc'.
2894         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2895         (directory-files-and-attributes): Mark unused arg.
2897         * eshell/em-unix.el (eshell-remove-entries):
2898         Remove unused arg `path'.  Update callers.
2900         * eshell/em-hist.el (eshell-hist-parse-arguments):
2901         Remove unused arg `silent'.  Update callers.
2903         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2904         Fix (f)boundp mix-up.
2906         * eshell/em-smart.el (eshell-smart-scroll-window)
2907         (eshell-disable-after-change):
2908         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2910 2013-09-18  Alan Mackenzie  <acm@muc.de>
2912         Fix fontification of type when followed by "const".
2913         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2914         "known" types from fontification.
2916 2013-09-18  Glenn Morris  <rgm@gnu.org>
2918         * emacs-lisp/chart.el (x-display-color-cells): Declare.
2919         (chart-face-list): Drop Emacsen without display-color-p.
2921         * net/eww.el (libxml-parse-html-region): Declare.
2922         (eww-display-html): Explicit error if no libxml2 support.
2924         * doc-view.el (doc-view-mode): Silence --without-x compilation.
2926         * image.el (image-type-from-buffer, image-multi-frame-p):
2927         Remove --without-x warning/error.
2929         * mouse.el (mouse-yank-primary):
2930         * term.el (term-mouse-paste):
2931         Reorder to silence --without-x compilation.
2933         * mpc.el (doc-view-mode): Silence --without-x compilation.
2935         * mail/rmailmm.el (rmail-mime-set-bulk-data):
2936         Silence --without-x compilation.
2938         * progmodes/gud.el (gud-find-file, gud-mode):
2939         Silence --without-x compilation.
2940         (tooltip-mode): Declare.
2942         * wdired.el (dired-backup-overwrite): Remove declaration.
2943         (wdired-mode-map): Add doc string.
2945         * custom.el (x-get-resource): Declare.
2947         * eshell/em-glob.el (ange-cache):
2948         * eshell/em-unix.el (ange-cache): Declare.
2950         * faces.el (x-display-list, x-open-connection, x-get-resource):
2951         Declare.
2953         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2954         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2955         Declare.
2957         * frame.el (x-display-grayscale-p, x-display-name): Declare.
2959         * net/gnutls.el (gnutls-log-level): Declare.
2961         * net/shr.el (image-size, image-animate): Declare.
2963         * simple.el (font-info): Declare.
2965         * subr.el (x-popup-dialog): Declare.
2967         * term/common-win.el (x-select-enable-primary)
2968         (x-last-selected-text-primary, x-last-selected-text-clipboard):
2969         Declare.
2971         * term/ns-win.el (x-handle-args): Declare.
2973         * term/x-win.el (x-select-enable-clipboard): Declare.
2975         * term/w32-win.el (create-default-fontset): Declare.
2977         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2978         Declare.
2980         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2981         (fit-frame-to-buffer): Explicit error if --without-x.
2982         (mouse-autoselect-window-select): Silence compiler.
2984         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2986         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2987         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2988         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2989         * eshell/esh-util.el (eshell-sublist):
2990         Remove unused local variables.
2992         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2994         * textmodes/two-column.el: Make 2C-split work for --without-x.
2995         (scroll-bar-columns): Autoload.
2996         (top-level): Require fringe when compiling.
2998 2013-09-18  Leo Liu  <sdl.web@gmail.com>
3000         * subr.el (add-hook): Robustify to handle closure as well.
3002 2013-09-17  Glenn Morris  <rgm@gnu.org>
3004         * simple.el (messages-buffer-mode-map): Unbind "g".
3006 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3008         * help-mode.el (help-mode-finish): Use derived-mode-p.
3009         Remove obsolete highlighting.
3011         * play/life.el (life-mode): Use define-derived-mode.  Derive from
3012         special-mode.
3013         (life): Let-bind inhibit-read-only.
3014         (life-setup): Avoid `setq'.  Use `life-mode'.
3016         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3017         which should not be needed any more.
3018         (package-menu-refresh, package-menu-describe-package): Use user-error.
3020         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3021         (eshell-post-rewrite-command-hook): Make obsolete.
3022         (eshell-parse-command): Simplify.
3023         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3024         (eshell--cmd): Declare.
3025         (eshell-parse-pipeline): Remove unused var `final-p'.
3026         Pass a dynvar to eshell-post-rewrite-command-hook.
3027         Implement the new eshell-post-rewrite-command-function.
3028         (eshell-invoke-directly): Remove unused arg `input'.
3029         * eshell/esh-io.el (eshell-io-initialize):
3030         Use eshell-post-rewrite-command-function (bug#15399).
3031         (eshell--apply-redirections): Rename from eshell-apply-redirections;
3032         adjust to new calling convention.
3033         (eshell-create-handles): Rename args to avoid clashing with dynvar
3034         `standard-output'.
3036 2013-09-17  Glenn Morris  <rgm@gnu.org>
3038         * simple.el (messages-buffer-mode): New major mode.
3039         (messages-buffer): New function.
3040         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3041         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3042         (ert-run-test): Use `messages-buffer' function.
3043         (ert--force-message-log-buffer-truncation): Ignore read-only.
3044         * help.el (view-echo-area-messages): Use `messages-buffer' function.
3045         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3047 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3049         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3051         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3053 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3055         * icomplete.el (icomplete-in-buffer): New var.
3056         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3057         vars and replace them with functions.
3058         (icomplete-minibuffer-setup): Adjust accordingly.
3059         (icomplete--completion-table, icomplete--completion-predicate)
3060         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3061         New functions.
3062         (icomplete-forward-completions, icomplete-backward-completions)
3063         (icomplete-simple-completing-p, icomplete-exhibit)
3064         (icomplete-completions): Use them.
3065         (icomplete--in-region-buffer): New var.
3066         (icomplete--in-region-setup): New function.
3067         (icomplete-mode): Use it.
3069         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3070         (bug#15379).
3071         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3072         return args and options.
3073         (eshell-eval-using-options): Use the new return value of
3074         eshell--do-opts to set the options's vars in their scope.
3075         (eshell--set-option): Rename from eshell-set-option.
3076         Add arg `opt-vals'.
3077         (eshell--process-option): Rename from eshell-process-option.
3078         Add arg `opt-vals'.
3079         (eshell--process-args): Use an `opt-vals' alist to store the options's
3080         values during their processing and return them additionally to the
3081         remaining args.
3083 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
3085         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3086         continuation character an operator, as far as indentation is
3087         concerned (Bug#15369).
3089 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
3091         * window.el (window--state-put-2): Don't process buffer state
3092         when buffer doesn't exist any more (Bug#15382).
3094 2013-09-15  Glenn Morris  <rgm@gnu.org>
3096         * eshell/em-unix.el (eshell/rm):
3097         Make -f ignore missing files.  (Bug#15373)
3099         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
3100         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3101         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3103 2013-09-14  Glenn Morris  <rgm@gnu.org>
3105         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3107 2013-09-13  Glenn Morris  <rgm@gnu.org>
3109         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3110         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
3112 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
3114         * frame.el (x-focus-frame): Mark as declared in frame.c.
3116 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3118         * ls-lisp.el: Use advice-add.
3119         (original-insert-directory): Remove.
3120         (ls-lisp--insert-directory): Rename from insert-directory; add
3121         `orig-fun' argument.
3122         (insert-directory): Advise.
3124 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
3126         * term.el (term-emulate-terminal): Decode the command string
3127         before passing it to term-command-hook.  (Bug#15337)
3129 2013-09-13  Glenn Morris  <rgm@gnu.org>
3131         * eshell/esh-util.el (ange-cache): Move declaration earlier.
3133         * eshell/esh-ext.el (eshell-search-path): Declare.
3135         * eshell/em-prompt.el (eshell/pwd): Autoload it.
3136         Otherwise an error occurs if eshell-dirs module not loaded.
3138         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3140 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
3142         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3143         `tramp-check-proper-host'.  Check for a valid method name.
3145         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3146         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3147         * net/tramp-sh.el (tramp-maybe-open-connection):
3148         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3150         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3151         also for hash values.
3153 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3155         * term/ns-win.el (parameters): Don't declare as dynamic.
3156         (before-make-frame-hook): Don't add ineffective function.
3158         * eshell/*.el: Use lexical-binding (bug#15231).
3160 2013-09-12  Kenichi Handa  <handa@gnu.org>
3162         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3164 2013-09-12  Glenn Morris  <rgm@gnu.org>
3166         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3167         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3169         * subr.el (do-after-load-evaluation): Also give compiler warnings
3170         when obsolete files are used (except by obsolete files).
3172         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3173         in the status output, assume `filename' is the first.  (Bug#15322)
3175         * vc/vc.el (vc-deduce-fileset): Doc fix.
3177         * calc/calc-help.el (Info-goto-node):
3178         * progmodes/cperl-mode.el (Info-find-node):
3179         * vc/ediff.el (Info-goto-node): Update declarations.
3181         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3183         * vc/vc-bzr.el (vc-compilation-mode): Declare.
3184         (vc-bzr-pull): Require vc-dispatcher.
3185         * vc/vc-git.el (vc-compilation-mode): Declare.
3186         (vc-git-pull): Require vc-dispatcher.
3188         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3190         * progmodes/octave.el (help-button-action): Declare.
3192         * shell.el (shell-directory-tracker): Output error as a message
3193         rather than just returning it as a string.
3194         (shell-process-pushd): Remove useless use of message.
3196         * dframe.el (dframe-timer-fn):
3197         * files.el (dir-locals-read-from-file):
3198         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3199         (mpc-format):
3200         * reveal.el (reveal-post-command):
3201         * saveplace.el (load-save-place-alist-from-file):
3202         * shell.el (shell-resync-dirs):
3203         * w32-common-fns.el (x-get-selection-value):
3204         * emacs-lisp/copyright.el (copyright-find-copyright):
3205         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3206         * emulation/tpu-edt.el (tpu-copy-keyfile):
3207         * play/bubbles.el (bubbles--mark-neighbourhood):
3208         * progmodes/executable.el
3209         (executable-make-buffer-file-executable-if-script-p):
3210         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3212 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3214         Cleanup Eshell to rely less on dynamic scoping.
3215         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3216         last-value, and ext-command here.  Bind `args' closer to `body'.
3217         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3218         (eshell--args): Declare new dynamic var.
3219         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
3220         last-value, and ext-command.  Pass `args' to `body'.
3221         (eshell-process-args): Bind eshell--args.
3222         (eshell-set-option): Use eshell--args.
3223         * eshell/eshell.el (eshell): Use derived-mode-p.
3224         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3225         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3226         (eshell-glob-function): Declare.
3227         * eshell/esh-util.el: Require cl-lib.
3228         (eshell-read-hosts-file): Avoid add-to-list.
3229         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3230         `err'.
3231         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3232         Declare.
3233         (eshell/diff): Remove unused var `err'.
3234         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3235         `killflag'.
3236         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3237         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3238         first use.
3239         * eshell/em-glob.el (eshell-glob-matches, message-shown):
3240         Move declaration before first use.
3241         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3242         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3243         rely on cl-return.
3245 2013-09-12  Glenn Morris  <rgm@gnu.org>
3247         * term/ns-win.el (global-map): Remove binding for ispell-next,
3248         deleted 1999-05-29.  (Bug#15357)
3250 2013-09-11  Glenn Morris  <rgm@gnu.org>
3252         * echistory.el (electric-command-history): Remove call to deleted func.
3254         * play/landmark.el (landmark-mode): Fix typos.
3256         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3257         Check cvs-sort-ignore-file is bound.
3259         * savehist.el: No need for cl when compiling on Emacs.
3261 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3263         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3264         (bug#15338).
3265         (eshell-self-insert-command, eshell-send-invisible):
3266         Remove unused argument.
3267         (eshell-handle-control-codes): Remove unused var `orig'.
3268         Avoid delete-backward-char.
3270         * files.el (set-auto-mode): Simplify a bit further.
3272 2013-09-11  Glenn Morris  <rgm@gnu.org>
3274         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3275         (set-auto-mode): Don't regexp-quote elements.
3276         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3277         * progmodes/cc-mode.el (interpreter-mode-alist):
3278         * progmodes/ruby-mode.el (interpreter-mode-alist):
3279         Revert previous change.
3281 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3283         * play/snake.el (snake-mode):
3284         * play/mpuz.el (mpuz-mode):
3285         * play/landmark.el (lm-mode):
3286         * play/blackbox.el (blackbox-mode):
3287         * play/5x5.el (5x5-mode):
3288         * obsolete/options.el (Edit-options-mode):
3289         * net/quickurl.el (quickurl-list-mode):
3290         * net/newst-treeview.el (newsticker-treeview-mode):
3291         * mail/rmailsum.el (rmail-summary-mode):
3292         * mail/mspools.el (mspools-mode):
3293         * locate.el (locate-mode):
3294         * ibuffer.el (ibuffer-mode):
3295         * emulation/ws-mode.el (wordstar-mode):
3296         * emacs-lisp/debug.el (debugger-mode):
3297         * array.el (array-mode):
3298         * net/eudc.el (eudc-mode): Use define-derived-mode.
3299         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3300         Move initialization into declaration.
3301         (mairix-searches-mode): Use define-derived-mode.
3302         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3303         (eudc-edit-hotlist): Use dolist.
3304         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3305         (Man-mode): Use define-derived-mode.
3306         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3307         (Info-edit-mode): Use define-derived-mode.
3308         (Info-cease-edit): Use Info-mode.
3309         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3310         into declaration.
3311         (eshell-mode): Use define-derived-mode.
3312         * chistory.el (command-history-mode-map): Rename from
3313         command-history-map.
3314         (command-history-mode): Use define-derived-mode.
3315         (Command-history-setup): Remove function.
3316         * calc/calc.el (calc-trail-mode-map): New var.
3317         (calc-trail-mode): Use define-derived-mode.
3318         (calc-trail-buffer): Set calc-main-buffer manually.
3319         * bookmark.el (bookmark-insert-annotation): New function.
3320         (bookmark-edit-annotation): Use it.
3321         (bookmark-edit-annotation-mode): Make it a proper major mode.
3322         (bookmark-send-edited-annotation): Use derived-mode-p.
3323         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3324         closer to its ideal place.  Use \' to match EOS.
3326         * profiler.el (profiler-calltree-find): Use function-equal.
3328 2013-09-10  Glenn Morris  <rgm@gnu.org>
3330         * files.el (interpreter-mode-alist): Convert to regexps.
3331         (set-auto-mode): Adapt for this.  (Bug#15306)
3332         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3333         Comment out unused variable.
3334         * progmodes/cc-mode.el (interpreter-mode-alist):
3335         * progmodes/python.el (interpreter-mode-alist):
3336         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3337         * progmodes/sh-script.el (sh-set-shell):
3338         No longer use interpreter-mode-alist to get list of shells.
3340         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3342 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3344         * simple.el: Use set-temporary-overlay-map for universal-argument.
3345         (universal-argument-map): Don't use default-bindings (bug#15317).
3346         Bind switch-frame explicitly.  Replace universal-argument-minus with
3347         a conditional binding.
3348         (universal-argument-num-events, saved-overriding-map): Remove.
3349         (restore-overriding-map): Remove.
3350         (universal-argument--mode): Rename from save&set-overriding-map,
3351         and rewrite.
3352         (universal-argument, universal-argument-more, negative-argument)
3353         (digit-argument): Adjust accordingly.
3354         (universal-argument-minus): Remove.
3355         (universal-argument-other-key): Remove.
3357         * subr.el (with-demoted-errors): Add `format' argument.
3359 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
3361         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
3362         `tramp-cleanup-connection'.
3364         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3365         parameters KEEP-DEBUG and KEEP-PASSWORD.
3367         * net/tramp.el (tramp-file-name-handler):
3368         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3369         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3370         (tramp-maybe-open-connection):
3371         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3372         Use `tramp-cleanup-connection'.
3374         * net/tramp-sh.el (tramp-maybe-open-connection):
3375         Catch 'uname-changed inside the progress reporter.
3377 2013-09-10  Glenn Morris  <rgm@gnu.org>
3379         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
3381         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3382         returns "alternate access method" in mode (eg "-rw-r--r--.").
3384 2013-09-08  Glenn Morris  <rgm@gnu.org>
3386         * saveplace.el (load-save-place-alist-from-file):
3387         Demote errors.  (Bug#15305)
3389 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
3391         Improve compatibility with older Emacsen, and XEmacs.
3393         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3394         only if it is bound.  It isn't for XEmacs.
3395         (with-tramp-progress-reporter): Do not let-bind `result'.
3396         This yields to scoping errors in XEmacs.
3397         (tramp-handle-make-auto-save-file-name): New function, moved from
3398         tramp-sh.el.
3400         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3401         for `make-auto-save-file-name'.
3402         (tramp-adb--gnu-switches-to-ash):
3403         Use `tramp-compat-replace-regexp-in-string'.
3405         * net/tramp-cache.el (tramp-cache-print): Call
3406         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
3408         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3409         bound.  It isn't for XEmacs.
3411         * net/tramp-compat.el (tramp-compat-copy-file):
3412         Catch `wrong-number-of-arguments' error.
3413         (tramp-compat-replace-regexp-in-string): New defun.
3415         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3416         for `make-auto-save-file-name'.
3417         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3418         `copy-file'.
3419         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3420         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3421         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3423         * net/tramp-gw.el (tramp-gw-open-network-stream):
3424         Use `tramp-compat-replace-regexp-in-string'.
3426         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3427         Call `tramp-handle-make-auto-save-file-name'.
3428         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3429         (tramp-sh-file-gvfs-monitor-dir-process-filter)
3430         (tramp-sh-file-inotifywait-process-filter):
3431         Use `tramp-compat-replace-regexp-in-string'.
3432         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3434         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3435         for `make-auto-save-file-name'.
3436         (tramp-smb-handle-copy-directory):
3437         Call `tramp-compat-replace-regexp-in-string'.
3438         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3439         (tramp-smb-handle-copy-file): Improve error message.
3440         (tramp-smb-handle-rename-file): Rename directly only in case
3441         `newname' does not exist yet.  This is a restriction of smbclient.
3442         (tramp-smb-maybe-open-connection): Rerun the function only when
3443         `auth-sources' is non-nil.
3445 2013-09-08  Kenichi Handa  <handa@gnu.org>
3447         * international/characters.el: Set category "^" (Combining) for
3448         more characters.
3450 2013-09-07  Alan Mackenzie  <acm@muc.de>
3452         Correctly fontify Java class constructors.
3453         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3454         in Java Mode.
3455         (c-recognize-typeless-decls): Set the Java value to t.
3456         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3457         While handling a "(", add a check for, effectively, Java, and handle a
3458         "typeless" declaration there.
3460 2013-09-07  Roland Winkler  <winkler@gnu.org>
3462         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3463         field subtitle for entry type book.
3465 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3467         * minibuffer.el: Make minibuffer-complete call completion-in-region
3468         rather than other way around.
3469         (completion--some, completion-pcm--find-all-completions):
3470         Don't delay signals when debugging.
3471         (minibuffer-completion-contents): Beware fields within the
3472         minibuffer contents.
3473         (completion-all-sorted-completions): Use defvar-local.
3474         (completion--do-completion, completion--cache-all-sorted-completions)
3475         (completion-all-sorted-completions, minibuffer-force-complete):
3476         Add args `beg' and `end'.
3477         (completion--in-region-1): New fun, extracted from minibuffer-complete.
3478         (minibuffer-complete): Use completion-in-region.
3479         (completion-complete-and-exit): New fun, extracted from
3480         minibuffer-complete-and-exit.
3481         (minibuffer-complete-and-exit): Use it.
3482         (completion--complete-and-exit): Rename from
3483         minibuffer--complete-and-exit.
3484         (completion-in-region--single-word): New function, extracted from
3485         minibuffer-complete-word.
3486         (minibuffer-complete-word): Use it.
3487         (display-completion-list): Make `common-substring' argument obsolete.
3488         (completion--in-region): Call completion--in-region-1 instead of
3489         minibuffer-complete.
3490         (completion-help-at-point): Pass boundaries to
3491         minibuffer-completion-help as args rather than via an overlay.
3492         (completion-pcm--string->pattern): Use `any-delim'.
3493         (completion-pcm--optimize-pattern): New function.
3494         (completion-pcm--pattern->regex): Handle `any-delim'.
3495         * icomplete.el (icomplete-forward-completions)
3496         (icomplete-backward-completions, icomplete-completions):
3497         Adjust calls to completion-all-sorted-completions and
3498         completion--cache-all-sorted-completions.
3499         (icomplete-with-completion-tables): Default to t.
3500         * emacs-lisp/crm.el (crm--current-element): Rename from
3501         crm--select-current-element.  Don't put an overlay but return the
3502         boundaries instead.
3503         (crm--completion-command): Take two new args to bind to the boundaries.
3504         (crm-completion-help): Adjust accordingly.
3505         (crm-complete): Use completion-in-region.
3506         (crm-complete-word): Use completion-in-region--single-word.
3507         (crm-complete-and-exit): Use completion-complete-and-exit.
3509 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3511         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3512         than dynamically.
3514 2013-09-06  Juri Linkov  <juri@jurta.org>
3516         * info.el (Info-display-images-node): When image file doesn't exist
3517         display text version of the image if it's provided in the Info file.
3518         Otherwise, display the location of missing image from SRC attribute.
3519         Add help-echo text property from ALT attribute.  (Bug#15279)
3521 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3523         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3524         (edit-abbrevs-mode): Use define-derived-mode.
3526         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3527         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3528         that it's defined.
3529         (epa-key-list-mode, epa-key-mode, epa-info-mode):
3530         Use define-derived-mode.
3532         * epg.el (epg-start-encrypt): Minor CSE simplification.
3534 2013-09-06  William Xu  <william.xwl@gmail.com>
3536         * arc-mode.el: Add support for 7za (bug#15264).
3537         (archive-7z-program): New var.
3538         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3539         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3540         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3542 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
3544         Remove URL syntax.
3546         * net/tramp.el (tramp-syntax, tramp-prefix-format)
3547         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3548         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3549         (tramp-postfix-host-format, tramp-file-name-regexp)
3550         (tramp-completion-file-name-regexp)
3551         (tramp-completion-dissect-file-name)
3552         (tramp-handle-substitute-in-file-name): Remove 'url case.
3553         (tramp-file-name-regexp-url)
3554         (tramp-completion-file-name-regexp-url): Remove constants.
3556 2013-09-06  Glenn Morris  <rgm@gnu.org>
3558         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
3560 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
3562         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3563         keywords" below "here-doc beginnings" (Bug#15270).
3565 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3567         * subr.el (pop): Use `car-safe'.
3568         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3569         to detect unused `pop' return value.
3571         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3572         var `block-regexp'.
3573         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3574         (python-fill-string): Remove unused var `marker'.
3575         (python-skeleton-add-menu-items): Remove unused var `items'.
3577         * international/mule-cmds.el: Require CL.
3578         (find-coding-systems-for-charsets): Avoid add-to-list.
3579         (sanitize-coding-system-list): New function, extracted from
3580         select-safe-coding-system-interactively.
3581         (select-safe-coding-system-interactively): Use it.
3582         (read-input-method-name): Accept symbols for `default'.
3584         * emacs-lisp/advice.el (defadvice): Add indent rule.
3586 2013-09-05  Daniel Hackney  <dan@haxney.org>
3588         * dired-x.el:
3589         * net/ange-ftp.el:
3590         * net/browse-url.el:
3591         * net/dbus.el:
3592         * net/eudc.el:
3593         * net/eudcb-ldap.el:
3594         * net/eww.el:
3595         * net/imap.el:
3596         * printing.el:
3597         * vc/ediff-diff.el:
3598         * vc/ediff-init.el:
3599         * vc/ediff-merg.el:
3600         * vc/ediff-mult.el:
3601         * vc/ediff-util.el:
3602         * vc/ediff-wind.el:
3603         * vc/ediff.el:
3604         * vc/emerge.el:
3605         * vc/pcvs.el:
3606         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3607         byte compiler.  Remove some unused let-bound variables.
3609 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3611         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3612         a "ref-cell", since it gets better optimized (bug#14883).
3614 2013-09-05  Glenn Morris  <rgm@gnu.org>
3616         * progmodes/cc-awk.el (c-forward-sws): Declare.
3618 2013-09-04  Glenn Morris  <rgm@gnu.org>
3620         * generic-x.el [rul-generic-mode]: Require cc-mode.
3621         (c++-mode-syntax-table): Declare.
3622         (rul-generic-mode-syntax-table): Init in the defvar.
3624 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3626         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3627         (vc-do-command, vc-set-async-update):
3628         * vc/vc-mtn.el (vc-mtn-dir-status):
3629         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3630         (vc-hg-pull, vc-hg-merge-branch):
3631         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3632         (vc-git-merge-branch):
3633         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3634         (vc-cvs-dir-status-files):
3635         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3636         (vc-bzr-dir-status-files):
3637         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3638         * vc/vc-annotate.el: Use lexical-binding.
3639         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3640         (vc-sentinel-movepoint): Declare.
3641         (vc-annotate): Don't use `goto-line'.
3642         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3643         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3644         (vc-sentinel-movepoint): Declare.
3645         * vc/vc-svn.el: Use lexical-binding.
3646         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3647         * vc/vc-sccs.el:
3648         * vc/vc-rcs.el: Use lexical-binding.
3650         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3651         `deleted'.  Don't drop errors silently.
3653         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3655 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
3657         * vc/vc.el (vc-ignore): Rewrite.
3658         (vc-default-ignore): New function.
3659         (vc-default-ignore-completion-table): Use find-ignore-file.
3661         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3662         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3663         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3664         Remove.  Most code moved to vc.el.
3666 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3668         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3669         * net/tramp-smb.el (tramp-smb-get-file-entries):
3670         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3671         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3673         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3674         Update call to it.
3675         (eww-change-select): Remove unused var `properties'.
3676         (eww-make-unique-file-name): Remove unused var `base'.
3678         * finder.el (finder-compile-keywords): Don't mess with windows.
3680         * calculator.el (calculator-funcall): Fix typo in last change.
3682         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3684         * emacs-lisp/package.el (package-activate-1): Don't let a missing
3685         <pkg>-autoloads.el file stop us.
3687         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3688         warnings, and factor out common code.
3690 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
3692         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3693         two-character operators and whether the character preceding them
3694         changes their meaning (Bug#15208).
3696 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3698         Format code sent to Python shell for robustness.
3699         * progmodes/python.el (python-shell-buffer-substring):
3700         New function.
3701         (python-shell-send-region, python-shell-send-buffer): Use it.
3703 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
3705         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3706         * net/tramp.el (tramp-user-error): ... here.
3707         (tramp-find-method, tramp-check-proper-host)
3708         (tramp-dissect-file-name, tramp-debug-message)
3709         (tramp-handle-shell-command):
3710         * net/tramp-adb.el (tramp-adb-handle-shell-command):
3711         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3713         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3715 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
3717         * avoid.el (mouse-avoidance-point-position)
3718         (mouse-avoidance-too-close-p): Handle case where posn-at-point
3719         returns nil.
3721 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3723         * progmodes/python.el (python-shell-completion-get-completions):
3724         Drop use of deleted `comint-last-prompt-overlay'.
3725         (python-nav-if-name-main): New command.
3727 2013-09-01  Glenn Morris  <rgm@gnu.org>
3729         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3730         Avoid leading space in $wins.  Otherwise the sed command used by
3731         eg compile-main ends up containing "/*.el".  (Bug#15170)
3733         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
3735 2013-08-30  Glenn Morris  <rgm@gnu.org>
3737         * emacs-lisp/bytecomp.el (byte-recompile-directory):
3738         Fix is-this-a-directory logic.  (Bug#15220)
3740 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3742         * textmodes/css-mode.el: Use SMIE.
3743         (css-smie-grammar): New var.
3744         (css-smie--forward-token, css-smie--backward-token)
3745         (css-smie-rules): New functions.
3746         (css-mode): Use them.
3747         (css-navigation-syntax-table): Remove var.
3748         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3749         (css-indent-calculate, css-indent-line): Remove functions.
3751         Misc changes to reduce use of `(lambda...); and other cleanups.
3752         * cus-edit.el: Use lexical-binding.
3753         (customize-push-and-save, customize-apropos)
3754         (custom-buffer-create-internal): Use closures.
3755         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3756         * progmodes/ada-xref.el: Use setq.
3757         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3758         * dframe.el: Use lexical-binding.
3759         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
3760         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3761         * descr-text.el: Use lexical-binding.
3762         (describe-text-widget, describe-text-sexp, describe-property-list):
3763         Use closures.
3764         * comint.el (comint-history-isearch-push-state): Use a closure.
3765         * calculator.el: Use lexical-binding.
3766         (calculator-number-to-string): Make it work with lexical-binding.
3767         (calculator-funcall): Same and use cl-letf.
3769         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3770         (lisp--company-doc-string, lisp--company-location): New functions.
3771         (lisp-completion-at-point): Use them to improve Company support.
3773         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3774         params of lambda expressions.
3775         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3776         (ruby-smie--opening-pipe-p): New function.
3777         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3778         symbols and matched |...| for formal params.
3779         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3780         from being treated as hanging.  Handle "rescue".
3782 2013-08-29  Glenn Morris  <rgm@gnu.org>
3784         * progmodes/cc-engine.el (c-pull-open-brace):
3785         Move definition before use.
3787 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3789         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3790         are immutable.  Don't use `unsafe' any more.
3791         (cl--defsubst-expand): Don't substitute at the same time as keeping
3792         a residual unused let-binding.  Don't use `unsafe' any more.
3794 2013-08-29  Glenn Morris  <rgm@gnu.org>
3796         * calendar/cal-china.el (calendar-chinese-year-cache):
3797         Recenter on 2015.
3799         * nxml/nxml-util.el (nxml-debug-clear-inside):
3800         Use cl-loop rather than loop.
3802         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3804         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3806 2013-08-28  Glenn Morris  <rgm@gnu.org>
3808         * progmodes/antlr-mode.el: No need to require cc-mode twice.
3810         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3812         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3814 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3816         * simple.el (repeat-complex-command--called-interactively-skip):
3817         New function.
3818         (repeat-complex-command): Use it (bug#14136).
3820         * progmodes/cc-mode.el: Minor cleanup of var declarations.
3821         (c-define-abbrev-table): Add `doc' argument.
3822         (c-mode-abbrev-table, c++-mode-abbrev-table)
3823         (objc-mode-abbrev-table, java-mode-abbrev-table)
3824         (idl-mode-abbrev-table, pike-mode-abbrev-table)
3825         (awk-mode-abbrev-table): Use it.
3826         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3827         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3828         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3829         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3830         Move initialization into the declaration; and remove any
3831         autoload cookie.
3833         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3834         and dynamic let binding.
3836         * vc/smerge-mode.el: Remove redundant :group args.
3838         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3839         to load-path.
3841 2013-08-28  Juri Linkov  <juri@jurta.org>
3843         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3844         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3845         (isearch-other-meta-char): Handle an undefined shifted printing
3846         character by downshifting it.  (Bug#15200)
3848 2013-08-28  Juri Linkov  <juri@jurta.org>
3850         * isearch.el (isearch-search): Change regexp error message for
3851         non-regexp searches.  (Bug#15166)
3853 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
3855         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3856         for portability to hosts where /bin/sh has problems.
3858 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3860         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3862 2013-08-27  Juri Linkov  <juri@jurta.org>
3864         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3865         in the keyboard macro.  (Bug#15126)
3867 2013-08-27  Juri Linkov  <juri@jurta.org>
3869         * isearch.el (isearch-quote-char): Comment out converting unibyte
3870         to multibyte, thus syncing with its `quoted-insert' counterpart.
3871         (Bug#15166)
3873 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
3875         * window.el (display-buffer-use-some-window): Add missing
3876         argument in call of get-largest-window (Bug#15185).
3877         Reported by Stephen Leake.
3879 2013-08-27  Glenn Morris  <rgm@gnu.org>
3881         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3883 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3885         * progmodes/python.el (python-font-lock-keywords): Don't return nil
3886         from a matcher-function unless there's no more matches (bug#15161).
3888 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
3890         * minibuffer.el: Revert change from 2013-08-20.
3892         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3893         with text property `tramp-default', if appropriate.
3894         (tramp-check-proper-host): New defun.
3895         (tramp-dissect-file-name): Do not check hostname.  Revert change
3896         of 2013-03-18.
3897         (tramp-backtrace): Make VEC-OR-PROC optional.
3899         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3900         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3901         * net/tramp-sh.el (tramp-maybe-open-connection):
3902         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3903         Apply `tramp-check-proper-host'.
3905 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
3907         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3908         lambda expression in order to have `describe-variable' display it.
3910 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
3912         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3913         BUF can be optional.  (Bug#15186)
3915 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
3917         * progmodes/flymake.el (flymake-get-real-file-name-function):
3918         Fix broken customization.  (Bug#15184)
3920 2013-08-25  Alan Mackenzie  <acm@muc.de>
3922         Improve indentation of bracelists defined by macros (without "=").
3924         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3925         expansion begins with "{", regard it as bracelist when it doesn't
3926         contain a ";".
3928         Parse C++ inher-intro when there's a template split over 2 lines.
3930         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3931         rigorously the search for "class" etc. followed by ":".
3933         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3934         random languages a regexp which never matches rather than nil.
3936         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3938         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3939         (c-awk-regexp-one-line-possibly-open-char-list-re)
3940         (c-awk-one-line-possibly-open-regexp-re)
3941         (c-awk-one-line-non-syn-ws*-re): Remove.
3942         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3943         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3944         (c-awk-space*-unclosed-regexp-/-re): New constants.
3945         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3946         aren't regexp delimiters.
3948         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3949         handling for a rare situation in AWK Mode involving unterminated
3950         strings/regexps.
3952 2013-08-23  Glenn Morris  <rgm@gnu.org>
3954         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3956         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3958         * files.el (create-file-buffer): If the result would begin with
3959         spaces, prepend a "|" instead of removing them.  (Bug#15162)
3961 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3963         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3964         text-properties (bug#15155).
3966         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3967         exist any more.
3968         (calc-keypad-redraw): Remove unused var `pad'.
3969         (calc-keypad-press): Remove unused var `menu'.
3971 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
3973         * window.el (display-buffer-pop-up-frame):
3974         Call pop-up-frame-function with BUFFER current so `make-frame' will
3975         use it as the new frame's buffer (Bug#15133).
3977 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3979         * calendar/timeclock.el: Minor cleanups.
3980         (timeclock-ask-before-exiting, timeclock-use-display-time):
3981         Use `symbol'.
3982         (timeclock-modeline-display): Define as alias before the
3983         actual definition.
3984         (timeclock-mode-line-display): Use define-minor-mode.
3985         (timeclock-day-list-template): Make it a function, add an argument.
3986         (timeclock-day-list-required, timeclock-day-list-length)
3987         (timeclock-day-list-debt, timeclock-day-list-span)
3988         (timeclock-day-list-break): Adjust calls accordingly.
3990 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3992         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3993         Use read--expression so that completion works again.
3995 2013-08-21  Sam Steingold  <sds@gnu.org>
3997         Add rudimentary inferior shell interaction
3998         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3999         (sh-set-shell): Reset it.
4000         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4001         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4003 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4005         * align.el: Use lexical-binding.
4006         (align-region): Simplify accordingly.
4008 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
4010         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4012         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4013         `non-essential' up.
4015 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
4017         * net/tramp.el:
4018         * net/tramp-adb.el:
4019         * net/tramp-cmds.el:
4020         * net/tramp-ftp.el:
4021         * net/tramp-gvfs.el:
4022         * net/tramp-gw.el:
4023         * net/tramp-sh.el: Don't wrap external variable declarations by
4024         `eval-when-compile'.
4026 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4028         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4029         now that Emacs supports ImageMagick animations.
4031 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
4033         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4034         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4036 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
4038         * window.el (mouse-autoselect-window-select): Do autoselect when
4039         mouse pointer is on margin.
4041 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
4043         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
4045 2013-08-16  Glenn Morris  <rgm@gnu.org>
4047         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4048         Handle "Remote Directory" response of some clients.  (Bug#15058)
4050         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4051         Tweak warning.  (Bug#14926)
4053         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4054         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
4056         * image-mode.el (image-mode-map): Add menu items to reverse,
4057         increase, decrease, reset animation speed.
4058         (image--set-speed, image-increase-speed, image-decrease-speed)
4059         (image-reverse-speed, image-reset-speed): New functions.
4060         (image-mode-map): Add bindings for speed commands.
4062         * image.el (image-animate-get-speed, image-animate-set-speed):
4063         New functions.
4064         (image-animate-timeout): Respect image :speed property.
4066 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4068         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4069         previous line (bug#15101).
4070         (debugger-eval-expression, debugger-record-expression):
4071         Use read--expression (bug#15102).
4073 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
4075         Remove byte compiler warnings, visible when compiling with
4076         `byte-compile-force-lexical-warnings' set to t.
4078         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4079         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4080         (tramp-handle-unhandled-file-name-directory)
4081         (tramp-handle-file-notify-add-watch, tramp-action-login)
4082         (tramp-action-succeed, tramp-action-permission-denied)
4083         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4084         arguments with "_".
4086         * net/tramp-adb.el (tramp-adb-parse-device-names)
4087         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4088         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4089         (tramp-adb-handle-file-truename): Remove unused arguments.
4091         * net/tramp-cache.el (tramp-flush-directory-property)
4092         (tramp-flush-connection-property, tramp-list-connections)
4093         (tramp-parse-connection-properties): Prefix unused arguments with "_".
4095         * net/tramp-compat.el (tramp-compat-make-temp-file):
4096         Rename FILENAME to F.
4098         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4099         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4100         (tramp-zeroconf-parse-workstation-device-names)
4101         (tramp-zeroconf-parse-webdav-device-names)
4102         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4104         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4105         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4107         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4108         arguments.
4109         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4110         (tramp-sh-handle-insert-file-contents-literally)
4111         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4112         with "_".
4113         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4114         Remove unused variables.
4116         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4117         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4118         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4120         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4121         Make them a defconst.
4122         (tramp-uuencode-region): Remove unused variable.
4124 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
4126         * frameset.el (frameset--prop-setter): New function.
4127         (frameset-prop): Add gv-setter declaration.
4128         (frameset-filter-minibuffer): Deal with the case that the minibuffer
4129         parameter was already set in FILTERED.  Doc fix.
4130         (frameset--record-minibuffer-relationships): Allow saving a
4131         minibufferless frame without its corresponding minibuffer frame.
4132         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4133         frame, if the frame id matches.
4134         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4135         frames before orphaned ones.
4136         (frameset-restore): Warn about orphaned windows, instead of error out.
4138 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
4140         * window.el (window-make-atom): Don't overwrite parameter
4141         already present.
4142         (display-buffer-in-atom-window): Handle special case where we
4143         split an already atomic window.
4144         (window--major-non-side-window, display-buffer-in-side-window)
4145         (window--side-check): Ignore minibuffer window when walking
4146         window tree.
4147         (window-deletable-p): Return 'frame only if no other frame uses
4148         our minibuffer window.
4149         (record-window-buffer): Run buffer-list-update-hook.
4150         (split-window): Make sure window--check-frame won't destroy an
4151         existing atomic window in case the new window gets nested
4152         inside.
4153         (display-buffer-at-bottom): Ignore minibuffer window when
4154         walking window tree.  Don't split a side window.
4155         (pop-to-buffer): Don't set-buffer here, the select-window call
4156         should do that.
4157         (mouse-autoselect-window-select): Autoselect only if we are in the
4158         text portion of the window.
4160 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4162         * net/shr.el (shr-parse-image-data): New function to grab both the
4163         data itself and the Content-Type.
4164         (shr-put-image): Use it.
4166         * net/eww.el (eww-display-image): Ditto.
4168         * image.el (image-content-type-suffixes): New variable.
4170 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4172         * progmodes/python.el (python-imenu--build-tree)
4173         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4175 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
4177         * simple.el (backward-word): Mention the optional argument.
4179 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4181         * frameset.el (frameset--make): Rename constructor from make-frameset.
4182         (frameset-p, frameset-valid-p): Don't autoload.
4183         (frameset-valid-p): Use normal accessors.
4185 2013-08-13  Glenn Morris  <rgm@gnu.org>
4187         * progmodes/compile.el (compile-command): Tweak example in doc.
4188         * obsolete/scribe.el (scribe-mode):
4189         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
4191         * mail/feedmail.el (feedmail-confirm-outgoing)
4192         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4194         * cus-start.el (truncate-partial-width-windows): Fix type.
4196         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4198         * net/shr.el (shr-table-horizontal-line): Fix custom type.
4200 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4202         * emacs-lisp/timer.el (timer--time-setter): New function.
4203         (timer--time): Use it as gv-setter.
4205         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4206         setter is not a symbol.
4208 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
4210         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4211         if sending fails.  This makes debugging easier.
4213 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
4215         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4216         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4217         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4219 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
4221         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4223 2013-08-12  Glenn Morris  <rgm@gnu.org>
4225         * format.el (format-annotate-function):
4226         Handle read-only text properties in the source.  (Bug#14887)
4228 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4230         * net/eww.el (eww-display-html): Ignore coding system errors.
4231         One web site uses "utf-8lias" as the coding system.
4233 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
4235         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4237 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
4239         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4240         (tutorial--detailed-help): Remove unused local variables.
4241         (tutorial--save-tutorial-to): Use ignore-errors.
4242         (help-with-tutorial): Use looking-at-p.
4244         * view.el (view-buffer-other-window, view-buffer-other-frame):
4245         Mark unused arguments.
4247         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4248         (woman-select-symbol-fonts, woman, woman-find-file)
4249         (woman-insert-file-contents, woman-non-underline-faces):
4250         Use string-match-p.
4251         (woman1-unquote): Move declaration.
4253         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4254         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
4255         argument.  Remove unused local variable.
4256         (xml-parse-elem-type): Use string-match-p.
4257         (xml-substitute-numeric-entities): Use ignore-errors.
4259         * calculator.el (calculator): Mark unused argument.
4260         (calculator-paste, calculator-quit, calculator-integer-p):
4261         Use ignore-errors.
4262         (calculator-string-to-number, calculator-decimal, calculator-exp)
4263         (calculator-op-or-exp): Use string-match-p.
4265         * dired.el (dired-buffer-more-recently-used-p): Declare.
4266         (dired-insert-set-properties, dired-insert-old-subdirs):
4267         Use ignore-errors.
4269         * dired-aux.el (dired-compress): Use ignore-errors.
4270         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4271         (dired-do-async-shell-command, dired-do-shell-command)
4272         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4273         (dired-insert-subdir-validate): Use string-match-p.
4274         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4275         (dired-add-entry): Use string-match-p, looking-at-p.
4276         (dired-insert-subdir-newpos): Remove unused local variable.
4278         * filenotify.el (file-notify-callback): Remove unused local variable.
4280         * filesets.el (filesets-error): Mark unused argument.
4281         (filesets-which-command-p, filesets-filter-dir-names)
4282         (filesets-directory-files, filesets-get-external-viewer)
4283         (filesets-ingroup-get-data): Use string-match-p.
4285         * find-file.el (ff-other-file-name, ff-other-file-name)
4286         (ff-find-the-other-file, ff-cc-hh-converter):
4287         Remove unused local variables.
4288         (ff-get-file-name): Use string-match-p.
4289         (ff-all-dirs-under): Use ignore-errors.
4291         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4292         (follow-select-if-visible): Remove unused local variable.
4294         * forms.el (read-file-filter): Move declaration.
4295         (forms--make-format, forms--make-parser, forms-insert-record):
4296         Quote function with #'.
4297         (forms--update): Use string-match-p.  Quote function with #'.
4299         * help-mode.el (help-dir-local-var-def): Mark unused argument.
4300         (help-make-xrefs): Use looking-at-p.
4301         (help-xref-on-pp): Use looking-at-p, ignore-errors.
4303         * ibuffer.el (ibuffer-ext-visible-p): Declare.
4304         (ibuffer-confirm-operation-on): Use string-match-p.
4306         * msb.el (msb-item-handler, msb-dired-item-handler):
4307         Mark unused arguments.
4309         * ses.el (ses-decode-cell-symbol)
4310         (ses-kill-override): Remove unused local variable.
4311         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4312         (ses-load): Use ignore-errors, looking-at-p.
4313         (ses-jump-safe): Use ignore-errors.
4314         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4316         * tabify.el (untabify, tabify): Mark unused arguments.
4318         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4319         Mark unused argument.
4320         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4321         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4323         * emacs-lisp/timer.el (timer--time): Define setter with
4324         gv-define-setter to avoid deprecation warning.
4326         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4327         (*record-cmpl-statistics-p*): Remove (was commented out).
4328         (cmpl-statistics-block): Remove (body was commented out).
4329         All callers changed.
4330         (add-completions-from-buffer, load-completions-from-file):
4331         Remove unused variables.
4333 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4335         * filecache.el (file-cache-delete-file-list):
4336         Print message only when told so.
4337         (file-cache-files-matching): Use #' in mapconcat argument.
4339         * ffap.el (ffap-url-at-point): Fix reference to variable
4340         thing-at-point-default-mail-uri-scheme.
4342 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4344         * subr.el (define-error): New function.
4345         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4346         error-file-not-found and define with define-error.
4347         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4348         and define with define-error.
4349         * userlock.el (file-locked, file-supersession):
4350         * simple.el (mark-inactive):
4351         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4352         * progmodes/ada-mode.el (ada-mode-errors):
4353         * play/life.el (life-extinct):
4354         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4355         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4356         * nxml/rng-util.el (rng-error):
4357         * nxml/rng-uri.el (rng-uri-error):
4358         * nxml/rng-match.el (rng-compile-error):
4359         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4360         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4361         * nxml/nxml-rap.el (nxml-scan-error):
4362         * nxml/nxml-outln.el (nxml-outline-error):
4363         * net/soap-client.el (soap-error):
4364         * net/gnutls.el (gnutls-error):
4365         * net/ange-ftp.el (ftp-error):
4366         * mpc.el (mpc-proc-error):
4367         * json.el (json-error, json-readtable-error, json-unknown-keyword)
4368         (json-number-format, json-string-escape, json-string-format)
4369         (json-key-format, json-object-format):
4370         * jka-compr.el (compression-error):
4371         * international/quail.el (quail-error):
4372         * international/kkc.el (kkc-error):
4373         * emacs-lisp/ert.el (ert-test-failed):
4374         * calc/calc.el (calc-error, inexact-result, math-overflow)
4375         (math-underflow):
4376         * bookmark.el (bookmark-error-no-filename):
4377         * epg.el (epg-error): Define with define-error.
4379         * time.el (display-time-event-handler)
4380         (display-time-next-load-average): Don't call sit-for since it seems
4381         unnecessary (bug#15045).
4383         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4384         Use #' instead of ' to quote functions.
4385         (checkdoc-output-mode): Use setq-local.
4386         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4387         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4388         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4389         (checkdoc-ispell, checkdoc-ispell-current-buffer)
4390         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4391         (checkdoc-ispell-message-text, checkdoc-ispell-start)
4392         (checkdoc-ispell-continue, checkdoc-ispell-comments)
4393         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4395         * ido.el (ido-completion-help): Fix up compiler warning.
4397 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
4399         * frameset.el (frameset-p): Add autoload cookie.
4400         (frameset--jump-to-register): New function, based on code moved from
4401         register.el.
4402         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
4404         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4405         (frameset-restore, frameset-save, frameset-session-filter-alist):
4406         Remove declarations.
4407         (register-alist): Doc fix.
4408         (frameset-to-register): Move to frameset.el.
4409         (jump-to-register, describe-register-1): Remove frameset-specific code.
4411 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4413         * allout-widgets.el (allout-widgets-pre-command-business)
4414         (allout-widgets-post-command-business)
4415         (allout-widgets-after-change-handler)
4416         (allout-decorate-item-and-context, allout-set-boundary-marker)
4417         (allout-body-modification-handler)
4418         (allout-graphics-modification-handler): Mark ignored arguments.
4419         (allout-widgets-post-command-business)
4420         (allout-widgets-exposure-change-processor)
4421         (allout-widgets-exposure-undo-processor)
4422         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4423         (allout-parse-item-at-point, allout-decorate-item-guides)
4424         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4425         * allout.el (epa-passphrase-callback-function): Declare.
4426         (allout-overlay-insert-in-front-handler)
4427         (allout-overlay-interior-modification-handler)
4428         (allout-isearch-end-handler, allout-chart-siblings)
4429         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4430         (allout-yank-processing, allout-process-exposed)
4431         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4432         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4433         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4434         (lisp-indent-defform): Mark ignored arguments.
4435         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
4436         (calculate-lisp-indent): Remove unused variables.
4437         * international/characters.el (indian-2-column, arabic-2-column)
4438         (tibetan): Mark ignored arguments.
4439         (use-cjk-char-width-table): Mark ignored arguments.
4440         Remove unused variables.
4441         * international/fontset.el (build-default-fontset-data)
4442         (x-compose-font-name, create-fontset-from-fontset-spec):
4443         Mark ignored arguments.
4444         (fontset-plain-name): Remove unused variables.
4445         * international/mule.el (charset-id, charset-bytes, generic-char-p)
4446         (keyboard-coding-system): Mark ignored arguments.
4447         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
4448         * help.el (resize-temp-buffer-window):
4449         * window.el (display-buffer-in-major-side-window)
4450         (display-buffer-in-side-window, display-buffer-in-previous-window):
4451         Remove unused variables.
4452         * isearch.el (isearch-forward-symbol):
4453         * version.el (emacs-bzr-version-bzr):
4454         * international/mule-cmds.el (current-language-environment):
4455         * term/common-win.el (x-handle-iconic, x-handle-geometry)
4456         (x-handle-display):
4457         * term/pc-win.el (x-list-fonts, x-display-planes)
4458         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4459         (x-server-version, x-display-screens, x-display-mm-height)
4460         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4461         (x-selection-owner-p, x-own-selection-internal)
4462         (x-disown-selection-internal, x-get-selection-internal)
4463         (msdos-initialize-window-system):
4464         * term/tty-colors.el (tty-color-alist, tty-color-clear):
4465         * term/x-win.el (x-handle-no-bitmap-icon):
4466         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4467         (vc-default-find-file-hook, vc-default-extra-menu):
4468         Mark ignored arguments.
4470 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4472         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4473         break-condition in the context of the debugged code (bug#12685).
4475 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
4477         * comint.el:
4478         Do not use an overlay to highlight the last prompt.  (Bug#14744)
4479         (comint-mode): Make comint-last-prompt buffer local.
4480         (comint-last-prompt): New variable.
4481         (comint-last-prompt-overlay): Remove.  Superseded by
4482         comint-last-prompt.
4483         (comint-snapshot-last-prompt, comint-output-filter):
4484         Use comint-last-prompt.
4486 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4488         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
4489         (frameset-save): Check validity of the resulting frameset.
4491 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
4493         * ido.el (ido-record-command): Add doc string.
4495 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4497         * frameset.el (frameset): Do not disable creation of the default
4498         frameset-p predicate.  Doc fix.
4499         (frameset-valid-p): New function, copied from the old predicate-p.
4500         Add additional checks.
4501         (frameset-restore): Check with frameset-valid-p.
4502         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4503         (frameset-name, frameset-description, frameset-properties)
4504         (frameset-states): Add docstring.
4505         (frameset-session-filter-alist, frameset-persistent-filter-alist)
4506         (frameset-filter-alist): Doc fixes.
4508 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4510         * frameset.el (frameset-p, frameset-prop): Doc fixes.
4512 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4514         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4515         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4516         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4517         (byte-compile-normal-call): Remove obsolescence check.
4519 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
4521         * frameset.el (frameset-restore): Doc fix.
4523         * register.el (frameset-frame-id, frameset-frame-with-id)
4524         (frameset-p, frameset-restore, frameset-save): Declare.
4525         (register-alist): Document framesets.
4526         (frameset-session-filter-alist): Declare.
4527         (frameset-to-register): New function.
4528         (jump-to-register): Implement jumping to framesets.  Doc fix.
4529         (describe-register-1): Describe framesets.
4531         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4533 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
4535         * desktop.el (desktop-save-frameset): Use new frameset-save args.
4536         Use lexical-binding.
4538         * frameset.el (frameset): Use type vector, not list (incompatible
4539         change).  Do not declare a new constructor, use the default one.
4540         Upgrade suggested properties `app', `name' and `desc' to slots `app',
4541         `name' and `description', respectively, and add read-only slot
4542         `timestamp'.  Doc fixes.
4543         (frameset-copy, frameset-persistent-filter-alist)
4544         (frameset-filter-alist, frameset-switch-to-gui-p)
4545         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4546         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4547         (frameset-filter-iconified, frameset-keep-original-display-p):
4548         Doc fixes.
4549         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4550         Rename from frameset-filter-(save|restore)-param.  All callers changed.
4551         Doc fix.
4552         (frameset-p): Adapt to change to vector and be more thorough.
4553         Change arg name to OBJECT.  Doc fix.
4554         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
4555         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4556         All callers changed.
4557         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4558         All callers changed.
4559         (frameset--record-minibuffer-relationships): Rename from
4560         frameset--process-minibuffer-frames.  All callers changed.
4561         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4562         Use new default constructor (again).  Doc fix.
4563         (frameset--find-frame-if): Rename from `frameset--find-frame.
4564         All callers changed.
4565         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4566         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4567         Doc fix.
4568         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4569         PARAMETERS and WINDOW-STATE, respectively.
4570         (frameset-restore): Add new keyword argument PREDICATE.
4571         Reset frameset--target-display to nil.  Doc fix.
4573 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4575         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4576         (bat-mode): Use it.
4577         (bat-mode-syntax-table): Mark \n as end-of-comment.
4578         (bat-font-lock-keywords): Remove comment rule.
4580         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
4581         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
4583         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4584         (byte-compile-callargs-warn): Use `push'.
4585         (byte-compile-arglist-warn): Ignore higher-order "calls".
4586         (byte-compile-file-form-autoload): Use `pcase'.
4587         (byte-compile-function-form): If quoting a symbol, check that it exists.
4589 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
4591         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4592         and add a few popular commands found in batch files.
4593         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4594         (dos-mode): Doc fixes.
4596 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4598         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4599         (dos-mode): Use setq-local.  Add space after "rem".
4600         (dos-mode-syntax-table): Don't use "w" for symbol chars.
4601         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4603 2013-08-07  Arni Magnusson  <arnima@hafro.is>
4605         * progmodes/dos.el: New file.
4606         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4607         dos-mode.
4609 2013-08-06  Glenn Morris  <rgm@gnu.org>
4611         * calendar/calendar.el: Add new faces, and day-header-array.
4612         (calendar-weekday-header, calendar-weekend-header)
4613         (calendar-month-header): New faces.
4614         (calendar-day-header-construct): New function.
4615         (calendar-day-header-width): Also :set calendar-day-header-array.
4616         (calendar-american-month-header, calendar-european-month-header)
4617         (calendar-iso-month-header): Use calendar- faces.
4618         (calendar-generate-month):
4619         Use calendar-day-header-array for day headers; apply faces to them.
4620         (calendar-mode): Check calendar-font-lock-keywords non-nil.
4621         (calendar-abbrev-construct): Add optional maxlen argument.
4622         (calendar-day-name-array): Doc fix.
4623         (calendar-day-name-array, calendar-abbrev-length)
4624         (calendar-day-abbrev-array):
4625         Also :set calendar-day-header-array, and maybe redraw.
4626         (calendar-day-header-array): New option.  (Bug#15007)
4627         (calendar-font-lock-keywords): Set to nil and make obsolete.
4628         (calendar-day-name): Add option to use header array.
4630 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4632         * net/shr.el (shr-render-td): Remove debugging.
4633         (shr-render-td): Make width computation consistent by defaulting
4634         all zero-width columns to 10 characters.  This may not be optimal,
4635         but it's at least consistent.
4636         (shr-make-table-1): Redo last change to fix the real problem in
4637         colspan handling.
4639 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
4641         * files.el (cache-long-line-scans):
4642         Make obsolete alias to `cache-long-scans'.
4644 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
4646         * frameset.el (frameset, frameset-filter-alist)
4647         (frameset-filter-params, frameset-save, frameset--reuse-frame)
4648         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4649         (frameset-compute-pos): Rename from frameset--compute-pos,
4650         and add docstring.
4651         (frameset-move-onscreen): Use frameset-compute-pos.
4652         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4654         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4655         Fix typos in docstrings.
4657 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
4659         * frame.el (get-other-frame): Tiny cleanup.
4661 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
4663         * vc/vc.el (vc-default-ignore-completion-table):
4664         Silence byte-compiler warning.
4666         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4667         slot , which can indeed be nil.
4668         (frameset-live-filter-alist, frameset-persistent-filter-alist):
4669         Move entry for `left' from persistent to live filter alist.
4670         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4671         Doc fixes.
4672         (frameset-filter-params): When restoring a frame, copy items added to
4673         `filtered', to avoid unwittingly modifying the original parameters.
4674         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
4675         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4677         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4678         to use looking-at-p instead of looking-at.  (Bug#15028)
4680 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4682         Revert introduction of isearch-filter-predicates (bug#14714).
4683         Rely on add-function instead.
4684         * isearch.el (isearch-filter-predicates): Rename it back to
4685         isearch-filter-predicate.
4686         (isearch-message-prefix): Use advice-function-mapc and advice
4687         properties to get the isearch-message-prefix.
4688         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4689         instead of run-hook-with-args-until-failure.
4690         (isearch-filter-visible): Not obsolete any more.
4691         * loadup.el: Preload nadvice.
4692         * replace.el (perform-replace): Revert to funcall
4693         instead of run-hook-with-args-until-failure.
4694         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4695         * dired-aux.el (dired-isearch-filenames-mode): Rename from
4696         dired-isearch-filenames-toggle; make it into a proper minor mode.
4697         Use add/remove-function.
4698         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4699         Call the minor-mode rather than add/remove-hook.
4700         (dired-isearch-filter-filenames):
4701         Remove isearch-message-prefix property.
4702         * info.el (Info--search-loop): New function, extracted from Info-search.
4703         Funcall isearch-filter-predicate instead of
4704         run-hook-with-args-until-failure isearch-filter-predicates.
4705         (Info-search): Use it.
4706         (Info-mode): Use isearch-filter-predicate instead of
4707         isearch-filter-predicates.
4709 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
4711         Do not call to `selected-window' where it is assumed by default.
4712         Affected functions are `window-minibuffer-p', `window-dedicated-p',
4713         `window-hscroll', `window-width', `window-height', `window-buffer',
4714         `window-frame', `window-start', `window-point', `next-window'
4715         and `window-display-table'.
4716         * abbrev.el (abbrev--default-expand):
4717         * bs.el (bs--show-with-configuration):
4718         * buff-menu.el (Buffer-menu-mouse-select):
4719         * calc/calc.el (calc):
4720         * calendar/calendar.el (calendar-generate-window):
4721         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4722         (diary-make-entry):
4723         * comint.el (send-invisible, comint-dynamic-complete-filename)
4724         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4725         * completion.el (complete):
4726         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4727         * disp-table.el (describe-current-display-table):
4728         * doc-view.el (doc-view-insert-image):
4729         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4730         * ehelp.el (with-electric-help):
4731         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4732         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4733         * emacs-lisp/helper.el (Helper-help-scroller):
4734         * emulation/cua-base.el (cua--post-command-handler-1):
4735         * eshell/esh-mode.el (eshell-output-filter):
4736         * ffap.el (ffap-gnus-wrapper):
4737         * help-macro.el (make-help-screen):
4738         * hilit-chg.el (highlight-compare-buffers):
4739         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4740         * hl-line.el (global-hl-line-highlight):
4741         * icomplete.el (icomplete-simple-completing-p):
4742         * isearch.el (isearch-done):
4743         * jit-lock.el (jit-lock-stealth-fontify):
4744         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4745         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4746         * mpc.el (mpc-tagbrowser, mpc):
4747         * net/rcirc.el (rcirc-any-buffer):
4748         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4749         * play/landmark.el (landmark-max-width, landmark-max-height):
4750         * play/zone.el (zone):
4751         * progmodes/compile.el (compilation-goto-locus):
4752         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4753         * progmodes/etags.el (find-tag-other-window):
4754         * progmodes/fortran.el (fortran-column-ruler):
4755         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4756         * progmodes/verilog-mode.el (verilog-point-text):
4757         * reposition.el (reposition-window):
4758         * rot13.el (toggle-rot13-mode):
4759         * server.el (server-switch-buffer):
4760         * shell.el (shell-dynamic-complete-command)
4761         (shell-dynamic-complete-environment-variable):
4762         * simple.el (insert-buffer, set-selective-display)
4763         (delete-completion-window):
4764         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4765         (speedbar-recenter):
4766         * startup.el (fancy-splash-head):
4767         * textmodes/ispell.el (ispell-command-loop):
4768         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4769         * tutorial.el (help-with-tutorial):
4770         * vc/add-log.el (add-change-log-entry):
4771         * vc/compare-w.el (compare-windows):
4772         * vc/ediff-help.el (ediff-indent-help-message):
4773         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4774         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4775         (ediff-setup-control-frame):
4776         * vc/emerge.el (emerge-position-region):
4777         * vc/pcvs-util.el (cvs-bury-buffer):
4778         * window.el (walk-windows, mouse-autoselect-window-select):
4779         * winner.el (winner-set-conf, winner-undo): Related users changed.
4781 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
4783         * frameset.el (frameset--set-id): Doc fix.
4784         (frameset-frame-id, frameset-frame-id-equal-p)
4785         (frameset-locate-frame-id): New functions.
4786         (frameset--process-minibuffer-frames, frameset--reuse-frame)
4787         (frameset-restore): Use them.
4789 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
4791         Do not call to `selected-frame' where it is assumed by default.
4792         Affected functions are `raise-frame', `redraw-frame',
4793         `frame-first-window', `frame-terminal' and `delete-frame'.
4794         * calendar/appt.el (appt-disp-window):
4795         * epg.el (epg-wait-for-completion):
4796         * follow.el (follow-delete-other-windows-and-split)
4797         (follow-avoid-tail-recenter):
4798         * international/mule.el (set-terminal-coding-system):
4799         * mail/rmail.el (rmail-mail-return):
4800         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4801         * progmodes/f90.el (f90-add-imenu-menu):
4802         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4803         * server.el (server-switch-buffer):
4804         * simple.el (delete-completion-window):
4805         * talk.el (talk):
4806         * term/xterm.el (terminal-init-xterm-modify-other-keys)
4807         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4808         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4809         * vc/ediff.el (ediff-documentation): Related users changed.
4810         * frame.el (selected-terminal): Remove the leftover.
4812 2013-08-05  Glenn Morris  <rgm@gnu.org>
4814         * calendar/calendar.el (calendar-generate-month):
4815         Fix for calendar-column-width != 1 + calendar-day-digit-width.
4816         (calendar-generate-month, calendar-font-lock-keywords):
4817         Fix for calendar-day-header-width > length of any day name.
4819 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
4821         * desktop.el (desktop-clear): Use new name of sort predicate.
4823         * frameset.el (frameset): Add docstring.  Move :version property to its
4824         own `version' slot.
4825         (frameset-copy): Rename from copy-frameset.
4826         (frameset-p): Check more thoroughly.
4827         (frameset-prop): Do not check for :version, which is no longer a prop.
4828         (frameset-live-filter-alist, frameset-persistent-filter-alist):
4829         Use new :never value instead of t.
4830         (frameset-filter-alist): Expand and clarify docstring.
4831         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4832         (frameset-filter-minibuffer, frameset-filter-save-param)
4833         (frameset-filter-restore-param, frameset-filter-iconified):
4834         Add pointer to docstring of frameset-filter-alist.
4835         (frameset-filter-params): Rename filter values to be more meaningful:
4836         :never instead of t, and reverse the meanings of :save and :restore.
4837         (frameset--process-minibuffer-frames): Clarify error message.
4838         (frameset-save): Avoid unnecessary and confusing call to framep.
4839         Use new BOA constructor for framesets.
4840         (frameset--reuse-list): Doc fix.
4841         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
4842         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4843         (frameset-minibufferless-first-p): Doc fix.
4844         Rename from frameset-sort-frames-for-deletion.
4845         (frameset-restore): Doc fixes.  Use new function names.
4846         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4848 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
4850         * desktop.el (desktop-restore-forces-onscreen)
4851         (desktop-restore-reuses-frames): Document :keyword constant values.
4852         (desktop-filter-parameters-alist): Remove, now identical to
4853         frameset-filter-alist.
4854         (desktop--filter-tty*): Remove, moved to frameset.el.
4855         (desktop-save-frameset, desktop-restore-frameset):
4856         Do not pass :filters argument.
4858         * frameset.el (frameset-live-filter-alist)
4859         (frameset-persistent-filter-alist): New variables.
4860         (frameset-filter-alist): Use them.  Add autoload cookie.
4861         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4862         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4863         `frameset--id' (it's supposed to be internal to frameset.el).
4864         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
4865         (frameset--initial-params): New function.
4866         (frameset--get-frame): Use it.  Doc fix.
4867         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4868         Accept :all, not 'all.
4869         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4870         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
4871         with fbound symbols.  Fix frame id matching, and remove matching ids if
4872         the frame being restored is deleted.  Obey :delete.
4874 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4876         * subr.el (macrop): New function.
4877         (text-clone--maintaining): New var.
4878         (text-clone--maintain): Rename from text-clone-maintain.  Use it
4879         instead of inhibit-modification-hooks.
4881         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4882         a proxy, so as handle autoloads and redefinitions of the target.
4883         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4885         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4886         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
4887         (pcase--mutually-exclusive-p): New function.
4888         (pcase--split-consp): Use it.
4889         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
4890         mutually exclusive with the current predicate.
4892         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4893         (edebug-macrop): Remove.  Use `macrop' instead.
4894         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
4895         (ad-macro-p):
4896         * eshell/esh-cmd.el (eshell-macrop):
4897         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
4899 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4901         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4902         (advice-mapc): New function, using it.
4903         (advice-function-member-p): New function.
4904         (advice--normalize): Store the cdr in advice--saved-rewrite since
4905         that's the part that will be changed.
4906         (advice--symbol-function): New function.
4907         (advice-remove): Handle removal before the function is defined.
4908         Adjust to new advice--saved-rewrite.
4909         (advice-member-p): Use advice-function-member-p and
4910         advice--symbol-function.
4912 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
4914         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4915         (frameset-filter-minibuffer): Doc fix.
4916         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
4917         (frameset--set-id, frameset--process-minibuffer-frames)
4918         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4919         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4921         * desktop.el (desktop-clear): Only delete frames when called
4922         interactively and desktop-restore-frames is non-nil.  Doc fix.
4923         (desktop-read): Set desktop-saved-frameset to nil.
4925 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
4927         * vc/vc.el (vc-ignore): Rewrite.
4928         (vc-default-ignore-completion-table):
4929         (vc--read-lines):
4930         (vc--add-line, vc--remove-regexp): New functions.
4932         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4933         (vc-svn-ignore-completion-table): New function.
4935         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4936         (vc-hg-ignore-completion-table):
4937         (vc-hg-find-ignore-file): New functions.
4939         * vc/vc-git.el (vc-git-ignore): Rewrite.
4940         (vc-git-ignore-completion-table):
4941         (vc-git-find-ignore-file): New functions.
4943         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4945         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4946         (vc-bzr-ignore-completion-table):
4947         (vc-bzr-find-ignore-file): New functions.
4949 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
4951         * frameset.el (frameset-prop): New function and setter.
4952         (frameset-save): Do not modify frame list passed by the caller.
4954 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4956         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4958 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4960         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4961         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4963         * custom.el (custom-initialize-default, custom-initialize-set)
4964         (custom-initialize-reset, custom-initialize-changed): Affect the
4965         toplevel-default-value (bug#6275, bug#14586).
4966         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4967         for bug#6275.
4969 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
4971         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4972         Add cl-def* expressions.
4974         * frameset.el (frameset-filter-params): Fix order of arguments.
4976 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
4978         Move code related to saving frames to frameset.el.
4979         * desktop.el: Require frameset.
4980         (desktop-restore-frames): Doc fix.
4981         (desktop-restore-reuses-frames): Rename from
4982         desktop-restoring-reuses-frames.
4983         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4984         (desktop-clear): Clear frames too.
4985         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4986         (desktop--filter-tty*, desktop-save, desktop-read):
4987         Use frameset functions.
4988         (desktop-before-saving-frames-functions, desktop--filter-*-color)
4989         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4990         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4991         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4992         (desktop--process-minibuffer-frames, desktop-save-frames)
4993         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4994         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4995         (desktop--sort-states, desktop-restoring-frames-p)
4996         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
4997         (desktop-restoring-frameset-p, desktop-restore-frameset)
4998         (desktop--check-dont-save, desktop-save-frameset): New functions.
4999         (desktop--app-id): New constant.
5000         (desktop-first-buffer, desktop-buffer-ok-count)
5001         (desktop-buffer-fail-count): Move before first use.
5002         * frameset.el: New file.
5004 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5006         * files.el: Use lexical-binding.
5007         (dir-locals-read-from-file): Remove unused `err' variable.
5008         (hack-dir-local-variables--warned-coding): New var.
5009         (hack-dir-local-variables): Use it to avoid repeated warnings.
5010         (make-backup-file-name--default-function): New function.
5011         (make-backup-file-name-function): Use it as default.
5012         (buffer-stale--default-function): New function.
5013         (buffer-stale-function): Use it as default.
5014         (revert-buffer-insert-file-contents--default-function): New function.
5015         (revert-buffer-insert-file-contents-function): Use it as default.
5016         (insert-directory): Avoid add-to-list.
5018         * autorevert.el (auto-revert-handler): Simplify.
5019         Use buffer-stale--default-function.
5021 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
5023         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5025         * whitespace.el (whitespace-ensure-local-variables): New function.
5026         (whitespace-cleanup-region): Call it.
5027         (whitespace-turn-on): Call it.
5029 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
5031         Complete file name handlers.
5033         * net/tramp.el (tramp-handle-set-visited-file-modtime)
5034         (tramp-handle-verify-visited-file-modtime)
5035         (tramp-handle-file-notify-rm-watch): New functions.
5036         (tramp-call-process): Do not bind `default-directory'.
5038         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5039         Order alphabetically.
5040         [access-file, add-name-to-file, dired-call-process]:
5041         [dired-compress-file, file-acl, file-notify-rm-watch]:
5042         [file-ownership-preserved-p, file-selinux-context]:
5043         [make-directory-internal, make-symbolic-link, set-file-acl]:
5044         [set-file-selinux-context, set-visited-file-modtime]:
5045         [verify-visited-file-modtime]: Add handler.
5046         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5048         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5049         [file-notify-add-watch, file-notify-rm-watch]:
5050         [set-file-times, set-visited-file-modtime]:
5051         [verify-visited-file-modtime]: Add handler.
5052         (with-tramp-gvfs-error-message)
5053         (tramp-gvfs-handle-set-visited-file-modtime)
5054         (tramp-gvfs-fuse-file-name): Remove.
5055         (tramp-gvfs-handle-file-notify-add-watch)
5056         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5057         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5059         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5060         Order alphabetically.
5061         [file-notify-rm-watch ]: Use default Tramp handler.
5062         [executable-find]: Remove private handler.
5063         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5064         `default-directory'.
5065         (tramp-sh-handle-executable-find)
5066         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5067         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5068         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5069         Do not use `format' in `tramp-message'.
5071         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5072         [file-notify-rm-watch, set-visited-file-modtime]:
5073         [verify-visited-file-modtime]: Add handler.
5074         (tramp-smb-call-winexe): Do not bind `default-directory'.
5076 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
5078         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5080 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
5082         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5083         use it.
5084         (log-view-diff-changeset): Same.
5085         (log-view-diff-common): Call backend command `previous-revision'
5086         to find out the previous revision, in both cases.  Swap the
5087         variables `to' and `fr', so that `fr' usually refers to the
5088         earlier revision (Bug#14989).
5090 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
5092         * ibuf-ext.el (ibuffer-filter-by-filename):
5093         Make it work with dired buffers too.
5095 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
5097         * emacs-lisp/re-builder.el (reb-color-display-p):
5098         * files.el (save-buffers-kill-terminal):
5099         * net/browse-url.el (browse-url):
5100         * server.el (server-save-buffers-kill-terminal):
5101         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5102         Prefer nil to selected-frame for the first arg of frame-parameter.
5104 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
5106         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5108 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
5110         * minibuffer.el (completion--twq-all): Try and preserve each
5111         completion's case choice (bug#14907).
5113 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5115         * net/network-stream.el (open-network-stream): Mention the new
5116         :nogreeting parameter.
5117         (network-stream-open-starttls): Use the :nogreeting parameter
5118         (bug#14938).
5120         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5122         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5123         more natural than popping.
5125         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5126         (shr-urlify): Highlight under mouse.
5128 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5130         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5132         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5134         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
5135         buffer for output.
5137         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
5138         point-min==1.  Fix search string.  Fix parentheses missing.
5140         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
5141         assume point-min==1.  Fix search string.  Fix parentheses missing.
5143         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5145         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
5146         buffer for output.
5148 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
5150         * frame.el (frame-notice-user-settings): Avoid inflooping when the
5151         initial frame is minibuffer-less.  (Bug#14841)
5153 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
5155         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5156         option.
5158         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5159         (tramp-maybe-open-connection): Use it.
5161 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5163         * desktop.el (desktop--make-frame): Include `minibuffer' in the
5164         minimal set of parameters passed when creating a frame, because
5165         the minibuffer status of a frame cannot be changed later.
5167 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
5169         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5170         replace-regexp-in-string and inadvertent omissions in previous change.
5171         (todo-filter-items): Ensure only file names are comma-separated in
5172         name of filtered items buffer.
5174 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
5176         * desktop.el: Optionally force offscreen frames back onscreen.
5177         (desktop-restoring-reuses-frames): New option.
5178         (desktop--compute-pos, desktop--move-onscreen): New functions.
5179         (desktop--make-frame): Use desktop--move-onscreen.
5181 2013-07-27  Alan Mackenzie  <acm@muc.de>
5183         Fontify a Java generic method as a function.
5184         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5185         value to t.
5187 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
5189         * calendar/todo-mode.el: Add command to rename todo files.
5190         (todo-rename-file): New command.
5191         (todo-key-bindings-t): Add key binding for it.  Change the
5192         bindings of todo-filter-regexp-items(-multifile) to use `x'
5193         instead of `r', since the latter is better suited to the new
5194         renaming command.
5196 2013-07-27  Alan Mackenzie  <acm@muc.de>
5198         Make Java try-with-resources statement parse properly.
5199         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5200         (c-block-stmt-1-2-key): New language constants/variables.
5201         * progmodes/cc-engine.el (c-beginning-of-statement-1)
5202         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5203         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5204         with c-block-stmt-1-2-key.
5206 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
5208         * desktop.el (desktop--make-frame): Apply most frame parameters after
5209         creating the frame to force (partially or totally) offscreen frames to
5210         be restored as such.
5212 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
5214         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5215         (Bug#14948)
5217 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5219         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5220         `base' arg of backtrace-frame.
5222 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
5224         * simple.el (list-processes): Doc fix.
5226 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5228         * desktop.el (desktop--select-frame):
5229         Try harder to reuse existing frames.
5231 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5233         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5234         (edebug-eval): Use backtrace-eval.
5235         (edebug--display, edebug--recursive-edit): Don't let-bind the
5236         edebug-outer-* vars that keep track of variables we locally let-bind.
5237         (edebug-outside-excursion): Don't restore outside values of locally
5238         let-bound vars.
5239         (edebug--display): Use user-error.
5240         (cl-lexical-debug, cl-debug-env): Remove.
5242 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
5244         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5245         are restored to be sure that they are visible before deleting any
5246         remaining ones.
5248 2013-07-26  Matthias Meulien  <orontee@gmail.com>
5250         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5251         vc-print-root-log.  (Bug#14948)
5253 2013-07-26  Richard Stallman  <rms@gnu.org>
5255         Add aliases for encrypting mail.
5256         * epa.el (epa-mail-aliases): New option.
5257         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5258         Bind inhibit-read-only so read-only text doesn't ruin everything.
5259         (epa-mail-default-recipients): New subroutine broken out.
5260         Handle epa-mail-aliases.
5262 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5264         Add support for lexical variables to the debugger's `e' command.
5265         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5266         vars, except for debugger-outer-match-data.
5267         (debugger-frame-number): Move check for "on a function call" from
5268         callers into it.  Add `skip-base' argument.
5269         (debugger-frame, debugger-frame-clear): Simplify accordingly.
5270         (debugger-env-macro): Only reset the state stored in non-variables,
5271         i.e. current-buffer and match-data.
5272         (debugger-eval-expression): Rewrite using backtrace-eval.
5273         * subr.el (internal--called-interactively-p--get-frame): Remove.
5274         (called-interactively-p):
5275         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5276         `base' arg of backtrace-frame instead.
5278 2013-07-26  Glenn Morris  <rgm@gnu.org>
5280         * align.el (align-regexp): Doc fix.  (Bug#14857)
5281         (align-region): Explicit error if subexpression missing/does not match.
5283         * simple.el (global-visual-line-mode):
5284         Do not duplicate the mode lighter.  (Bug#14858)
5286 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
5288         * window.el (display-buffer): In display-buffer bind
5289         split-window-keep-point to t, bug#14829.
5291 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5293         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5294         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5295         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5296         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5297         Change accordingly.
5298         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5299         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5301 2013-07-25  Glenn Morris  <rgm@gnu.org>
5303         * dired-x.el (dired-mark-extension): Convert comment to doc string.
5305 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
5307         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5308         parameter to modify-frame-parameters if the value has not changed;
5309         this is a workaround for bug#14949.
5310         (desktop--make-frame): On cl-delete-if call, check parameter name,
5311         not full parameter.
5313 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
5315         * vc/vc.el (vc-ignore): New function.
5317         * vc/vc-svn.el (vc-svn-ignore): New function.
5319         * vc/vc-hg.el (vc-hg-ignore): New function.
5321         * vc/vc-git.el (vc-git-ignore): New function.
5323         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5324         (vc-dir-ignore): New function.
5326         * vc/vc-cvs.el (vc-cvs-ignore): New function.
5327         (cvs-append-to-ignore): Move here from pcvs.el.
5329         * vc/vc-bzr.el (vc-bzr-ignore): New function.
5331         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5333 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
5335         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5336         (desktop-restore-frames): Warn when deleting an existing frame failed.
5338 2013-07-24  Glenn Morris  <rgm@gnu.org>
5340         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
5342 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
5344         * filenotify.el (file-notify-supported-p):
5345         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5346         Remove functions.
5348         * autorevert.el (auto-revert-use-notify):
5349         (auto-revert-notify-add-watch):
5350         * net/tramp.el (tramp-file-name-for-operation):
5351         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5352         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5353         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5354         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5355         Remove `file-notify-supported-p' entry.
5357 2013-07-24  Glenn Morris  <rgm@gnu.org>
5359         * printing.el: Replace all uses of deleted ps-windows-system,
5360         ps-lp-system, ps-flatten-list with lpr- versions.
5362 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5364         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5365         checked with memq (bug#14935).
5367         * files.el (revert-buffer-function): Use a non-nil default.
5368         (revert-buffer-preserve-modes): Declare var to
5369         provide access to the `preserve-modes' argument.
5370         (revert-buffer): Let-bind it.
5371         (revert-buffer--default): New function, extracted from revert-buffer.
5373 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5375         * lpr.el: Signal print errors more prominently.
5376         (print-region-function): Don't default to nil.
5377         (lpr-print-region): New function, extracted from print-region-1.
5378         Check lpr's return value and signal an error in case of problem.
5379         (print-region-1): Use it.
5380         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
5381         versions instead.
5382         (ps-printer-name): Default to nil.
5383         (ps-printer-name-option): Default to lpr-printer-switch.
5384         (ps-print-region-function): Don't default to nil.
5385         (ps-postscript-code-directory): Simplify default.
5386         (ps-do-despool): Use lpr-print-region to properly check the outcome.
5387         (ps-string-list, ps-eval-switch, ps-flatten-list)
5388         (ps-flatten-list-1): Remove.
5389         (ps-multibyte-buffer): Avoid setq.
5390         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5391         (print-region-function, ps-print-region-function): Don't set them here.
5393 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
5395         * ido.el (ido-fractionp):
5396         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5397         (ido-max-file-prompt-width, ido-unc-hosts-cache)
5398         (ido-max-directory-size, ido-max-dir-file-cache)
5399         (ido-decorations): Doc fix.
5401         * ansi-color.el: Fix old URL.
5403 2013-07-23  Michael R. Mauger  <michael@mauger.com>
5405         * progmodes/sql.el: Version 3.3
5406         (sql-product-alist): Improve oracle :prompt-cont-regexp.
5407         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5408         (sql-interactive-remove-continuation-prompt): Rewrite, use
5409         functions above.  Fix continuation prompt and complete output line
5410         handling.
5411         (sql-redirect-one, sql-execute): Use `read-only-mode' on
5412         redirected output buffer.
5413         (sql-mode): Restore deleted code (Bug#13591).
5415 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5417         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5419 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
5421         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5423         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5424         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5425         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5427 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
5429         * desktop.el (desktop-clear): Simplify; remove useless checks
5430         against invalid buffer names.
5431         (desktop-list*): Use cl-list*.
5432         (desktop-buffer-info, desktop-create-buffer): Simplify.
5434 2013-07-23  Leo Liu  <sdl.web@gmail.com>
5436         * bookmark.el (bookmark-make-record): Restore NAME as a default
5437         value.  (Bug#14933)
5439 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5441         * emacs-lisp/autoload.el (autoload--setup-output): New function,
5442         extracted from autoload--insert-text.
5443         (autoload--insert-text): Remove.
5444         (autoload--print-cookie-text): New function, extracted from
5445         autoload--insert-cookie-text.
5446         (autoload--insert-cookie-text): Remove.
5447         (autoload-generate-file-autoloads): Adjust calls accordingly.
5449         * winner.el (winner-hook-installed-p): Remove.
5450         (winner-mode): Simplify accordingly.
5452         * subr.el (add-to-list): Fix compiler-macro when `append' is
5453         not constant.  Don't use `cl-member' for the base case.
5455         * progmodes/subword.el: Fix boundary case (bug#13758).
5456         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
5457         own group.
5458         (subword-backward-regexp): Make it a constant.
5459         (subword-forward-internal): Don't treat a trailing capital as the
5460         beginning of a word.
5462 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
5464         * emacs-lisp/package.el (package-menu-mode): Don't modify the
5465         global value of tabulated-list-revert-hook (bug#14930).
5467 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
5469         * desktop.el: Require 'cl-lib.
5470         (desktop-before-saving-frames-functions): New hook.
5471         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5472         for frames being saved.  Rename from desktop--save-minibuffer-frames.
5473         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5474         Do not save frames with non-nil `desktop-dont-save' parameter.
5475         Filter out deleted frames.
5476         (desktop--find-frame): Use cl-find-if.
5477         (desktop--select-frame): Use cl-(first|second|third) to access values
5478         of desktop-mini.
5479         (desktop--make-frame): Use cl-delete-if.
5480         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5481         (desktop-restore-frames): Use cl-(first|second|third) to access values
5482         of desktop-mini.  Look for visible frame at the end, not while
5483         restoring frames.
5485         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5486         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5487         Use string-match-p, looking-at-p (bug#14927).
5489 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
5491         * desktop.el (desktop-saved-frame-states):
5492         Rename from desktop--saved-states; all users changed.
5493         (desktop-save-frames): Rename from desktop--save-frames.
5494         Do not save state to desktop file.
5495         (desktop-save): Save desktop-saved-frame-states to desktop file
5496         and reset to nil.
5497         (desktop-restoring-frames-p): New function.
5498         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
5499         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
5500         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
5502         * desktop.el: Correctly restore iconified frames.
5503         (desktop--filter-iconified-position): New function.
5504         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5506 2013-07-20  Glenn Morris  <rgm@gnu.org>
5508         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5509         Let `message' do the formatting.
5510         (def-gdb-preempt-display-buffer): Add explicit format.
5512         * image-dired.el (image-dired-track-original-file):
5513         Use with-current-buffer.
5514         (image-dired-track-thumbnail): Use with-current-buffer.
5515         Avoid changing point of wrong window.
5517         * image-dired.el (image-dired-track-original-file):
5518         Avoid changing point of wrong window.  (Bug#14909)
5520 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
5522         * progmodes/gdb-mi.el (gdb-done-or-error):
5523         Guard against "%" in gdb output.  (Bug#14127)
5525 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
5527         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5528         (Bug#14826)
5530         * international/mule.el (coding-system-iso-2022-flags): Fix last
5531         change.
5533 2013-07-20  Kenichi Handa  <handa@gnu.org>
5535         * international/mule.el (coding-system-iso-2022-flags):
5536         Add `8-bit-level-4'.  (Bug#8522)
5538 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5540         * net/shr.el (shr-mouse-browse-url): New command and keystroke
5541         (bug#14815).
5543         * net/eww.el (eww-process-text-input): Allow inputting when the
5544         point is at the start of the line, as the properties aren't
5545         front-sticky.
5547         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5548         degenerate widths.
5550 2013-07-19  Richard Stallman  <rms@gnu.org>
5552         * epa.el (epa-popup-info-window): Doc fix.
5554         * subr.el (split-string): New arg TRIM.
5556 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
5558         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5559         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5561 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
5563         * filenotify.el (file-notify--library): Rename from
5564         `file-notify-support'.  Do not autoload.  Adapt all uses.
5565         (file-notify-supported-p): New defun.
5567         * autorevert.el (auto-revert-use-notify):
5568         Use `file-notify-supported-p' instead of `file-notify-support'.
5569         Adapt docstring.
5570         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5572         * net/tramp.el (tramp-file-name-for-operation):
5573         Add `file-notify-supported-p'.
5575         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5576         New defun.
5577         (tramp-sh-file-name-handler-alist): Add it as handler for
5578         `file-notify-supported-p '.
5580         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5581         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5582         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5583         Add `ignore' as handler for `file-notify-*' functions.
5585 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
5587         * simple.el (line-move-partial, line-move): Don't start vscroll or
5588         scroll-up if the current line is not taller than the window.
5589         (Bug#14881)
5591 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
5593         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5594         highlight question marks in the method names as strings.
5595         (ruby-block-beg-keywords): Inline.
5596         (ruby-font-lock-keyword-beg-re): Extract from
5597         `ruby-font-lock-keywords'.
5599 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
5601         * frame.el (blink-cursor-blinks): New defcustom.
5602         (blink-cursor-blinks-done): New defvar.
5603         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5604         (blink-cursor-timer-function): Check if number of blinks has been
5605         done on X and NS.
5606         (blink-cursor-suspend, blink-cursor-check): New defuns.
5608 2013-07-15  Glenn Morris  <rgm@gnu.org>
5610         * edmacro.el (edmacro-format-keys): Fix previous change.
5612 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
5614         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5615         The hack didn't work outside English locales anyway.
5617 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
5619         * simple.el (define-alternatives): Rename from alternatives-define,
5620         per RMS' suggestion.
5622 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
5624         * desktop.el (desktop-restore-frames): Change default to t.
5625         (desktop-restore-in-current-display): Now offer more options.
5626         (desktop-restoring-reuses-frames): New customization option.
5627         (desktop--saved-states): Doc fix.
5628         (desktop-filter-parameters-alist): New variable, renamed and expanded
5629         from desktop--excluded-frame-parameters.
5630         (desktop--target-display): New variable.
5631         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5632         (desktop--filter-tty*, desktop--filter-*-color)
5633         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5634         (desktop--filter-save-desktop-parm)
5635         (desktop-restore-in-original-display-p): New functions.
5636         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5637         (desktop--save-minibuffer-frames): New function, inspired by a similar
5638         function from Martin Rudalics.
5639         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5640         (desktop--restore-in-this-display-p): Remove.
5641         (desktop--find-frame): Rename from desktop--find-frame-in-display
5642         and add predicate argument.
5643         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5644         (desktop--reuse-list): New variable.
5645         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5646         New functions.
5647         (desktop--restore-frames): Add support for "minibuffer-special" frames.
5649 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
5651         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5653 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
5655         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5656         Highlight conversion methods on Kernel.
5658 2013-07-13  Alan Mackenzie  <acm@muc.de>
5660         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5661         and comment it out.  This out-commenting enables certain C++
5662         declarations to be parsed correctly.
5664 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
5666         * international/mule.el (define-coding-system): Doc fix.
5668         * simple.el (default-font-height): Don't call font-info if the
5669         frame's default font didn't change since the frame was created.
5670         (Bug#14838)
5672 2013-07-13  Leo Liu  <sdl.web@gmail.com>
5674         * ido.el (ido-read-file-name): Guard against non-symbol value.
5676 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5678         * progmodes/python.el (python-imenu--build-tree): Fix corner case
5679         in nested defuns.
5681 2013-07-13  Leo Liu  <sdl.web@gmail.com>
5683         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5684         ido-set-matches call.  (Bug#6852)
5686 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
5688         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5689         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5690         Ruby 2.0.
5691         (ruby-font-lock-keywords): Distinguish calls to functions with
5692         module-like names from module references.  Highlight character
5693         literals.
5695 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
5697         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5698         (gdb-send): Handle continued commands.  (Bug#14847)
5700 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
5702         * desktop.el (desktop--v2s): Remove unused local variable.
5703         (desktop-save-buffer): Make defvar-local; adjust docstring.
5704         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5705         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5707 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
5709         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5711 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
5713         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5714         (Bug#14842)
5716 2013-07-12  Glenn Morris  <rgm@gnu.org>
5718         * doc-view.el: Require cl-lib at runtime too.
5719         (doc-view-remove-if): Remove.
5720         (doc-view-search-next-match, doc-view-search-previous-match):
5721         Use cl-remove-if.
5723         * edmacro.el: Require cl-lib at runtime too.
5724         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5725         (edmacro-mismatch, edmacro-subseq): Remove.
5727         * shadowfile.el: Require cl-lib.
5728         (shadow-remove-if): Remove.
5729         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5730         Use cl-remove-if.
5732         * wid-edit.el: Require cl-lib.
5733         (widget-choose): Use cl-remove-if.
5734         (widget-remove-if): Remove.
5736         * progmodes/ebrowse.el: Require cl-lib at runtime too.
5737         (ebrowse-delete-if-not): Remove.
5738         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5739         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5740         Use cl-delete-if-not.
5742 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
5744         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5745         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5747 2013-07-12  Leo Liu  <sdl.web@gmail.com>
5749         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
5751 2013-07-11  Glenn Morris  <rgm@gnu.org>
5753         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5754         (edebug-gensym-index, edebug-gensym):
5755         Remove reimplementation of cl-gensym.
5756         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5758         * thumbs.el: Require cl-lib at run-time too.
5759         (thumbs-gensym-counter, thumbs-gensym):
5760         Remove reimplementation of cl-gensym.
5761         (thumbs-temp-file): Use cl-gensym.
5763         * emacs-lisp/ert.el: Require cl-lib at runtime too.
5764         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5765         (ert--intersection, ert--set-difference, ert--set-difference-eq)
5766         (ert--union, ert--gensym-counter, ert--gensym-counter)
5767         (ert--coerce-to-vector, ert--remove*, ert--string-position)
5768         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5769         (ert-make-test-unbound, ert--expand-should-1)
5770         (ert--expand-should, ert--should-error-handle-error)
5771         (should-error, ert--explain-equal-rec)
5772         (ert--plist-difference-explanation, ert-select-tests)
5773         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5774         Use cl-lib functions rather than reimplementations.
5776 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
5778         * net/tramp.el (tramp-methods): Extend docstring.
5779         (tramp-connection-timeout): New defcustom.
5780         (tramp-error-with-buffer): Reset timestamp only when appropriate.
5781         (with-tramp-progress-reporter): Simplify.
5782         (tramp-process-actions): Improve messages.
5784         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5785         * net/tramp-sh.el (tramp-maybe-open-connection):
5786         Use `tramp-connection-timeout'.
5787         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5788         (Bug#14808)
5790 2013-07-11  Leo Liu  <sdl.web@gmail.com>
5792         * ido.el (ido-read-file-name): Conform to the requirements of
5793         read-file-name.  (Bug#11861)
5794         (ido-read-directory-name): Conform to the requirements of
5795         read-directory-name.
5797 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
5799         * subr.el (delay-warning): New function.
5801 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
5803         * simple.el (default-line-height): New function.
5804         (line-move-partial, line-move): Use it instead of computing the
5805         line height inline.
5806         (line-move-partial): Always compute ROWH.  If the last line is
5807         partially-visible, but its text is completely visible, allow
5808         cursor to enter such a partially-visible line.
5810 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
5812         Improve error messages.  (Bug#14808)
5814         * net/tramp.el (tramp-current-connection): New defvar, moved from
5815         tramp-sh.el.
5816         (tramp-message-show-progress-reporter-message): Remove, not
5817         needed anymore.
5818         (tramp-error-with-buffer): Show message in minibuffer.
5819         Discard input before waiting.  Reset connection timestamp.
5820         (with-tramp-progress-reporter): Improve messages.
5821         (tramp-process-actions): Use progress reporter.  Delete process in
5822         case of error.  Improve messages.
5824         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5825         Call `tramp-error-with-buffer' with vector and buffer.
5826         (tramp-current-connection): Remove.
5827         (tramp-maybe-open-connection): The car of
5828         `tramp-current-connection' are the first 3 slots of the vector.
5830 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
5832         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5833         inside continued strings.
5835 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
5837         Timestamp fixes for undo (Bug#14824).
5838         * files.el (clear-visited-file-modtime): Move here from fileio.c.
5840 2013-07-10  Leo Liu  <sdl.web@gmail.com>
5842         * files.el (require-final-newline): Allow safe local value.
5843         (Bug#14834)
5845 2013-07-09  Leo Liu  <sdl.web@gmail.com>
5847         * ido.el (ido-read-directory-name): Handle fallback.
5848         (ido-read-file-name): Update DIR to ido-current-directory.
5849         (Bug#1516)
5850         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
5852 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
5854         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5855         "autoload".  Remove "warn lower camel case" section, previously
5856         commented out.  Highlight negation char.  Do not highlight the
5857         target in singleton method definitions.
5859 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5861         * faces.el (tty-setup-hook): Declare the hook.
5863         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5864         and detect when a guard/pred depends on local vars (bug#14773).
5865         (pcase--u1): Adjust caller.
5867 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
5869         * simple.el (line-move-partial, line-move): Account for
5870         line-spacing.
5871         (line-move-partial): Avoid setting vscroll when the last
5872         partially-visible line in window is of default height.
5874 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5876         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5877         been used a while.
5879 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
5881         * subr.el (read-quoted-char): Remove unused local variable `char'.
5883 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
5885         * ediff.el (ediff-version): Version update.
5886         (ediff-files-command, ediff3-files-command, ediff-merge-command)
5887         (ediff-merge-with-ancestor-command, ediff-directories-command)
5888         (ediff-directories3-command, ediff-merge-directories-command)
5889         (ediff-merge-directories-with-ancestor-command): New functions.
5890         All are command-line interfaces to ediff: to facilitate calling
5891         Emacs with the appropriate ediff functions invoked.
5893         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5894         (viper-save-kill-buffer): Check if buffer is modified.
5896         * viper.el (viper-version): Version update.
5897         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5899 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5901         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5902         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5903         (viper-intercept-ESC-key): Simplify.
5904         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5905         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5906         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5907         (viper-setup-ESC-to-escape): New functions.
5908         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5909         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
5911 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
5913         * simple.el (default-font-height, window-screen-lines):
5914         New functions.
5915         (line-move, line-move-partial): Use them instead of
5916         frame-char-height and window-text-height.  This makes scrolling
5917         text smoother when the buffer's default face uses a font that is
5918         different from the frame's default font.
5920 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
5922         * files.el (write-file): Do not display confirm dialog for NS,
5923         it does its own dialog, which can't be cancelled (Bug#14578).
5925 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
5927         * simple.el (line-move-partial): Adjust the row returned by
5928         posn-at-point for the current window-vscroll.  (Bug#14567)
5930 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
5932         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5933         (tramp-sh-file-inotifywait-process-filter): Handle file names with
5934         spaces.
5936 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
5938         * window.el (window-state-put-stale-windows): New variable.
5939         (window--state-put-2): Save list of windows without matching buffer.
5940         (window-state-put): Remove "bufferless" windows if possible.
5942 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
5944         * simple.el (alternatives-define): Remove leftover :group keyword.
5945         Tweak docstring.
5947 2013-07-06  Leo Liu  <sdl.web@gmail.com>
5949         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5950         (ido-enable-virtual-buffers): New variable.
5951         (ido-buffer-internal, ido-toggle-virtual-buffers)
5952         (ido-make-buffer-list): Use it.
5953         (ido-exhibit): Support turning on and off virtual buffers
5954         automatically.
5956 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
5958         * simple.el (alternatives-define): New macro.
5960 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5962         * subr.el (read-quoted-char): Use read-key.
5963         (sit-for): Let read-event decode tty input (bug#14782).
5965 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
5967         * calendar/todo-mode.el: Add handling of file deletion, both by
5968         mode command and externally.  Fix various related bugs.
5969         Clarify Commentary and improve some documentation strings and code.
5970         (todo-delete-file): New command.
5971         (todo-check-file): New function.
5972         (todo-show): Handle external deletion of the file we're trying to
5973         show (bug#14688).  Replace called-interactively-p by an optional
5974         prefix argument to avoid problematic interaction with catch form
5975         when byte compiled (bug#14702).
5976         (todo-quit): Handle external deletion of the archive's todo file.
5977         Make sure the buffer that was visiting the archive file is still
5978         live before trying to bury it.
5979         (todo-category-completions): Handle external deletion of any
5980         category completion files.
5981         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5982         of todo files, in case of external deletion.
5983         (todo-add-file): Replace unnecessary setq by let-binding.
5984         (todo-find-archive): Check whether there are any archives.
5985         Replace unnecessary setq by let-binding.
5986         (todo-archive-done-item): Use find-file-noselect to get the
5987         archive buffer whether or not the archive already exists.
5988         Remove superfluous code.  Use file size instead of buffer-file-name to
5989         check if the archive is new; if it is, update list of archives.
5990         (todo-default-todo-file): Allow nil to be a valid value for when
5991         there are no todo files.
5992         (todo-reevaluate-default-file-defcustom): Use corrected definition
5993         of todo-default-todo-file.
5994         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5995         (todo-delete-category, todo-show-categories-table)
5996         (todo-category-number): Clarify comment.
5997         (todo-filter-items): Clarify documentation string.
5998         (todo-show-current-file, todo-display-as-todo-file)
5999         (todo-reset-and-enable-done-separator): Tweak documentation string.
6000         (todo-done-separator): Make separator length window-width, since
6001         bug#2749 is now fixed.
6003 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
6005         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6006         Support both "gvfs-monitor-dir" and "inotifywait".
6007         (tramp-sh-file-inotifywait-process-filter): Rename from
6008         `tramp-sh-file-notify-process-filter'.
6009         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6010         (tramp-get-remote-gvfs-monitor-dir): New defuns.
6012 2013-07-05  Leo Liu  <sdl.web@gmail.com>
6014         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6016 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6018         * frame.el (display-pixel-height, display-pixel-width)
6019         (display-mm-height, display-mm-width): Mention behavior on
6020         multi-monitor setups in docstrings.
6021         (w32-display-monitor-attributes-list): Declare function.
6022         (display-monitor-attributes-list): Use it.
6024 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
6026         * filenotify.el: New package.
6028         * autorevert.el (top): Require filenotify.el.
6029         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
6030         instead.
6031         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6032         (auto-revert-notify-handler): Use `file-notify-*' functions.
6034         * subr.el (file-notify-handle-event): Move function to filenotify.el.
6036         * net/tramp.el (tramp-file-name-for-operation):
6037         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6039         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6040         for `file-notify-add-watch' and `file-notify-rm-watch'.
6041         (tramp-process-sentinel): Improve trace.
6042         (tramp-sh-handle-file-notify-add-watch)
6043         (tramp-sh-file-notify-process-filter)
6044         (tramp-sh-handle-file-notify-rm-watch)
6045         (tramp-get-remote-inotifywait): New defuns.
6047 2013-07-03  Juri Linkov  <juri@jurta.org>
6049         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6050         call of `occur-read-primary-args' to interactive spec.
6052         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6053         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
6055 2013-07-03  Matthias Meulien  <orontee@gmail.com>
6057         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6058         `Buffer-menu-multi-occur'.  Add it to the menu.
6059         (Buffer-menu-mode): Document it in docstring.
6060         (Buffer-menu-multi-occur): New command.  (Bug#14673)
6062 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6064         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6065         keywords and built-ins.
6067 2013-07-03  Glenn Morris  <rgm@gnu.org>
6069         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
6071         Make info-xref checks case-sensitive by default
6072         * info.el (Info-find-node, Info-find-in-tag-table)
6073         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6074         Add option for exact case matching of nodes.
6075         * info-xref.el (info-xref): New custom group.
6076         (info-xref-case-fold): New option.
6077         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6079 2013-07-03  Leo Liu  <sdl.web@gmail.com>
6081         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6083 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
6085         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6086         middle of block statement initially, lower the depth.  Remove
6087         FIXME comment, not longer valid.  Remove middle of block statement
6088         detection, no need to do that anymore since we've been using
6089         `ruby-parse-region' here.
6091 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
6093         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6095 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
6097         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6099 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
6101         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6102         (desktop-restore-in-current-display): New customization option.
6103         (desktop--excluded-frame-parameters): Add `font'.
6104         (desktop--save-frames): Rename from desktop--save-windows.
6105         (desktop--restore-in-this-display-p): New function.
6106         (desktop--make-full-frame): Remove unwanted width/height from
6107         full(width|height) frames.
6108         (desktop--restore-frames): Rename from desktop--restore-windows.
6109         Obey desktop-restore-current-display.  Do not delete old frames or
6110         select a new frame unless we were able to restore at least one frame.
6112 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
6114         * files.el (find-file-noselect): Simplify conditional expression.
6116         * remember.el (remember-append-to-file):
6117         Don't mix `find-buffer-visiting' and `get-file-buffer'.
6119         Add `remember-notes' function to store random notes across Emacs
6120         restarts.
6121         * remember.el (remember-data-file): Add :set callback to affect
6122         notes buffer (if any).
6123         (remember-notes): New command.
6124         (remember-notes-buffer-name, bury-remember-notes-on-kill):
6125         New defcustoms for the `remember-notes' function.
6126         (remember-notes-save-and-bury-buffer): New command.
6127         (remember-notes-mode-map): New variable.
6128         (remember-mode): New minor mode.
6129         (remember-notes--kill-buffer-query): New function.
6130         * startup.el (initial-buffer-choice): Add notes to custom type.
6132 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
6134         * bindings.el (right-char, left-char): Don't call sit-for, this is
6135         no longer needed.  Use arithmetic comparison only for numerical
6136         arguments.
6138         * international/mule-cmds.el (select-safe-coding-system):
6139         Handle the case of FROM being a string correctly.  (Bug#14755)
6141 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6143         * net/shr.el (shr-make-table-1): Add a sanity check that allows
6144         progression on degenerate tables.
6145         (shr-rescale-image): ImageMagick animated images currently don't work.
6147 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
6149         Some fixes and improvements for desktop frame restoration.
6150         It is still experimental and disabled by default.
6151         * desktop.el (desktop--save-windows): Put the selected frame at
6152         the head of the list.
6153         (desktop--make-full-frame): New function.
6154         (desktop--restore-windows): Try to re-select the frame that was
6155         selected upon saving.  Do not abort if some frames fail to restore,
6156         just show an error message and continue.  Set up maximized frames
6157         so they have default non-maximized dimensions.
6159 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
6161         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6162         Don't start heredoc inside a string or comment.
6164 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
6166         * bindings.el (visual-order-cursor-movement): New defcustom.
6167         (right-char, left-char): Provide visual-order cursor motion by
6168         calling move-point-visually.  Update the doc strings.
6170 2013-06-28  Kenichi Handa  <handa@gnu.org>
6172         * international/mule.el (define-coding-system): New coding system
6173         properties :inhibit-null-byte-detection,
6174         :inhibit-iso-escape-detection, and :prefer-utf-8.
6175         (set-buffer-file-coding-system): If :charset-list property of
6176         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6177         appropriate for setting.
6179         * international/mule-cmds.el (select-safe-coding-system):
6180         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6181         multibyte characters, return utf-8 (or one of its siblings).
6183         * international/mule-conf.el (prefer-utf-8): New coding system.
6184         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6185         files.
6187 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
6189         * net/shr.el (shr-render-region): New function.
6191         * net/eww.el: Autoload `eww-browse-url'.
6193 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
6195         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6196         Adapt to `package-desc-version' being a list.
6197         Use `package--ac-desc-version' to retrieve version from a package
6198         archive element.
6200 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
6202         New experimental feature to save&restore window and frame setup.
6203         * desktop.el (desktop-save-windows): New defcustom.
6204         (desktop--saved-states): New var.
6205         (desktop--excluded-frame-parameters): New defconst.
6206         (desktop--filter-frame-parms, desktop--find-frame-in-display)
6207         (desktop--restore-windows, desktop--save-windows): New functions.
6208         (desktop-save): Call `desktop--save-windows'.
6209         (desktop-read): Call `desktop--restore-windows'.
6211 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6213         * net/shr.el (add-face-text-property): Remove compat definition.
6215 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6217         * info.el (Info-try-follow-nearest-node): Move search for footnote
6218         above search for node name to prevent missing a footnote (bug#14717).
6220 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
6222         * obsolete/otodo-mode.el: Add obsolescence info to file header.
6224 2013-06-27  Leo Liu  <sdl.web@gmail.com>
6226         * net/eww.el (eww-read-bookmarks): Check file size.
6228 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6230         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6231         advice--pending if newdef is nil or an autoload (bug#13820).
6232         (advice-mapc): New function.
6234 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6236         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6237         probably.
6238         (eww-mode-map): Add a menu bar.
6239         (eww-add-bookmark): New command.
6240         (eww-bookmark-mode): New mode and commands.
6241         (eww-add-bookmark): Remove newlines from the title.
6242         (eww-bookmark-browse): Don't bug out if it's the only window.
6244 2013-06-26  Glenn Morris  <rgm@gnu.org>
6246         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6247         (hfy-size): Handle ttys.  (Bug#14668)
6249         * info-xref.el: Update for Texinfo 5 change in *note format.
6250         (info-xref-node-re, info-xref-note-re): New constants.
6251         (info-xref-check-buffer): Use info-xref-note-re.
6253 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6255         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6257         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6258         nil terminate the loop (bug#14718).
6260 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6262         * net/eww.el: Rework history traversal.  When going forward/back,
6263         put these actions into the history, too, so that they can be
6264         replayed.
6265         (eww-render): Move the history reset to the correct buffer.
6267 2013-06-25  Juri Linkov  <juri@jurta.org>
6269         * files-x.el (modify-dir-local-variable): Change the header comment
6270         in the file with directory local variables.  (Bug#14692)
6272         * files-x.el (read-file-local-variable-value): Add `default'.
6273         (Bug#14710)
6275 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6277         * net/eww.el (eww-make-unique-file-name): Create a unique file
6278         name before saving to entering `y' accidentally asynchronously.
6280 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
6282         * net/eww.el (eww-download): New command and keystroke.
6284 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6286         * net/eww.el (eww-copy-page-url): Change name of command.
6288         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6289         be more consistent with Info and dired.
6291         * net/eww.el (eww-mode-map): Ditto.
6293 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6295         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
6296         packages from archives.
6297         (package-archive-contents): Change format; include obsolete packages.
6298         (package-desc): Use `dir' to mark builtin packages.
6299         (package--from-builtin): Set the `dir' field to `builtin'.
6300         (generated-autoload-file, version-control): Declare.
6301         (package-compute-transaction): Change first arg and return value to be
6302         lists of package-descs.  Adjust to new package-archive-contents format.
6303         (package--add-to-archive-contents): Adjust to new
6304         package-archive-contents format.
6305         (package-download-transaction): Arg is now a list of package-descs.
6306         (package-install): If `pkg' is a package name, pass it as
6307         a requirement, so it is subject to the usual (e.g. disabled) checks.
6308         (describe-package): Accept package-desc as well.
6309         (describe-package-1): Describe a specific package-desc.  Add links to
6310         other package-descs for the same package name.
6311         (package-menu-describe-package): Pass the actual package-desc.
6312         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6313         works correctly.
6314         (package-desc-status): New function.
6315         (package-menu--refresh): New function, extracted
6316         from package-menu--generate.
6317         (package-menu--generate): Use it.
6318         (package-delete): Update package-alist.
6319         (package-menu-execute): Don't call package-initialize.
6321         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6322         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6323         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6324         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6325         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6326         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6328 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
6330         * window.el (window--state-get-1): Workaround for bug#14527.
6331         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6333 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6335         * net/eww.el (eww-back-url): Implement the history by stashing all
6336         the data into a list.
6337         (eww-forward-url): Allow going forward in the history, too.
6339 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6341         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6342         for values and use read--expression for expressions (bug#14710).
6343         (read-file-local-variable): Avoid setq.
6344         (read-file-local-variable-mode): Use minor-mode-list.
6346 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6348         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6349         for DOI URLs.
6351 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6353         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6354         Update imenu-support when dialect changes.
6356 2013-06-25  Leo Liu  <sdl.web@gmail.com>
6358         * ido.el (ido-read-internal): Allow forward slash on windows.
6360 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6362         * net/eww.el (eww): Start of strings is \\`, not ^.
6364 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6366         * net/shr.el (shr-browse-url): Fix interactive spec.
6368         * net/eww.el (eww): Add a trailing slash to domain names.
6370 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
6372         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6374 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6376         * net/shr.el (shr-browse-url): Use an external browser if given a
6377         prefix.
6379         * net/eww.el (eww-external-browser): Move to shr.
6381 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
6383         * net/eww.el (eww): Work more correctly for file: URLs.
6384         (eww-detect-charset): Allow quoted charsets.
6385         (eww-yank-page-url): New command and keystroke.
6387 2013-06-24  Daiki Ueno  <ueno@gnu.org>
6389         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6390         file name of gpg executable.
6391         (epg-context-program): New function.
6392         (epg-context-home-directory): New function.
6393         (epg-context-set-program): New function.
6394         (epg-context-set-home-directory): New function.
6395         (epg--start): Use `epg-context-program' instead of
6396         'epg-gpg-program'.
6397         (epg--list-keys-1): Likewise.
6399 2013-06-24  Leo Liu  <sdl.web@gmail.com>
6401         * ido.el (ido-read-internal): Fix bug#14620.
6403 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6405         * faces.el (face-documentation): Simplify.
6406         (read-face-attribute, tty-find-type, x-resolve-font-name):
6407         Use `string-match-p'.
6408         (list-faces-display): Use `string-match-p'.  Simplify.
6409         (face-spec-recalc): Check face to avoid face alias loops.
6410         (read-color): Use `string-match-p' and non-capturing parenthesis.
6412 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6414         * net/shr.el (shr-rescale-image): Use the new
6415         :max-width/:max-height functionality.
6417 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
6419         * net/eww.el (eww-search-prefix): New variable.
6420         (eww): Use it.
6421         (eww-external-browser): New variable.
6422         (eww-mode-map): New keystroke.
6423         (eww-browse-with-external-browser): New command.
6425         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6427 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
6429         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6430         Don't skip aligning the next header field when padding is 0;
6431         otherwise, field width is not respected unless the title is as
6432         wide as the field.
6434 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6436         * emacs-lisp/package.el (package-el-version): Remove.
6437         (package-process-define-package): Fix inf-loop.
6438         (package-install): Allow symbols as arguments again.
6440 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6442         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6443         add some more keyword-like methods.
6444         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6446 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
6448         * bs.el (bs-buffer-show-mark): Make defvar-local.
6449         (bs-mode): Use setq-local.
6451         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6452         (emacs-lock--try-unlocking): Make defvar-local.
6454 2013-06-22  Glenn Morris  <rgm@gnu.org>
6456         * play/cookie1.el (cookie-apropos): Minor simplification.
6458         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6460 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
6462         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6463         `regexp-opt', it breaks the build during dumping.
6465 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
6467         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6468         Highlight keyword-like methods on Kernel and Module with
6469         font-lock-builtin-face.
6470         (auto-mode-alist): Consolidate different entries into one regexp
6471         and add more *file-s.
6473 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
6475         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6477         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6478         (diary-entry): Use it in the action of this button type instead of
6479         diary-goto-entry.
6481         * calendar/todo-mode.el: New version.
6482         (todo-add-category): Append new category to end of file and give
6483         it the highest number, instead of putting it at the beginning and
6484         giving it 0.  Incorporate noninteractive functionality.
6485         (todo-forward-category): Adapt to 1-based category numbering.
6486         Allow skipping over archived categories.
6487         (todo-backward-category): Derive from todo-forward-category.
6488         (todo-backward-item, todo-forward-item): Make noninteractive and
6489         delegate interactive part to new commands.  Make sensitive to done items.
6490         (todo-categories): Make value an alist of category names and
6491         vectors of item counts.
6492         (todo-category-beg): Make a defconst.
6493         (todo-category-number): Use 1 instead of 0 as initial value.
6494         (todo-category-select): Make sensitive to overlays, optional item
6495         highlighting and done items.
6496         (todo-delete-item): Make sensitive to overlays and marked and done items.
6497         (todo-edit-item): Make sensitive to overlays and editing of
6498         date/time header optional.  Add format checks.
6499         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
6500         no-op if point is not on an item.  Advertise using todo-edit-quit.
6501         (todo-edit-mode): Make sensitive to new format, font-locking, and
6502         multiple todo files.
6503         (todo-insert-item, todo-insert-item-here): Derive from
6504         todo-basic-insert-item and extend functionality.
6505         (todo-item-end, todo-item-start): Make sensitive to done items.
6506         (todo-item-string): Don't return text properties.  Restore point.
6507         (todo-jump-to-category): Make sensitive to multiple todo files and
6508         todo archives.  Use extended category completion.
6509         (todo-lower-item, todo-raise-item): Rename to *-priority and
6510         derive from todo-set-item-priority.
6511         (todo-mode): Derive from special-mode.  Make sensitive to new
6512         format, font-locking and multiple todo files.  Make read-only.
6513         (todo-mode-map): Don't suppress digit keys, so they can supply
6514         prefix arguments.  Add many new key bindings.
6515         (todo-prefix): Insert as an overlay instead of file text.
6516         Change semantics from diary date expression to purely visual mark.
6517         (todo-print): Rename to todo-print-buffer.  Make buffer display
6518         features printable.  Remove option to restrict number of items
6519         printed.  Add option to print to file.
6520         (todo-print-function): Rename to todo-print-buffer-function.
6521         (todo-quit): Extend to handle exiting new todo modes.
6522         (todo-remove-item): Make sensitive to overlays.
6523         (todo-save): Extend to buffers of filtered items.
6524         (todo-show): Make sensitive to done items, multiple todo files and
6525         new todo modes.  Offer to convert legacy todo file before creating
6526         first new todo file.
6527         (todo-show-priorities): Rename to todo-top-priorities.
6528         Change semantics of value 0.
6529         (todo-top-priorities): Rename to todo-filter-top-priorities,
6530         derive from todo-filter-items and extend functionality.
6531         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6532         and extend functionality to other types of filtered items.
6533         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6534         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6535         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6536         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6537         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6538         (todo-edit-mode-hook, todo-entry-prefix-function)
6539         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6540         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6541         (todo-initials, todo-insert-threshold, todo-item-string-start)
6542         (todo-line-string, todo-menu, todo-mode-hook)
6543         (todo-more-important-p, todo-previous-answer, todo-previous-line)
6544         (todo-print-priorities, todo-remove-separator)
6545         (todo-save-top-priorities-too, todo-string-count-lines)
6546         (todo-string-multiline-p, todo-time-string-format)
6547         (todo-tmp-buffer-name): Remove.
6548         (todo-add-file, todo-archive-done-item, todo-choose-archive)
6549         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6550         (todo-edit-category-diary-inclusion)
6551         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6552         (todo-edit-file, todo-edit-item-date-day)
6553         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6554         (todo-edit-item-date-month, todo-edit-item-date-to-today)
6555         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6556         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6557         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6558         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6559         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6560         (todo-filter-top-priorities-multifile, todo-find-archive)
6561         (todo-find-filtered-items-file, todo-go-to-source-item)
6562         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6563         (todo-jump-to-archive-category, todo-lower-category)
6564         (todo-mark-category, todo-marked-item-p, todo-merge-category)
6565         (todo-move-category, todo-move-item, todo-next-button)
6566         (todo-next-item, todo-padded-string, todo-powerset)
6567         (todo-previous-button, todo-previous-item)
6568         (todo-print-buffer-to-file, todo-raise-category)
6569         (todo-rename-category, todo-repair-categories-sexp, todo-search)
6570         (todo-set-category-number, todo-set-item-priority)
6571         (todo-set-top-priorities-in-category)
6572         (todo-set-top-priorities-in-file, todo-show-categories-table)
6573         (todo-sort-categories-alphabetically-or-numerically)
6574         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6575         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6576         (todo-toggle-item-header, todo-toggle-item-highlighting)
6577         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6578         (todo-toggle-view-done-items, todo-toggle-view-done-only)
6579         (todo-unarchive-items, todo-unmark-category): New commands.
6580         (todo-absolute-file-name, todo-add-to-buffer-list)
6581         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6582         (todo-basic-insert-item, todo-category-completions)
6583         (todo-category-number, todo-category-string-matcher-1)
6584         (todo-category-string-matcher-2, todo-check-filtered-items-file)
6585         (todo-check-format, todo-clear-matches)
6586         (todo-comment-string-matcher, todo-convert-legacy-date-time)
6587         (todo-current-category, todo-date-string-matcher)
6588         (todo-define-insertion-command, todo-diary-expired-matcher)
6589         (todo-diary-goto-entry, todo-diary-item-p)
6590         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6591         (todo-display-categories, todo-display-sorted, todo-done-item-p)
6592         (todo-done-item-section-p, todo-done-separator)
6593         (todo-done-string-matcher, todo-files, todo-filter-items)
6594         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6595         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6596         (todo-insert-category-line, todo-insert-item-from-calendar)
6597         (todo-insert-sort-button, todo-insert-with-overlays)
6598         (todo-insertion-command-name, todo-insertion-key-bindings)
6599         (todo-label-to-key, todo-longest-category-name-length)
6600         (todo-make-categories-list, todo-mode-external-set)
6601         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6602         (todo-modes-set-3, todo-multiple-filter-files)
6603         (todo-nondiary-marker-matcher, todo-prefix-overlays)
6604         (todo-read-category, todo-read-date, todo-read-dayname)
6605         (todo-read-file-name, todo-read-time)
6606         (todo-reevaluate-category-completions-files-defcustom)
6607         (todo-reevaluate-default-file-defcustom)
6608         (todo-reevaluate-filelist-defcustoms)
6609         (todo-reevaluate-filter-files-defcustom)
6610         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6611         (todo-reset-done-separator, todo-reset-done-separator-string)
6612         (todo-reset-done-string, todo-reset-global-current-todo-file)
6613         (todo-reset-highlight-item, todo-reset-nondiary-marker)
6614         (todo-reset-prefix, todo-set-categories)
6615         (todo-set-date-from-calendar, todo-set-show-current-file)
6616         (todo-set-top-priorities, todo-short-file-name)
6617         (todo-show-current-file, todo-sort, todo-time-string-matcher)
6618         (todo-total-item-counts, todo-update-buffer-list)
6619         (todo-update-categories-display, todo-update-categories-sexp)
6620         (todo-update-count, todo-validate-name, todo-y-or-n-p):
6621         New functions.
6622         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6623         New major modes.
6624         (todo-categories, todo-display, todo-edit, todo-faces)
6625         (todo-filtered): New defgroups.
6626         (todo-archived-only, todo-button, todo-category-string, todo-date)
6627         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6628         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6629         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6630         (todo-add-item-if-new-category, todo-always-add-time-string)
6631         (todo-categories-align, todo-categories-archived-label)
6632         (todo-categories-category-label, todo-categories-diary-label)
6633         (todo-categories-done-label, todo-categories-number-separator)
6634         (todo-categories-todo-label, todo-categories-totals-label)
6635         (todo-category-completions-files, todo-completion-ignore-case)
6636         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6637         (todo-done-separator-string, todo-done-string)
6638         (todo-files-function, todo-filter-done-items, todo-filter-files)
6639         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6640         (todo-initial-category, todo-initial-file, todo-item-mark)
6641         (todo-legacy-date-time-regexp, todo-mode-line-function)
6642         (todo-nondiary-marker, todo-number-prefix)
6643         (todo-print-buffer-function, todo-show-current-file)
6644         (todo-show-done-only, todo-show-first, todo-show-with-done)
6645         (todo-skip-archived-categories, todo-top-priorities-overrides)
6646         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6647         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6648         New defcustoms.
6649         (todo-category-done, todo-date-pattern, todo-date-string-start)
6650         (todo-diary-items-buffer, todo-done-string-start)
6651         (todo-filtered-items-buffer, todo-item-start)
6652         (todo-month-abbrev-array, todo-month-name-array)
6653         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6654         (todo-top-priorities-buffer): New defconsts.
6655         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6656         (todo-categories-with-marks, todo-category-string-face)
6657         (todo-comment-face, todo-comment-string, todo-current-todo-file)
6658         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6659         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6660         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6661         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6662         (todo-font-lock-keywords, todo-global-current-todo-file)
6663         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6664         (todo-insertion-commands-args)
6665         (todo-insertion-commands-args-genlist)
6666         (todo-insertion-commands-names, todo-insertion-map)
6667         (todo-key-bindings-t, todo-key-bindings-t+a)
6668         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6669         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6670         (todo-nondiary-face, todo-print-buffer, todo-time-face)
6671         (todo-visited): New variables.
6673 2013-06-21  Glenn Morris  <rgm@gnu.org>
6675         * play/cookie1.el (cookie-apropos): Add optional display argument.
6676         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6677         (psychoanalyze-pinhead): Use cookie-doctor.
6679 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
6681         * emacs-lisp/package.el (tar-get-file-descriptor)
6682         (tar--extract): Declare.
6684 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
6686         Extend flymake's warning predicate to be a function (bug#14217).
6687         * progmodes/flymake.el (flymake-warning-predicate): New.
6688         (flymake-parse-line): Use it.
6689         (flymake-warning-re): Make obsolete alias to
6690         `flymake-warning-predicate'.
6692 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6694         * emacs-lisp/package.el (package-alist): Include obsolete packages.
6695         (package-obsolete-list): Remove.
6696         (package-activate): Remove min-version argument.  Add `force' argument.
6697         Adjust to new package-alist format.
6698         (package-mark-obsolete): Remove.
6699         (package-unpack): Force reload of the package's autoloads.
6700         (package-installed-p): Check builtins if the installed package is not
6701         recent enough.
6702         (package-initialize): Don't reset package-obsolete-list.
6703         Don't specify which package version to activate.
6704         (package-process-define-package, describe-package-1)
6705         (package-menu--generate): Adjust to new package-alist format.
6707 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
6709         * allout-widgets.el (allout-widgets-mode-off)
6710         (allout-widgets-mode-on, allout-widgets-pre-command-business)
6711         (allout-widgets-post-command-business)
6712         (allout-widgets-after-copy-or-kill-function)
6713         (allout-widgets-after-undo-function, allout-test-range-overlaps)
6714         (allout-decorate-item-and-context)
6715         (allout-graphics-modification-handler): Fix typos in docstrings.
6716         (allout-get-or-create-parent-widget): Use `looking-at-p'.
6718         * cmuscheme.el (scheme-start-file): Doc fix.
6719         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6720         (scheme-input-filter): Use `string-match-p'.
6722         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6724         * dired-x.el: Use Dired consistently in docstrings.
6726         * dired.el: Use Dired consistently in docstrings.
6727         (dired-readin, dired-mode): Use `setq-local'.
6728         (dired-switches-alist): Make defvar-local.
6729         (dired-buffers-for-dir): Use `zerop'.
6730         (dired-safe-switches-p, dired-switches-escape-p)
6731         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6732         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6733         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6734         (dired-goto-next-nontrivial-file): Use `string-match-p'.
6735         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6736         (dired-toggle-marks, dired-mark-files-containing-regexp)
6737         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6738         (dired-flag-auto-save-files, dired-flag-backup-files):
6739         Use `looking-at-p'.
6740         (dired-mark-files-regexp, dired-build-subdir-alist):
6741         Use `string-match-p', `looking-at-p'.
6743         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6744         (direct-print-region-helper): Use `string-match-p'.
6746 2013-06-21  Leo Liu  <sdl.web@gmail.com>
6748         * comint.el (comint-redirect-results-list-from-process):
6749         Fix infinite loop.
6751 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6753         * net/eww.el (eww-update-header-line-format): Quote % characters.
6755 2013-06-21  Glenn Morris  <rgm@gnu.org>
6757         * play/cookie1.el (cookie): New custom group.
6758         (cookie-file): New option.
6759         (cookie-check-file): New function.
6760         (cookie): Make it interactive.  Make start and end messages optional.
6761         Interactively, display the result.  Default to cookie-file.
6762         (cookie-insert): Default to cookie-file.
6763         (cookie-snarf): Make start and end messages optional.
6764         Default to cookie-file.  Use with-temp-buffer.
6765         (cookie-read): Rename from read-cookie.
6766         Make start and end messages optional.  Default to cookie-file.
6767         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
6768         Do not autoload it.
6769         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6770         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6772 2013-06-21  Leo Liu  <sdl.web@gmail.com>
6774         * progmodes/octave.el (octave-mode): Backward compatibility fix.
6776 2013-06-21  Glenn Morris  <rgm@gnu.org>
6778         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6780 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6781             Daniel Hackney  <dan@haxney.org>
6783         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6784         Consolidate the single-file vs tarball code.
6785         (package-desc-suffix): New function.
6786         (package-desc-full-name): Don't bother inlining it.
6787         (package-load-descriptor): Return the new package-desc.
6788         (package-mark-obsolete): Remove unused arg `package'.
6789         (package-unpack): Make it work for single files as well.
6790         Make it update package-alist.
6791         (package--make-autoloads-and-stuff): Rename from
6792         package--make-autoloads-and-compile.  Don't compile any more.
6793         (package--compile): New function.
6794         (package-generate-description-file): New function, extracted from
6795         package-unpack-single.
6796         (package-unpack-single): Remove.
6797         (package--with-work-buffer): Add indentation and debugging info.
6798         (package-download-single): Remove.
6799         (package-install-from-archive): Rename from package-download-tar, make
6800         it take a pkg-desc, and make it work for single files as well.
6801         (package-download-transaction): Simplify.
6802         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
6803         external tar program.
6804         (package-install-from-buffer): Remove `pkg-desc' argument.
6805         Use package-tar-file-info for tar-mode buffers.
6806         (package-install-file): Simplify accordingly.
6807         (package-archive-base): Change to take a pkg-desc.
6808         * tar-mode.el (tar--check-descriptor): New function, extracted from
6809         tar-get-descriptor.
6810         (tar-get-descriptor): Use it.
6811         (tar-get-file-descriptor): New function.
6812         (tar--extract): New function, extracted from tar-extract.
6813         (tar--extract): Use it.
6814         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6815         case the summary uses non-ascii.  Adjust to new calling convention of
6816         package-tar-file-info.
6818 2013-06-21  Leo Liu  <sdl.web@gmail.com>
6820         * comint.el (comint-redirect-results-list-from-process):
6821         Fix random delay.  (Bug#14681)
6823 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
6825         * profiler.el (profiler-format-number): Use log, not log10.
6827 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
6829         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6831 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6833         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6834         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6835         yet available.
6836         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6837         (AUTOGENEL): ... here.
6838         * emacs-lisp/cl-macs.el (cl--sublis): New function.
6839         (cl--defsubst-expand): Use it.
6841 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
6843         * subr.el (log10): Move here from C code, and declare as obsolete.
6844         All uses of (log10 X) replaced with (log X 10).
6846 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
6848         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6849         Declare with `defvar-local'.
6850         (tabulated-list-use-header-line, tabulated-list-entries)
6851         (tabulated-list-padding, tabulated-list-printer)
6852         (tabulated-list-sort-key): Declare with `defvar-local'.
6853         (tabulated-list-init-header, tabulated-list-print-fake-header):
6854         Use `setq-local'.
6856 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
6858         * arc-mode.el (archive-mode): Add `archive-write-file' to
6859         `write-contents-functions' also for remote files.  (Bug#14652)
6861 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
6863         * cus-edit.el (custom-commands): Fix typos.
6864         (custom-display): Fix tooltip text.
6865         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6866         Fix typos in docstrings.
6867         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6868         (custom-unlispify-menu-entry, custom-magic-value-create)
6869         (custom-add-see-also, custom-group-value-create): Use ?\s.
6870         (custom-guess-type, customize-apropos, editable-field)
6871         (custom-face-value-create): Use `string-match-p'.
6872         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6874         * custom.el (custom-load-symbol): Use `string-match-p'.
6876         * ansi-color.el: Convert to lexical binding.
6877         (ansi-colors): Fix URL.
6878         (ansi-color-context, ansi-color-context-region): Use defvar-local.
6879         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6880         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6882 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6884         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6886         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6888 2013-06-19  Tom Tromey  <tromey@redhat.com>
6890         * net/eww.el (eww-top-url): Remove.
6891         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6892         (eww-render): Set new variables.  Don't set eww-top-url.
6893         (eww-handle-link): Handle "prev", "home", and "contents".
6894         Downcase the rel text.
6895         (eww-top-url): Choose best top URL.
6897 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6899         * net/eww.el: Rewrite to implement form elements "by hand" instead of
6900         relying in widget.el.  Using widget.el leads to too many
6901         user interface inconsistencies.
6902         (eww-self-insert): Implement entering commands in text fields.
6903         (eww-process-text-input): New function to make text input field editing
6904         work.
6905         (eww-submit): Rewrite to use the new-style form methods.
6906         (eww-select-display): Display the correct selected item.
6907         (eww-change-select): Implement changing the select value.
6908         (eww-toggle-checkbox): Implement radio/checkboxes.
6909         (eww-update-field): Fix compilation error.
6910         (eww-tag-textarea): Implement <textarea>.
6912         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6913         we don't shadow mode-specific bindings.
6915         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6916         nothing to push.
6918         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6920 2013-06-19  Glenn Morris  <rgm@gnu.org>
6922         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6924 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
6926         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6927         not needed.
6929         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6931 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6933         * net/browse-url.el (browse-url-browser-function):
6934         `eww-browse-url' has the right calling signature, `eww' does not.
6936 2013-06-19  Glenn Morris  <rgm@gnu.org>
6938         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6939         Only eval autoloaded macros.
6940         (byte-compile-autoload): Only give the macro warning for macros.
6942         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6943         (ps-underlined-faces): Declare.
6945         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6946         (speedbar-add-supported-extension): Declare.
6948         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6949         Don't include a date stamp in the header of the generated file;
6950         it leads to needless differences between output files.
6952 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
6954         * net/secrets.el (secrets-struct-secret-content-type):
6955         Replace check of introspection data by a test call of "CreateItem".
6956         Some servers do not offer introspection.
6958 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6960         * electric.el (electric-pair-mode): Improve interaction with
6961         electric-layout-mode.
6962         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6963         (electric-pair-syntax): Use text-mode-syntax-table in comments
6964         and strings.
6965         (electric-pair--insert): New function.
6966         (electric-pair-post-self-insert-function): Use it and
6967         electric--after-char-pos.
6969 2013-06-19  Leo Liu  <sdl.web@gmail.com>
6971         * progmodes/octave.el (octave-help): Fix regexp.
6973 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6975         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6976         (shr-table-horizontal-line): Allow nil as a value, and change the
6977         default.
6978         (shr-insert-table-ruler): Respect the nil value.
6980 2013-06-18  Tom Tromey  <tromey@barimba>
6982         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6983         New defvars.
6984         (eww-open-file): New defun.
6985         (eww-render): Initialize new variables.
6986         (eww-display-html): Handle "link" and "a".
6987         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6988         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
6989         (eww-back-url): Rename from eww-previous-url.
6990         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6991         New defuns.
6993 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
6995         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6996         Distinguish ternary operator tokens from slash symbol and slash
6997         char literal.
6999 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7001         Convert symbol prettification into minor mode and global minor mode.
7003         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7004         `prog-prettify-symbols', and make a local defvar instead of defcustom.
7005         (prettify-symbols--keywords): Rename from
7006         `prog-prettify-symbols-alist' and make a local defvar.
7007         (prettify-symbols--compose-symbol): Rename from
7008         `prog--prettify-font-lock-compose-symbol'.
7009         (prettify-symbols--make-keywords): Rename from
7010         `prog-prettify-font-lock-symbols-keywords' and simplify.
7011         (prog-prettify-install): Remove.
7012         (prettify-symbols-mode): New minor mode, based on
7013         `prog-prettify-install'.
7014         (turn-on-prettify-symbols-mode): New function.
7015         (global-prettify-symbols-mode): New globalized minor mode.
7017         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7018         * progmodes/cfengine.el (cfengine3-mode):
7019         * progmodes/perl-mode.el (perl-mode): Don't call
7020         `prog-prettify-install'; set `prettify-symbols-alist' instead.
7022 2013-06-18  Juri Linkov  <juri@jurta.org>
7024         * files-x.el (modify-file-local-variable-message): New function.
7025         (modify-file-local-variable)
7026         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7027         and call `modify-file-local-variable-message' when it's non-nil.
7028         (add-file-local-variable, delete-file-local-variable)
7029         (add-file-local-variable-prop-line)
7030         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7031         and use it.  (Bug#9820)
7033 2013-06-18  Juri Linkov  <juri@jurta.org>
7035         * emulation/vi.el (vi-shell-op):
7036         * emulation/vip.el (vip-execute-com, ex-command):
7037         * emulation/viper-cmd.el (viper-exec-bang):
7038         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7039         the call of `shell-command-on-region'.  (Bug#14637)
7041         * simple.el (shell-command-on-region): Doc fix.
7043 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7045         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7046         (bug#14633).
7048 2013-06-18  Glenn Morris  <rgm@gnu.org>
7050         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7052         * newcomment.el (comment-search-forward, comment-search-backward):
7053         Doc fix.  (Bug#14376)
7055 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
7057         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7058         (buffer-face-mode-invoke): Doc fix.
7060 2013-06-18  Matthias Meulien  <orontee@gmail.com>
7062         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7063         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7065 2013-06-18  Glenn Morris  <rgm@gnu.org>
7067         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7068         Replace obsolete function generic-make-keywords with its expansion.
7070         * progmodes/python.el (ffap-alist): Declare.
7072         * textmodes/reftex.el (bibtex-mode-map): Declare.
7074 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7076         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7077         (package-unpack, package-unpack-single): Return the pkg-dir.
7078         (package-download-transaction): Use it to update package-alist.
7080 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7082         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7083         possible choice.
7085 2013-06-17  Juri Linkov  <juri@jurta.org>
7087         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7089 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7091         * emacs-lisp/package.el (package-load-descriptor):
7092         Remove `with-syntax-table' call, `read' doesn't need it.
7093         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7095 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7097         * startup.el (command-line): Expand package name returned by
7098         `package--description-file' (bug#14639).
7100 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
7102         * emacs-lisp/package.el (package-load-descriptor): Do not call
7103         `emacs-lisp-mode', just use its syntax table.
7105 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
7107         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7108         `font-lock-extra-managed-props' if any prettifying keyword is added.
7109         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7110         (prog-mode): Use `setq-local'.
7112 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7114         * international/characters.el (standard-case-table): Set syntax of ?»
7115         and ?« to punctuation.
7117 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
7119         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7120         Save relevant match data before calling `syntax-ppss' (bug#14595).
7122 2013-06-15  Juri Linkov  <juri@jurta.org>
7124         * files-x.el (modify-file-local-variable-prop-line): Add local
7125         variables to the end of the existing comment on the first line.
7126         Use `file-auto-mode-skip' to skip interpreter magic line,
7127         and also skip XML declaration.
7129 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7131         * startup.el (package--builtin-versions): New var.
7132         (package-subdirectory-regexp): Remove.
7133         (package--description-file): Hard code its value instead.
7135         * emacs-lisp/package.el: Don't activate packages older than builtin.
7136         (package-obsolete-list): Rename from package-obsolete-alist, and make
7137         it into a simple list of package-desc.
7138         (package-strip-version): Remove.
7139         (package-built-in-p): Use package--builtin-versions.
7140         (package-mark-obsolete): Simplify.
7141         (package-process-define-package): Mark it obsolete if older than the
7142         builtin version.
7143         (package-handle-response): Use line-end-position.
7144         (package-read-archive-contents, package--download-one-archive):
7145         Simplify.
7146         (package--add-to-archive-contents): Skip if older than the builtin or
7147         installed version.
7148         (package-menu-describe-package): Fix last change.
7149         (package-list-unversioned): New var.
7150         (package-menu--generate): Use it.
7152         * emacs-lisp/autoload.el: Manage package--builtin-versions.
7153         (autoload--insert-text, autoload--insert-cookie-text): New functions.
7154         (autoload-builtin-package-versions): New variable.
7155         (autoload-generate-file-autoloads): Use them.
7156         Remove the list of autoloaded functions/macros from the
7157         (autoload...) comments.
7159         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7161 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
7163         * simple.el (line-move-partial): Don't jump to the next screen
7164         line as soon as it becomes visible.  Instead, continue enlarging
7165         the vscroll until the portion of a tall screen line that's left on
7166         display is about the height of the frame's default font.
7167         (Bug#14567)
7169 2013-06-15  Glenn Morris  <rgm@gnu.org>
7171         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7172         compilation-error-regexp-alist void, or local while let-bound.
7174         * progmodes/make-mode.el (makefile-mode-syntax-table):
7175         Treat "=" as punctuation.  (Bug#14614)
7177 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
7179         * help-fns.el (describe-variable):
7180         Add extra line for permanent-local variables.
7182 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
7184         * progmodes/scheme.el (scheme-font-lock-keywords-2):
7185         Add export, import, library.  (Bug#9164)
7186         (library): Set indent function.
7188 2013-06-14  Glenn Morris  <rgm@gnu.org>
7190         * term/xterm.el (xterm--query):
7191         Stop after first matching handler.  (Bug#14615)
7193 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
7195         Add support for dired in saveplace.
7196         * dired.el (dired-initial-position-hook): New variable.
7197         (dired-initial-position): Call hook to place cursor position.
7198         * saveplace.el (save-place-to-alist): Add dired position.
7199         (save-place-dired-hook): New function.
7201 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7203         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7204         through a symbol rather than letrec.
7206         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
7207         (package-desc): Add `dir' field.
7208         (package-desc-full-name): New function.
7209         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
7210         (package-maybe-load-descriptor): Remove.
7211         (package-load-all-descriptors): Just call package-load-descriptor.
7212         (package--disabled-p): New function.
7213         (package-desc-vers, package-desc-doc): Remove aliases.
7214         (package--dir): Remove function.
7215         (package-activate): Check if a package is disabled.
7216         (package-process-define-package): New function, extracted from
7217         define-package.
7218         (define-package): Turn into a place holder.
7219         (package-unpack-single, package-tar-file-info):
7220         Use package--description-file.
7221         (package-compute-transaction): Use package--disabled-p.
7222         (package-download-transaction): Don't call
7223         package-maybe-load-descriptor since they're all loaded anyway.
7224         (package-install): Change argument to be a pkg-desc.
7225         (package-delete): Use a single pkg-desc argument.
7226         (describe-package-1): Use package-desc-dir instead of package--dir.
7227         Use package-desc property instead of package-symbol.
7228         (package-install-button-action): Adjust accordingly.
7229         (package--push): Rewrite.
7230         (package-menu--print-info): Adjust accordingly.  Change the ID format
7231         to be a pkg-desc.
7232         (package-menu-describe-package, package-menu-get-status)
7233         (package-menu--find-upgrades, package-menu-mark-upgrades)
7234         (package-menu-execute, package-menu--name-predicate):
7235         Adjust accordingly.
7236         * startup.el (package--description-file): New function.
7237         (command-line): Use it.
7238         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7239         Use package-desc-version.
7241         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7242         (byte-compile-preprocess): Use it.
7243         (byte-compile-file-form-defalias): Try a bit harder to use macros we
7244         can't quite recognize.
7245         (byte-compile-add-to-list): Remove.
7246         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7247         (cconv-closure-convert): Add assertion.
7249         * emacs-lisp/map-ynp.el: Use lexical-binding.
7250         (map-y-or-n-p): Remove unused vars `tail' and `object'.
7251         Factor out some repeated code.
7253 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7255         * subr.el (with-eval-after-load): New macro.
7256         (eval-after-load): Allow form to be a function.
7257         take advantage of lexical-binding.
7258         (do-after-load-evaluation): Use dolist and adjust to new format.
7259         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7261 2013-06-13  Juri Linkov  <juri@jurta.org>
7263         * replace.el (perform-replace): Display "symbol " and other search
7264         modes from `isearch-message-prefix' in the *Help* buffer.
7266         * isearch.el (isearch-query-replace): Add " symbol" and other
7267         possible search modes from `isearch-message-prefix' to the prompt.
7268         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7269         when reading a regexp to collect.
7271 2013-06-13  Juri Linkov  <juri@jurta.org>
7273         * isearch.el (word-search-regexp): Match whitespace if the search
7274         string begins or ends in whitespace.  The LAX arg is applied to
7275         both ends of the search string.  Use `regexp-quote' and explicit
7276         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
7277         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7278         boundaries are replaced with symbol boundaries, and characters
7279         between symbols match non-word non-symbol syntax.  (Bug#14602)
7281 2013-06-13  Juri Linkov  <juri@jurta.org>
7283         * isearch.el (isearch-del-char): Don't exceed the length of
7284         `isearch-string' by the prefix arg.  (Bug#14563)
7286 2013-06-13  Juri Linkov  <juri@jurta.org>
7288         * isearch.el (isearch-yank-word, isearch-yank-line)
7289         (isearch-char-by-name, isearch-quote-char)
7290         (isearch-printing-char, isearch-process-search-char):
7291         Add optional count prefix arg.  (Bug#14563)
7293         * international/isearch-x.el
7294         (isearch-process-search-multibyte-characters):
7295         Add optional count prefix arg.
7297 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7299         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7300         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7301         lexical-binding.
7303 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
7305         * subr.el (set-temporary-overlay-map): Add on-exit argument.
7307 2013-06-13  Glenn Morris  <rgm@gnu.org>
7309         * startup.el (tty-handle-args):
7310         Don't just discard "--" and anything after.  (Bug#14608)
7312         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7314 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
7316         Implement changes in Secret Service API.  Make it backward compatible.
7317         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7318         (secrets-create-item): Use it.  Prefix properties with interface.
7320 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
7322         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
7323         (term-emulate-terminal): Respect term-suppress-hard-newline.
7325 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
7327         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7328         Only remove a `thumb-file' overlay.  (Bug#14548)
7330 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
7332         * mail/reporter.el (reporter-submit-bug-report):
7333         Handle missing package-name.  (Bug#14600)
7335 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7337         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7338         (reftex-citation-prompt, reftex-default-bibliography)
7339         (reftex-bib-or-thebib, reftex-get-bibfile-list)
7340         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7341         (reftex-bib-sort-author, reftex-bib-sort-year)
7342         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7343         (reftex-extract-bib-entries-from-thebibliography)
7344         (reftex-get-bibkey-default, reftex-get-bib-names)
7345         (reftex-parse-bibtex-entry, reftex-get-bib-field)
7346         (reftex-format-bib-entry, reftex-parse-bibitem)
7347         (reftex-format-bibitem, reftex-do-citation)
7348         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7349         (reftex-restrict-bib-matches, reftex-extract-bib-file)
7350         (reftex-insert-bib-matches, reftex-format-citation)
7351         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7352         (reftex-create-bibtex-file): Add docstrings, mostly by converting
7353         existing comments into docstrings.
7355 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7357         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7359 2013-06-12  Andreas Schwab  <schwab@suse.de>
7361         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7362         for auto-save files.
7364 2013-06-12  Glenn Morris  <rgm@gnu.org>
7366         * ido.el (ido-delete-ignored-files): Remove.
7367         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7368         Go back to calling ido-ignore-item-p directly.
7370 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
7372         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7374         * ido.el (ido-delete-ignored-files): New function,
7375         split from ido-make-file-list-1.
7376         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
7377         (ido-make-file-list-1): Use ido-delete-ignored-files.
7379 2013-06-12  Leo Liu  <sdl.web@gmail.com>
7381         * progmodes/octave.el (inferior-octave-startup)
7382         (inferior-octave-completion-table)
7383         (inferior-octave-track-window-width-change)
7384         (octave-eldoc-function-signatures, octave-help)
7385         (octave-find-definition): Use single quoted strings.
7386         (inferior-octave-startup-args): Change default value.
7387         (inferior-octave-startup): Do not hard code "-i" and
7388         "--no-line-editing".
7389         (inferior-octave-resync-dirs): Add optional arg NOERROR.
7390         (inferior-octave-directory-tracker): Use it.
7391         (octave-goto-function-definition): Robustify.
7392         (octave-help): Support highlighting operators in 'See also'.
7393         (octave-find-definition): Find subfunctions only in Octave mode.
7395 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7397         * help-fns.el (help-fns--compiler-macro): If the handler function is
7398         named, then put a link to it.
7399         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7400         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7401         (cl-typep): Use it.
7402         (cl-eval-when): Simplify debug spec.
7403         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
7404         compiler-macro function instead of setting `compiler-macro-file'.
7406 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
7408         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7409         * vc/vc-hooks.el (vc-stay-local): Doc fix.
7411 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7412             Daniel Hackney  <dan@haxney.org>
7414         First part of Daniel Hackney's patch to package.el.
7415         * emacs-lisp/package.el: Use defstruct.
7416         (package-desc): New, main struct.
7417         (package--bi-desc, package--ac-desc): New structs, used to describe the
7418         format in external files.
7419         (package-desc-vers): Replace with package-desc-version accessor.
7420         (package-desc-doc): Replace with package-desc-summary accessor.
7421         (package-activate-1): Remove `package' arg since the pkg-vec now
7422         includes the name.
7423         (define-package): Use package-desc-from-define.
7424         (package-unpack-single): Change file-name arg to be a symbol.
7425         (package--add-to-archive-contents): Use package-desc-create and new
7426         accessor functions to package--ac-desc.
7427         (package-buffer-info, package-tar-file-info): Return a package-desc.
7428         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
7429         arg to be a package-desc.
7430         (package-install-file): Adjust accordingly.  Use \' to match EOS.
7431         (package--from-builtin): New function.
7432         (describe-package-1, package-menu--generate): Use it.
7433         (package--make-autoloads-and-compile): Change name arg to be a symbol.
7434         (package-generate-autoloads): Idem and return the name of the file.
7435         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7436         Change pkg-info arg to be a package-desc.
7437         Use package-make-ac-desc.
7438         (package-upload-file): Use \' to match EOS.
7439         * finder.el (finder-compile-keywords): Use package-make-builtin.
7441 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7443         * vc/vc.el (vc-deduce-fileset): Change error message.
7444         (vc-read-backend): New function.
7445         (vc-next-action): Use it.
7447         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7449         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7450         (prolog-font-lock-keywords): Use regexp-opt instead.
7451         Don't manually highlight strings.
7452         (prolog-mode-variables): Simplify comment-start-skip.
7453         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
7455         * emacs-lisp/generic.el (generic--normalise-comments)
7456         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7457         (generic-mode-set-comments): Use them.
7458         (generic-bracket-support): Use setq-local.
7459         (generic-make-keywords-list): Declare obsolete.
7461 2013-06-11  Glenn Morris  <rgm@gnu.org>
7463         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7464         Prettify after setting font-lock-defaults.  (Bug#14574)
7466 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
7468         * replace.el (query-replace, occur-read-regexp-defaults-function)
7469         (replace-search):
7470         * subr.el (declare-function, number-sequence, local-set-key)
7471         (substitute-key-definition, locate-user-emacs-file)
7472         (with-silent-modifications, split-string, eval-after-load):
7473         Fix typos, remove unneeded backslashes and reflow some docstrings.
7475 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7477         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7478         default for Elisp files.
7480 2013-06-11  Glenn Morris  <rgm@gnu.org>
7482         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7483         although define-derived-mode was doing this anyway.  (Bug#14583)
7485 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
7487         * allout.el (allout-encryption-plaintext-sanitization-regexps):
7488         Fix make-variable-buffer-local call to refer to the correct variable.
7490 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
7492         * eshell/em-term.el (eshell-visual-commands)
7493         (eshell-visual-subcommands, eshell-visual-options):
7494         Add summary line to docstrings.  Add cross-references.
7496 2013-06-10  Glenn Morris  <rgm@gnu.org>
7498         * epa.el (epa-read-file-name): New function.  (Bug#14510)
7499         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
7501 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7503         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7504         output redirection to be ignored with visual commands.
7506 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
7508         * eshell/em-term.el (eshell-visual-command-p): New function.
7509         (eshell-term-initialize): Move long lambda to separate function
7510         eshell-visual-command-p.
7511         * eshell/em-dirs.el (eshell-dirs-initialise):
7512         * eshell/em-script.el (eshell-script-initialize):
7513         Add missing #' to lambda.
7515 2013-06-08  Leo Liu  <sdl.web@gmail.com>
7517         * progmodes/octave.el (octave-add-log-current-defun): New function.
7518         (octave-mode): Set add-log-current-defun-function.
7519         (octave-goto-function-definition): Do not move point if not found.
7520         (octave-find-definition): Enhance to try subfunctions first.
7522 2013-06-08  Glenn Morris  <rgm@gnu.org>
7524         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7525         (byte-compile-backward-char, byte-compile-backward-word):
7526         Improve previous change, to handle non-explicit nil.
7528 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7530         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7531         (smie--opener/closer-at-point): New function.
7532         (smie--matching-block-data): Use it.  Don't match from right after an
7533         opener or right before a closer.  Obey smie-blink-matching-inners.
7534         Don't signal a mismatch for repeated inners like "switch..case..case".
7536 2013-06-07  Leo Liu  <sdl.web@gmail.com>
7538         * progmodes/octave.el (octave-mode): Set comment-use-global-state
7539         to t.  (Bug#14303)
7540         (octave-function-header-regexp): Fix.  (Bug#14570)
7541         (octave-help-mode-finish-hook, octave-help-mode-finish):
7542         Remove.  Just use temp-buffer-show-hook.
7544         * newcomment.el (comment-search-backward): Revert last change.
7545         (Bug#14434)
7547         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7549 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
7551         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7552         through xargs, to avoid failure due to MS-Windows limitations on
7553         command-line length.
7555 2013-06-06  Glenn Morris  <rgm@gnu.org>
7557         * font-lock.el (lisp-font-lock-keywords-2):
7558         Treat user-error like error.
7560         * emacs-lisp/bytecomp.el (byte-compile-char-before)
7561         (byte-compile-backward-char, byte-compile-backward-word):
7562         Handle explicit nil arguments.  (Bug#14565)
7564 2013-06-05  Alan Mackenzie  <acm@muc.de>
7566         * isearch.el (isearch-allow-prefix): New user option.
7567         (isearch-other-meta-char): Don't exit isearch when a prefix
7568         argument is typed whilst `isearch-allow-prefix' is non-nil.
7569         (Bug#9706)
7571 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7573         * autorevert.el (auto-revert-notify-handler): Use memq.
7574         Hide assertion failure.
7576         * skeleton.el: Use cl-lib.
7577         (skeleton-further-elements): Use defvar-local.
7578         (skeleton-insert): Use cl-progv.
7580 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7582         * progmodes/prog-mode.el (prog-prettify-symbols)
7583         (prog-prettify-install): Update docstrings.
7585 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7587         * simple.el: Move all the prog-mode code to prog-mode.el.
7588         * progmodes/prog-mode.el: New file.
7589         * loadup.el: Add prog-mode.el.
7591 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7593         * simple.el (prog-prettify-symbols): Add version.
7594         (prog-prettify-install): Add convenience function to prettify symbols.
7596         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7597         (perl--augmented-font-lock-keywords-1)
7598         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7599         variables and use it.
7601         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7602         (cfengine3-mode): Remove unneeded variable and use it.
7604         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7605         (lisp--augmented-font-lock-keywords-1)
7606         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7607         Remove unneeded variables and use it.
7609 2013-06-05  João Távora  <joaotavora@gmail.com>
7611         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7612         to point when opening the connection.  (Bug#14380)
7614 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7616         * subr.el (load-history-regexp, load-history-filename-element)
7617         (eval-after-load, after-load-functions, do-after-load-evaluation)
7618         (eval-next-after-load, display-delayed-warnings)
7619         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7620         definition of save-match-data.
7621         (overriding-local-map): Remove accidental obsolescence declaration.
7623         * emacs-lisp/edebug.el (edebug-result): Move before first use.
7625 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
7627         Generalize symbol prettify support to prog-mode and implement it
7628         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7629         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7630         (prog--prettify-font-lock-compose-symbol)
7631         (prog-prettify-font-lock-symbols-keywords): New variables and
7632         functions to support symbol prettification.
7633         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7634         (lisp--augmented-font-lock-keywords-1)
7635         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7636         (lisp--prettify-symbols-alist): Implement prettify of lambda.
7637         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7638         (cfengine3--prettify-symbols-alist, cfengine3-mode):
7639         Implement prettify of -> => :: strings.
7640         * progmodes/perl-mode.el (perl-prettify-symbols)
7641         (perl--font-lock-compose-symbol)
7642         (perl--font-lock-symbols-keywords): Move to prog-mode.
7643         (perl--prettify-symbols-alist): Prettify -> => :: strings.
7644         (perl-font-lock-keywords-1)
7645         (perl-font-lock-keywords-2): Remove explicit prettify support.
7646         (perl--augmented-font-lock-keywords)
7647         (perl--augmented-font-lock-keywords-1)
7648         (perl--augmented-font-lock-keywords-2, perl-mode):
7649         Implement prettify support.
7651 2013-06-05  Leo Liu  <sdl.web@gmail.com>
7653         Re-implement smie matching block highlight using
7654         show-paren-data-function.  (Bug#14395)
7655         * emacs-lisp/smie.el (smie-matching-block-highlight)
7656         (smie--highlight-matching-block-overlay)
7657         (smie--highlight-matching-block-lastpos)
7658         (smie-highlight-matching-block)
7659         (smie-highlight-matching-block-mode): Remove.
7660         (smie--matching-block-data-cache): New variable.
7661         (smie--matching-block-data): New function.
7662         (smie-setup): Use smie--matching-block-data for
7663         show-paren-data-function.
7665         * progmodes/octave.el (octave-mode-menu): Fix.
7666         (octave-find-definition): Skip garbage lines.
7668 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7670         Fix compilation error with simultaneous dynamic+lexical scoping.
7671         Add warning when a defvar appears after the first let-binding.
7672         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7673         (byte-compile-close-variables): Initialize it.
7674         (byte-compile--declare-var): New function.
7675         (byte-compile-file-form-defvar)
7676         (byte-compile-file-form-define-abbrev-table)
7677         (byte-compile-file-form-custom-declare-variable): Use it.
7678         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
7679         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7680         (byte-compile-bind): Handle dynamic bindings that shadow
7681         lexical bindings.
7682         (byte-compile-unbind): Make arg non-optional.
7683         (byte-compile-let): Simplify.
7684         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7685         (cconv--analyse-function, cconv-analyse-form): Populate it.
7686         Protect byte-compile-bound-variables to limit the scope of defvars.
7687         (cconv-analyse-form): Add missing rule for (defvar <foo>).
7688         Remove unneeded rule for `declare'.
7690         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7691         so as to avoid depending on cl-adjoin at run-time.
7692         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7694         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7695         (macroexp--warn-and-return): Use it.
7697 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7699         * lisp/subr.el: Convert to lexical binding.
7700         (overriding-local-map): Make obsolete.
7701         (add-to-list): Doc fix.  Add compiler macro.
7702         (read-key): Swap values of local maps.
7704 2013-06-05  Leo Liu  <sdl.web@gmail.com>
7706         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7708 2013-06-04  Leo Liu  <sdl.web@gmail.com>
7710         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7711         (compilation-auto-jump): Suppress the "Mark set" message to give
7712         way to exit message.
7714 2013-06-04  Alan Mackenzie  <acm@muc.de>
7716         Remove faulty optimisation from indentation calculation.
7717         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7718         search limit based on 2000 characters back from indent-point.
7720 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
7722         * eshell/em-term.el (cl-lib): Require `cl-lib'.
7724 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7726         * emacs-lisp/lisp.el: Use lexical-binding.
7727         (lisp--local-variables-1, lisp--local-variables): New functions.
7728         (lisp--local-variables-completion-table): New var.
7729         (lisp-completion-at-point): Use it complete let-bound vars.
7731         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7732         eagerly (bug#14422).
7734 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
7736         * autorevert.el (auto-revert-notify-enabled)
7737         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7738         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7739         (auto-revert-notify-handler): Handle also gfilenotify.
7741         * subr.el (file-notify-handle-event): New defun.  Replacing ...
7742         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7743         Remove.
7745 2013-06-03  Juri Linkov  <juri@jurta.org>
7747         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7748         `M-s h .'.  (Bug#14427)
7750         * hi-lock.el (highlight-symbol-at-point): New alias for the new
7751         command `hi-lock-face-symbol-at-point'.
7752         (hi-lock-face-symbol-at-point): New command.
7753         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7754         (hi-lock-menu): Add `highlight-symbol-at-point'.
7755         (hi-lock-mode): Doc fix.
7757         * isearch.el (isearch-forward-symbol-at-point): New command.
7758         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7759         (isearch-highlight-regexp): Add a regexp which matches
7760         words/symbols for word/symbol mode.
7762         * subr.el (find-tag-default-bounds): New function with the body
7763         mostly moved from `find-tag-default'.
7764         (find-tag-default): Move most code to `find-tag-default-bounds',
7765         call it and apply `buffer-substring-no-properties' afterwards.
7767 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
7769         * eshell/em-term.el (eshell-term-initialize):
7770         Use `cl-intersection' rather than `intersection'.
7772 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
7774         * vc/log-view.el: Doc fix.
7775         (log-view-mode-map): Copy keymap from `special-mode-map'.
7777 2013-06-02  Eric Ludlam  <zappo@gnu.org>
7779         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7780         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7781         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7782         (eieio-unbound, eieio-default-superclass)
7783         (eieio--define-field-accessors, method-static, method-before)
7784         (method-primary, method-after, method-num-lists)
7785         (method-generic-before, method-generic-primary)
7786         (method-generic-after, method-num-slots)
7787         (eieio-specialized-key-to-generic-key)
7788         (eieio--check-type, class-v, class-p)
7789         (eieio-class-name, define-obsolete-function-alias)
7790         (eieio-class-parents-fast, eieio-class-children-fast)
7791         (same-class-fast-p, class-constructor, generic-p)
7792         (generic-primary-only-p, generic-primary-only-one-p)
7793         (class-option-assoc, class-option, eieio-object-p)
7794         (class-abstract-p, class-method-invocation-order)
7795         (eieio-defclass-autoload-map, eieio-defclass-autoload)
7796         (eieio-class-un-autoload, eieio-defclass)
7797         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7798         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7799         (eieio--defgeneric-init-form, eieio-defgeneric-form)
7800         (eieio-defgeneric-reset-generic-form)
7801         (eieio-defgeneric-form-primary-only)
7802         (eieio-defgeneric-reset-generic-form-primary-only)
7803         (eieio-defgeneric-form-primary-only-one)
7804         (eieio-defgeneric-reset-generic-form-primary-only-one)
7805         (eieio-unbind-method-implementations)
7806         (eieio--defmethod, eieio--typep)
7807         (eieio-perform-slot-validation, eieio-validate-slot-value)
7808         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7809         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7810         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7811         (eieio-slot-name-index, eieio-class-slot-name-index)
7812         (eieio-set-defaults, eieio-initarg-to-attribute)
7813         (eieio-attribute-to-initarg, eieio-c3-candidate)
7814         (eieio-c3-merge-lists, eieio-class-precedence-c3)
7815         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7816         (eieio-class-precedence-list, eieio-generic-call-methodname)
7817         (eieio-generic-call-arglst, eieio-generic-call-key)
7818         (eieio-generic-call-next-method-list)
7819         (eieio-pre-method-execution-functions, eieio-generic-call)
7820         (eieio-generic-call-primary-only, eieiomt-method-list)
7821         (eieiomt-optimizing-obarray, eieiomt-install)
7822         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7823         (eieio-generic-form, eieio-defmethod, make-obsolete)
7824         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7825         (defclass): Remove `eval-and-compile' from macro.
7826         (call-next-method, shared-initialize): Instead of using
7827         `scoped-class' variable, use new eieio--scoped-class, and
7828         eieio--with-scoped-class.
7829         (initialize-instance): Rename local variable 'scoped-class' to
7830         'this-class' to remove ambiguitity from old global.
7832         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
7833         eieio.el.
7834         (eieio--scoped-class-stack): New variable.
7835         (eieio--scoped-class): New fcn.
7836         (eieio--with-scoped-class): New scoping macro.
7837         (eieio-defclass): Use pushnew instead of add-to-list.
7838         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7839         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7840         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7841         `scoped-class' variable, use new eieio--scoped-class, and
7842         eieio--with-scoped-class.
7844         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7846 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
7848         * eshell/esh-ext.el (eshell-external-command): Pass args to
7849         `eshell-find-interpreter'.
7850         (eshell-find-interpreter): Add new second parameter ARGS.
7852         * eshell/em-script.el (eshell-script-initialize): Add second arg
7853         to the function added as MATCH to `eshell-interpreter-alist'.
7855         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7856         the function added as MATCH to `eshell-interpreter-alist'.
7858         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7859         (eshell-visual-options): New defcustom.
7860         (eshell-escape-control-x): Adapt docstring.
7861         (eshell-term-initialize): Test `eshell-visual-subcommands' and
7862         `eshell-visual-options' in addition to `eshell-visual-commands'.
7863         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7865 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7867         * progmodes/python.el (python-indent-block-enders): Add break,
7868         continue and raise keywords.
7870 2013-06-01  Glenn Morris  <rgm@gnu.org>
7872         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7874         Plain (f)boundp silences compilation warnings since Emacs 22.1.
7875         * progmodes/cc-cmds.el (delete-forward-p):
7876         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7877         * progmodes/cc-engine.el (buffer-syntactic-context):
7878         * progmodes/cc-fonts.el (face-property-instance):
7879         * progmodes/cc-mode.el (set-keymap-parents):
7880         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7881         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7882         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7883         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7884         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7886         * progmodes/cc-vars.el (other): Emacs has this widget since
7887         at least 21.1, so don't (re)define it.
7889         * eshell/em-cmpl.el (eshell-cmpl-initialize):
7890         Replace the obsolete alias pcomplete-arg-quote-list.
7892 2013-06-01  Leo Liu  <sdl.web@gmail.com>
7894         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7895         punctuation syntax.
7896         (inferior-octave-minimal-columns)
7897         (inferior-octave-last-column-width): New variables.
7898         (inferior-octave-track-window-width-change): New function.
7899         (inferior-octave-mode): Adjust column width so that Octave output,
7900         for example from 'ls', can fit into the window nicely.
7902 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
7904         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7905         Highlight expansions inside regexp literals.
7907 2013-05-31  Glenn Morris  <rgm@gnu.org>
7909         * obsolete/sym-comp.el (symbol-complete):
7910         Replace obsolete completion-annotate-function.
7912         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7914 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
7916         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7917         New function, checks if point is inside a literal that allows
7918         expression expansion.
7919         (ruby-syntax-propertize-expansion): Use it.
7920         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7921         around the body.
7923 2013-05-30  Juri Linkov  <juri@jurta.org>
7925         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7926         to "\M-si".
7927         (isearch-invisible): New variable.
7928         (isearch-forward): Doc fix.
7929         (isearch-mode): Set `isearch-invisible'
7930         to the value of `search-invisible'.
7931         (isearch-toggle-case-fold): Doc fix.
7932         (isearch-toggle-invisible): New command.
7933         (isearch-query-replace): Let-bind `search-invisible'
7934         to the value of `isearch-invisible'.
7935         (isearch-search): Use `isearch-invisible' instead of
7936         `search-invisible'.  Let-bind `search-invisible'
7937         to the value of `isearch-invisible'.  (Bug#11378)
7939 2013-05-30  Juri Linkov  <juri@jurta.org>
7941         * replace.el (perform-replace): Avoid `isearch-range-invisible'
7942         call when `query-flag' is nil and `search-invisible' is non-nil.
7943         (Bug#11746)
7945 2013-05-30  Glenn Morris  <rgm@gnu.org>
7947         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7949         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7950         (cc-require): Suppress spurious "noruntime" warnings.
7951         (cc-require-when-compile): Use fboundp, for sake of compiler.
7953         * progmodes/cc-mode.el: Move load of cc-vars before that of
7954         cc-langs (which in turn loads cc-vars), to quieten compiler.
7956 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7958         * paren.el: Simplify the code.
7959         (show-paren-mode): Always start the timer.
7960         (show-paren--idle-timer): Rename from show-paren-idle-timer.
7961         (show-paren--overlay, show-paren--overlay-1): Rename from
7962         show-paren-overlay and show-paren-overlay-1, and initialize to an
7963         overlay rather than to nil.
7964         (show-paren-function): Misc cleanup and simplifications.
7966 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7968         * paren.el (show-paren-data-function): New hook.
7969         (show-paren--default): New function, extracted from show-paren-function.
7970         (show-paren-function): Use show-paren-data-function.
7972 2013-05-30  Glenn Morris  <rgm@gnu.org>
7974         * ielm.el (ielm-map, ielm-complete-symbol):
7975         Use completion-at-point rather than obsolete functions.
7976         (inferior-emacs-lisp-mode): Doc fix.
7977         Set completion-at-point-functions, rather than
7978         comint-dynamic-complete-functions.
7980         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7981         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7982         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7984         * image.el (image-animated-p): Tweak definition.
7986         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7987         (rlogin-process-connection-type): Tweak default.  Add set-after.
7988         (rlogin-host): Doc fix.
7989         (rlogin): Tweak prompt.
7990         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7992         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7993         * progmodes/tcl.el (inferior-tcl-mode-map):
7994         Use completion-at-point rather than obsolete alias.
7996         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7998         * minibuffer.el (read-file-name-completion-ignore-case):
7999         Move before completion--in-region, for eager macro expansion.
8001 2013-05-29  Juri Linkov  <juri@jurta.org>
8003         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8004         for total count of matching lines.  Add `global-matches' for total
8005         count of matches.  Rename `matches' to `lines' for count of
8006         matching lines.  Add `matches' for count of matches.
8007         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
8008         to `prev-line' for line number of prev match endpt.
8009         Increment `matches' for every match.  Print the number of
8010         matching lines in the header.
8011         (occur-context-lines): Rename `lines' to `curr-line'.
8012         Rename `prev-lines' to `prev-line'.  (Bug#14017)
8014 2013-05-29  Juri Linkov  <juri@jurta.org>
8016         * replace.el (perform-replace): Add `skip-read-only-count',
8017         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8018         Increment them for corresponding conditions and report the number
8019         of skipped occurrences in the final message.  (Bug#11746)
8020         (query-replace, query-replace-regexp, query-replace-regexp-eval)
8021         (replace-string, replace-regexp): Doc fix.
8023 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8025         * emacs-lisp/trace.el (trace--read-args): Provide a default.
8027         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8028         prog-mode-map (bug#14504).
8030 2013-05-29  Leo Liu  <sdl.web@gmail.com>
8032         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8033         (octave-help): Small simplification.
8035         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8036         off the highlight first.
8038 2013-05-29  Glenn Morris  <rgm@gnu.org>
8040         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8041         Handle idlwave-last-system-routine-info-cons-cell being nil.
8043         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8044         (idlwave-write-paths): Simplify via with-temp-buffer.
8046         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8047         * emulation/cua-rect.el: Also load cua-base at run time.
8049         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8050         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8051         (cperl-imenu-on-info): Require imenu.
8053 2013-05-28  Alan Mackenzie  <acm@muc.de>
8055         Handle "capitalised keywords" correctly.
8056         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8058 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
8060         * eshell/em-unix.el: Add -r option to cp.
8062 2013-05-28  Glenn Morris  <rgm@gnu.org>
8064         * vc/vc-arch.el (vc-exec-after): Declare.
8065         (vc-switches): Autoload.
8066         * vc/vc-bzr.el: No need to require vc when compiling.
8067         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8068         (vc-resynch-buffer, vc-dir-refresh): Declare.
8069         (vc-setup-buffer, vc-switches): Autoload.
8070         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8071         (vc-resynch-buffer): Declare.
8072         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8073         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8074         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8075         (grep-read-regexp, grep-read-files, grep-expand-template)
8076         (vc-dir-refresh): Declare.
8077         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8078         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8079         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8080         * vc/vc-mtn.el (vc-exec-after): Declare.
8081         (vc-switches): Autoload.
8082         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8083         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8084         (vc-file-tree-walk): Declare.
8085         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8086         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8087         (vc-tag-precondition, vc-rename-master): Autoload.
8088         * vc/vc-svn.el (vc-exec-after): Declare.
8089         (vc-switches, vc-setup-buffer): Autoload.
8090         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8091         Autoload.
8092         (vc-resynch-buffer): Declare.
8094         * obsolete/fast-lock.el (byte-compile-warnings):
8095         Don't warn about obsolete features in this obsolete file.
8097         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8098         Move definition before use.
8100         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8101         (dun-unix-verbs): Remove dun-zippy.
8102         (dun-zippy): Remove function.
8104         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8106 2013-05-27  Juri Linkov  <juri@jurta.org>
8108         * replace.el (replace-search): New function with code moved out
8109         from `perform-replace'.
8110         (replace-highlight, replace-dehighlight): Move function definitions
8111         up closer to `replace-search'.  (Bug#11746)
8113 2013-05-27  Juri Linkov  <juri@jurta.org>
8115         * replace.el (perform-replace): Ignore invisible matches.
8116         In addition to checking `query-replace-skip-read-only', also
8117         filter out matches by calling `run-hook-with-args-until-failure'
8118         on `isearch-filter-predicates', and also check `search-invisible'
8119         for t or call `isearch-range-invisible'.
8120         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
8122 2013-05-27  Juri Linkov  <juri@jurta.org>
8124         * isearch.el (isearch-filter-predicates): Rename from
8125         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
8126         (isearch-message-prefix): Display text from the property
8127         `isearch-message-prefix' of the currently active filters.
8128         (isearch-search): Don't compare `isearch-filter-predicate' with
8129         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
8130         on `isearch-filter-predicates'.  Also check `search-invisible' for t
8131         or call `isearch-range-invisible'.
8132         (isearch-filter-visible): Make obsolete.
8133         (isearch-lazy-highlight-search):
8134         Call `run-hook-with-args-until-failure' on
8135         `isearch-filter-predicates' and use `isearch-range-invisible'.
8137         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8138         `isearch-filter-predicates' instead of `funcall'ing
8139         `isearch-filter-predicate'.
8140         (Info-mode): Set `Info-isearch-filter' to
8141         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8143         * dired-aux.el (dired-isearch-filter-predicate-orig):
8144         Remove variable.
8145         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8146         (dired-isearch-filenames-end): Add and remove
8147         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8148         instead of changing the value of `isearch-filter-predicate'.
8149         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8150         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8151         Put property `isearch-message-prefix' to "filename " on
8152         `dired-isearch-filter-filenames'.
8154         * wdired.el (wdired-change-to-wdired-mode):
8155         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8156         locally instead of changing `isearch-filter-predicate'.
8157         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8159 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
8161         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8162         return the commit hash (Bug#14459).  Also set the
8163         `vc-git-detached' property.
8164         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8165         (vc-git-mode-line-string): Use the same help-echo format whether
8166         in detached mode or not, because we know the actual revision now.
8167         When in detached mode, shorten the revision to 7 chars.
8169 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8171         * emacs-lisp/easy-mmode.el (define-minor-mode):
8172         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8173         mode hook and provide a docstring.
8175 2013-05-27  Alan Mackenzie  <acm@muc.de>
8177         Remove spurious syntax-table text properties inserted by C-y.
8178         * progmodes/cc-mode.el (c-after-change): Also clear hard
8179         syntax-table property with value nil.
8181 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
8183         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8184         when reading the events; the buffer layout shall not be changed.
8186 2013-05-27  Leo Liu  <sdl.web@gmail.com>
8188         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8189         New variable.
8190         (inferior-octave-directory-tracker): Automatically re-sync
8191         default-directory.
8192         (octave-help): Improve handling of 'See also'.
8194 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8196         * doc-view.el: Minor naming convention tweaks.
8197         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8199         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8200         even if there's no `display' property yet (bug#14435).
8202 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
8204         * subr.el (unmsys--file-name): Rename from reveal-filename.
8206         * Makefile.in (custom-deps, finder-data, autoloads)
8207         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8208         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8209         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8211 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8213         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8214         error-completion on the first 2 args of condition-case (bug#14446).
8215         Don't burp at EOB.
8217 2013-05-25  Leo Liu  <sdl.web@gmail.com>
8219         * comint.el (comint-previous-matching-input): Do not flood the
8220         *Messages* buffer with trivial messages.
8222 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8224         * progmodes/flymake.el (flymake-nop): Don't return a string.
8225         (flymake-set-at): Fix typo.
8227         * simple.el (read--expression): New function, extracted from
8228         eval-expression.  Set completion-at-point-functions (bug#14465).
8229         (eval-expression, eval-minibuffer): Use it.
8231 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
8233         * progmodes/flymake.el (flymake-save-buffer-in-file)
8234         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8235         (flymake-selected-frame, flymake-log, flymake-ins-after)
8236         (flymake-set-at, flymake-get-buildfile-from-cache)
8237         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8238         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8239         Refine the doc string.
8240         (flymake-get-file-name-mode-and-masks): Reformat.
8241         (flymake-get-real-file-name-function): Fix a minor bug.
8243 2013-05-24  Juri Linkov  <juri@jurta.org>
8245         * progmodes/grep.el (grep-mode-font-lock-keywords):
8246         Support =linenumber= format used by git-grep for lines with
8247         function names.  (Bug#13549)
8249 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8251         * progmodes/octave.el (octave-smie-rules): Return nil rather than
8252         0 after a semi-colon; it works better for smie-auto-fill.
8253         (octave--indent-new-comment-line): New function.
8254         (octave-indent-new-comment-line): Use it (indirectly).
8255         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
8256         modify comment-line-break-function.
8258         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8259         (smie-setup): Use add-function to set it.
8261 2013-05-24  Sam Steingold  <sds@gnu.org>
8263         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8264         argument (before the `interactive' argument).
8266 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8268         * image-mode.el (image-mode-winprops): Add winprops to
8269         image-mode-winprops-alist before running
8270         image-mode-new-window-functions.
8271         * doc-view.el (doc-view-new-window-function): Don't delay
8272         doc-view-goto-page via timers (bug#14435).
8274 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
8276         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
8277         (doc-view-desktop-save-buffer): New function.
8278         (doc-view-restore-desktop-buffer): New function.
8279         (desktop-buffer-mode-handlers):
8280         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8281         handler.
8282         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8283         `desktop-save-buffer' function.
8285 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
8287         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8288         (tramp-gvfs-file-name-handler): Raise a user error when
8289         `tramp-gvfs-enabled' is nil.
8290         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8291         Do not raise a user error when loading package.  (Bug#14447)
8293         * net/xesam.el: Move to obsolete/.
8295 2013-05-24  Glenn Morris  <rgm@gnu.org>
8297         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8299         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8301         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8302         (Info-find-node, Man-getpage-in-background): Declare.
8304         * mail/unrmail.el (unrmail):
8305         Replace obsolete detect-coding-with-priority.
8307         * net/socks.el (socks-split-string): Use this rather than split-string.
8308         (socks-nslookup-host): Update for above change.
8309         (dynamic-choice, s5-dynamic-choice-match)
8310         (s5-dynamic-choice-match-inline, s5-widget-value-create):
8311         Comment out unused code.
8313         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8314         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8315         (gud-tooltip-echo-area): Make obsolete.
8316         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8318         * progmodes/js.el (js--optimize-arglist): Declare.
8320         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8322         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8323         (ediff-window-C): Declare.
8325         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8326         Tweak requires to silence compiler.
8328         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8329         (he-search-string, he-tried-table, he-expand-list)
8330         (he-init-string, he-string-member, he-substitute-string)
8331         (he-reset-string): Declare.
8333         * obsolete/options.el (list-options): Use custom-variable-p,
8334         rather than obsolete alias.
8336 2013-05-23  Sam Steingold  <sds@gnu.org>
8338         * simple.el (shell-command-on-region): Pass the `replace' argument
8339         down to `call-process-region' to comply with the doc as reported on
8340         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8342 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8344         * emacs-lisp/smie.el (smie-indent-forward-token)
8345         (smie-indent-backward-token): Handle string tokens (bug#14381).
8347 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8349         * ielm.el (ielm-menu): New menu.
8350         (inferior-emacs-lisp-mode): Set comment-start.
8352 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8354         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8355         Fix deactivate action.
8357         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8358         Add cleveref macros.
8360         * lisp/textmodes/reftex-parse.el
8361         (reftex-locate-bibliography-files): Accept options for
8362         bibliography commands.
8363         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8364         Add addbibresource.  Basic Biblatex support.
8366 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
8368         * net/tramp-gvfs.el (top):
8369         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8370         when loading package.  (Bug#14447)
8372 2013-05-23  Glenn Morris  <rgm@gnu.org>
8374         * progmodes/js.el: No need to load comint when compiling.
8375         (ring-insert, comint-send-string, comint-send-input)
8376         (comint-last-input-end, ido-chop): Declare.
8378         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8379         * vc/ediff-mult.el: Adjust requires.
8380         (ediff-directories-internal, ediff-directory-revisions-internal)
8381         (ediff-patch-file-internal): Declare.
8382         * vc/ediff-ptch.el: Adjust requires.
8383         (ediff-use-last-dir, ediff-buffers-internal): Declare.
8384         (ediff-find-file): Autoload.
8385         * vc/ediff-util.el: No need to load ediff when compiling.
8386         (ediff-regions-internal): Declare.
8387         * vc/ediff-wind.el: Adjust requires.
8388         (ediff-compute-toolbar-width): Define when compiling.
8389         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8390         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8391         (dired-get-filename, dired-get-marked-files)
8392         (ediff-last-dir-patch, ediff-patch-default-directory)
8393         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8394         (ediff-patch-buffer-internal): Declare.
8396         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8397         (ispell-process, ispell-buffer-local-words, lm-summary)
8398         (lm-section-start, lm-section-end): Declare.
8399         (checkdoc-ispell-init): Simplify.
8401         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8402         (he-string-member, he-reset-string, he-substitute-string): Declare.
8404         * eshell/em-ls.el: Adjust requires.
8405         (eshell-glob-regexp): Declare.
8406         * eshell/em-tramp.el: Adjust requires.
8407         (eshell-parse-command): Autoload.
8408         * eshell/em-xtra.el: Adjust requires.
8409         (eshell-parse-command): Autoload.
8410         * eshell/esh-ext.el: Adjust requires.
8411         (eshell-parse-command, eshell-close-handles): Autoload.
8412         * eshell/esh-io.el: Adjust requires.
8413         (eshell-output-filter): Autoload.
8414         * eshell/esh-util.el: No need to load tramp when compiling.
8415         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8416         Declare.
8417         (eshell-parse-ange-ls): Require ange-ftp and tramp.
8418         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8419         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8420         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8421         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8422         * eshell/esh-opt.el, eshell/esh-proc.el:
8423         * eshell/esh-var.el: Adjust requires.
8424         * eshell/eshell.el: Do not require esh-util twice.
8425         (eshell-add-input-to-history): Declare.
8426         (eshell-command): Check history module is active before using it.
8428         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8430 2013-05-22  Leo Liu  <sdl.web@gmail.com>
8432         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8434 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
8436         * autorevert.el (auto-revert-notify-add-watch)
8437         (auto-revert-notify-handler): Add `attrib' for the inotify case,
8438         it indicates changes in file modification time.
8440 2013-05-22  Glenn Morris  <rgm@gnu.org>
8442         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8443         Always delete the autoloaded function from the noruntime and
8444         unresolved functions lists.
8446         * allout.el: No need to load epa, epg, overlay when compiling.
8447         (epg-context-set-passphrase-callback, epg-list-keys)
8448         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8449         (epg-key-user-id-list): Declare.
8451         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8452         (viper-set-parsing-style-toggling-macro)
8453         (viper-set-emacs-state-searchstyle-macros):
8454         Use called-interactively-p on Emacs.
8455         (viper-looking-back): Make it an obsolete alias.  Update callers.
8456         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8457         Use looking-back rather than viper-looking-back.
8458         (viper-tmp-insert-at-eob, viper-enlarge-region)
8459         (viper-read-string-with-history, viper-register-to-point)
8460         (viper-append-to-register, viper-change-state-to-vi)
8461         (viper-backward-char-carefully, viper-forward-char-carefully)
8462         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8463         (viper-change-state-to-emacs): Declare.
8464         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8465         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8466         * emulation/viper-mous.el: Do not load viper-cmd.
8467         (viper-backward-char-carefully, viper-forward-char-carefully)
8468         (viper-forward-word, viper-adjust-window): Declare.
8470         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8472         * progmodes/idlw-help.el (idlwave-help-fontify):
8473         Use called-interactively-p.
8475         * term/w32console.el (w32-get-console-codepage)
8476         (w32-get-console-output-codepage): Declare.
8478         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8479         Remove unnecessary declarations.
8480         (dframe-message): Doc fix.
8482         * info.el (dframe-select-attached-frame, dframe-current-frame):
8483         Declare.
8485         * speedbar.el (speedbar-message): Make it an obsolete alias.
8486         Update all callers.
8487         (speedbar-with-attached-buffer)
8488         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8489         (speedbar-with-writable): Use backquote.
8490         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8491         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8492         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8493         rather than speedbar- aliases.
8494         * mail/rmail.el: Load dframe rather than speedbar when compiling.
8495         (speedbar-make-specialized-keymap, speedbar-insert-button)
8496         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8497         (speedbar-do-function-pointer): Declare.
8498         (rmail-speedbar-button, rmail-speedbar-find-file)
8499         (rmail-speedbar-move-message):
8500         Use dframe-with-attached-buffer rather than speedbar- alias.
8501         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8502         (dframe-message, speedbar-make-specialized-keymap)
8503         (speedbar-add-expansion-list, speedbar-mode-functions-list)
8504         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8505         (speedbar-insert-button, dframe-select-attached-frame)
8506         (dframe-maybee-jump-to-attached-frame)
8507         (speedbar-change-initial-expansion-list)
8508         (speedbar-previously-used-expansion-list-name): Declare.
8509         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8510         Use dframe-message, dframe-with-attached-buffer rather than
8511         speedbar- aliases.
8512         (gud-sentinel): Silence compiler.
8513         * progmodes/vhdl-mode.el (speedbar-refresh)
8514         (speedbar-do-function-pointer, speedbar-add-supported-extension)
8515         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8516         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8517         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8518         (speedbar-file-lists, speedbar-make-tag-line)
8519         (speedbar-line-directory, speedbar-goto-this-file)
8520         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8521         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8522         (speedbar-make-button, speedbar-reset-scanners)
8523         (speedbar-files-item-info, speedbar-line-text)
8524         (speedbar-find-file-in-frame, speedbar-set-timer)
8525         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8526         (speedbar-with-writable): Do not (re)define it.
8527         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8528         rather than speedbar- alias.
8530 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8532         * progmodes/octave.el (octave-mode-menu): Update and re-organize
8533         menu items.
8534         (octave-mode): Tweak fill-nobreak-predicate.
8535         (inferior-octave-startup): Check process to avoid infinite loop.
8536         (inferior-octave): Pop to buffer first to show abornmal process
8537         exit information.
8539 2013-05-21  Glenn Morris  <rgm@gnu.org>
8541         * printing.el (pr-menu-bar): Define when compiling.
8543 2013-05-21  Leo Liu  <sdl.web@gmail.com>
8545         * progmodes/octave.el (octave-auto-fill): Remove.
8546         (octave-indent-new-comment-line): Improve.
8547         (octave-mode): Use auto fill mode through
8548         comment-line-break-function and fill-nobreak-predicate.
8549         (octave-goto-function-definition): Support DEFUN_DLD.
8550         (octave-beginning-of-defun): Small tweak.
8551         (octave-help): Show parent directory.
8553 2013-05-21  Glenn Morris  <rgm@gnu.org>
8555         * files.el (dired-unmark):
8556         * progmodes/gud.el (gdb-input): Update declarations.
8558         * calculator.el (electric, ehelp): No need to load when compiling.
8559         (Electric-command-loop, electric-describe-mode): Declare.
8561         * doc-view.el (doc-view-current-converter-processes): Move before use.
8563         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8564         Move MODE-set-explicitly definition before use.
8566         * international/mule-diag.el (mule-diag):
8567         Don't use obsolete window-system-version.
8569         * mail/feedmail.el (smtpmail): No need to load when compiling.
8570         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8572         * mail/mail-utils.el (rfc822): No need to load when compiling.
8573         (rfc822-addresses): Autoload it.
8574         (mail-strip-quoted-names): Trivial simplification.
8576         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8577         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8579         * net/snmp-mode.el (tempo): Don't duplicate requires.
8581         * progmodes/prolog.el (info): No need to load when compiling.
8582         (comint): Require before shell requires it.
8583         (Info-goto-node): Autoload it.
8584         (Info-follow-nearest-node): Declare.
8585         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8587         * textmodes/artist.el (picture-mode-exit): Declare.
8589         * textmodes/reftex-parse.el (reftex-parse-from-file):
8590         Trivial rewrite so the compiler can parse it better.
8592 2013-05-20  Leo Liu  <sdl.web@gmail.com>
8594         * progmodes/octave.el (octave-help-mode-map)
8595         (octave-help-mode-finish-hook): New variables.
8596         (octave-help-mode, octave-help-mode-finish): New functions.
8597         (octave-help): Use octave-help-mode.
8599 2013-05-20  Glenn Morris  <rgm@gnu.org>
8601         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
8603 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
8605         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8606         start at point, so that expansion starting right after opening
8607         slash in a regexp is recognized.
8608         (ruby-syntax-before-regexp-re): New defvar, extracted from
8609         ruby-syntax-propertize-function.  Since the value of this regexp
8610         is looked up at runtime now, we should be able to turn
8611         `ruby-syntax-methods-before-regexp' into a defcustom later.
8612         (ruby-syntax-propertize-function): Split regexp matching into two
8613         parts, for opening and closing slashes.  That allows us to skip
8614         over string interpolations and support multiline regexps.
8615         Don't call `ruby-syntax-propertize-expansions', instead use another rule
8616         for them, which calls `ruby-syntax-propertize-expansion'.
8617         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8618         call to `ruby-syntax-propertize-function'.
8619         (ruby-syntax-propertize-expansion): Extracted from
8620         `ruby-syntax-propertize-expansions'.  Handles one expansion.
8621         (ruby-syntax-propertize-percent-literal): Leave point right after
8622         the percent symbol, so that the expression expansion rule can
8623         propertize the contents.
8624         (ruby-syntax-propertize-heredoc): Leave point at bol following the
8625         heredoc openers.
8626         (ruby-syntax-propertize-expansions): Remove.
8628 2013-05-18  Juri Linkov  <juri@jurta.org>
8630         * man.el (Man-default-man-entry): Remove `-' from the end
8631         of the default value.  (Bug#14400)
8633 2013-05-18  Glenn Morris  <rgm@gnu.org>
8635         * comint.el (comint-password-prompt-regexp):
8636         Allow "password for XXX" where XXX contains colons (eg https://...).
8638 2013-05-18  Leo Liu  <sdl.web@gmail.com>
8640         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8641         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
8642         (octave-source-directories): Don't check process.
8643         (octave-source-directories, octave-find-definition): Doc fix.
8645 2013-05-18  Glenn Morris  <rgm@gnu.org>
8647         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8648         Remove backspace/delete bindings.  (Bug#14392)
8650         * cus-dep.el (custom-make-dependencies): Sort the output.
8651         (custom-versions-load-alist): Convert comment to doc.
8653 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8655         * newcomment.el (comment-search-backward): Stricter in finding
8656         comment start.  (Bug#14303)
8658         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8659         (octave-comment-start-skip): Properly anchored.
8661 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8663         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8664         Clean up when turned off.  (Bug#14395)
8665         (smie--highlight-matching-block-overlay): No longer buffer-local.
8666         (smie-highlight-matching-block): Adjust.
8668 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
8670         Doc string fix for "nanoseconds" (Bug#14406).
8671         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8672         Fix doc string typo that had "nanoseconds" instead of "microseconds".
8674 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
8676         * calc/calc-units.el (math-extract-units): Preserve powers
8677         of units.
8679 2013-05-17  Leo Liu  <sdl.web@gmail.com>
8681         * subr.el (delete-consecutive-dups): New function.
8682         * ido.el (ido-set-matches-1): Use it.
8683         * progmodes/octave.el (inferior-octave-completion-table): Use it.
8684         * ido.el (ido-remove-consecutive-dups): Remove.
8686 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8688         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8689         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8690         regexp-opt's `words'.
8692 2013-05-16  Leo Liu  <sdl.web@gmail.com>
8694         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8695         (smie--highlight-matching-block-overlay)
8696         (smie--highlight-matching-block-lastpos)
8697         (smie--highlight-matching-block-timer): New variables.
8698         (smie-highlight-matching-block): New function.
8699         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
8700         (smie-setup): Conditionally enable smie-blink-matching-open.
8702 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
8704         Sync with upstream verilog-mode r840.
8705         * progmodes/verilog-mode.el (verilog-mode-version)
8706         (verilog-mode-release-date): Update.
8707         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8708         (verilog-sig-tieoff): Fix string error on
8709         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
8710         (verilog-read-decls): Fix parameters confusing
8711         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
8713 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
8715         * subr.el (reveal-filename): New function.
8717         * loadup.el: Compute Emacs executable versions on MS-Windows,
8718         where executables have the .exe extension.  Add a hard link
8719         emacs-XX.YY.ZZ.exe on MS-Windows.
8721         * Makefile.in (XARGS_LIMIT): New variable.
8722         (custom-deps, finder-data, autoloads)
8723         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8724         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8725         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8726         (compile-main): Limit xargs according to $(XARGS_LIMIT).
8728 2013-05-16  Leo Liu  <sdl.web@gmail.com>
8730         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8731         (octave-mode-menu, octave-mode-map): Remove its uses.
8733 2013-05-16  Reto Zimmermann  <reto@gnu.org>
8735         Sync with upstream vhdl mode v3.34.2.
8736         * progmodes/vhdl-mode.el: Use `push' throughout.
8737         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8738         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8739         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
8740         (vhdl-actual-generic-name): New option to derive actual generic name.
8741         (vhdl-port-paste-signals): Replace formal by actual generics.
8742         (vhdl-beautify): New name for old group vhdl-align.  Update users.
8743         (vhdl-beautify-options): New option.
8744         (vhdl-last-input-event): New compat alias.  Use throughout.
8745         (vhdl-goto-line): Replace user level function `goto-line'.
8746         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8747         vhdl-fix-statement-buffer.
8748         (vhdl-create-mode-menu): Add some entries.
8749         (vhdl-align-region-groups): Respect vhdl-beautify-options.
8750         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8751         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8752         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8753         to force statements on one line.
8754         (vhdl-remove-trailing-spaces-region):
8755         New, split from vhdl-remove-trailing-spaces.
8756         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8757         Respect vhdl-beautify-options.
8758         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8759         (vhdl-update-sensitivity-list): Not add with index if exists without.
8760         Not include array index with signal.  Ignore keywords in comments.
8761         (vhdl-get-visible-signals): Regexp tweaks.
8762         (vhdl-template-component-inst): Handle empty library.
8763         (vhdl-template-type): Add template for 'enum' type.
8764         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8765         Use vhdl-replace-string.
8766         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8767         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8768         (vhdl-speedbar-initialize): Update for above name change.
8769         (vhdl-compose-wire-components): Fix in handling of constants.
8770         (vhdl-error-regexp-emacs-alist): New variable.
8771         (vhdl-error-regexp-add-emacs): New function;
8772         adds support for new compile.el (Emacs 22+)
8773         (vhdl-generate-makefile-1): Change target order for single lib. units.
8774         Allow use of absolute file names.
8776 2013-05-16  Leo Liu  <sdl.web@gmail.com>
8778         * simple.el (prog-indent-sexp): Indent enclosing defun.
8780 2013-05-15  Glenn Morris  <rgm@gnu.org>
8782         * cus-start.el (show-trailing-whitespace): Move to editing basics.
8783         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8784         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8785         (whitespace-highlight): Move to whitespace group.
8787         * comint.el (comint-source):
8788         * pcmpl-linux.el (pcmpl-linux):
8789         * shell.el (shell-faces):
8790         * eshell/esh-opt.el (eshell-opt):
8791         * international/ccl.el (ccl): Remove empty custom groups.
8793         * completion.el (dynamic-completion-mode):
8794         * jit-lock.el (jit-lock-debug-mode):
8795         * minibuffer.el (completion-in-region-mode):
8796         * type-break.el (type-break-mode-line-message-mode)
8797         (type-break-query-mode):
8798         * emulation/tpu-edt.el (tpu-edt-mode):
8799         * progmodes/subword.el (global-subword-mode, global-superword-mode):
8800         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8801         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8803         * term/xterm.el (xterm): Change parent group to terminals.
8805         * master.el (master): Remove empty custom group.
8806         (master-mode): Remove unused :group argument.
8807         * textmodes/refill.el (refill): Remove empty custom group.
8808         (refill-mode): Remove unused :group argument.
8810         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8812         * cus-dep.el: Provide a feature.
8813         (custom-make-dependencies): Ignore dotfiles (dir-locals).
8814         Don't mistakenly ignore files whose basenames match a basename
8815         from preloaded-file-list (eg cedet/ede/simple.el).
8816         Add a fallback method for getting :group.
8818 2013-05-15  Juri Linkov  <juri@jurta.org>
8820         * isearch.el (isearch-char-by-name): Rename from
8821         `isearch-insert-char-by-name'.  Doc fix.
8822         (isearch-forward): Mention `isearch-char-by-name' in
8823         the docstring.  (Bug#13348)
8825         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8826         `exit-minibuffer' instead of
8827         `isearch-nonincremental-exit-minibuffer'.
8828         (isearch-edit-string): Remove mention of
8829         `isearch-nonincremental-exit-minibuffer' from docstring.
8830         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8831         (isearch-forward-exit-minibuffer)
8832         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
8834 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8836         * loadup.el: Just use unversioned DOC.
8838         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8839         literals as extending to EOB.
8840         (nxml-last-fontify-end): Remove unused variable.
8841         (nxml-after-change1): Use with-silent-modifications.
8842         (nxml-extend-after-change-region): Simplify.
8843         (nxml-extend-after-change-region1): Remove function.
8844         (nxml-after-change1): Don't adjust for dependent regions.
8845         (nxml-fontify-matcher): Simplify.
8846         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8847         (xmltok-add-dependent): Remove function.
8848         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8849         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8850         (xmltok-scan-prolog-after-processing-instruction-open): Treat
8851         unclosed <[[, <?, comment, and other literals as extending to EOB.
8852         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8853         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8854         Remove functions.
8855         (rng-do-some-validation-1): Don't mark dependent regions.
8856         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8857         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8858         (nxml-clear-dependent-regions): Remove functions.
8859         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8860         (nxml-ensure-scan-up-to-date):
8861         Don't clear&mark dependent regions.
8863 2013-05-15  Leo Liu  <sdl.web@gmail.com>
8865         * progmodes/octave.el (octave-goto-function-definition):
8866         Improve and fix callers.
8868 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8870         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8871         the setter (bug#14387).
8873         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8874         surrounding group (bug#14402).
8876 2013-05-14  Juri Linkov  <juri@jurta.org>
8878         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8879         (Bug#14390)
8881 2013-05-14  Glenn Morris  <rgm@gnu.org>
8883         * progmodes/f90.el (f90-imenu-generic-expression):
8884         Fix typo in 2013-05-08 change.  (Bug#14402)
8886 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
8888         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8889         Remove signals for which replies are never received.
8891 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
8893         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8894         (gdb-handler-alist, gdb-handler-number): Remove variables.
8895         (gdb-handler-list): New variable.
8896         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8897         (gdb-pending-handler-p, gdb-handle-reply)
8898         (gdb-remove-all-pending-triggers): New functions.
8899         (gdb-discard-unordered-replies): New defcustom.
8900         (gdb-handler): New defstruct.
8901         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
8902         instead of gdb-pending-triggers.  Update docstring.
8903         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
8904         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8905         (gdb-var-update-handler, def-gdb-auto-update-trigger)
8906         (def-gdb-auto-update-handler, gdb-get-changed-registers)
8907         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8908         (gdb-frame-handler): Pending triggers are now automatically managed.
8909         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8910         Remove argument.
8911         (gdb-input): Automatically handles pending triggers.  Update docstring.
8912         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8913         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8914         Update comments.
8915         (gdb-done-or-error): Now use gdb-handle-reply.
8917 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
8919         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8920         gdb-debug-log.
8922 2013-05-14  Glenn Morris  <rgm@gnu.org>
8924         * subr.el (user-emacs-directory-warning): New option.
8925         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
8927 2013-05-14  Leo Liu  <sdl.web@gmail.com>
8929         * progmodes/octave.el (octave-font-lock-keywords): Fix error
8930         during redisplay.
8931         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8932         (octave-font-lock-texinfo-comment): Fix invalid search bound
8933         error: wrong side of point.
8935 2013-05-14  Glenn Morris  <rgm@gnu.org>
8937         * progmodes/flymake.el (flymake-xml-program): New option.
8938         (flymake-xml-init): Use it.
8940         * term/xterm.el: Provide a feature.
8942         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
8944 2013-05-13  Glenn Morris  <rgm@gnu.org>
8946         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8947         Add compat aliases as a hack workaround.  (Bug#14384)
8949 2013-05-13  Leo Liu  <sdl.web@gmail.com>
8951         * progmodes/octave.el (octave-indent-comment): Fix indentation for
8952         ###, and %!.
8953         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8954         C-M-q.
8955         (octave-comment-start-skip): Include %!.
8956         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8958 2013-05-12  Leo Liu  <sdl.web@gmail.com>
8960         * progmodes/octave.el (inferior-octave-startup): Store the value
8961         of __octave_srcdir__ for octave-source-directories.
8962         (inferior-octave-check-process): New function refactored out of
8963         inferior-octave-send-list-and-digest.
8964         (octave-source-directories)
8965         (octave-find-definition-filename-function): New variables.
8966         (octave-source-directories)
8967         (octave-find-definition-default-filename): New functions.
8968         (octave-find-definition): Improve to find functions implemented in C++.
8970 2013-05-12  Glenn Morris  <rgm@gnu.org>
8972         * calendar/diary-lib.el (diary-outlook-format-1):
8973         Don't include dayname in the output.  (Bug#14349)
8975 2013-05-11  Glenn Morris  <rgm@gnu.org>
8977         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8979         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8980         Treat cc-provide like provide.
8982 2013-05-11  Kevin Ryde  <user42@zip.com.au>
8984         * cus-dep.el (custom-make-dependencies):
8985         Use generated-autoload-load-name for the sake of files such
8986         such cedet/semantic/bovine/c.el, where the base file name
8987         is not in load-path.  (Bug#5277)
8989 2013-05-11  Glenn Morris  <rgm@gnu.org>
8991         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8992         Provide features.
8994 2013-05-11  Leo Liu  <sdl.web@gmail.com>
8996         * progmodes/octave.el (octave-indent-comment): Improve.
8997         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8998         (octave-eldoc-function-signatures, octave-eldoc-function):
8999         New functions.
9000         (octave-mode, inferior-octave-mode): Add eldoc support.
9002 2013-05-11  Richard Stallman  <rms@gnu.org>
9004         * epa.el (epa-decrypt-file): Take output file name as argument
9005         and read it using `interactive'.
9007 2013-05-11  Leo Liu  <sdl.web@gmail.com>
9009         * progmodes/octave.el (octave-beginning-of-line)
9010         (octave-end-of-line): Check before using up-list because it jumps
9011         out of more syntactic contructs since moving to smie.
9012         (octave-indent-comment): New function.
9013         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
9014         (octave-begin-keywords, octave-end-keywords)
9015         (octave-reserved-words, octave-smie-bnf-table)
9016         (octave-smie-rules): Add new keywords from Octave 3.6.4.
9018 2013-05-11  Glenn Morris  <rgm@gnu.org>
9020         * faces.el (internal-face-x-get-resource):
9021         * frame.el (ns-display-monitor-attributes-list):
9022         * calc/calc-aent.el (math-to-radians-2):
9023         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9024         Fix declarations.
9026         * calc/calc-menu.el: Make it loadable in isolation.
9028         * net/eudcb-bbdb.el: Make it loadable without bbdb.
9029         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9030         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9031         (eudc-bbdb-query-internal): Require 'bbdb.
9033         * lpr.el (lpr-headers-switches):
9034         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9036         * progmodes/sql.el (sql-login-params): Fix and improve :type.
9038         * emulation/edt-mapper.el: In batch mode, error rather than hang.
9040         * term.el (term-set-escape-char): Make it idempotent.
9042 2013-05-10  Leo Liu  <sdl.web@gmail.com>
9044         * progmodes/octave.el (inferior-octave-completion-table):
9045         No longer a function and all uses changed.  Use cache to speed up
9046         completion due to bug#11906.
9047         (octave-beginning-of-defun): Re-write to be more general.
9049 2013-05-10  Glenn Morris  <rgm@gnu.org>
9051         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9053 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9055         * comint.el (comint-redirect-send-command-to-process): Use :around
9056         rather than :override for comint-redirect-filter.
9057         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9058         Call it instead of comint-redirect-original-filter-function (which
9059         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
9061 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
9063         * frame.el (display-monitor-attributes-list): Add NS case.
9064         (ns-display-monitor-attributes-list): Declare.
9066 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
9068         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
9070 2013-05-09  Glenn Morris  <rgm@gnu.org>
9072         * international/fontset.el (vertical-centering-font-regexp):
9073         Set standard-value.
9075         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9077         * bookmark.el (bookmark-search-delay):
9078         * cus-start.el (vertical-centering-font-regexp):
9079         * ps-mule.el (ps-mule-font-info-database-default):
9080         * ps-print.el (ps-default-fg, ps-default-bg):
9081         * type-break.el (type-break-good-break-interval):
9082         * whitespace.el (whitespace-indentation-regexp)
9083         (whitespace-space-after-tab-regexp):
9084         * emacs-lisp/testcover.el (testcover-1value-functions)
9085         (testcover-noreturn-functions, testcover-progn-functions)
9086         (testcover-prog1-functions):
9087         * emulation/viper-init.el (viper-emacs-state-cursor-color):
9088         * eshell/em-glob.el (eshell-glob-translate-alist):
9089         * play/tetris.el (tetris-tty-colors):
9090         * progmodes/cpp.el (cpp-face-default-list):
9091         * progmodes/flymake.el (flymake-allowed-file-name-masks):
9092         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9093         (idlwave-help-browser-generic-args):
9094         * progmodes/make-mode.el (makefile-special-targets-list):
9095         * progmodes/python.el (python-shell-virtualenv-path):
9096         * progmodes/verilog-mode.el (verilog-active-low-regexp)
9097         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9098         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9099         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9100         * textmodes/reftex-vars.el (reftex-format-label-function):
9101         * textmodes/remember.el (remember-diary-file): Fix custom types.
9103         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9104         Add :version.
9106 2013-05-09  Leo Liu  <sdl.web@gmail.com>
9108         * progmodes/octave.el (inferior-octave-completion-at-point):
9109         Restore file completion.  (Bug#14300)
9110         (inferior-octave-startup): Fix incorrect highlighting for the
9111         first prompt.
9113 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9115         * progmodes/ruby-mode.el: First cut at SMIE support.
9116         (ruby-use-smie): New var.
9117         (ruby-smie-grammar): New constant.
9118         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9119         (ruby-smie--forward-token, ruby-smie--backward-token)
9120         (ruby-smie-rules): New functions.
9121         (ruby-mode-variables): Setup SMIE if applicable.
9123 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
9125         * simple.el (line-move-visual): Signal beginning/end of buffer
9126         only if vertical-motion moved less than it was requested.  Avoids
9127         silly incorrect error messages when there are display strings with
9128         multiple newlines at EOL.
9130 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9132         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9133         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9134         (prolog-char-quote-workaround):
9135         * progmodes/cperl-mode.el (cperl-under-as-char):
9136         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9137         Mark as obsolete.
9138         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9139         their declaration.
9140         (vhdl-mode-syntax-table-init): Remove.
9142         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9143         last change.
9145         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9146         syntax for "_".
9147         (ld-script-font-lock-keywords):
9148         Change regexps to use things like \_< and \_>.
9150         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9151         Change all regexps to use things like \_< and \_>.
9153         * progmodes/autoconf.el (autoconf-definition-regexp)
9154         (autoconf-font-lock-keywords, autoconf-current-defun-function):
9155         Handle a _ with symbol syntax.
9156         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9158         * progmodes/ada-mode.el (ada-mode-abbrev-table):
9159         Consolidate declaration.
9160         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9161         the declaration.
9162         (ada-create-syntax-table): Remove.
9163         (ada-capitalize-word): Don't mess with the syntax of "_" since it
9164         already has the right syntax nowadays.
9165         (ada-goto-next-word): Don't change the syntax of "_".
9167         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9168         with-wrapper-hook.
9170 2013-05-08  Sam Steingold  <sds@gnu.org>
9172         * thingatpt.el (thing-at-point): Accept optional second argument
9173         NO-PROPERTIES to strip the text properties from the return value.
9174         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9175         to `thing-at-point' instead of stripping the properties ourselves.
9176         Also, when `thing-at-point' fails to find a url, prepend "http://"
9177         to the filename at point on the assumption that the user is
9178         pointing at something like gnu.org/gnu.
9180 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
9182         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9183         * faces.el (crm-separator):
9184         Silence byte-compiler.
9186         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9187         (tool-bar-map): Remove unneeded defvars.
9189 2013-05-08  Leo Liu  <sdl.web@gmail.com>
9191         Re-work a fix for bug#10994 based on Le Wang's patch.
9192         * ido.el (ido-remove-consecutive-dups): New helper.
9193         (ido-completing-read): Use it.
9194         (ido-chop): Revert fix for bug#10994.
9196 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
9198         * cus-edit.el (custom-save-variables):
9199         Pretty-print long values.  (Bug#14187)
9201 2013-05-08  Glenn Morris  <rgm@gnu.org>
9203         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9204         (m4-mode-syntax-table): Init in the defvar.
9205         (m4-mode-abbrev-table): Let define-derived-mode define it.
9207 2013-05-08  Tom Tromey  <tromey@redhat.com>
9209         * progmodes/m4-mode.el (m4-mode-syntax-table):
9210         Do not treat "_" as word constituent.  (Bug#14167)
9212 2013-05-07  Glenn Morris  <rgm@gnu.org>
9214         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9215         Remove explicit eshell-isearch-cancel-map.
9217         * progmodes/f90.el (f90-smart-end-names): New option.
9218         (f90-smart-end): Doc fix.
9219         (f90-end-block-optional-name): New constant.
9220         (f90-block-match): Respect f90-smart-end-names.
9222 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9224         * progmodes/octave.el (octave-smie-forward-token): Be more careful
9225         about implicit semi-colons (bug#14218).
9227 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9229         * frame.el (display-monitor-attributes-list)
9230         (frame-monitor-attributes): New functions.
9232 2013-05-06  Leo Liu  <sdl.web@gmail.com>
9234         * progmodes/octave.el (octave-syntax-propertize-function): Change
9235         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
9236         (octave-font-lock-keywords): Use octave-operator-regexp.
9237         (octave-completion-at-point): Rename from
9238         octave-completion-at-point-function.
9239         (inferior-octave-directory-tracker): Robustify.
9240         (octave-text-functions): Remove and fix its uses.  No such things
9241         any more.
9243 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9245         * emacs-lisp/trace.el (trace--display-buffer): New function.
9246         (trace-make-advice): Use it.
9248 2013-05-06  Juri Linkov  <juri@jurta.org>
9250         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
9251         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9252         Doc fix.
9253         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9254         in the help string.  (Bug#12985)
9256 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
9258         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
9260 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9262         * progmodes/perl-mode.el: Add support for here documents.
9263         (perl-syntax-propertize-function): Match here-doc markers.
9264         (perl-syntax-propertize-special-constructs): Find their end.
9265         (perl-imenu-generic-expression): Use [:alnum:].
9267         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9268         (advice--add-function): Refresh the advice if already present
9269         (bug#14317).
9271 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
9273         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
9275 2013-05-06  Glenn Morris  <rgm@gnu.org>
9277         * w32-fns.el (w32-charset-info-alist): Declare.
9279         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9280         of its defcustom properties.
9281         (eshell-cmpl-initialize): No need to load pcomplete.
9283         * generic-x.el: No need to require comint when compiling.
9285         * net/eudc-export.el: Make it loadable without bbdb.
9286         (top-level): Use require rather than load-library.
9287         (eudc-create-bbdb-record, eudc-bbdbify-phone)
9288         (eudc-batch-export-records-to-bbdb)
9289         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9290         Require bbdb.
9292 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9294         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9295         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9296         some tweaks, instead.
9298 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9300         * progmodes/octave.el (octave-font-lock-keywords)
9301         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9302         (inferior-octave-send-list-and-digest): Improve error message.
9303         (octave-mode, inferior-octave-mode): Use setq-local.
9304         (octave-help): Set info-lookup-mode.
9306 2013-05-05  Richard Stallman  <rms@gnu.org>
9308         * vc/compare-w.el (compare-windows-whitespace):
9309         Treat no-break space as whitespace.
9311         * mail/rmailsum.el (rmail-summary-rmail-update):
9312         Detect empty summary and don't change selected message.
9313         (rmail-summary-goto-msg): Likewise.
9315         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9316         Doc fixes, rename args.
9318 2013-05-05  Alan Mackenzie  <acm@muc.de>
9320         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9322 2013-05-05  Juri Linkov  <juri@jurta.org>
9324         * info.el (Info-read-subfile): Use (point-min) instead of (point)
9325         to not add the length of the summary segment to the return value.
9326         (Bug#14125)
9328 2013-05-05  Leo Liu  <sdl.web@gmail.com>
9330         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9331         (inferior-octave-output-filter): Remove.
9332         (octave-send-region, inferior-octave-startup): Fix callers.
9333         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9334         (octave-binary-file-extensions): New user variable.
9335         (octave-find-definition): Confirm if opening binary files.
9336         (octave-help-file): Use octave-find-definition to get the binary
9337         confirmation.
9338         (octave-help): Adjust for octave-help-file change.
9340 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9342         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9343         Merge the two entries that handle function definitions.
9344         (pascal--syntax-propertize): New const.
9345         (pascal-mode): Use it.  Use setq-local.
9347 2013-05-04  Glenn Morris  <rgm@gnu.org>
9349         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9350         (diary-from-outlook): Respect diary-from-outlook-function.
9352 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9354         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9355         Move the declaration from C.
9356         (read-minibuffer, eval-minibuffer): Move from C.
9357         (completion-setup-function): Avoid minibuffer-completion-contents.
9359 2013-05-03  Leo Liu  <sdl.web@gmail.com>
9361         * progmodes/octave.el (octave-font-lock-keywords): Do not
9362         dehighlight 'end' in comments or strings.
9363         (octave-completing-read, octave-goto-function-definition):
9364         New helpers.
9365         (octave-help-buffer): New user variable.
9366         (octave-help-file, octave-help-function): New button types.
9367         (octave-help): New command and bind it to C-h ;.
9368         (octave-find-definition): New command and bind it to M-.
9369         (user-error): Alias to error if not defined.
9371 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9373         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9374         for \.  (bug#14332)
9375         (octave-font-lock-keywords): Include [ and {.
9377 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9379         * progmodes/octave.el (inferior-octave-startup-file): Change default.
9380         (inferior-octave): Remove calling comint-mode and return the buffer.
9381         (inferior-octave-startup): Cosmetic changes.
9383 2013-05-02  Leo Liu  <sdl.web@gmail.com>
9385         * progmodes/octave.el (octave-syntax-propertize-function):
9386         Include the case when ' is at line beginning.  (Bug#14336)
9388 2013-05-02  Glenn Morris  <rgm@gnu.org>
9390         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9391         * desktop.el (vc-dir-mode): Just autoload it here.
9393 2013-05-02  Alan Mackenzie  <acm@muc.de>
9395         Eliminate variable c-standard-font-lock-fontify-region-function.
9396         * progmodes/cc-mode.el
9397         (c-standard-font-lock-fontify-region-function): Remove.
9398         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9400 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9402         * progmodes/octave.el: Compatible with older emacs-24 releases.
9403         (inferior-octave-has-built-in-variables): Remove.  Built-in
9404         variables were removed from Octave in 2007.
9405         (inferior-octave-startup): Fix uses.
9406         (comint-line-beginning-position): Remove compatibility code for
9407         emacs 21.
9409 2013-05-01  Juri Linkov  <juri@jurta.org>
9411         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
9413 2013-05-01  Juri Linkov  <juri@jurta.org>
9415         * comint.el (comint-previous-matching-input): Don't print message
9416         "History item: %d" when `isearch-mode' is active.
9417         (comint-history-isearch-message): Print message "History item: %d"
9418         when `comint-input-ring-index' is not empty and this function is
9419         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
9421 2013-05-01  Leo Liu  <sdl.web@gmail.com>
9423         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9424         definitions.  Use completion-at-point to insert keywords.
9425         (octave-abbrev-start): Remove.
9426         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9428 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9430         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9431         change.
9433 2013-04-30  Alan Mackenzie  <acm@muc.de>
9435         Handle arbitrarily long C++ member initialisation lists.
9436         * progmodes/cc-engine.el (c-back-over-member-initializers):
9437         new function.
9438         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9439         (most) member init lists.
9441 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9443         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9444         variable.
9446 2013-04-30  Leo Liu  <sdl.web@gmail.com>
9448         * progmodes/octave.el (octave-variables): Remove.  No builtin
9449         variables any more.  All converted to functions.
9450         (octave-font-lock-keywords, octave-completion-at-point-function):
9451         Fix uses.
9452         (octave-font-lock-texinfo-comment): New user variable.
9453         (octave-texinfo-font-lock-keywords): New variable for texinfo
9454         comment block.
9455         (octave-function-comment-block): New face.
9456         (octave-font-lock-texinfo-comment): New function.
9457         (octave-mode): Font lock texinfo comment block.
9459 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9461         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9462         indexing expression.
9463         (octave-continuation-string): Do not use \.
9464         (inferior-octave-complete-impossible): Remove.
9465         (inferior-octave-completion-table)
9466         (inferior-octave-completion-at-point): Remove its uses.
9467         (inferior-octave-startup): completion_matches was introduced to
9468         Octave in 1996 so safe to assume it.
9469         (octave-function-file-comment): Improve to follow how Octave does it.
9470         (octave-update-function-file-comment): Tweak.
9472 2013-04-29  Leo Liu  <sdl.web@gmail.com>
9474         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9475         (inferior-octave-startup): Remove inferior-octave-startup-hook.
9476         (octave-function-file-comment): Fix typo.
9477         (octave-sync-function-file-names): Use read-char-choice.
9479 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
9481         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9482         to t for the less important warnings.
9484 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
9486         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
9488 2013-04-27  Glenn Morris  <rgm@gnu.org>
9490         * vc/log-view.el (log-view-current-entry):
9491         Treat "---" separator lines as part of the following rev.  (Bug#14169)
9493 2013-04-27  Juri Linkov  <juri@jurta.org>
9495         * subr.el (read-number): Doc fix about using it by interactive
9496         code letter `n'.  (Bug#14254)
9498 2013-04-27  Juri Linkov  <juri@jurta.org>
9500         * desktop.el (desktop-auto-save-timeout): New option.
9501         (desktop-file-checksum): New variable.
9502         (desktop-save): Add optional arg `auto-save' and don't auto-save
9503         if nothing changed.
9504         (desktop-auto-save-timer): New variable.
9505         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9506         (after-init-hook): Call `desktop-auto-save-set-timer'.
9507         Suggested by Reuben Thomas <rrt@sc3d.org> in
9508         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9510 2013-04-27  Leo Liu  <sdl.web@gmail.com>
9512         * progmodes/octave.el (octave-function-file-p)
9513         (octave-skip-comment-forward, octave-function-file-comment)
9514         (octave-update-function-file-comment): New functions.
9515         (octave-mode-map): Bind C-c ; to
9516         octave-update-function-file-comment.
9517         (octave-mode-menu): Add octave-update-function-file-comment.
9518         (octave-mode, inferior-octave-mode): Fix doc-string.
9519         (octave-insert-defun): Conform to Octave's coding convention.
9520         (Bug#14285)
9522         * files.el (basic-save-buffer): Don't let errors in
9523         before-save-hook prevent saving buffer.
9525 2013-04-20  Roland Winkler  <winkler@gnu.org>
9527         * faces.el (read-face-name): Use completing-read if arg multiple
9528         is nil.
9530 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
9532         * ls-lisp.el (ls-lisp-insert-directory): If no files are
9533         displayed, move point to after the totals line.
9534         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9535         for the details.
9537 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9539         * emacs-lisp/package.el (package-autoload-ensure-default-file):
9540         Add current dir to the load-path.
9541         (package-generate-autoloads): Don't rely on
9542         autoload-ensure-default-file.
9544 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
9546         * textmodes/remember.el (remember-store-in-files): Document that
9547         the file name format is passed to `format-time-string'.
9549 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9551         * progmodes/octave.el (octave-sync-function-file-names): New function.
9552         (octave-mode): Use it in before-save-hook.
9554 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9556         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9557         (bug#14274).
9559         * progmodes/octave.el (octave-smie-forward-token): Properly skip
9560         \n and comment, even if it's not an implicit ; (bug#14218).
9562 2013-04-26  Glenn Morris  <rgm@gnu.org>
9564         * subr.el (read-number): Once more use `read' rather than
9565         `string-to-number', to trap non-numeric input.  (Bug#14254)
9567 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
9569         * emacs-lisp/syntax.el (syntax-propertize-multiline):
9570         Use `syntax-multiline' text property consistently instead of
9571         `font-lock-multiline'.  (Bug#14237)
9573 2013-04-26  Glenn Morris  <rgm@gnu.org>
9575         * emacs-lisp/shadow.el (list-load-path-shadows):
9576         No longer necessary to check for duplicate simple.el, since
9577         2012-07-07 change to init_lread to not include installation lisp
9578         directories in load-path when running uninstalled.  (Bug#14270)
9580 2013-04-26  Leo Liu  <sdl.web@gmail.com>
9582         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9583         (octave-mode, inferior-octave-mode): Use setq-local.
9584         (octave-not-in-string-or-comment-p): Rename to
9585         octave-in-string-or-comment-p.
9586         (octave-in-comment-p, octave-in-string-p)
9587         (octave-in-string-or-comment-p): Replace defsubst with defun.
9589 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
9591         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9593 2013-04-25  Bastien Guerry  <bzg@gnu.org>
9595         * textmodes/remember.el (remember-data-directory)
9596         (remember-directory-file-name-format): Fix custom types.
9598 2013-04-25  Leo Liu  <sdl.web@gmail.com>
9600         * progmodes/octave.el (octave-completion-at-point-function):
9601         Make use of inferior octave process.
9602         (octave-initialize-completions): Remove.
9603         (inferior-octave-completion-table): New function.
9604         (inferior-octave-completion-at-point): Use it.
9605         (octave-completion-alist): Remove.
9607 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9609         * progmodes/opascal.el: Use font-lock and syntax-propertize.
9610         (opascal-mode-syntax-table): New var.
9611         (opascal-literal-kind, opascal-is-literal-end)
9612         (opascal-literal-token-at): Rewrite.
9613         (opascal--literal-start-re, opascal-font-lock-keywords)
9614         (opascal--syntax-propertize): New constants.
9615         (opascal-font-lock-defaults): Adjust.
9616         (opascal-mode): Use them.  Set comment-<foo> variables as well.
9617         (delphi-comment-face, opascal-comment-face, delphi-string-face)
9618         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9619         (delphi-other-face, opascal-other-face): Remove face variables.
9620         (opascal-save-state): Remove macro.
9621         (opascal-fontifying-progress-step): Remove constant.
9622         (opascal--ignore-changes): Remove var.
9623         (opascal-set-token-property, opascal-parse-next-literal)
9624         (opascal-is-stable-literal, opascal-complete-literal)
9625         (opascal-is-literal-start, opascal-face-of)
9626         (opascal-parse-region, opascal-parse-region-until-stable)
9627         (opascal-fontify-region, opascal-after-change)
9628         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9629         (opascal-debug-parse-region, opascal-debug-parse-window)
9630         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9631         (opascal-debug-fontify-buffer): Remove.
9632         (opascal-debug-mode-map): Adjust accordingly.
9634 2013-04-25  Leo Liu  <sdl.web@gmail.com>
9636         Merge octave-mod.el and octave-inf.el into octave.el with some
9637         cleanups.
9638         * progmodes/octave.el: New file renamed from octave-mod.el.
9639         * progmodes/octave-inf.el: Merged into octave.el.
9640         * progmodes/octave-mod.el: Renamed to octave.el.
9642 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
9644         * textmodes/reftex-vars.el
9645         (reftex-label-ignored-macros-and-environments): New defcustom.
9647         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9649 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9651         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9652         (smie-indent-keyword): Improve the check to ensure that the next
9653         comment is really on the same line.
9654         (smie-indent-comment): Don't align with a subsequent closer (or eob).
9656         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9657         semi-colons if the line is not otherwise empty (bug#14218).
9659 2013-04-25  Glenn Morris  <rgm@gnu.org>
9661         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9663 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9665         * progmodes/opascal.el (opascal-set-token-property): Rename from
9666         opascal-set-text-properties and only set `token' (bug#14134).
9667         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9668         (opascal-literal-text-properties): Remove.
9669         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9670         Adjust callers.
9672 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
9674         * textmodes/remember.el (remember-handler-functions): Add an
9675         option for a new handler `remember-store-in-files'.
9676         (remember-data-directory, remember-directory-file-name-format):
9677         New options.
9678         (remember-store-in-files): New function to store remember notes
9679         as separate files within a directory.
9681 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
9683         * progmodes/compile.el (compilation-next-error-function):
9684         Pass "formats" to compilation-find-file (bug#11777).
9686 2013-04-24  Glenn Morris  <rgm@gnu.org>
9688         * vc/vc-bzr.el (vc-bzr-print-log):
9689         * vc/vc-hg.el (vc-hg-print-log):
9690         * vc/vc-svn.el (vc-svn-print-log):
9691         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
9693         * vc/vc-bzr.el (vc-bzr-print-log):
9694         * vc/vc-cvs.el (vc-cvs-print-log):
9695         * vc/vc-git.el (vc-git-print-log):
9696         * vc/vc-hg.el (vc-hg-print-log):
9697         * vc/vc-mtn.el (vc-mtn-print-log):
9698         * vc/vc-rcs.el (vc-rcs-print-log):
9699         * vc/vc-sccs.el (vc-sccs-print-log):
9700         * vc/vc-svn.el (vc-svn-print-log):
9701         * vc/vc.el (vc-print-log-internal): Doc fixes.
9703 2013-04-23  Glenn Morris  <rgm@gnu.org>
9705         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9706         Remove venerable code attempting to avoid substitute-command-keys.
9708 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
9710         * textmodes/reftex-vars.el (reftex-label-regexps):
9711         Call `reftex-compile-variables' after changes to this variable.
9713 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9715         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9716         Use lexical-binding.
9717         (jit-lock-force-redisplay): Use markers, check buffer's continued
9718         existence and beware narrowed buffers.
9719         (jit-lock-fontify-now): Adjust call accordingly.
9721 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9723         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9724         to avoid misleading the user.
9726 2013-04-22  Leo Liu  <sdl.web@gmail.com>
9728         * info-look.el: Prefer latex2e.info.  (Bug#14240)
9730 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
9732         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
9734         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9735         * net/tramp.el (tramp-call-process): ... here.
9736         (tramp-set-completion-function, tramp-parse-putty):
9737         * net/tramp-adb.el (tramp-adb-execute-adb-command):
9738         * net/tramp-gvfs.el (tramp-gvfs-send-command):
9739         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9740         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9741         (tramp-call-local-coding-command): Use `tramp-call-process'
9742         instead of `tramp-compat-call-process'.
9744         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9745         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9746         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9747         (tramp-find-inline-compress): Improve traces.
9748         (tramp-maybe-send-script): Check for Perl binary.
9749         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9751 2013-04-22  Daiki Ueno  <ueno@gnu.org>
9753         * epg.el (epg-context-pinentry-mode): New function.
9754         (epg-context-set-pinentry-mode): New function.
9755         (epg--start): Pass --pinentry-mode option to gpg command.
9757 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
9759         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9760         `comint-dynamic-complete' is obsolete since 24.1, replaced by
9761         `completion-at-point'.  (Bug#13774)
9763         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9764         default key binding for `describe-distribution' has been moved to
9765         `C-h C-o'.  (Bug#13970)
9767 2013-04-21  Glenn Morris  <rgm@gnu.org>
9769         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9770         Add doc strings.
9771         (vc-print-log): Clarify interactive prompt.
9773 2013-04-20  Glenn Morris  <rgm@gnu.org>
9775         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9776         No longer include timestamp etc information.
9778 2013-04-20  Roland Winkler  <winkler@gnu.org>
9780         * faces.el (read-face-name): Bug fix, return just one face if arg
9781         multiple is nil.  (Bug#14209)
9783 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9785         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9786         (remove-function): Autoload.
9788         * comint.el (comint-redirect-original-filter-function): Remove.
9789         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9790         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9791         (vc-cvs-annotate-command):
9792         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9793         * progmodes/prolog.el (prolog-consult-compile):
9794         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9795         Use add/remove-function instead.
9796         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9797         (gud-tooltip-process-output, gud-tooltip-tips):
9798         Use add/remove-function instead.
9799         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9800         (scheme-interaction-mode, exit-scheme-interaction-mode):
9801         Use add/remove-function instead.
9803         * vc/vc-dispatcher.el: Use lexical-binding.
9804         (vc--process-sentinel): Rename from vc-process-sentinel.
9805         Change last arg to be the code to run.  Don't use vc-previous-sentinel
9806         and vc-sentinel-commands any more.
9807         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
9808         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9810 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
9812         * progmodes/sh-script.el (sh-imenu-generic-expression):
9813         Handle function names with a single character.   (Bug#14111)
9815 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
9817         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9818         for subroutines defined in an eval (bug#14182).
9820 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9822         * bookmark.el (bookmark-completing-read): Improve handling of empty
9823         string (bug#14176).
9825 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9827         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9829 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9831         New faster Imenu implementation (bug#14058).
9832         * progmodes/python.el:
9833         (python-imenu-prev-index-position):
9834         (python-imenu-format-item-label-function)
9835         (python-imenu-format-parent-item-label-function)
9836         (python-imenu-format-parent-item-jump-label-function):
9837         New vars.
9838         (python-imenu-format-item-label)
9839         (python-imenu-format-parent-item-label)
9840         (python-imenu-format-parent-item-jump-label)
9841         (python-imenu--put-parent, python-imenu--build-tree)
9842         (python-imenu-create-index, python-imenu-create-flat-index)
9843         (python-util-popn): New functions.
9844         (python-mode): Set imenu-create-index-function to
9845         python-imenu-create-index.
9847 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9849         * winner.el (winner-active-region): Use region-active-p, activate-mark
9850         and deactivate-mark (bug#14225).
9852         * simple.el (deactivate-mark): Don't inline it.
9854 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
9856         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9858 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
9860         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9861         file extensions from the archive-mode entry in order to prefer
9862         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9864 2013-04-18  Leo Liu  <sdl.web@gmail.com>
9866         * bindings.el (help-event-list): Add ?\?.
9868 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9870         * subr.el (with-wrapper-hook): Declare obsolete.
9871         * simple.el (filter-buffer-substring-function): New hook.
9872         (filter-buffer-substring): Use it.
9873         (filter-buffer-substring-functions): Mark obsolete.
9874         * minibuffer.el (completion-in-region-function): New hook.
9875         (completion-in-region): Use it.
9876         (completion-in-region-functions): Mark obsolete.
9877         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9878         * abbrev.el (abbrev-expand-function): New hook.
9879         (expand-abbrev): Use it.
9880         (abbrev-expand-functions): Mark obsolete.
9881         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9882         and :filter-return.
9884 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9886         * progmodes/python.el (python-nav--syntactically): Fix cornercases
9887         and do not care about match data.
9889 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9891         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9892         completion tables when completing error conditions and
9893         `declare' arguments.
9894         (lisp-complete-symbol, field-complete): Mark as obsolete.
9895         (check-parens): Unmatched parens are user errors.
9896         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9898 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
9900         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9901         command changed buffer (ie. `flyspell-pre-buffer' is not current
9902         buffer), which prevents making decisions based on invalid value of
9903         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
9904         cause an error when `flyspell-pre-point' was nil after switching
9905         buffers.
9906         (flyspell-post-command-hook): No longer needs to change buffers when
9907         checking pre-word.  While at it remove unnecessary progn.
9909 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
9911         * textmodes/ispell.el (ispell-add-per-file-word-list):
9912         Fix `flyspell-correct-word-before-point' error when accepting
9913         words and `coment-padding' is an integer by using
9914         `comment-normalize-vars' (Bug #14214).
9916 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9918         New defun movement commands.
9919         * progmodes/python.el (python-nav--syntactically)
9920         (python-nav--forward-defun, python-nav-backward-defun)
9921         (python-nav-forward-defun): New functions.
9923 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9925         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9926         (python-syntax-context): Use named compiler-macro for backwards
9927         compatibility with Emacs 24.x.
9929 2013-04-17  Leo Liu  <sdl.web@gmail.com>
9931         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9932         octave-hide-process-buffer.
9934 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9936         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9937         (bug#14216).
9939 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
9941         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9942         Fix adjustment of offset when receiving incomplete responses from GDB
9943         (bug#14129).
9945 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9947         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9948         python-mode-abbrev-table.
9949         (python-skeleton-define): Adjust accordingly.
9950         (python-mode-abbrev-table): New table that inherits from it so that
9951         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9953         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9954         (abbrev-symbol): Use it.
9955         (abbrev--before-point): Use it since we already handle inheritance.
9957 2013-04-16  Leo Liu  <sdl.web@gmail.com>
9959         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9960         binding to info-lookup-symbol.
9962 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
9964         * minibuffer.el (completion--twq-all):
9965         * term/ns-win.el (ns-initialize-window-system):
9966         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9968 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9970         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9971         global bindings.
9973         * doc-view.el (doc-view-start-process): Handle url-handler directories.
9975 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
9977         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9978         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9979         to nil.
9980         (ruby-end-of-defun): Remove the unused arg, change the docstring
9981         to reflect that this function is only used as the value of
9982         `end-of-defun-function'.
9983         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9984         to reflect an earlier change that beginning/end-of-defun functions
9985         jump between methods in a class definition, as well as top-level
9986         functions.
9988 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9990         * minibuffer.el (minibuffer-complete): Don't just scroll
9991         a *Completions* that's been iconified.
9992         (minibuffer-force-complete): Make sure repetitions do cycle when going
9993         through completion-in-region -> minibuffer-complete.
9995 2013-04-15  Alan Mackenzie  <acm@muc.de>
9997         Correct the placement of c-cpp-delimiters when there're #s not at
9998         col 0.
10000         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10001         place a submatch around the #.
10002         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10003         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
10004         on the #, not BOL.
10006 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10008         * emacs-lisp/nadvice.el: Properly test names when adding advice.
10009         (advice--member-p): New arg `name'.
10010         (advice--add-function, advice-member-p): Use it (bug#14202).
10012 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
10014         Reformulate java imenu-generic-expression.
10015         The old expression contained ill formed regexps.
10017         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10018         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10019         (cc-imenu-java-method-arg-regexp): New defconsts.
10020         (cc-imenu-java-build-type-args-regex): New defun.
10021         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10022         handling of spaces in the regexp.
10024 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10026         * textmodes/ispell.el (ispell-command-loop): Remove
10027         flyspell highlight of a word when ispell accepts it (bug #14178).
10029 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
10031         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10032         uses code from the previous `ange-ftp-run-real-handler'.
10033         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10034         only in case that function exist.  This is needed for proper
10035         unloading of Tramp.
10037 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
10039         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10041         * textmodes/reftex.el (reftex-compile-variables): Use it.
10043 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10045         * files.el (normal-mode): Only use default major-mode if no other mode
10046         was specified.
10048         * emacs-lisp/trace.el (trace-values): New function.
10050         * files.el: Allow : in local variables (bug#14089).
10051         (hack-local-variable-regexp): New var.
10052         (hack-local-variables-prop-line, hack-local-variables): Use it.
10054 2013-04-13  Roland Winkler  <winkler@gnu.org>
10056         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
10057         data before it gets modified by bibtex-beginning-of-entry.
10059 2013-04-13  Roland Winkler  <winkler@gnu.org>
10061         * textmodes/bibtex.el (bibtex-url): Doc fix.
10063 2013-04-13  Roland Winkler  <winkler@gnu.org>
10065         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10066         does not visit a BibTeX file, exclude it from the list of buffers
10067         returned by bibtex-initialize.
10069 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
10071         * window.el (split-window): Remove interactive form, since as a
10072         command this function is a special case of split-window-below.
10073         Correct doc string.
10075 2013-04-12  Roland Winkler  <winkler@gnu.org>
10077         * faces.el (read-face-name): Do not override value of arg default.
10078         Allow single faces and strings as default values.  Remove those
10079         elements from return value that are not faces.
10080         (describe-face): Simplify.
10081         (face-at-point): New optional args thing and multiple so that this
10082         function can provide the same functionality previously provided by
10083         read-face-name.
10084         (make-face-bold, make-face-unbold, make-face-italic)
10085         (make-face-unitalic, make-face-bold-italic, invert-face)
10086         (modify-face, read-face-and-attribute): Use face-at-point.
10088         * cus-edit.el (customize-face, customize-face-other-window)
10089         * cus-theme.el (custom-theme-add-face)
10090         * face-remap.el (buffer-face-set)
10091         * facemenu.el (facemenu-set-face): Use face-at-point.
10093 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
10095         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10097 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
10099         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10100         off leading { and trailing } from field values.
10102 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10104         * emacs-lisp/timer.el (timer--check): New function.
10105         (timer--time, timer-set-function, timer-event-handler): Use it.
10106         (timer-set-idle-time): Simplify.
10107         (timer--activate): CSE.
10108         (timer-event-handler): Give more info in error message.
10109         (internal-timer-start-idle): New function, moved from C.
10111         * mpc.el (mpc-proc): Add `restart' argument.
10112         (mpc-proc-cmd): Use it.
10113         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10114         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10115         less often.
10117 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
10119         * progmodes/sh-script.el: Implement `sh-mode' own
10120         `add-log-current-defun-function' (bug#14112).
10121         (sh-current-defun-name): New function.
10122         (sh-mode): Use the function.
10124 2013-04-09  Bastien Guerry  <bzg@gnu.org>
10126         * simple.el (choose-completion-string): Fix docstring (bug#14163).
10128 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10130         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10132         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10133         timer (bug#14156).
10135 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
10137         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10138         declaration.
10140 2013-04-07  Leo Liu  <sdl.web@gmail.com>
10142         * pcmpl-x.el: New file.
10144 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
10146         Do not set x-display-name until X connection is established.
10147         This is needed to prevent from weird situation described at
10148         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10149         * frame.el (make-frame): Set x-display-name after call to
10150         window system initialization function, not before.
10151         * term/x-win.el (x-initialize-window-system): Add optional
10152         display argument and use it.
10153         * term/w32-win.el (w32-initialize-window-system):
10154         * term/ns-win.el (ns-initialize-window-system):
10155         * term/pc-win.el (msdos-initialize-window-system):
10156         Add compatible optional display argument.
10158 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
10160         * files.el (normal-backup-enable-predicate): On MS-Windows and
10161         MS-DOS compare truenames of temporary-file-directory and of the
10162         file, so that 8+3 aliases (usually found in $TEMP on Windows)
10163         don't fail comparison by compare-strings.  Also, compare file
10164         names case-insensitively on MS-Windows and MS-DOS.
10166 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10168         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10169         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10171 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
10173         * whitespace.el (whitespace-color-on, whitespace-color-off):
10174         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10176 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
10178         * ispell.el (ispell-set-spellchecker-params):
10179         Really set `ispell-args' for all equivs.
10181 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10183         * ido.el (ido-completions): Use extra elements of ido-decorations
10184         (bug#14143).
10185         (ido-decorations): Update docstring.
10187 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
10189         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10190         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10191         nil during initialization, in order not to miss changes since the
10192         file was opened.  (Bug#14140)
10194 2013-04-05  Leo Liu  <sdl.web@gmail.com>
10196         * kmacro.el (kmacro-call-macro): Fix bug#14135.
10198 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
10200         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10202 2013-04-04  Glenn Morris  <rgm@gnu.org>
10204         * electric.el (electric-pair-inhibit-predicate): Add :version.
10206 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10208         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10209         when a package is required several times (bug#14082).
10211 2013-04-04  Roland Winkler  <winkler@gnu.org>
10213         * faces.el (read-face-name): Behave as promised by the docstring.
10214         Assume that arg default is a list of faces.
10215         (describe-face): Call read-face-name with list of default faces.
10217 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10219         * bookmark.el: Fix deletion of bookmarks (bug#13972).
10220         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10221         (bookmark-bmenu-execute-deletions): Only skip first line if it's
10222         the header.
10223         (bookmark-exit-hook-internal): Save even if list is empty.
10225 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
10227         * emacs-lisp/package.el (package-pinned-packages): New var.
10228         (package--add-to-archive-contents): Obey it (bug#14118).
10230 2013-04-03  Alan Mackenzie  <acm@muc.de>
10232         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10233         Also adapt to the new values of element 7 of a parse state.
10235         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10236         parameter `not-in-delimiter'.  Handle being inside comment opener.
10237         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10238         character in case we're typing a '*' after a '/'.
10239         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10240         instead by passing the parameter to c-state-pp-to-literal.
10242         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10243         for elt. 7 of a parse state.
10245 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
10247         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10248         * international/latin1-disp.el, international/mule-util.el:
10249         * language/cyril-util.el, language/european.el, language/ind-util.el:
10250         * language/lao-util.el, language/thai.el, language/tibet-util.el:
10251         * language/tibetan.el, language/viet-util.el:
10252         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10254 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10256         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10257         (electric-pair-post-self-insert-function): Use it.
10258         (electric-pair-default-inhibit): New function, extracted from
10259         electric-pair-post-self-insert-function.
10261 2013-03-31  Roland Winkler  <winkler@gnu.org>
10263         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10265 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10267         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10269 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
10271         Un-indent after "pass" and "return" statements (Bug#13888)
10272         * progmodes/python.el (python-indent-block-enders): New var.
10273         (python-indent-calculate-indentation): Use it.
10275 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
10277         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10278         defun.  Defining it as defalias could introduce too eager
10279         byte-compiler optimization.  (Bug#14030)
10281 2013-03-30  Chong Yidong  <cyd@gnu.org>
10283         * iswitchb.el (iswitchb-read-buffer): Fix typo.
10285 2013-03-30  Leo Liu  <sdl.web@gmail.com>
10287         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10288         (kmacro-execute-from-register): Pass the keyboard macro to
10289         kmacro-call-macro or repeating won't work correctly.
10291 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
10293         * progmodes/subword.el: Back to using `forward-symbol'.
10295         * subr.el (forward-whitespace, forward-symbol)
10296         (forward-same-syntax): Move from thingatpt.el.
10298 2013-03-29  Leo Liu  <sdl.web@gmail.com>
10300         * kmacro.el (kmacro-to-register): New command.
10301         (kmacro-execute-from-register): New function.
10302         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
10304 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10306         * mpc.el: Use defvar-local and setq-local.
10307         (mpc--proc-connect): Connection failures are not bugs.
10308         (mpc-mode-map): `follow-link' only applies to the buffer's content.
10309         (mpc-volume-map): Bind to the up-events.
10311 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
10313         * progmodes/subword.el (superword-mode): Use `forward-sexp'
10314         instead of `forward-symbol'.
10316 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10318         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10319         (edebug--recursive-edit): Use it.
10320         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10321         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10323 2013-03-28  Leo Liu  <sdl.web@gmail.com>
10325         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
10327 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
10329         * facemenu.el (list-colors-callback): New defvar.
10330         (list-colors-redisplay): New function.
10331         (list-colors-display): Install list-colors-redisplay as the
10332         revert-buffer-function.  (Bug#14063)
10334 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10336         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10337         and suffixes don't overlap (bug#14061).
10339         * case-table.el: Use lexical-binding.
10340         (case-table-get-table): New function.
10341         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
10343 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
10345         * progmodes/subword.el: Add `superword-mode' to do word motion
10346         over symbol_words (parallels and leverages `subword-mode' which
10347         does word motion inside MixedCaseWords).
10349 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
10351         * eshell/em-unix.el: Move su and sudo to...
10352         * eshell/em-tramp.el: ...Eshell tramp module.
10354 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10356         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10357         Change return value to be a sexp.  Delay `get-buffer' to after
10358         restoring the desktop (bug#13951).
10360 2013-03-26  Leo Liu  <sdl.web@gmail.com>
10362         * register.el: Move semantic tag handling back to
10363         cedet/semantic/senator.el.  (Bug#14052)
10365 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10367         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10368         into the prompt either (bug#13963).
10370 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10372         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10373         part of "(error-foo)".
10375 2013-03-24  Juri Linkov  <juri@jurta.org>
10377         * replace.el (list-matching-lines-prefix-face): New defcustom.
10378         (occur-1): Pass `list-matching-lines-prefix-face' to the function
10379         `occur-engine' if `face-differs-from-default-p' returns t.
10380         (occur-engine): Add `,' inside backquote construct to evaluate
10381         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
10382         Pass `prefix-face' to the functions `occur-context-lines' and
10383         `occur-engine-add-prefix'.
10384         (occur-engine-add-prefix, occur-context-lines): Add optional arg
10385         `prefix-face' and propertize the prefix with `prefix-face'.
10386         (Bug#14017)
10388 2013-03-24  Leo Liu  <sdl.web@gmail.com>
10390         * nxml/rng-valid.el (rng-validate-while-idle)
10391         (rng-validate-quick-while-idle): Guard against deleted buffer.
10392         (Bug#13999)
10394         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10395         is the last entry in kill-buffer-hook.
10397         * files.el (kill-buffer-hook): Doc fix.
10399 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
10401         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10402         Make it safe-local.
10404         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10406 2013-03-23  Leo Liu  <sdl.web@gmail.com>
10408         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10409         Remove.
10411         * nxml/rng-valid.el (rng-validate-mode)
10412         (rng-after-change-function, rng-do-some-validation):
10413         * nxml/rng-maint.el (rng-validate-buffer):
10414         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10415         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10416         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10417         (nxml-extend-after-change-region): Use with-silent-modifications.
10419         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10420         timer-idle-list.
10422         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10423         (rng-next-error-1, rng-previous-error-1): Do not let-bind
10424         timer-idle-list.  (Bug#13999)
10426 2013-03-23  Juri Linkov  <juri@jurta.org>
10428         * info.el (info-index-match): New face.
10429         (Info-index, Info-apropos-matches): Add a nested subgroup to the
10430         main pattern and add text properties with the new face to matches
10431         in index entries relative to the beginning of the index entry.
10432         (Bug#14015)
10434 2013-03-21  Eric Ludlam  <zappo@gnu.org>
10436         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10437         Inhibit read only while inserting objects.
10439 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
10441         * progmodes/cfengine.el: Update docs to mention
10442         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
10443         symbol motion.  Remove "_" from the word syntax.
10445 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
10447         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10448         syntax for both `cfengine2-mode' and `cfengine3-mode'.
10450 2013-03-20  Juri Linkov  <juri@jurta.org>
10452         * info.el (Info-next-reference-or-link)
10453         (Info-prev-reference-or-link): New functions.
10454         (Info-next-reference, Info-prev-reference): Use them.
10455         (Info-try-follow-nearest-node): Handle footnote navigation.
10456         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
10458 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10460         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10461         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10463 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
10465         Suppress unnecessary non-ASCII chatter during build process.
10466         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10467         (batch-skkdic-convert): Suppress most of the chatter.
10468         It's not needed so much now that machines are faster,
10469         and its non-ASCII component was confusing; see Dmitry Gutov in
10470         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10472 2013-03-20  Leo Liu  <sdl.web@gmail.com>
10474         * ido.el (ido-chop): Fix bug#10994.
10476 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10478         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10479         Remove vars.
10480         (whitespace-color-on, whitespace-color-off):
10481         Use `font-lock-fontify-buffer' (Bug#13817).
10483 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10485         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10486         remapping in mode-line.
10487         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10489 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
10491         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10492         value for `whitespace-line' face (Bug#13875).
10493         (whitespace-font-lock-keywords): Change description.
10494         (whitespace-color-on): Don't save `font-lock-keywords' value, save
10495         the constructed keywords instead.
10496         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10498 2013-03-19  Leo Liu  <sdl.web@gmail.com>
10500         * progmodes/compile.el (compilation-display-error): New command.
10501         (compilation-mode-map, compilation-minor-mode-map): Bind it to
10502         C-o.  (Bug#13992)
10504 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10506         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10508 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
10510         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10512 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
10514         * net/tramp-compat.el (tramp-compat-user-error): New defun.
10516         * net/tramp-adb.el (tramp-adb-handle-shell-command):
10517         * net/tramp-gvfs.el (top):
10518         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10519         (tramp-handle-shell-command): Use it.
10520         (tramp-dissect-file-name): Raise an error when hostname is a
10521         method name, and neither method nor user is specified.
10523         * net/trampver.el: Update release number.
10525 2013-03-18  Leo Liu  <sdl.web@gmail.com>
10527         Make sure eldoc can be turned off properly.
10528         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10529         eldoc-mode.
10530         (eldoc-display-message-p): Revert last change.
10531         (eldoc-display-message-no-interference-p)
10532         (eldoc-print-current-symbol-info): Tweak.
10534 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
10536         * doc-view.el (doc-view-new-window-function): Check the new window
10537         overlay's display property instead the char property of the
10538         buffer's first char.  Use `with-selected-window' instead of
10539         `save-window-excursion' with `select-window'.
10540         (doc-view-document->bitmap): Check the current doc-view overlay's
10541         display property instead the char property of the buffer's first char.
10543 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
10545         Automate the build of ja-dic.el (Bug#13984).
10546         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10547         from the input, rather than assume that it's been done for us by the
10548         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
10549         the current date into a ja-dic.el comment, as that complicates
10550         regression testing.
10552 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10554         * whitespace.el: Fix double evaluation.
10555         (whitespace-space, whitespace-hspace, whitespace-tab)
10556         (whitespace-newline, whitespace-trailing, whitespace-line)
10557         (whitespace-space-before-tab, whitespace-indentation)
10558         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10559         obsolete defvars.
10560         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10561         (whitespace-color-on): Use a single font-lock-add-keywords call.
10562         Fix double-evaluation of face variables.
10564 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
10566         * net/tramp-adb.el (tramp-adb-parse-device-names):
10567         Use `start-process' instead of `call-process'.  Otherwise, the
10568         function might be blocked under MS Windows.  (Bug#13299)
10570 2013-03-17  Leo Liu  <sdl.web@gmail.com>
10572         Extend eldoc to display info in the mode-line.  (Bug#13978)
10573         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10574         (eldoc-mode-line-string): New variable.
10575         (eldoc-minibuffer-message): New function.
10576         (eldoc-message-function): New variable.
10577         (eldoc-message): Use it.
10578         (eldoc-display-message-p)
10579         (eldoc-display-message-no-interference-p):
10580         Support eldoc-post-insert-mode.
10582         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10583         (eval-expression): Run it.
10585 2013-03-17  Roland Winkler  <winkler@gnu.org>
10587         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10588         strings in the list of return values.
10590 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
10592         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10593         radix before checking for HMS forms.
10595 2013-03-16  Leo Liu  <sdl.web@gmail.com>
10597         * progmodes/scheme.el: Add indentation and font-locking for λ.
10598         (Bug#13975)
10600 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10602         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10603         token before point (bug#13942).
10605 2013-03-16  Leo Liu  <sdl.web@gmail.com>
10607         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
10609 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
10611         * startup.el (command-line-normalize-file-name): Fix handling of
10612         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
10613         <xfq.free@gmail.com> in
10614         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10616 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
10618         Sync with Tramp 2.2.7.
10620         * net/trampver.el: Update release number.
10622 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
10624         * doc-view.el: Fix bug#13887.
10625         (doc-view-insert-image): Don't modify overlay associated to
10626         non-live windows, and implement horizontal centering of image in
10627         case it's smaller than the window.
10628         (doc-view-new-window-function): Force redisplay of new windows on
10629         doc-view buffers.
10631 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
10633         * saveplace.el (save-place-alist-to-file): Don't sort
10634         `save-place-alist', just pretty-print it (bug#13882).
10636 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
10638         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10639         Check whether `default-file-name-coding-system' is bound.
10640         It isn't in XEmacs.
10642 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10644         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10645         backquotes for `obsolete' (bug#13929).
10647         * international/mule.el (find-auto-coding): Include file name in
10648         obsolescence warning (bug#13922).
10650 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
10652         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10653         for CFEngine 3-specific indentation.
10654         (cfengine3-indent-line): Use it.  Fix up category regex.
10655         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10657 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10659         * type-break.el (type-break-file-name):
10660         * textmodes/remember.el (remember-data-file):
10661         * strokes.el (strokes-file):
10662         * shadowfile.el (shadow-initialize):
10663         * saveplace.el (save-place-file):
10664         * ps-bdf.el (bdf-cache-file):
10665         * progmodes/idlwave.el (idlwave-config-directory):
10666         * net/quickurl.el (quickurl-url-file):
10667         * international/kkc.el (kkc-init-file-name):
10668         * ido.el (ido-save-directory-list-file):
10669         * emulation/viper.el (viper-custom-file-name):
10670         * emulation/vip.el (vip-startup-file):
10671         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10672         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10674 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
10676         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10677         * language/thai-word.el: Switch to UTF-8.
10679 See ChangeLog.16 for earlier changes.
10681 ;; Local Variables:
10682 ;; coding: utf-8
10683 ;; End:
10685   Copyright (C) 2011-2013 Free Software Foundation, Inc.
10687   This file is part of GNU Emacs.
10689   GNU Emacs is free software: you can redistribute it and/or modify
10690   it under the terms of the GNU General Public License as published by
10691   the Free Software Foundation, either version 3 of the License, or
10692   (at your option) any later version.
10694   GNU Emacs is distributed in the hope that it will be useful,
10695   but WITHOUT ANY WARRANTY; without even the implied warranty of
10696   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10697   GNU General Public License for more details.
10699   You should have received a copy of the GNU General Public License
10700   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.