* lisp/emacs-lisp/advice.el (ad-add-advice, defadvice): Doc fix
[emacs.git] / lisp / ChangeLog
blobcbabd6c18bb8842250b2bde9f7e891dc6c2aa824
1 2014-03-10  Glenn Morris  <rgm@gnu.org>
3         * emacs-lisp/advice.el (ad-add-advice, defadvice):
4         Doc fix: remove references to deleted info nodes.
6 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
8         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
9         Do not add `nil' to the environment, when there's no remote `locale'.
10         (tramp-find-inline-encoding): Check, that the remote host has
11         installed perl, before sending scripts.
13 2014-03-10  Leo Liu  <sdl.web@gmail.com>
15         * emacs-lisp/eldoc.el (eldoc-minibuffer-message): Clear
16         eldoc-last-message.  (Bug#16920)
18 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
21         (bug#14430).
23 2014-03-09  Juri Linkov  <juri@jurta.org>
25         * ansi-color.el (ansi-color-names-vector): Copy default colors
26         from `xterm-standard-colors' that look well on the default white
27         background (and also on the black background) to avoid illegible
28         color combinations like yellow-on-white and white-on-white.
29         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
31 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
33         * frameset.el (frameset-restore): When no frame is visible, do not
34         generate a list of frames, just make visible the selected one.
36 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
38         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
39         it only contains the repository root.  (Bug#16897)
41 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
43         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
44         only when `remote-file-name-inhibit-cache' is nil.
45         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
47 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
49         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
50         Fix doc-strings.
51         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
52         fit-frame-to-buffer variable.  Fix doc-string.
53         (fit-window-to-buffer): Set ONLY argument in call of
54         fit-frame-to-buffer.  Fix doc-string.
56 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
58         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
59         (tramp-action-password): Clear password cache if needed.
60         (tramp-read-passwd): Do not clear password cache.
62         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
63         cache unless it is the first password request.
65 2014-03-06  Glenn Morris  <rgm@gnu.org>
67         * simple.el (newline): Doc tweak.
69         * emacs-lisp/shadow.el (load-path-shadows-find):
70         Ignore dir-locals.  (Bug#12357)
72 2014-03-05  Glenn Morris  <rgm@gnu.org>
74         * files.el (interpreter-mode-alist):
75         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
77 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
79         * frameset.el (frameset--initial-params): Filter out null entries.
81 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
83         * window.el (window-min-height, window-min-width):
84         Rewrite doc-strings.
85         (window-body-size): Add PIXELWISE argument to make it consistent
86         with its callees.
88 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
90         * finder.el (finder-mode-map, finder-mode-syntax-table):
91         Revert part of 2014-02-28 change.
93 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
95         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
96         (eww-setup-buffer): Clear next/prev/etc more reliably.
97         (eww-textarea-map): [tab] doesn't work on tty.
98         Reported by Mario Lang.
100         * net/shr.el (shr-map): Ditto.
102 2014-03-04  Glenn Morris  <rgm@gnu.org>
104         * minibuffer.el (completion-hilit-commonality):
105         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
107 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
109         * hilit-chg.el (hilit-chg-unload-function): New function.
110         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
111         (hilit-chg-map-changes): Prefer cardinal number to digit.
112         (hilit-chg-display-changes): Reflow docstring.
113         (highlight-changes-rotate-faces): Remove superfluous backslash.
115 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
117         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
118         `tramp-send-command-and-check'.
120 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
122         * hexl.el (hexl-address-region, hexl-ascii-region)
123         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
124         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
125         (hexl-forward-word, hexl-previous-line, hexl-next-line):
126         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
127         (hexl-mode): Doc fix.
128         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
129         (hexl-mode-ruler): Fix typos in docstrings.
131         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
132         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
133         Remove superfluous backslashes.
134         (strokes-last-stroke, strokes-global-map, strokes-mode):
135         Reflow docstrings.
136         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
137         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
138         (strokes-distance-squared, strokes-global-set-stroke)
139         (strokes-global-set-stroke-string): Doc fixes.
140         (strokes-help): Fix typos; reflow docstring.
142 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
144         * window.el (window-in-direction): Fix doc-string.
146 2014-03-04  Glenn Morris  <rgm@gnu.org>
148         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
149         Explicit error if no grammar.
150         (smie-config-save): Doc fix.  Fix quote typo.
152 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
154         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
155         electric-indent-mode-hook if we obey electric-indent-mode.
156         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
157         decide whether we obey electric-indent-mode.
158         (c-change-set-fl-decl-start, c-extend-after-change-region):
159         Silence warnings.
160         (c-electric-indent-mode-hook): Assume we do want to obey
161         electric-indent-mode.
163         * electric.el (electric-indent-mode-has-been-called): Remove.
164         (electric-indent-mode): Fix accordingly.
166         * files.el (hack-local-variables): Mention file name in warning.
168         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
170 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
172         * binding.el: Add comment describing why C-d binds to `delete-char'.
173         * simple.el (delete-forward-char): Mark as interactive-only.
175 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
177         * icomplete.el (icomplete-completions):
178         Follow-up to 2014-03-01 change.
180         * icomplete.el: Miscellaneous doc fixes.
181         Use Icomplete everywhere instead of icomplete for consistency.
182         (icomplete-max-delay-chars): Fix typo.
183         (icomplete-mode): Use \[].
184         (icomplete-tidy, icomplete-exhibit): Reflow.
185         (icomplete-minibuffer-setup-hook, icomplete-completions):
186         Remove superfluous backlashes.
188         * ido.el: Miscellaneous doc fixes.
189         Use Ido everywhere instead of ido or `ido' for consistency.
190         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
191         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
192         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
193         (ido-separator): Extract obsolescence info from docstring and declare
194         with make-obsolete-variable.
195         (ido-minibuffer-setup-hook): Simplify example.
196         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
197         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
198         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
199         (ido-everywhere): Reflow docstring.
200         (ido-toggle-vc): Doc fix.
201         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
202         of long list of keybindings.
204 2014-03-03  Glenn Morris  <rgm@gnu.org>
206         * frame.el (display-pixel-height, display-pixel-width)
207         (display-mm-dimensions-alist, display-mm-height)
208         (display-mm-width): Doc tweaks.
210 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
212         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
213         case of undo in region.
215 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
217         * window.el (fit-window-to-buffer): Fix argument in window-size
218         call when window is horizontally combined.
220 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
222         * icomplete.el (icomplete-completions): Use string-width.
223         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
225 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
227         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
228         Highlight regexp options.  (Bug#16914)
230 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
232         * window.el (window--max-delta-1): Round down when calculating
233         how many lines/columns we can get from a window.
235 2014-03-01  Glenn Morris  <rgm@gnu.org>
237         * isearch.el (search-invisible): Doc fix.
239         * minibuffer.el (completion-hilit-commonality):
240         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
241         * comint.el (comint-dynamic-list-completions): Doc fix.
242         * comint.el (comint-dynamic-list-completions):
243         * filecache.el (file-cache-minibuffer-complete):
244         * tempo.el (tempo-display-completions):
245         * eshell/em-hist.el (eshell-list-history):
246         Replace use of obsolete argument of display-completion-list.
248 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
250         * icomplete.el (icomplete-completions):
251         Revert back to using "..." when ?… cannot be displayed.
253 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
255         * finder.el (finder-unload-function): New function.
257 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
259         * dframe.el (dframe-detach):
260         * find-dired.el (find-dired, find-name-dired):
261         * finder.el (finder-mode-map, finder-mode-syntax-table)
262         (finder-headmark, finder-select, finder-mouse-select):
263         Fix docstring typos.
265 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
267         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
268         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
269         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
270         Fix doc-string based on a suggestion by Nicolas Richard
271         <theonewiththeevillook@yahoo.fr>.
272         * help.el (with-help-window): Fix doc-string.
274 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
276         * net/shr.el (shr-image-animate): New option.
277         (shr-put-image): Respect shr-image-animate.
279 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
281         * net/tramp-adb.el (tramp-adb-parse-device-names):
282         Use `accept-process-output'.
283         (tramp-adb-handle-file-truename): Cache the localname only.
284         (tramp-adb-handle-make-directory)
285         (tramp-adb-handle-delete-directory): Flush file properties correctly.
286         (tramp-adb-handle-set-file-modes): Do not raise an error when file
287         modes cannot be changed.
289         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
290         file properties of symlinks.
292 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
294         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
295         required/optional fields to match development biblatex.  (Bug#16781)
297 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
299         * saveplace.el (toggle-save-place):
300         Fix argument handling.  (Bug#16673)
302 2014-02-28  Glenn Morris  <rgm@gnu.org>
304         * minibuffer.el (completions-first-difference)
305         (completions-common-part, completion-hilit-commonality): Doc fixes.
307 2014-02-28  Karl Berry  <karl@gnu.org>
309         * info.el (Info-mode-map): Add H for describe-mode,
310         to synchronize with standalone Info.
312 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
314         * progmodes/sql.el (sql-interactive-mode):
315         Avoid setting global comint-input-ring-separator.  (Bug#16814)
317 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
319         * net/dbus.el (dbus--init-bus): Declare function.
320         (dbus-path-local, dbus-interface-local): New defconst.
321         (dbus-init-bus): Use them.
322         (dbus-return-values-table): Extend doc.
323         (dbus-handle-bus-disconnect): Extend error message.
325 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
327         * subr.el (y-or-n-p): Fix double space issue in message.
329 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
331         * net/tramp.el (tramp-call-process): Improve trace message.
332         (tramp-handle-insert-file-contents): Trace error case.
334         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
335         <insert-directory>: Use `tramp-handle-insert-directory'.
336         (tramp-adb-handle-insert-directory): Remove function.
337         (tramp-adb-send-command-and-check): New defun, replacing
338         `tramp-adb-command-exit-status'.  Change all callees.
339         (tramp-adb-handle-file-attributes)
340         (tramp-adb-handle-directory-files-and-attributes): Use it.
341         (tramp-adb-ls-output-name-less-p):
342         Use `directory-listing-before-filename-regexp'.
343         (tramp-adb-handle-delete-directory): Flush also file properties of
344         the truename of directory.
345         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
346         (tramp-adb-handle-file-local-copy): Make the local copy readable.
347         (tramp-adb-handle-write-region): Implement APPEND.
348         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
349         properties correctly.
350         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
351         variables.  Check for connected devices only when needed.
353 2014-02-27  Glenn Morris  <rgm@gnu.org>
355         * minibuffer.el (completion-table-dynamic)
356         (completion-table-with-cache): Doc fixes.
358         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
359         (completing-read-multiple): Doc fixes.
361 2014-02-27  Daniel Colascione  <dancol@dancol.org>
363         * minibuffer.el (completion--nth-completion): Fix indentation.
365         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
366         explicit tramp path is empty.
368 2014-02-27  Glenn Morris  <rgm@gnu.org>
370         * emacs-lisp/crm.el (completing-read-multiple):
371         Empower help-enable-auto-load.
373 2014-02-26  Glenn Morris  <rgm@gnu.org>
375         * startup.el (command-line): Don't init the tty in daemon mode.
377         Avoid calling tty-setup-hook twice, eg if a term file
378         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
379         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
380         (tty-create-frame-with-faces): Use it.
381         * startup.el (command-line): Pass run-hook argument
382         to tty-run-terminal-initialization.
384         * dired.el (dired-restore-desktop-buffer): Demote errors;
385         eg in case a glob match fails.  (Bug#16884)
387 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
389         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
390         error from `read-from-string'.  (Bug#16850)
392         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
393         result of `completing-read' in the interactive form.  (Bug#16854)
395 2014-02-25  Glenn Morris  <rgm@gnu.org>
397         * image.el (image-animate, image-animate-timeout):
398         Stop animating images in dead buffers.  (Bug#16878)
400         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
402         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
403         Doc fixes.
404         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
405         * term/sun.el (sun-raw-prefix-hooks):
406         Use tty-setup-hook instead of term-setup-hook.
407         (terminal-init-sun): Construct message from bytecomp plist.
408         * term/wyse50.el (enable-arrow-keys): Doc fix.
410 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
412         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
413         Fix docstring typos.
415 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
417         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
419 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
421         * minibuffer.el (completion--try-word-completion):
422         Fix error when completing M-x commands (bug#16808).
424 2014-02-24  Leo Liu  <sdl.web@gmail.com>
426         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
428 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
430         * apropos.el (apropos-print): Avoid formatting error when
431         apropos-do-all and apropos-compact-layout are both t.
433 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
435         * apropos.el (apropos-property, apropos-all-words-regexp)
436         (apropos-true-hit, apropos-variable, apropos-print):
437         Fix docstring typos, and remove obsolete comment.
439 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
441         * net/tramp-sh.el (tramp-sh-handle-file-truename):
442         Preserve trailing "/".  (Bug#16851)
444 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
446         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
447         after `=>' (bug#16811).
448         (ruby-smie-rules): Handle the inconsistent second element of the
449         list returned by `smie-indent--parent'.
450         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
451         method call.
453 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
455         * elec-pair.el (electric-pair-text-syntax-table)
456         (electric-pair-syntax-info, electric-pair--syntax-ppss)
457         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
458         (electric-pair--looking-at-unterminated-string-p): Doc fix.
459         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
461 2014-02-22  Glenn Morris  <rgm@gnu.org>
463         * imenu.el (imenu--generic-function): Doc fix.
465         * register.el (frame-configuration-to-register): Make obsolete.
467 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
469         * desktop.el (desktop-save-buffer-p): Do not fail when
470         desktop-files-not-to-save is nil.  Return t for true result
471         as the doc says.
473 2014-02-22  Daniel Colascione  <dancol@dancol.org>
475         * net/secrets.el (secrets-create-item, secrets-search-items):
476         Check that attribute values are strings, avoiding the construction
477         of invalid dbus messages.
479 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
481         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
482         defun-declarations-alist.
484 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
486         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
487         (bug#16829).
489 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
491         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
492         (whitespace-newline, whitespace-trailing, whitespace-line)
493         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
494         (whitespace-space-after-tab): Fix typo in docstrings.
496 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
498         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
500         * electric.el (electric-indent-functions-without-reindent):
501         Add `yaml-indent-line'.
503 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
505         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
506         It has done nothing for years; should be removed after the release.
508         * simple.el (choose-completion): Fix docstring typo.
509         (read-quoted-char-radix): Remove unneeded * in docstring.
510         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
511         Don't escape parentheses unnecessarily in docstrings.
513 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
515         Fix handling of window-min-height/-width (Bug#16738).
516         * window.el (window--dump-window, window--dump-frame):
517         New functions.
518         (window--min-size-1): Account for window dividers.
519         When window-resize-pixelwise is nil, delay rounding till after the
520         sum of the window components has been calculated.
521         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
522         nil make sure at least one text line and two text columns remain
523         fully visible.
524         (window-resize): Signal an error when window-resize-apply fails.
525         (window--resize-child-windows): Fix calculation of by how many
526         pixels a window can still be shrunk via window-new-normal.
527         (adjust-window-trailing-edge): Call window--resizable with
528         correct TRAIL argument.
530         (with-temp-buffer-window): Don't evaluate BODY within
531         with-current-buffer (Bug#16816).
533 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
535         * net/tramp.el (tramp-check-cached-permissions):
536         Call `file-attributes' with `suffix' being a symbol but a string.
538 2014-02-21  Daniel Colascione  <dancol@dancol.org>
540         * net/dbus.el (dbus-init-bus-1): Declare new subr.
541         (dbus-init-bus): New function: call into dbus-init-bus-1
542         and installs a handler for the disconnect signal.
543         (dbus-call-method): Rewrite to look for result in cons.
544         (dbus-call-method-handler): Store result in cons.
545         (dbus-check-event): Recognize events with nil sender as valid.
546         (dbus-handle-bus-disconnect): New function.  React to bus
547         disconnection signal by synthesizing dbus error for each
548         pending synchronous or asynchronous call.
549         (dbus-notice-synchronous-call-errors): New function.
550         (dbus-handle-event): Raise errors directly only when `dbus-debug'
551         is true, not all the time.
553 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
555         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
556         Remove obsolescence declarations, these variables do not exist anymore.
558         * savehist.el (savehist-save-minibuffer-history)
559         (savehist-additional-variables, savehist-file, savehist-mode-hook)
560         (savehist-save-hook, savehist-coding-system, savehist-loaded)
561         (savehist-load, savehist-install, savehist-autosave): Fix typos;
562         mostly, refer to "Savehist mode" when talking about the mode,
563         and not the function.
565         * saveplace.el (save-place): Remove redundant info in docstring.
566         (save-place-forget-unreadable-files, toggle-save-place)
567         (save-place-forget-unreadable-files, save-place-dired-hook):
568         Fix typos and remove unneeded backslashes.
570 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
572         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
573         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
575         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
576         <insert-directory>: Use `tramp-handle-insert-directory'.
577         (tramp-gvfs-handle-insert-directory): Remove function.
579         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
580         Call `tramp-handle-insert-directory'.
582 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
584         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
585         before the start of buffer/region (bug#16799).
587 2014-02-20  Glenn Morris  <rgm@gnu.org>
589         * isearch.el (search-invisible): Doc fix.
591 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
593         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
594         (bug#16657).
596 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
598         * frameset.el (frameset-restore): Delay removing an old frame's
599         duplicate id until the new frame has been correctly created.
601 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
603         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
604         (tramp-check-cached-permissions): Call `file-attributes' if the
605         cache is empty.
607         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
608         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
610         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
611         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
612         (tramp-gvfs-maybe-open-connection): Set always connection
613         properties, even if target is mounted already.
615         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
616         Set tramp-autoload cookie.
617         (tramp-get-remote-touch): New defun.
618         (tramp-sh-handle-set-file-times): Use it.
619         (tramp-sh-handle-directory-files-and-attributes):
620         Use `tramp-handle-directory-files-and-attributes' if neither stat
621         nor perl are available on the remote host.
623         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
624         "/".  Write long listing only when "l" belongs to the switches.
626         * net/trampver.el: Update release number.
628 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
630         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
632 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
634         * window.el (window-state-put): Allow WINDOW to refer to an
635         internal window (Bug#16793).
637 2014-02-19  Glenn Morris  <rgm@gnu.org>
639         * textmodes/remember.el: Move provide statement to end.
640         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
641         (remember-notes): Doc fixes.
643 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
645         * delsel.el (delete-char): Restore incorrectly erased property
646         (bug#16795).
648 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
650         * frameset.el (frameset--restore-frame): When a frame is being reused
651         and its root window is not alive, delete all the frame's windows before
652         restoring the window state.  This works around the issue in bug#16793.
654 2014-02-18  Glenn Morris  <rgm@gnu.org>
656         * textmodes/remember.el (remember-data-directory)
657         (remember-directory-file-name-format, remember-store-in-files)
658         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
659         (remember-notes-save-and-bury-buffer)
660         (remember-notes--kill-buffer-query): Doc fixes.
662         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
664 2014-02-17  Alan Mackenzie  <acm@muc.de>
666         Connect electric-indent-mode up with CC Mode.  Bug #15478.
667         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
668         to electric-indent-{,local-}-mode.
669         (c-basic-common-init): Set electric-indent-inhibit.
670         Initialise c-electric-flag from electric-indent-mode.
671         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
672         New hook functions which propagate electric-indent-mode to CC mode.
674         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
675         hit, toggle electric-indent-local-mode.
677         * electric.el (electric-indent-mode-has-been-called):
678         New variable.
680 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
682         * frameset.el (frameset-cfg-id): New function.
683         (frameset--reuse-frame, frameset-restore): Use it.
684         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
686 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
688         * ido.el (ido-file-internal): Remove unused var `d'.
689         Use \` for to match BoS.  Fit within 80n columns.
691 2014-02-17  Daniel Colascione  <dancol@dancol.org>
693         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
694         dbus-call-method check for completion using a busy-wait loop with
695         gradual backoff.
697 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
699         Sync with Tramp 2.2.9.
701         * net/trampver.el: Update release number.
703 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
705         * ido.el (ido-file-internal): Don't add the name of an existing
706         directory twice.  (Bug#16747)
708 2014-02-16  Glenn Morris  <rgm@gnu.org>
710         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
711         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
713 2014-02-15  Michael R. Mauger  <michael@mauger.com>
715         * progmodes/sql.el: Version 3.4
716         (sql-oracle-options): New default value ("-L").
717         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
718         (sql-placeholders-filter): Correct placeholder pattern.
719         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
720         (sql-login-delay): New variable.
721         (sql-product-interactive): Use it.
723 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
725         * frameset.el (frameset--jump-to-register): Check that buffer is live
726         (bug#16749).
728 2014-02-15  Glenn Morris  <rgm@gnu.org>
730         * info.el (info-initialize): Revert 2014-01-10 change.
732 2014-02-14  Glenn Morris  <rgm@gnu.org>
734         * replace.el (map-query-replace-regexp)
735         (read-regexp-defaults-function, read-regexp): Doc fixes.
737         * dired.el (dired-read-regexp):
738         * faces.el (list-faces-display):
739         * misearch.el (multi-isearch-read-matching-buffers)
740         (multi-isearch-read-matching-files):
741         * play/cookie1.el (cookie-apropos):
742         * progmodes/grep.el (grep-read-regexp): Doc fixes.
744         * textmodes/remember.el (remember): Use frameset-to-register
745         rather than frame-configuration-to-register.
747 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
749         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
750         incorrect keybinding.
752 2014-02-13  Daniel Colascione  <dancol@dancol.org>
754         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
755         when adding overlays so that line numbers from compiler match line
756         numbers we use.
758 2014-02-13  Glenn Morris  <rgm@gnu.org>
760         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
762         * jit-lock.el (jit-lock-mode): Doc fix.
764 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
766         * apropos.el (apropos-read-pattern): When the user passes an empty
767         string, give a more helpful error message than "Wrong type
768         argument: stringp, nil".
770 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
772         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
774 2014-02-13  Glenn Morris  <rgm@gnu.org>
776         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
778 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
780         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
781         shift-select commands.
783 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
785         * progmodes/js.el (js-indent-line): Don't widen.
786         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
788 2014-02-12  Glenn Morris  <rgm@gnu.org>
790         * icomplete.el (icomplete): Add info-link to defgroup.
791         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
792         (icomplete-minibuffer-map, icomplete-mode)
793         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
795         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
796         (package-menu-filter): Rename from package-menu-filter-interactive.
797         Doc fix.
799 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
801         * frameset.el (frameset--jump-to-register): Select the required
802         window and buffer before restoring position (bug#16696).
804 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
806         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
808 2014-02-10  Glenn Morris  <rgm@gnu.org>
810         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
812 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
814         * w32-common-fns.el (x-get-selection): Doc fix.
815         * select.el (x-get-selection): Doc fix.  (Bug#15109)
817         * face-remap.el (face-remap-add-relative)
818         (face-remap-remove-relative, face-remap-reset-base)
819         (face-remap-set-base): Call force-mode-line-update to redisplay
820         the current buffer due to potential change in faces.  (Bug#16709)
822 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
824         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
825         script more robustly.
827 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
829         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
831         * simple.el (choose-completion): Doc fix (bug#14160).
833         * subr.el (event-start): Say what a nil EVENT value means.
835         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
836         (bug#14197).
838         * progmodes/grep.el (find-program): Doc fix (bug#14289).
840         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
842         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
844         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
845         predicate function (bug#15455).
847 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
849         * ielm.el (inferior-emacs-lisp-mode): Instead of
850         `comment-use-global-state', set `comment-use-syntax'.
852 2014-02-10  Glenn Morris  <rgm@gnu.org>
854         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
856 2014-02-09  Alan Mackenzie  <acm@muc.de>
858         Fix c-invalidate-state-cache on narrowed buffers.
859         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
860         Widen when setting and clearing the CPP delimiter properties.
862 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
864         * help.el (describe-bindings): Doc fix (bug#9888).
866         * files.el (save-buffer): Use ARG as the parameter name for
867         consistency (bug#10346).
868         (save-buffer): Clarify the 0 argument (bug#10346).
870         * cus-edit.el (customize-apropos): Fix error string.
871         (custom-buffer-create): Doc fix (bug#11122).
872         (custom-sort-items): Doc fix (bug#11121).
874         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
876         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
877         (icomplete-simple-completing-p): Mention the previous variable.
879         * font-lock.el (font-lock-value-in-major-mode): Clarify the
880         meaning of the parameter (bug#12282).
882         * files.el (find-file-noselect): Clarify prompt when changing
883         readedness (bug#13261).
884         (locate-file): Suffixes aren't returned, so don't say that they
885         are (bug#12674).
886         (backup-inhibited): Doc clarification (bug#12525).
888         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
889         before we actually start to delete things (bug#16331).
891         * subr.el (event-start): Doc fix (bug#14228).
892         (event-end): Ditto.
894 2014-02-09  Glenn Morris  <rgm@gnu.org>
896         * emacs-lisp/warnings.el (lwarn):
897         Empower help-enable-auto-load.  (Bug#15940)
899 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
901         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
902         (Bug#16690)
904 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
906         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
907         Insert output at end of buffer.  (Bug#16120)
909 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
911         * simple.el (choose-completion-string-functions): Document new
912         calling convention (bug#14153).
913         (execute-extended-command): Clarify doc string (bug#13373).
915         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
917         * find-dired.el (find-name-dired): Doc fix (bug#14290).
918         (find-grep-dired): Doc fix (bug#14288).
920 2014-02-08  Juri Linkov  <juri@jurta.org>
922         * isearch.el (isearch-quote-char): Check character validity
923         like in `quoted-insert' (bug#16677).
925 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
927         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
929         * isearch.el (isearch-hide-immediately): Doc clarification
930         (bug#14723).
932         * simple.el (line-move): Document utility function used many
933         places in the Emacs sources (bug#14843).
935         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
936         (dired-prev-marked-file): Doc fix (bug#14855).
937         (dired-up-directory): Doc fix (bug#14848).
939         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
941         * files.el (file-relative-name): Doc fix (bug#15159).
943         * fringe.el (fringe-styles): Doc fix (bug#15239).
945         * isearch.el (isearch-filter-predicate): Documentation typo fix
946         (bug#15474).
948         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
950         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
952         * replace.el (replace-match-maybe-edit): Doc clarification
953         (bug#15632).
955         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
957         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
959 2014-02-08  Glenn Morris  <rgm@gnu.org>
961         * help-fns.el (describe-variable):
962         Check {file,dir}-local-variables-alist, and buffer-file-name,
963         in the correct buffer.
965 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
967         * help-fns.el (describe-variable): Fix the case where
968         a value is directory-local with no dir-locals file.  (Bug#16635)
970 2014-02-08  Glenn Morris  <rgm@gnu.org>
972         * abbrev.el (edit-abbrevs-mode):
973         Derive from fundamental-mode.  (Bug#16682)
975 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
977         * simple.el (quoted-insert): Check character validity (bug#16677).
979 2014-02-07  Juri Linkov  <juri@jurta.org>
981         * desktop.el (desktop-read): Claim the lock when the owner is not
982         the current process.  (Bug#16157)
984 2014-02-07  Juri Linkov  <juri@jurta.org>
986         * desktop.el (desktop-buffers-not-to-save): Change default from nil
987         to "\\` ".  (Bug#16651)
989 2014-02-07  Juri Linkov  <juri@jurta.org>
991         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
992         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
993         (desktop-auto-save-cancel-timer): New function with some code from
994         `desktop-auto-save-set-timer'.
995         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
996         Instead of setting `desktop-save-mode' to nil, call
997         `desktop-save-mode' with arg 0.  (Bug#16630)
999 2014-02-07  Glenn Morris  <rgm@gnu.org>
1001         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1002         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1003         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1005         * obsolete/iswitchb.el: Move to obsolete/.
1006         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1007         since obsolete/ is not scanned for autoloads.
1008         * emacs-lisp/authors.el (authors-valid-file-names):
1009         Add iswitchb.el.
1011         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1012         Disable now non-functional find-file-hook.
1014 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
1016         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1017         instead of ";" in order to avoid additional prompts.  Let heredoc
1018         scripts read from tty.  (Bug#16582)
1019         (tramp-send-command): No special handling of heredocs, it isn't
1020         necessary anymore.
1022 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1024         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1025         with a space (bug#16664).  Limit the symbols considered to the ones
1026         that are bound or fbound (bug#16646).
1028 2014-02-06  Glenn Morris  <rgm@gnu.org>
1030         * epa.el (epa-mail-aliases): Doc fix.
1032 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
1034         * emacs-lisp/lisp.el (lisp-completion-at-point):
1035         Use `completion-table-merge' instead of `completion-table-in-turn'
1036         (bug#16604).
1038         * minibuffer.el (completion-table-merge): New function.
1040 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
1042         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1043         (tramp-sh-handle-set-file-acl)
1044         (tramp-sh-handle-start-file-process)
1045         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1046         (tramp-find-executable, tramp-send-command): Use it.
1048 2014-02-05  Glenn Morris  <rgm@gnu.org>
1050         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
1052 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1054         * progmodes/python.el (python-shell-send-string)
1055         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1057 2014-02-04  Anders Lindgren  <andlind@gmail.com>
1059         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1060         the names (bug#16620).
1062 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
1064         * faces.el (window-divider): New default value.  Rewrite doc-string.
1065         (window-divider-first-pixel, window-divider-last-pixel): New faces.
1067 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
1069         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1070         `protected' and `public' can also be called without arguments.
1072 2014-02-03  Glenn Morris  <rgm@gnu.org>
1074         * register.el (window-configuration-to-register)
1075         (frame-configuration-to-register): Unadvertise unused argument.
1076         * frameset.el (frameset-to-register): Remove unused argument.
1078         * frameset.el (frameset-to-register):
1079         * kmacro.el (kmacro-to-register):
1080         * register.el (increment-register):
1081         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1082         (calc-append-to-register, calc-prepend-to-register):
1083         * play/gametree.el (gametree-layout-to-register)
1084         (gametree-apply-register-layout):
1085         * textmodes/picture.el (picture-clear-rectangle-to-register)
1086         (picture-yank-rectangle-from-register):
1087         * vc/emerge.el (emerge-combine-versions-register):
1088         Use register-read-with-preview to read registers.
1090 2014-02-03  João Távora  <joaotavora@gmail.com>
1092         * elec-pair.el (electric-pair-backward-delete-char): Don't error
1093         when at beginning of (possibly narrowed) buffer.
1095 2014-02-02  Daniel Colascione  <dancol@dancol.org>
1097         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1098         Also try to display local help from just before point.
1100 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
1102         c-parse-state.  Don't "append-lower-brace-pair" in certain
1103         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
1104         recognised as a comment.
1106         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1107         as well as normal comment starter.
1108         (c-parse-state-get-strategy): Extra return possibility
1109         'back-and-forward.
1110         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1111         return value list to indicate replacement of a brace-pair cons
1112         with its car.
1113         (c-parse-state-1): With 'back-and-forward, only call
1114         c-append-lower-brace-pair-to state-cache when cons-separated.
1116 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
1118         * term/ns-win.el (ns-suspend-error): New function.
1119         (ns-initialize-window-system): Add ns-suspend-error to
1120         suspend-hook (Bug#16612).
1122 2014-02-02  Daniel Colascione  <dancol@dancol.org>
1124         * progmodes/cc-defs.el (c-find-assignment-for-mode):
1125         Make loading cc-mode silent.
1127 2014-02-02  Daniel Colascione  <dancol@dancol.org>
1129         * comint.el (comint-prompt-read-only): Change doc to suggest
1130         remap keybinding.
1132 2014-02-02  Glenn Morris  <rgm@gnu.org>
1134         * register.el (register-read-with-preview, point-to-register)
1135         (window-configuration-to-register, frame-configuration-to-register)
1136         (jump-to-register, number-to-register, view-register, insert-register)
1137         (copy-to-register, append-to-register, prepend-to-register)
1138         (copy-rectangle-to-register): Doc fixes.
1140 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1142         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1143         * emacs-lisp/find-func.el (find-function-C-source): Idem.
1144         * emacs-lisp/nadvice.el (advice--cd*r): New function.
1145         * help-fns.el (describe-function-1): Use it.
1147 2014-02-02  Glenn Morris  <rgm@gnu.org>
1149         * register.el (register-preview-default): New function,
1150         split from register-preview.
1151         (register-preview-function): Rename from register-preview-functions,
1152         make it not a hook.
1153         (register-preview): Use register-preview-function.
1154         (register-read-with-preview): Error on non-character event.  (Bug#16595)
1156 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
1158         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1159         `:' before binary operators (bug#16609).  Don't check for `:'
1160         before `[' and `(', or their syntax status.  A percent literal
1161         can't end with either.
1162         (ruby-font-lock-keywords): For built-ins that require arguments,
1163         check that they're followed by something that looks like argument
1164         (bug#16610).
1166 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
1168         * subr.el (butlast): Document what an omitted N means (bug#13437).
1169         (nbutlast): Ditto.
1171 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
1173         * net/shr.el (shr-generic): Make into a defsubst to make the stack
1174         depth shallower (bug#16587).
1175         (shr-tag-svg): Respect `shr-inhibit-images'.
1176         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1178 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
1180         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1181         (ruby-smie-grammar): Make "." right-associative.  Make its priority
1182         lower than the ternary and all binary operators.
1183         (ruby-smie-rules): Indent "(" relative to the first non-"."
1184         parent, or the first "." parent at indentation.
1185         Use `ruby-align-chained-calls' for indentation of "." tokens.
1186         (Bug#16593)
1188 2014-01-31  Juri Linkov  <juri@jurta.org>
1190         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1191         from `make-hash-table'.
1193         * textmodes/ispell.el (ispell-init-process): Change message format
1194         to be consistent with other messages.
1196 2014-01-31  Glenn Morris  <rgm@gnu.org>
1198         * delsel.el (delete-selection-mode): Doc fix.
1200         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1201         (trace-function-background): Doc fixes.
1203         * ido.el (ido-use-virtual-buffers): Doc fix.
1204         Reset :version, since the default value has not changed.
1206         * register.el (register-preview-delay, register-read-with-preview):
1207         Doc fixes.
1209         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1210         do not mess with mail-buffer position (fixes 2009-11-03 change).
1211         * progmodes/cc-mode.el (c-submit-bug-report):
1212         Check auto-fill-mode is bound.  (Bug#16592)
1214 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
1216         * startup.el (fancy-splash-image-file): New function,
1217         split from fancy-splash-head.
1218         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1219         so that we are both using the same image.  (Bug#16574)
1221 2014-01-30  Glenn Morris  <rgm@gnu.org>
1223         * simple.el (eval-expression): Doc fix.
1225         * hexl.el (hexl-mode-hook):
1226         * ielm.el (ielm-mode-hook):
1227         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1228         (lisp-interaction-mode-hook):
1229         * progmodes/cfengine.e (cfengine3-documentation-function):
1230         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1232 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1234         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1235         is a symbol (bug#16584).
1237 2014-01-30  Glenn Morris  <rgm@gnu.org>
1239         * help.el (help-for-help-internal): Add "P" to text.
1241 2014-01-29  Glenn Morris  <rgm@gnu.org>
1243         * simple.el (just-one-space, cycle-spacing): Doc fixes.
1245 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
1247         * window.el (fit-frame-to-buffer): Fix calculations for margins and
1248         height constraints.
1250 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
1252         * progmodes/hideif.el: Extend to full CPP expression syntax.
1253         (hif-token-alist): Add missing tokens.
1254         (hif-token-regexp): Add support for float/octal/hex immediates.
1255         (hif-string-literal-regexp): New const.
1256         (hif-tokenize): Recognize strings and float/octal/hex immediates.
1257         (hif-exprlist): New function.
1258         (hif-parse-if-exp): Use it.
1259         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1260         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1261         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1262         (hif-logxor, hif-comma): New functions.
1264 2014-01-28  Glenn Morris  <rgm@gnu.org>
1266         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1268         * indent.el (tab-stop-list): Doc fix.  Add :version.
1270         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1271         (cvs-append-to-ignore): Add compatibility alias.
1273 2014-01-27  Glenn Morris  <rgm@gnu.org>
1275         * dired.el (dired-hide-details-mode): Don't autoload it,
1276         since it cannot be used outside Dired buffers anyway.
1278         * emulation/cua-base.el (cua-mode): Doc fix.
1280         * dired.el (dired-hide-details-hide-symlink-targets)
1281         (dired-hide-details-hide-information-lines)
1282         (dired-hide-details-mode): Doc fixes.
1284         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1285         * strokes.el (strokes-file): Doc fix.  Bump :version.
1286         (strokes-help): Doc fix.
1287         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1288         * emulation/viper.el (viper): Doc fix for custom group.
1289         (top-level): Remove oh-so-no-longer-relevant text about vip.
1290         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1292         * ido.el (ido-save-directory-list-file):
1293         * saveplace.el (save-place-file):
1294         * calendar/timeclock.el (timeclock-file):
1295         * net/quickurl.el (quickurl-url-file):
1296         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1297         * progmodes/idlwave.el (idlwave-config-directory):
1298         * textmodes/remember.el (remember-data-file):
1299         Bump :version.
1301 2014-01-26  Glenn Morris  <rgm@gnu.org>
1303         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1304         Doc fix.  Make obsolete.
1305         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1307         * sort.el (delete-duplicate-lines): Doc fix.
1309 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1311         * progmodes/ada-mode.el (ada):
1312         * woman.el (woman): Link to info manual and Commentary section.
1314         * progmodes/flymake.el (flymake):
1315         * nxml/nxml-mode.el (nxml):
1316         * net/eww.el (eww):
1317         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1318         * htmlfontify.el (htmlfontify):
1319         * ses.el (ses):
1320         * epa.el (epa):
1321         * ido.el (ido): Link to info manual.
1323 2014-01-25  Leo Liu  <sdl.web@gmail.com>
1325         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1327 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
1329         * net/shr.el (shr-tag-img): Prefer the title over the alt text
1330         (bug#16537).
1332 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
1334         * net/eww.el (eww-download-callback):
1335         Fix reference to eww-download-directory.
1337         * emacs-lisp/bytecomp.el (byte-compile-file):
1338         Remove unused local variable `file-name'.
1340 2014-01-24  Glenn Morris  <rgm@gnu.org>
1342         * woman.el (woman-default-faces, woman-monochrome-faces):
1343         Fix obsolescence specification.
1345         * subr.el (with-demoted-errors): Doc fix.
1347 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1349         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1350         (cl--macroexp-fboundp): New function.
1351         (cl--make-type-test): Use it.
1353 2014-01-23  Glenn Morris  <rgm@gnu.org>
1355         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1356         * simple.el (eval-expression): Doc fixes.
1358 2014-01-22  Glenn Morris  <rgm@gnu.org>
1360         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1362 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1364         * emacs-lisp/package.el: Write files silently.
1365         (package-autoload-ensure-default-file, package--write-file-no-coding)
1366         (package-generate-description-file, package--download-one-archive)
1367         (package-install-from-archive): Tell `write-region' to stay quiet.
1368         (package-menu-mode, package-menu--print-info): Omit the Archive column
1369         if there's only one archive.
1370         (package-all-keywords, package--has-keyword-p): Remove dead code.
1372 2014-01-22  Glenn Morris  <rgm@gnu.org>
1374         * version.el (emacs-bzr-version-bzr): Fix typo.
1376         * version.el (emacs-repository-get-version):
1377         Check either .bzr or .git, but not both.
1378         Make the git case actually use the DIR argument, and return nil
1379         rather than the empty string.
1380         Avoid error if .git exists but the git executable is not found.
1382 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
1384         Fixes in window size functions around Bug#16430 and Bug#16470.
1385         * window.el (window-total-size, window-size): New argument ROUND.
1386         (window--min-delta-1, window-min-delta, window--max-delta-1):
1387         Be more conservative when calculating the numbers of lines or
1388         columns a window can shrink (Bug#16430).
1389         (fit-window-to-buffer): Simplify code.
1390         * term.el (term-window-width): Call window-body-width again.
1392 2014-01-22  Glenn Morris  <rgm@gnu.org>
1394         * image.el (image-format-suffixes): Doc fix.
1396         * international/quail.el (quail-define-package): Doc fix.
1398         * emacs-lisp/authors.el (authors-valid-file-names)
1399         (authors-renamed-files-alist): Additions.
1401         * vc/vc-git.el (vc-git-print-log): Remove --follow;
1402         reverts 2014-01-09 change.  (Bug#16422)
1404         * calc/calc-embed.el (thing-at-point-looking-at):
1405         * emacs-lisp/map-ynp.el (x-popup-dialog):
1406         * obsolete/lmenu.el (x-popup-dialog):
1407         * emacs-lisp/package.el (url-recreate-url):
1408         * mail/mailclient.el (clipboard-kill-ring-save):
1409         * subr.el (x-popup-dialog): Update declaration.
1410         * mail/rmail.el (rmail-mime-message-p):
1411         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1413 2014-01-21  Daniel Colascione  <dancol@dancol.org>
1415         * progmodes/sh-script.el (sh--inside-noncommand-expression):
1416         Correctly detect when we're inside an arithmetic expansion form
1417         containing nested parenthesis.
1418         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1419         to detect cases where we shouldn't expand "<<" to a heredoc
1420         skeleton.
1422 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1424         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1425         (eldoc--message-command-p): New function.
1426         (eldoc-display-message-p): Use it.
1427         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1428         message is not automatically erased for us.
1429         (eldoc-print-current-symbol-info): Erase previous message, if any.
1431 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
1433         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1434         specify it's an interactive function.
1436         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1437         Fix regex used for scanning for citation keys which failed for
1438         citations with optional arguments.
1440 2014-01-21  Leo Liu  <sdl.web@gmail.com>
1442         * simple.el (read--expression): Don't enable eldoc-mode.
1444 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1446         * simple.el (move-beginning-of-line): Make sure we don't move forward
1447         (bug#16497).
1449 2014-01-20  Juri Linkov  <juri@jurta.org>
1451         * saveplace.el (toggle-save-place, save-place-to-alist)
1452         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1453         'dired-mode) before checking for dired-directory.  (Bug#16477)
1455 2014-01-20  Juri Linkov  <juri@jurta.org>
1457         * indent.el (indent-line-to): Use backward-to-indentation
1458         instead of back-to-indentation.  (Bug#16461)
1460 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
1462         Revert some of the CANNOT_DUMP fix (Bug#16494).
1463         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1464         but fixing this can wait until after the next release.
1465         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1467 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
1469         * eshell/esh-mode.el (eshell-password-prompt-regexp):
1470         Use `password-word-equivalents'.
1471         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1472         to t.  (Bug#5664, Bug#13124)
1474 2014-01-19  Alan Mackenzie  <acm@muc.de>
1476         Bind open-paren-in-column-0-is-defun-start to nil at some entry
1477         points.
1478         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1479         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1480         * progmodes/cc-mode.el (c-before-change, c-after-change)
1481         (c-font-lock-fontify-region): Bind it here.
1483 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
1485         * term.el (term-window-width): Call window-text-width instead of
1486         window-width (Bug#16470).
1488 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
1490         * simple.el (password-word-equivalents): Remove duplicates.
1491         Sort, to make this easier next time.
1492         Downcase.  Omit ": " after "jelszó".
1494 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
1496         * term/common-win.el (saved-region-selection): Defvar it.
1497         (x-select-text): Set saved-region-selection (Bug#16382).
1499 2014-01-18  Glenn Morris  <rgm@gnu.org>
1501         * emacs-lisp/authors.el (authors-aliases)
1502         (authors-renamed-files-alist): Add some entries.
1504 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
1506         * net/tramp.el (tramp-password-prompt-regexp):
1507         Use `password-word-equivalents' if available.
1508         (tramp-action-password, tramp-process-one-action)
1509         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
1511 2014-01-17  Chong Yidong  <cyd@gnu.org>
1513         * simple.el (password-word-equivalents): New defcustom.
1514         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
1515         to 24.4.
1516         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1517         to t.  (Bug#13124)
1519 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
1521         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1522         (ruby-align-to-stmt-keywords): Change the default value.
1523         Use `ruby-alignable-keywords' to generate the possible customization
1524         choices.
1525         (ruby-smie-rules): Instead of using a hardcoded list of alignable
1526         keywords, check against the value of `ruby-alignable-keywords'
1527         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1529 2014-01-17  Glenn Morris  <rgm@gnu.org>
1531         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1533         Make M-x authors return zero *Authors Errors* from current logs.
1534         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1535         (authors-ignored-files): Add some entries, remove others.
1536         (authors-ambiguous-files, authors-valid-file-names):
1537         Add some entries.
1538         (authors-renamed-files-alist): Add, remove, and adjust entries.
1539         (authors-renamed-files-regexps): Add some entries.
1540         Remove some very broad ones.  Make some entries `lax'.
1541         (authors-lax-changelogs): New constant.
1542         (authors-disambiguate-file-name): Treat top-level specially.
1543         (authors-lax-changelog-p): New function.
1544         (authors-canonical-file-name): Check file as written against
1545         authors-valid-file-names.  Do not special-case etc/.
1546         Handle `lax' logs and authors-renamed-files-regexps elements.
1548 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
1550         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1551         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
1552         callers.
1554 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1556         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1557         Assume we're already in the proper buffer.
1558         Inspired by Anders Lindgren <andlind@gmail.com>.
1559         (follow-post-command-hook): Call it from the right buffer.
1560         (follow-comint-scroll-to-bottom): Adjust call.
1561         (follow-all-followers): Use get-buffer-window-list.
1563 2014-01-15  Daniel Colascione  <dancol@dancol.org>
1565         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1566         `buffer-file-name' in interactive-form so that we don't leave
1567         pathless file names in `file-name-history'.
1569 2014-01-15  Juri Linkov  <juri@jurta.org>
1571         * indent.el (indent-rigidly): Set deactivate-mark to nil
1572         in transient indentation mode.  (Bug#16438)
1574 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
1576         * emacs-lisp/package.el (package-desc-keywords): New function
1577         (Bug#16222).
1578         (describe-package-1, package-all-keywords)
1579         (package--has-keyword-p): Use it.
1581 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1583         * simple.el (define-alternatives): When creating the
1584         COMMAND-alternatives variable, assign COMMAND as its definition
1585         name so that `describe-variable' can relocate it.
1587 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
1589         * font-lock.el (font-lock-keywords): Fix typo in docstring
1590         (bug#16307).
1592 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1594         * ispell.el (ispell-region): Reset `in-comment' for new line
1595         instead of wrongly reset `add-coment' (bug#13577).
1597 2014-01-14  Daiki Ueno  <ueno@gnu.org>
1599         * epa-file.el (epa-file-write-region): Encode the region according
1600         to `buffer-file-format'.  Problem reported at:
1601         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1603 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1605         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1606         so it applies in the right buffer (bug#16410).
1608 2014-01-13  Daniel Colascione  <dancol@dancol.org>
1610         * textmodes/rst.el (rst-define-key): Provide deprecated
1611         keybindings through named functions instead of anonymous ones so
1612         that "??" doesn't appear in describe-mode output.
1614 2014-01-13  Bastien Guerry  <bzg@gnu.org>
1616         * simple.el (define-alternatives): Call the selected command
1617         interactively.  When setting `COMMAND--implementation' for the
1618         first time, tell the user how to chose another implementation.
1619         Enhance the docstring.
1621 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1623         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1624         (log-edit--match-first-line): New function.
1625         (log-edit-font-lock-keywords): Use it.
1626         (log-edit-mode): Make jit-lock-defer-multiline work.
1628 2014-01-13  Bastien Guerry  <bzg@gnu.org>
1630         * rect.el (rectangle-mark-mode): When the region is not active,
1631         display a message saying that the mark as been set and that
1632         rectangle mode is in use.
1633         (rectangle--highlight-for-redisplay): Only put an overlay with a
1634         visible vertical bar when (display-graphic-p) is non-nil.
1635         This partially fixes Bug#16403.
1637 2014-01-13  Juri Linkov  <juri@jurta.org>
1639         * info.el (Info-find-file): Go to DIR before displaying the error
1640         about a nonexistent file if no previous Info file is visited.
1641         Use `user-error' instead of `error' for "Info file %s does not exist".
1642         (Info-find-node-2): In case of a nonexistent node in unwind forms
1643         go to the Top node if there is no previous node to revert to.
1644         (Bug#16405)
1646 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
1648         fit-frame/window-to-buffer code fixes including one for Bug#14096.
1649         * window.el (fit-frame-to-buffer): Fix doc-string.
1650         Respect window-min-height/-width.  Fit pixelwise when
1651         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
1652         when avoiding that frame goes partially off-screen.
1653         (fit-window-to-buffer): Respect window-min-height/-width
1654         (Bug#14096).
1656 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1658         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1659         after an empty line.
1661 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1663         * net/shr.el (shr-render-region): Autoload.
1665 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
1667         * net/eww.el (eww-download-directory): Rename from
1668         `eww-download-path' (Bug#16419).
1670 2014-01-12  Leo Liu  <sdl.web@gmail.com>
1672         * dired-x.el (dired-mode-map): Fix last change.
1674         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1676 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
1678         Spelling fixes.
1679         * emacs-lisp/generic.el (generic--normalize-comments):
1680         Rename from generic--normalise-comments.  All uses changed.
1681         * play/bubbles.el (bubbles--neighborhood-score)
1682         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1683         (bubbles--neighborhood-available)
1684         (bubbles--update-neighborhood-score):
1685         Rename from names with 'neighbourhood'.  All uses changed.
1687 2014-01-12  Leo Liu  <sdl.web@gmail.com>
1689         Re-implement the feature of showing eldoc info after editing.
1690         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1691         (eldoc-edit-message-commands): New function.
1692         (eldoc-print-after-edit): New variable.
1693         (eldoc-pre-command-refresh-echo-area): Emit message only by
1694         eldoc-message-commands.
1695         (eldoc-mode): Restrict eldoc-message-commands to editing commands
1696         if eldoc-print-after-edit is set.  (Bug#16346)
1697         * simple.el (read--expression): Enable eldoc-mode.
1698         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1700 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
1701             Eric S. Raymond  <esr@thyrsus.com>
1703         * version.el (emacs-repository-get-version): Enhance so the
1704         function works correctly in either a Bazaar or Git repo.
1706 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
1708         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1709         Goes with removal of the joke manpages from /etc.
1711 2014-01-10  Kenichi Handa  <handa@gnu.org>
1713         * mail/rmail.el (rmail-get-coding-system):
1714         Check rmail-get-coding-function before "funcall"ing it.
1716 2014-01-10  Glenn Morris  <rgm@gnu.org>
1718         * emacs-lisp/authors.el (authors-fixed-entries):
1719         Update for files that no longer exist.
1721 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
1723         * version.el (emacs-bzr-get-version): Restore compatibilty with
1724         24.3 (Tested).
1726 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
1728         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1729         and Podfile.
1731 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
1733         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1735 2014-01-10  Chong Yidong  <cyd@gnu.org>
1737         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1739 2014-01-10  Anders Lindgren  <andlind@gmail.com>
1741         * follow.el (follow-cache-command-list): Include right-char and
1742         left-char.
1744 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1746         Spelling fixes.
1747         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1748         * woman.el (woman-mark-horizontal-position):
1749         Rename from woman-mark-horizonal-position.  Use changed.
1751 2014-01-10  Glenn Morris  <rgm@gnu.org>
1753         * info.el (info-initialize): If running uninstalled, ensure our
1754         own info files are always found first, even if INFOPATH is set.
1756         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1758 2014-01-09  David Engster  <deng@randomsample.de>
1760         * emacs-lisp/eieio-custom.el:
1761         * emacs-lisp/eieio-opt.el: Set generated autoload file to
1762         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1763         * emacs-lisp/eieio.el: Regenerate autoloads.
1765 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
1767         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1768         following renames.  (Bug#8756)
1770 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1772         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1773         (bug#16382).
1774         (activate-mark): Add `no-tmm' argument.
1775         (set-mark, push-mark-command): Use it instead of running
1776         activate-mark-hook by hand.
1778 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
1780         In preparation for the move to git, sanitize out some
1781         Bazaar-specific names.
1783         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1785         * version.el (emacs-bzr-version): Name changed to
1786         emacs-repository-version.  Obsolete-variable alias made.
1787         * loadup.el: Follow through on this name change.
1788         * mail/emacsbug.el (report-emacs-bug): Factor out any
1789         assumption about the version control system in use.
1791 2014-01-08  David Engster  <deng@randomsample.de>
1793         * help-fns.el (help-fns-describe-function-functions):
1794         New variable to call functions for augmenting help buffers.
1795         (describe-function-1): Remove explicit calls to
1796         `help-fns--compiler-macro', `help-fns--parent-mode' and
1797         `help-fns--obsolete'.  Put them in above new variable instead, and
1798         call them through `run-hook-with-args'.
1799         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1800         `eieio-describe-class'.  Not meant for interactive use anymore,
1801         but to augment existing help buffers.  Remove optional second
1802         argument.  Create proper button for file location.
1803         Rewrite function to use `insert' instead of `princ' and `prin1' where
1804         possible.
1805         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1806         (eieio-method-def, eieio-class-def): Move further up.
1807         (describe-method, describe-generic, eieio-describe-method):
1808         Remove aliases.
1809         (eieio-help-constructor, eieio-help-generic): Rename from
1810         `eieio-describe-constructor' and `eieio-describe-generic', resp.
1811         Rewrite to use `insert' in the current buffer and use proper help
1812         buttons.
1813         (eieio-help-find-method-definition)
1814         (eieio-help-find-class-definition): Also accept symbols as
1815         arguments.
1816         (eieio-help-mode-augmentation-maybee): Remove.
1817         (eieio-describe-class-sb): Use `describe-function'.
1818         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1819         Add `eieio-help-generic' and `eieio-help-constructor'.
1821 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
1823         Spelling fixes.
1824         * language/china-util.el (hz-ascii-designation):
1825         Rename from hz-ascii-designnation.
1826         (hz-ascii-designation): Rename from hz-ascii-designnation.
1827         All uses changed.
1829 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1831         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1832         package-alist.
1834 2014-01-08  Bastien Guerry  <bzg@gnu.org>
1836         * emacs-lisp/package.el (package-delete):
1837         Correctly delete the package from package-alist.
1839 2014-01-08  Daiki Ueno  <ueno@gnu.org>
1841         * emacs-lisp/package.el (url-recreate-url): Declare.
1842         (url-http-target-url): Declare.
1843         (package-handle-response): Include requested URL in the error message.
1844         (package--check-signature): Don't re-signal errors from
1845         package--with-work-buffer.  Suggested by Stefan Monnier.
1847 2014-01-07  Bastien Guerry  <bzg@gnu.org>
1849         * minibuffer.el (completion--try-word-completion): When both a
1850         hyphen and a space are possible candidates for the character
1851         following a word, display both candidates.  (Bug#15980)
1853 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
1855         * window.el (balance-windows-2): While rounding don't give a
1856         window more than the remainder.  Bug#16351, bug#16383.
1858 2014-01-07  Glenn Morris  <rgm@gnu.org>
1860         * menu-bar.el (menu-bar-help-extra-packages): Remove.
1861         (menu-bar-help-menu): Use view-external-packages instead.
1863 2014-01-07  Bastien Guerry  <bzg@gnu.org>
1865         * emacs-lisp/package.el (package-delete): Also delete the package
1866         name from `package-alist', not its description only.
1868 2014-01-07  Glenn Morris  <rgm@gnu.org>
1870         * help.el (view-external-packages):
1871         * menu-bar.el (menu-bar-help-extra-packages):
1872         Visit efaq.info rather than etc/MORE.STUFF.
1874 2014-01-07  Juri Linkov  <juri@jurta.org>
1876         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1877         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
1879         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1880         that shadows RET.  (Bug#16342)
1882 2014-01-07  Chong Yidong  <cyd@gnu.org>
1884         * isearch.el (isearch-yank-char, isearch-yank-word)
1885         (isearch-yank-line): Doc fix.
1887 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1889         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1890         * emacs-lisp/elint.el (elint-find-builtins):
1891         * emacs-lisp/eldoc.el (eldoc-symbol-function):
1892         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1893         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1894         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1895         * apropos.el (apropos-safe-documentation):
1896         * subr.el (symbol-file): Remove redundant fboundp.
1897         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1899 2014-01-06  Bastien Guerry  <bzg@gnu.org>
1901         * hl-line.el (global-hl-line-overlay): Make a local variable.
1902         (global-hl-line-overlays): New variable to store all overlays.
1903         (global-hl-line-mode): Don't delete overlays from the current
1904         buffer when `global-hl-line-sticky-flag' is non-nil.
1905         (global-hl-line-highlight): Add new overlays to
1906         `global-hl-line-overlays'.
1907         (global-hl-line-unhighlight-all): New function to delete all
1908         overlays when turning off `global-hl-line-mode'.
1909         This fixes Bug#16183.
1911 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1913         * subr.el (set-transient-map): Fix nested case and docstring.
1915 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
1917         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1918         `Texinfo' entry.
1920 2014-01-06  Daniel Colascione  <dancol@dancol.org>
1922         Fix defun navigation in vc log view.
1924         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1925         like `beginning-of-defun'.
1926         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1927         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
1928         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1929         (log-view-extract-comment): Call `log-view-current-entry' directly
1930         instead of relying on broken `log-view-beginning-of-defun' behavior.
1932 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
1934         Spelling fixes.
1935         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1936         * emacs-lisp/debug.el (cancel-debug-on-entry):
1937         * epg.el (epg-error-to-string):
1938         * files.el (recover-file):
1939         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1940         * mail/emacsbug.el (report-emacs-bug-hook):
1941         * mail/sendmail.el (mail-recover):
1942         * ses.el (ses-yank-resize):
1943         * term/ns-win.el (ns-print-buffer):
1944         Spelling fixes in diagnostics, mostly for "canceled" with one L.
1945         * epg.el (epg-key-capability-alist): Rename from misspelled version.
1946         All uses changed.
1947         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1949 2014-01-06  Leo Liu  <sdl.web@gmail.com>
1951         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1952         to avoid shadowing global key.  (Bug#16354)
1954 2014-01-06  Daniel Colascione  <dancol@dancol.org>
1956         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1957         rst-mode.
1959 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
1961         * window.el (balance-windows): Add mising t to fix Bug#16351.
1963 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1965         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1966         (bug#16285).
1967         (shr-insert): If we have a word that's longer than `shr-width',
1968         break after it anyway.  Otherwise we'll do no breaking once we get
1969         such a long word.
1971 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1973         * net/eww.el (eww): Support single/double quote for search.
1974         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1975         (eww-history-quit): Delete and use quit-window.
1976         (eww-history-kill): Delete, because it doesn't work well and
1977         not necessary.
1978         (eww-history-mode-map): Delete some keys and add easy-menu.
1980 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
1982         Fix misspelling of 'chinese' in rx (Bug#16237).
1983         * emacs-lisp/rx.el (rx-categories): Correct spelling of
1984         chinese-two-byte.
1986         Change subword regexps back to vars (Bug#16296).
1987         * progmodes/subword.el (subword-forward-regexp)
1988         (subword-backward-regexp): Change these back to variables.
1990 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1992         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1993         syntax-begin-function (bug#16247).
1995 2014-01-03  Chong Yidong  <cyd@gnu.org>
1997         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1998         (advice--docstring): Delete variable.
1999         (advice--make-1): Leave the docstring empty.
2000         (advice-add): Use function-documentation for advised docstring.
2002         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2003         Ignore function-documentation property when getting documentation.
2004         (ad-activate-advised-definition): Use function-documentation
2005         generate the docstring.
2006         (ad-make-advised-definition): Don't call
2007         ad-make-advised-definition-docstring.
2008         (ad-make-advised-definition-docstring, ad-advised-definition-p):
2009         Delete functions.
2011         * progmodes/sql.el (sql-help): Use function-documentation instead
2012         of dynamic-docstring-function property.  No need to autoload now.
2013         (sql--help-docstring): New variable.
2014         (sql--make-help-docstring): Use it.
2016 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2018         * ielm.el (ielm-tab): Retarget.
2019         (ielm-map): Use ielm-tab for tab.
2020         (ielm-complete-filename): Use comint-filename-completion.
2021         (ielm-complete-symbol): Remove.
2022         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2023         remove ielm-tab from completion-at-point-functions (bug#16224).
2025         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2026         Beware signals raised by predicates (bug#16201).
2028 2014-01-02  Richard Stallman  <rms@gnu.org>
2030         * dired-aux.el (dired-do-print): Handle printer-name.
2032         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2033         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2034         (rmail-epa-decrypt): Turn off mime processing.
2036         * mail/rmail.el (rmail-make-in-reply-to-field):
2037         Add parens in message-id.
2039         * mail/rmail.el (rmail-get-coding-function): Variable.
2040         (rmail-get-coding-system): Use it.
2042 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
2044         * international/mule-conf.el: Unify the charset indian-is13194.
2045         (indian-is13194): Specify unify-map.
2047 2013-12-31  Leo Liu  <sdl.web@gmail.com>
2049         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
2051 2013-12-30  Daniel Colascione  <dancol@dancol.org>
2053         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2054         of printing a useless when we resume from sleep.
2056         * progmodes/sh-script.el
2057         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2058         in indentation code.  (Bug#16233)
2060 2013-12-28  João Távora  <joaotavora@gmail.com>
2062         * elec-pair.el (electric-pair-post-self-insert-function):
2063         Don't open extra newlines at beginning of buffer.  (Bug#16272)
2065 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
2067         * frame.el (window-system-for-display): Don't allow to create a
2068         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
2070 2013-12-28  Glenn Morris  <rgm@gnu.org>
2072         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2073         Update callers.
2075         * apropos.el (apropos-match-face):
2076         * calculator.el (calculator-displayer):
2077         * dabbrev.el (dabbrev-search-these-buffers-only):
2078         * face-remap.el (buffer-face-mode-face):
2079         * simple.el (yank-handled-properties):
2080         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2081         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2082         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2083         (hashcash-double-spend-database):
2084         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2085         (ruby-deep-indent-paren-style):
2086         * textmodes/flyspell.el (flyspell-auto-correct-binding):
2087         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2088         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2089         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2090         Specify custom types.
2092         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2093         * bookmark.el (bookmark-bmenu-use-header-line):
2094         * doc-view.el (doc-view-scale-internally):
2095         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2096         * register.el (register-preview-delay):
2097         * net/shr.el (shr-bullet):
2098         * progmodes/cfengine.el (cfengine-cf-promises)
2099         (cfengine-parameters-indent):
2100         * progmodes/octave.el (inferior-octave-error-regexp-alist):
2101         * textmodes/reftex-vars.el (reftex-label-regexps):
2102         * vc/log-edit.el (log-edit-setup-add-author): Add version.
2104         * net/tls.el (tls-certtool-program): Fix default value.
2106         * desktop.el (desktop-restore-in-current-display):
2107         * newcomment.el (comment-empty-lines):
2108         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2109         (idlwave-pad-keyword):
2110         * progmodes/tcl.el (tcl-tab-always-indent):
2111         * textmodes/reftex-vars.el (reftex-index-default-tag):
2112         * elec-pair.el (electric-pair-skip-whitespace):
2113         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2115         * emacs-lisp/authors.el (authors-ignored-files)
2116         (authors-valid-file-names, authors-renamed-files-alist): Additions.
2118 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
2120         * shell.el (shell-dynamic-complete-command): Doc fix.
2121         (shell--command-completion-data): Shell completion now matches
2122         executable filenames from the current buffer's directory, on
2123         systems in which this behavior is the default (windows-nt, ms-dos).
2125 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
2127         * net/shr.el (shr-insert): Don't infloop if the width is zero.
2129 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2131         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2132         (bug#16251).
2134         * electric.el: Move all electric-pair-* to elec-pair.el.
2135         * elec-pair.el: New file, split from electric.el.
2137 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
2139         * net/shr.el (shr-find-fill-point): Don't try to fill if the
2140         indentation level is larger than the width, because that will
2141         infloop.
2142         (shr-insert): Fill repeatedly long texts, so that Japanese is
2143         formatted correctly (bug#16263).
2144         (shr-find-fill-point): Off by one error in comparison with the
2145         indentation.
2147 2013-12-26  João Távora  <joaotavora@gmail.com>
2149         * electric.el (electric-pair-mode): More flexible engine for skip-
2150         and inhibit predicates, new options for pairing-related functionality.
2151         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2152         if that keeps or improves their balance in buffers.
2153         (electric-pair-delete-adjacent-pairs): Delete the pair when
2154         backspacing over adjacent matched delimiters.
2155         (electric-pair-open-extra-newline): Open extra newline when
2156         inserting newlines between adjacent matched delimiters.
2157         (electric--sort-post-self-insertion-hook):
2158         Sort post-self-insert-hook according to priority values when
2159         minor-modes are activated.
2160         * simple.el (newline-and-indent): Call newline with interactive
2161         set to t.
2162         (blink-paren-post-self-insert-function): Set priority to 100.
2163         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2164         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2165         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
2166         electric-pair-open-newline-between-pairs to nil.
2168 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2170         * progmodes/python.el: Use lexical-binding.
2171         (python-nav-beginning-of-defun): Stop searching ASAP.
2173 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
2175         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2176         Fix interactive spec.  Doc fix.  (Bug#15754)
2178 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
2180         * emacs-lisp/byte-run.el (eval-when-compile):
2181         * progmodes/cc-defs.el (cc-eval-when-compile):
2182         Fix edebug spec (bug#16184).
2184 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
2186         * net/shr.el (shr-visit-file): Remove debugging function.
2187         (shr-insert): Don't infloop if we can't find a good place to break
2188         the line (bug#16256).
2190 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2192         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2193         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
2194         python-nav-lisp-forward-sexp-safe.
2195         (python-nav--forward-sexp): New argument SAFE allows switching
2196         forward sexp movement behavior for parens.
2197         (python-nav-forward-sexp): Throw errors on unterminated parens
2198         (Bug#16191).
2199         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2200         (python-nav-backward-sexp-safe): New functions.
2201         (python-shell-buffer-substring):
2202         Use `python-nav-forward-sexp-safe'.
2204 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
2206         * net/shr.el (shr-find-fill-point): Don't break lines before a
2207         quotation mark.
2208         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2209         (shr-find-fill-point): Remove the special checks for the quotation
2210         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2212 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2214         * net/eww.el (eww-form-textarea): Use a different face for
2215         textareas than text input since they have different keymaps
2216         (bug#16142).
2218 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2220         * progmodes/python.el (python-nav-beginning-of-statement):
2221         Speed up (Bug#15295).
2223 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
2225         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2226         the window configuration.
2228 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
2230         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2231         we run on MS-Windows or MS-DOS.
2233 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
2235         * window.el (balance-windows-area): Call window-size instead of
2236         window-height and window-width.  Bug#16241.
2238 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
2240         * net/eww.el (eww-bookmark-quit): Remove.
2241         (eww-bookmark-browse): Restore the window configuration when you
2242         choose a bookmark (bug#16144).
2244 2013-12-24  Daniel Colascione  <dancol@dancol.org>
2246         * icomplete.el: Remove redundant :group arguments to `defcustom'
2247         throughout.
2248         (icomplete-show-matches-on-no-input): New customizable variable.
2249         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2250         we have something to show.
2251         (icomplete-exhibit): Compute completions even if we have no user input.
2253 2013-12-23  Daniel Colascione  <dancol@dancol.org>
2255         * icomplete.el: Move `provide' to end of file.
2257 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
2259         * net/gnutls.el (gnutls-verify-error): Add version tag.
2261 2013-12-23  Chong Yidong  <cyd@gnu.org>
2263         * subr.el (set-transient-map): Rename from
2264         set-temporary-overlay-map.  Doc fix.
2266         * face-remap.el (text-scale-adjust):
2267         * indent.el (indent-rigidly):
2268         * kmacro.el (kmacro-call-macro):
2269         * minibuffer.el (minibuffer-force-complete):
2270         * repeat.el (repeat):
2271         * simple.el (universal-argument--mode):
2272         * calendar/todo-mode.el (todo-insert-item--next-param):
2273         * progmodes/f90.el (f90-abbrev-start): Callers changed.
2275         * indent.el (indent-rigidly): Use substitute-command-keys.
2277 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2279         * net/eww.el (eww-tag-select): Add text-property to jump to next
2280         select field.
2281         (eww): Add non-supported ftp error.
2283 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
2285         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2286         comments.  Handle electric indent after typing `?' and `!'.
2288 2013-12-22  Chong Yidong  <cyd@gnu.org>
2290         * faces.el (face-spec-recalc): If the theme specs are not
2291         applicable to a frame, fall back on the defface spec.
2292         This prevents themes from obliterating faces on low-color terminals.
2294 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
2296         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2297         after `{'.  We need it after block openers, and it doesn't seem
2298         to hurt after hash openers.
2300 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
2302         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2303         extracted from `ruby-smie-rules'.
2304         (ruby--electric-indent-chars): New variable.
2305         (ruby--electric-indent-p): New function.
2306         (ruby-mode): Use `electric-indent-functions' instead of
2307         `electric-indent-chars'.
2309 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
2311         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2312         docstring.
2313         (ruby-smie-rules): Indent plus one level after `=>'.
2315 2013-12-21  Richard Stallman  <rms@gnu.org>
2317         * simple.el (newline): Doc fix.
2319 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2321         * net/eww.el (eww-list-histories, eww-list-histories)
2322         (eww-history-browse, eww-history-quit, eww-history-kill)
2323         (eww-history-mode-map, eww-history-mode): New command and
2324         functions to list browser histories.
2325         (eww-form-text): Support text form with disabled
2326         and readonly attributes.
2327         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2329 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2331         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2332         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2333         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2334         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2335         Use `user-error'.
2336         (eww-bookmark-mode-map): Add menu.
2337         (eww-render, eww-mode): Use `setq-local'.
2338         (eww-tool-bar-map): New variable.
2339         (eww-mode): Set `tool-bar-map'.
2340         (eww-view-source): Check for `html-mode' with `fboundp'.
2342 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2344         * net/shr.el (shr--extract-best-source): Don't bug out on audio
2345         elements with text inside.  Also remove debugging.
2347 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
2349         * cus-start.el (all): Add ns-use-srgb-colorspace.
2351 2013-12-21  Chong Yidong  <cyd@gnu.org>
2353         * custom.el (custom-theme-recalc-face): Do nothing if the face is
2354         undefined.  Thus, theme settings for undefined faces do not take
2355         effect until the faces are defined with defface, the same as with
2356         theme variables.
2358         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2359         (face-spec-reset-face): Don't assign extra properties in temacs.
2360         (face-spec-recalc): Apply X resources too.
2362 2013-12-21  Chong Yidong  <cyd@gnu.org>
2364         * faces.el (face-spec-set):
2365         * cus-face.el (custom-theme-set-faces, custom-set-faces):
2366         * custom.el (defface): Doc fixes (Bug#16203).
2368         * indent.el (indent-rigidly-map): Add docstring, and move commands
2369         into named functions.
2370         (indent-rigidly-left, indent-rigidly-right)
2371         (indent-rigidly-left-to-tab-stop)
2372         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
2373         indentation direction based on bidi direction, and accumulate
2374         sequential commands in a single undo boundary.
2375         (indent-rigidly--pop-undo): New utility function.
2377 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
2379         * faces.el (read-face-name): Require crm.el when using crm-separator.
2381 2013-12-20  Daniel Colascione  <dancol@dancol.org>
2383         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2384         so that we don't reflow comments into the shebang line.
2386 2013-12-20  Juri Linkov  <juri@jurta.org>
2388         * saveplace.el (save-place-to-alist): Add `dired-filename' as
2389         a position when `dired-directory' is non-nil.  Check integer
2390         positions with `integerp'.
2391         (toggle-save-place, save-places-to-alist): Add check for
2392         `dired-directory'.
2393         (save-place-find-file-hook): Check integer positions with
2394         `integerp'.
2395         (save-place-dired-hook): Use `dired-goto-file' when
2396         `dired-filename' is found in the assoc list.  Check integer
2397         positions with `integerp'.
2398         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2400         * dired.el (dired-initial-position-hook): Rename back from
2401         `dired-initial-point-hook'.
2402         (dired-initial-position): Rename `dired-initial-point-hook' to
2403         `dired-initial-position-hook'.
2404         (dired-file-name-at-point): Doc fix.  (Bug#15329)
2406 2013-12-20  Juri Linkov  <juri@jurta.org>
2408         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2409         (read-regexp-suggestions): New function.
2410         (read-regexp): Use `read-regexp-defaults-function' to get default values.
2411         Use `read-regexp-suggestions'.  Add non-empty default to history
2412         for empty input.
2413         (occur-read-regexp-defaults-function): Remove function.
2414         (occur-read-primary-args): Use `regexp-history-last' instead of
2415         `occur-read-regexp-defaults-function'.
2417         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2418         (hi-lock-line-face-buffer, hi-lock-face-buffer)
2419         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2420         `hi-lock-read-regexp-defaults-function'.  Doc fix.
2421         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2422         with `find-tag-default-as-symbol-regexp'.  Doc fix.
2423         (hi-lock-read-regexp-defaults): Remove function.
2424         (hi-lock-regexp-okay): Add check for null.
2426         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2427         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
2429         * subr.el (find-tag-default-as-symbol-regexp): New function.
2430         (find-tag-default-as-regexp): Move symbol regexp formatting to
2431         `find-tag-default-as-symbol-regexp'.
2433 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
2435         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2436         (Bug#14179)
2438 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
2440         * calendar/todo-mode.el: New implementation of item insertion
2441         commands and key bindings.
2442         (todo-key-prompt): New face.
2443         (todo-insert-item): New command.
2444         (todo-insert-item--parameters): New defconst, replacing defvar
2445         todo-insertion-commands-args-genlist.
2446         (todo-insert-item--param-key-alist): New defconst, replacing
2447         defvar todo-insertion-commands-arg-key-list.
2448         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2449         (todo-insert-item--argsleft, todo-insert-item--apply-args)
2450         (todo-insert-item--next-param): New functions.
2451         (todo-insert-item--args, todo-insert-item--argleft)
2452         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2453         New variables.
2454         (todo-key-bindings-t): Change binding of "i" from
2455         todo-insertion-map to todo-insert-item.
2456         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2457         (todo-insertion-command-name, todo-insertion-commands-names)
2458         (todo-define-insertion-command, todo-insertion-commands)
2459         (todo-insertion-key-bindings, todo-insertion-map): Remove.
2461 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
2463         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2464         (todo-toggle-item-highlighting): Use eval-and-compile instead of
2465         eval-when-compile.
2466         (todo-move-category): Allow choosing a non-existing todo file to
2467         move the category to, and create that file.
2468         (todo-default-priority): New user option.
2469         (todo-set-item-priority): Use it.
2470         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2471         (desktop-restore-file-buffer): Declare.
2472         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2473         (todo-modes-set-2): Locally set desktop-save-buffer to
2474         todo-desktop-save-buffer.
2475         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2476         (auto-mode-alist): Add autoload cookie.
2478 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
2480         * emacs-lisp/subr-x.el: Renamed from helpers.el.
2481         helpers.el was a poor choice of name.
2482         (string-remove-prefix): New function.
2483         (string-remove-suffix): New function.
2485 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
2487         Fix assignment for new window total sizes.
2488         * window.el (window--pixel-to-size): Remove function.
2489         (window--pixel-to-total-1, window--pixel-to-total):
2490         Fix calculation of new total sizes.
2492 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
2494         * comint.el (comint-output-filter): Fix rear-nonsticky property
2495         placement (Bug#16010).
2497 2013-12-20  Chong Yidong  <cyd@gnu.org>
2499         * faces.el (read-color): Minor fix for completion function.
2501 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
2503         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2504         New option.  (Bug#16182)
2505         (ruby-smie--indent-to-stmt-p): Use it.
2506         (ruby-smie-rules): Revert the logic in the handling of `when'.
2507         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2508         (ruby-deep-arglist, ruby-deep-indent-paren)
2509         (ruby-deep-indent-paren-style): Update docstrings to note that the
2510         vars don't have any effect with SMIE.
2512 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
2514         * calc/calc.el (calc-enter, calc-pop): Use the variable
2515         `calc-context-sensitive-enter'.
2517 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2519         * net/shr.el (shr-insert): Protect against infloops in degenerate
2520         tables.
2522 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2524         * progmodes/octave.el (octave): Add link to manual and octave
2525         homepage.
2526         (octave-mode-menu): Link to octave-mode manual.
2528 2013-12-20  Leo Liu  <sdl.web@gmail.com>
2530         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2531         insertion using skeleton-end-newline.  (Bug#16138)
2533 2013-12-20  Juri Linkov  <juri@jurta.org>
2535         * replace.el (occur-engine): Use `add-face-text-property'
2536         to add the face property to matches and titles.  (Bug#14645)
2538         * hi-lock.el (hi-green): Use lighter color "light green" closer to
2539         the palette of other hi-lock colors.
2540         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2542 2013-12-19  Juri Linkov  <juri@jurta.org>
2544         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2545         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
2546         (minibuffer-history-symbol): Move variable declaration closer to
2547         its usage.
2549         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2550         (Bug#14785)
2552 2013-12-19  Juri Linkov  <juri@jurta.org>
2554         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2555         New function.
2556         (log-edit-hook): Add it to :options.  (Bug#16170)
2558 2013-12-19  Juri Linkov  <juri@jurta.org>
2560         * simple.el (eval-expression-print-format): Don't check for
2561         command names and the last command.  Always display additional
2562         formats of the integer result in the echo area, and insert them
2563         to the current buffer only with a zero prefix arg.
2564         Display character when char-displayable-p is non-nil.
2565         (eval-expression): With a zero prefix arg, set `print-length' and
2566         `print-level' to nil, and insert the integer values from
2567         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
2569         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2570         `eval-last-sexp-arg-internal'.  Doc fix.
2571         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2572         `eval-last-sexp-print-value'.  Doc fix.
2573         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2574         Set `print-length' and `print-level' to nil when arg is zero.
2575         (eval-last-sexp): Doc fix.
2576         (eval-defun-2): Print the integer values from
2577         `eval-expression-print-format' at the end.
2579         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2580         values from `eval-expression-print-format' at the end.
2582         * ielm.el (ielm-eval-input): Print the integer
2583         values from `eval-expression-print-format' at the end.
2585 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
2587         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2588         2013-12-11T19:01:44Z!tzz@lifelogs.com.
2590 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2592         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
2593         (hl-line-highlight, global-hl-line-highlight): Use it.
2594         (hl-line-overlay): Use defvar-local.
2596 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
2598         * term/ns-win.el: Require dnd.
2599         (global-map): Remove drag items.
2600         (ns-insert-text, ns-set-foreground-at-mouse)
2601         (ns-set-background-at-mouse):
2602         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2603         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2604         New functions.
2606 2013-12-19  Glenn Morris  <rgm@gnu.org>
2608         * emacs-lisp/ert.el (ert-select-tests):
2609         Fix string/symbol mixup.  (Bug#16121)
2611 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
2613         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2614         keywords to their parent.
2616 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
2618         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2619         first arg to be a string (fixed dead code), or an operator symbol.
2620         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2621         operator symbols.
2622         (ruby-smie-rules): Remove parent token check in the `.' clause, it
2623         did nothing.  Don't respond to `(:after ".")', it will be called
2624         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
2625         change anything.  Only return indentation for binary operators
2626         when they are hanging.  De-dent opening paren when its parent is
2627         `.', otherwise it looks bad when the dot is not at bol or eol
2628         (bug#16182).
2630 2013-12-19  Juri Linkov  <juri@jurta.org>
2632         * replace.el (query-replace-read-args): Split a non-negative arg
2633         and a negative arg into separate elements.
2634         (query-replace, query-replace-regexp, replace-string)
2635         (replace-regexp): Add arg `backward'.  Doc fix.
2636         (replace-match-maybe-edit): When new arg `backward' is non-nil,
2637         move point to the beginning of the match.
2638         (replace-search, replace-highlight): Use new arg `backward'
2639         to set the value of `isearch-forward'.
2640         (perform-replace): Add arg `backward' and use it to perform
2641         replacement backward.  (Bug#14979)
2643         * isearch.el (isearch-query-replace): Use a negative prefix arg
2644         to call `perform-replace' with a non-nil arg `backward'.
2646 2013-12-18  Juri Linkov  <juri@jurta.org>
2648         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2649         to the default list.  Move `log-edit-show-files' to the end.
2650         Add more available functions to options.
2651         (log-edit): Move default specific settings to
2652         `log-edit-insert-message-template'.  Don't move point.
2653         (log-edit-insert-message-template): New function.
2654         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2655         (Bug#16170)
2657 2013-12-18  Juri Linkov  <juri@jurta.org>
2659         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2660         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
2662 2013-12-18  Leo Liu  <sdl.web@gmail.com>
2664         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2665         (Bug#16186)
2667 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
2669         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2670         formats for displaying file sizes when the -s switch is given.
2671         Instead, compute a separate format for displaying the size in
2672         blocks, which is displayed in addition to the "regular" size.
2673         When -h is given in addition to -s, produce size in blocks in
2674         human-readable form as well.  (Bug#16179)
2676 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
2678         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2679         Reference tables with ~\ref{...} instead of only \ref{...}.
2681 2013-12-18  Chong Yidong  <cyd@gnu.org>
2683         * cus-edit.el (custom-magic-alist): Fix "themed" description
2684         (Bug#14348).
2686         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2687         is non-nil, do not create a new entry in the symbol's theme-value
2688         or theme-face property; update theme-settings only (Bug#14664).
2689         (custom-available-themes): Doc fix.
2691         * cus-theme.el (custom-new-theme-mode-map): Add bindings
2692         (Bug#15674).
2694         * replace.el (occur-engine): Avoid infloop (Bug#7593).
2696 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
2698         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2699         (Bug#13914).
2701 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
2703         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2705 2013-12-18  Glenn Morris  <rgm@gnu.org>
2707         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2708         * cus-start.el (load-prefer-newer): New option.
2710 2013-12-18  Le Wang  <l26wang@gmail.com>
2712         * comint.el (comint-previous-matching-input-from-input):
2713         Retain point (Bug#13404).
2715 2013-12-18  Chong Yidong  <cyd@gnu.org>
2717         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2719 2013-12-18  Glenn Morris  <rgm@gnu.org>
2721         * mail/emacsbug.el (report-emacs-bug):
2722         Only mention enable-multibyte-characters if non-standard.
2724 2013-12-17  Juri Linkov  <juri@jurta.org>
2726         * arc-mode.el (archive-extract-by-file): Check if directory exists
2727         before deletion to not show irrelevant errors if it doesn't exist.
2729 2013-12-17  Juri Linkov  <juri@jurta.org>
2731         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2732         (Bug#14751)
2734         * net/eww.el (browse-web): Add alias to `eww'.
2735         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2736         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
2738         * net/browse-url.el (browse-url-browser-function): Move `eww'
2739         closer to similar functions.
2741         * startup.el (fancy-startup-screen, fancy-about-screen):
2742         Set browse-url-browser-function to eww-browse-url locally.
2743         (Bug#14751)
2745 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2747         * window.el (window--pixel-to-total): Remove unused `mini' var.
2748         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2749         (split-window): Remove unused `new' var.
2750         (window--display-buffer): Remove unused `frame' and `delta' vars.
2751         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2752         and display-width'.
2754 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
2756         * dired.el (dired-mark-pop-up):
2757         * register.el (register-preview): Don't bind
2758         split-height-threshold here since it's now done in
2759         display-buffer-below-selected.
2761 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
2763         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2764         xterm-rgb-convert-to-16bit.
2765         (rxvt-register-default-colors): Standardize with
2766         xterm-register-default-colors (Bug#14078).
2768 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
2770         * simple.el (kill-region): Pass mark first, then point, so that
2771         kill-append works right (Bug#12819).
2772         (copy-region-as-kill, kill-ring-save): Likewise.
2774 2013-12-17  Leo Liu  <sdl.web@gmail.com>
2776         * net/rcirc.el (rcirc-add-face):
2777         * eshell/em-prompt.el (eshell-emit-prompt):
2778         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2779         (Bug#16167)
2781 2013-12-17  Chong Yidong  <cyd@gnu.org>
2783         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2784         Suggested by Xue Fuqiao.
2786 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
2788         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2790 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2792         * net/shr.el (shr-insert-document): Remove unused var
2793         `shr-preliminary-table-render'.
2794         (shr-rescale-image): Remove unused arg `force'.
2795         (shr-put-image): Update calls accordingly.
2796         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2798 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
2800         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2801         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2802         :close-all, to see which indentation method to use (Bug#16116).
2803         (smie-rules-function): Document the method :close-all.
2805 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2807         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2809         * net/eww.el (eww-display-html): If we can't find the anchor we're
2810         looking for, then go to point-min.
2812 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
2814         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2815         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2816         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2817         Expand dir too, in case it's relative.
2819 2013-12-16  Juri Linkov  <juri@jurta.org>
2821         * desktop.el (desktop-auto-save-timeout): Change default to
2822         `auto-save-timeout'.  Doc fix.
2823         (desktop-save): Skip the timestamp in desktop-saved-frameset
2824         when checking for auto-save changes.
2825         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2826         `desktop-auto-save' is called repeatedly by the idle timer.
2827         (desktop-auto-save-set-timer): Replace `run-with-timer' with
2828         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
2829         (Bug#15331)
2831 2013-12-16  Juri Linkov  <juri@jurta.org>
2833         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2834         (Bug#16035)
2835         (isearch-pre-command-hook): Check `this-command' for symbolp.
2837 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2839         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2841 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
2843         * progmodes/cfengine.el (cfengine3--current-word): Remove.
2844         (cfengine3--current-function): Bring in the current-function
2845         functionality from `cfengine3--current-word'.
2846         (cfengine3-completion-function): Bring in the
2847         bounds-of-current-word functionality from
2848         `cfengine3--current-word'.
2850 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
2852         * window.el (display-buffer-below-selected):
2853         Bind split-height-threshold to 0 as suggested by Juri Linkov.
2855 2013-12-16  Leo Liu  <sdl.web@gmail.com>
2857         * progmodes/compile.el (compile-goto-error): Do not push-mark.
2858         Remove NOMSG arg and all uses changed.
2860 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2862         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2863         (cua--deactivate-rectangle): Don't deactivate the mark.
2864         (cua-set-rectangle-mark): Don't set mark-active since
2865         cua--activate-rectangle already does it for us.
2866         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2867         non-rectangular region.
2869         * emulation/cua-base.el (cua-repeat-replace-region):
2870         Use with-current-buffer.
2872         * net/gnutls.el: Use cl-lib.
2873         (gnutls-negotiate): `mapcan' -> cl-mapcan.
2875 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
2877         * emacs-lisp/package.el (package-built-in-p): Support both
2878         built-in and the package.el converted package descriptions.
2879         (package-show-package-list): Allow keywords.
2880         (package-keyword-button-action): Use it instead of
2881         `finder-list-matches'.
2882         (package-menu-filter-interactive): Interactive filtering (by
2883         keyword) function.
2884         (package-menu--generate): Support keywords and change keymappings
2885         and headers when they are given.
2886         (package--has-keyword-p): Helper function.
2887         (package-menu--refresh): Use it.
2888         (package--mapc): Helper function.
2889         (package-all-keywords): Use it.
2890         (package-menu-mode-map): Set up menu items and keybindings to
2891         provide a filtering UI.
2893 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
2895         * net/gnutls.el (gnutls-verify-error): New defcustom to control
2896         the behavior when a certificate fails validation.  Defaults to
2897         old behavior: never abort, just warn.
2898         (gnutls-negotiate): Use it.
2900 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
2902         * window.el (display-buffer-below-selected): Never split window
2903         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
2905 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
2907         * emacs-lisp/package.el (package--prepare-dependencies): New function.
2908         (package-buffer-info): Use it (bug#15108).
2910 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2912         * icomplete.el (icomplete-completions): Make sure the prefix is already
2913         displayed elsewhere before hiding it (bug#16219).
2915 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
2917         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2918         open-paren tokens when preceded by a open-paren, too.
2919         (ruby-smie-rules): Handle virtual indentation after open-paren
2920         tokens specially.  If there is code between it and eol, return the
2921         column where is starts (Bug#16118).
2923 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
2925         * progmodes/cfengine.el: Fix `add-hook' doc.
2926         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2927         (cfengine3--current-word): Fix parameters.
2928         (cfengine3-make-syntax-cache): Simplify further.
2929         (cfengine3-completion-function, cfengine3--current-function):
2930         Use `assq' for symbols.
2931         (cfengine3--current-function): Fix `cfengine3--current-word' call.
2933 2013-12-13  Glenn Morris  <rgm@gnu.org>
2935         * loadup.el (load-path): Warn if site-load or site-init changes it.
2936         No more need to reset it when bootstrapping.
2938 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
2940         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2941         locations for cf-promises.
2942         (cfengine-mode-syntax-functions-regex): New caching variable.
2943         (cfengine3-fallback-syntax): Fallback syntax for cases where
2944         cf-promises doesn't run.
2945         (cfengine3--current-word): Reimplement using
2946         `cfengine-mode-syntax-functions-regex'.
2947         (cfengine3-completion-function, cfengine3--current-function):
2948         Use `cfengine3-make-syntax-cache' directly.
2949         (cfengine3-clear-syntax-cache): New function.
2950         (cfengine3-make-syntax-cache): Simplify and create
2951         `cfengine-mode-syntax-functions-regex' on demand.
2952         (cfengine3-format-function-docstring): Don't call
2953         `cfengine3-make-syntax-cache' explicitly.
2955 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
2957         Fix windmove-find-other-window broken after pixelwise resizing
2958         (Bug#16017).
2959         * windmove.el (windmove-other-window-loc): Revert change from
2960         2013-12-04.
2961         (windmove-find-other-window): Call window-in-direction.
2962         * window.el (window-in-direction): New arguments SIGN, WRAP and
2963         MINI to emulate original windmove-find-other-window behavior.
2965 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
2967         * simple.el (blink-matching--overlay): New variable.
2968         (blink-matching-open): Instead of moving point, highlight the
2969         matching paren with an overlay
2970         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2972         * faces.el (paren-showing-faces, show-paren-match)
2973         (show-paren-mismatch): Move from paren.el.
2975 2013-12-13  Leo Liu  <sdl.web@gmail.com>
2977         * indent.el (indent-region): Disable progress reporter in
2978         minibuffer.  (Bug#16108)
2980         * bindings.el (visual-order-cursor-movement): Fix version.
2982 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2984         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2985         Also match after beginning of line.
2986         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2987         files.  Thanks to Russell Sim.  (Bug#15378)
2989 2013-12-13  Juri Linkov  <juri@jurta.org>
2991         * simple.el <Keypad support>: Remove key bindings duplicated
2992         with bindings.el.  (Bug#14397)
2994 2013-12-13  Juri Linkov  <juri@jurta.org>
2996         * comint.el (comint-mode-map): Replace `delete-char' with
2997         `delete-forward-char'.  (Bug#16109)
2999 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3001         * progmodes/python.el (python-indent-calculate-indentation):
3002         Fix de-denters cornercase.  (Bug#15731)
3004 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3006         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3007         (advice--make): Pay attention to `depth'.
3008         (advice--make-1): Don't autoload commands eagerly.
3009         * emacs-lisp/elp.el (elp-instrument-function):
3010         * emacs-lisp/trace.el (trace-function-internal):
3011         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3013         * iswitchb.el (iswitchb-mode): Don't belittle ido.
3015 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
3017         * term/w32-win.el (w32-handle-dropped-file):
3018         * startup.el (normal-top-level):
3019         * net/browse-url.el (browse-url-file-url):
3020         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3021         decode file names using 'utf-8' rather than
3022         file-name-coding-system.
3024 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3026         * progmodes/python.el (python-indent-context)
3027         (python-indent-calculate-indentation): Fix auto-identation
3028         behavior for comment blocks.  (Bug#15916)
3030 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3032         * progmodes/python.el (python-indent-calculate-indentation):
3033         When determining indentation, don't treat "return", "pass", etc., as
3034         operators when they are just string constituents.  (Bug#15812)
3036 2013-12-12  Juri Linkov  <juri@jurta.org>
3038         * uniquify.el (uniquify-buffer-name-style): Change default to
3039         `post-forward-angle-brackets'.
3041         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3042         `uniquify'.  Change default to `post-forward-angle-brackets'.
3044 2013-12-11  Glenn Morris  <rgm@gnu.org>
3046         * emacs-lisp/package.el (finder-list-matches):
3047         Autoload rather than falsely declaring.
3049 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
3051         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3052         (eww-mode-map): Use them.
3054 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
3056         * window.el (display-buffer-in-side-window): Fix doc-string
3057         (Bug#16115).
3059 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
3061         * vc/vc-git.el: Silence byte-compiler warnings.
3062         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3063         (log-edit-set-header): Declare.
3065 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
3067         * Makefile.in (custom-deps, finder-data): Run output file names
3068         through unmsys--file-name.  (Bug#16099)
3070 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3072         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3073         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3075         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3076         instead of deleting the selection "by hand" (bug#16098).
3077         Rely on insert-for-yank to yank rectangles.
3078         (cua-highlight-region-shift-only): Mark obsolete.
3079         (cua-mode): Don't enable/disable transient-mark-mode,
3080         shift-select-mode (cua-mode works both with and without them), and
3081         pc-selection-mode (obsolete).
3082         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3083         (cua--deactivate-rectangle): Deactivate it.
3085         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3086         (delete-selection-helper): Make sure yank starts at the top of the
3087         deleted region.
3088         (minibuffer-keyboard-quit): Use region-active-p.
3090         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3092         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3093         to `delete' (bug#16109).
3095 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3097         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3098         info manual and show keybindings and set `:group' keyword.
3100 2013-12-11  Juri Linkov  <juri@jurta.org>
3102         * delsel.el (delete-active-region): Let-bind `this-command'
3103         to prevent `kill-region' from changing its original value.
3104         (delete-selection-helper): Handle `overwrite-mode' for the type
3105         `kill' exactly the same way as for the type `t'.
3106         (insert-char, quoted-insert, reindent-then-newline-and-indent):
3107         Support more commands.  (Bug#13312)
3109 2013-12-11  Juri Linkov  <juri@jurta.org>
3111         * bindings.el: Map kp keys to non-kp keys systematically
3112         with basic modifiers control, meta and shift.  (Bug#14397)
3114 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
3116         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3117         "Close browser" menu items.  Fix wrong function of "List
3118         bookmarks".
3120 2013-12-11  Juri Linkov  <juri@jurta.org>
3122         * misearch.el (multi-isearch-buffers): Set the value of
3123         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
3124         arg of isearch-forward to t.
3125         (multi-isearch-buffers-regexp): Set the value of
3126         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
3127         arg of isearch-forward-regexp to t.
3128         (multi-isearch-files): Set the value of
3129         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
3130         arg of isearch-forward to t.
3131         (multi-isearch-files-regexp): Set the value of
3132         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
3133         arg of isearch-forward-regexp to t.  (Bug#16035)
3135         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3136         arg of isearch-forward to t.
3137         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3138         arg of isearch-forward-regexp to t.
3139         (dired-isearch-filter-filenames): Remove unnecessary check for
3140         `dired-isearch-filenames'.
3142         * comint.el (comint-history-isearch-backward):
3143         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3144         (comint-history-isearch-backward-regexp):
3145         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3147 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
3149         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3150         unmsys--file-name.  (Bug#16099)
3152 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
3154         * emacs-lisp/package.el (package-keyword-button-action):
3155         Remove finder.el require dependency.
3157 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
3159         * emacs-lisp/package.el: Require finder.el.
3160         (describe-package-1): Add keyword buttons.
3161         (package-make-button): New convenience function.
3162         (package-keyword-button-action): Keyword button action using
3163         `finder-list-matches'.
3165 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
3167         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3168         last commit.
3170 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
3172         * autorevert.el (auto-revert-notify-add-watch): Do not handle
3173         symlinked files.
3175 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
3177         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3178         after the end of a percent literal.
3180 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
3182         * progmodes/ruby-mode.el (ruby-forward-string): Document.
3183         Handle caret-delimited strings (Bug#16079).
3185 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
3187         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3188         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3189         `ruby-parse-partial' (Bug#16078).
3191 2013-12-09  Leo Liu  <sdl.web@gmail.com>
3193         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
3195 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
3197         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3198         (js-switch-indent-offset): New option.
3199         (js--proper-indentation): Use it.  And handle the case when
3200         "default" is actually a key in an object literal.
3201         (js--same-line): New function.
3202         (js--multi-line-declaration-indentation): Use it.
3203         (js--indent-in-array-comp, js--array-comp-indentation):
3204         New functions.
3205         (js--proper-indentation): Use them, to handle array comprehension
3206         continuations.
3208 2013-12-08  Leo Liu  <sdl.web@gmail.com>
3210         * progmodes/flymake.el (flymake-highlight-line): Re-write.
3211         (flymake-make-overlay): Remove arg MOUSE-FACE.
3212         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3214 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3216         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3217         New function.
3218         (redisplay-highlight-region-function): Use it.
3220         * emulation/cua-base.el (cua--explicit-region-start)
3221         (cua--last-region-shifted): Remove.
3222         (cua--deactivate): Use deactivate-mark.
3223         (cua--pre-command-handler-1): Don't handle shift-selection.
3224         (cua--post-command-handler-1): Don't change transient-mark-mode.
3225         (cua--select-keymaps): Use region-active-p rather than
3226         cua--explicit-region-start or cua--last-region-shifted.
3227         (cua-mode): Enable shift-select-mode.
3229 2013-12-08  Leo Liu  <sdl.web@gmail.com>
3231         * progmodes/flymake.el (flymake-popup-current-error-menu):
3232         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
3233         (flymake-posn-at-point-as-event, flymake-popup-menu)
3234         (flymake-make-emacs-menu): Remove.  (Bug#16077)
3236 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3238         * rect.el (rectangle-mark-mode): Activate mark even if
3239         transient-mark-mode is off (bug#16066).
3240         (rectangle--highlight-for-redisplay): Fix boundary condition when point
3241         is > mark and at bolp.
3243         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3244         (region-extract-function): Use it.
3245         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3246         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3247         Delete functions.
3248         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3249         kill-ring-save, kill-region, delete-char, delete-forward-char.
3250         Ignore self-insert-iso.
3252         * emulation/cua-gmrk.el (cua--init-global-mark):
3253         Ignore `self-insert-iso'.
3255         * emulation/cua-base.el (cua--prefix-copy-handler)
3256         (cua--prefix-cut-handler): Rely on region-extract-function rather than
3257         checking cua--rectangle.
3258         (cua-delete-region): Use region-extract-function.
3259         (cua-replace-region): Delete function.
3260         (cua-copy-region, cua-cut-region): Obey region-extract-function.
3261         (cua--pre-command-handler-1): Don't do the delete-selection thing.
3262         (cua--self-insert-char-p): Ignore `self-insert-iso'.
3263         (cua--init-keymaps): Don't remap delete-selection commands.
3264         (cua-mode): Use delete-selection-mode instead of rolling our own
3265         (bug#16085).
3267         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3268         Obey region-extract-function.
3270         Make registers and delete-selection-mode work on rectangles.
3271         * register.el (describe-register-1): Don't modify the register's value.
3272         (copy-to-register): Obey region-extract-function.
3273         * delsel.el (delete-active-region): Obey region-extract-function.
3275 2013-12-08  Leo Liu  <sdl.web@gmail.com>
3277         * progmodes/flymake.el (flymake, flymake-error-bitmap)
3278         (flymake-warning-bitmap, flymake-fringe-indicator-position)
3279         (flymake-compilation-prevents-syntax-check)
3280         (flymake-start-syntax-check-on-newline)
3281         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3282         (flymake-start-syntax-check-on-find-file, flymake-log-level)
3283         (flymake-xml-program, flymake-master-file-dirs)
3284         (flymake-master-file-count-limit)
3285         (flymake-allowed-file-name-masks): Relocate.
3286         (flymake-makehash, flymake-float-time)
3287         (flymake-replace-regexp-in-string, flymake-split-string)
3288         (flymake-get-temp-dir): Remove.
3289         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3290         (flymake-current-row, flymake-selected-frame)
3291         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3292         related functions.  (Bug#16077)
3294 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
3296         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3298 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
3300         * help-fns.el (describe-function-1): Use new advice-* functions
3301         rather than old ad-* functions.  Fix function type description and
3302         source links for advised functions and subrs.
3304 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3306         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3308 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
3310         * progmodes/compile.el (compilation-start):
3311         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3313         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3314         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
3316 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
3318         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3319         Touch up the last change.
3321 2013-12-06  Leo Liu  <sdl.web@gmail.com>
3323         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3324         (inferior-octave-startup): Always use "octave> " for prompt.
3325         (octave-goto-function-definition)
3326         (octave-sync-function-file-names)
3327         (octave-find-definition-default-filename): Remove redundant backquotes.
3329 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
3331         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3332         syntax for `?'.
3333         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3334         where appropriate already.
3335         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3336         end of method names (Bug#15874).
3338 2013-12-06  Juri Linkov  <juri@jurta.org>
3340         * isearch.el (isearch--saved-overriding-local-map):
3341         New internal variable.
3342         (isearch-mode): Set it to the initial value of
3343         `overriding-terminal-local-map'.
3344         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3345         with `isearch--saved-overriding-local-map'.  (Bug#16035)
3347 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
3349         * progmodes/octave.el (inferior-octave-completion-table):
3350         Turn back into function, use `completion-table-with-cache'
3351         (Bug#11906).  Update all references.
3353         * minibuffer.el (completion-table-with-cache): New function.
3355 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
3357         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3359 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
3361         * net/eww.el (eww-current-source): New variable to store page
3362         source.
3363         (eww-display-html, eww-mode, eww-save-history)
3364         (eww-restore-history): Use it.
3365         (eww-view-source): New command to view page source.
3366         Opportunistically uses `html-mode' to highlight the buffer.
3367         (eww-mode-map): Install it.
3369 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
3371         * net/dbus.el (dbus-unregister-service)
3372         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3373         Fix docstring.
3374         (dbus-unregister-service): Skip :serial entries in
3375         `dbus-registered-objects-table'.
3376         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3378 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
3380         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3381         around keywords with extra `split-string' argument.
3383 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
3385         * windmove.el (windmove-other-window-loc): Handle navigation
3386         between windows (excluding the minibuffer window - Bug#16017).
3388 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
3390         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3391         in D-Bus type syntax.
3392         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3393         preserve unibyte strings.  (Bug#16048)
3395 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3397         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3398         Call force-mode-line-update is the proper buffer (bug#16042).
3400 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
3402         * vc/log-edit.el (log-edit-add-new-comment): Rename to
3403         `log-edit-remember-comment', make argument optional.  Adjust all
3404         callers.
3405         (log-edit-mode): Add `log-edit-remember-comment' to
3406         `kill-buffer-hook' locally.
3407         (log-edit-kill-buffer): Don't remember comment explicitly since
3408         the buffer is killed anyway.
3410 2013-12-04  Juri Linkov  <juri@jurta.org>
3412         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3413         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
3415 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
3417         * notifications.el (notifications-close-notification): Call the
3418         D-Bus method with ID being a `:uint32'.  (Bug#16030)
3420 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
3422         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3424 2013-12-03  Juri Linkov  <juri@jurta.org>
3426         * progmodes/compile.el (compilation-start): Rename window alist
3427         entry `no-display-ok' to `allow-no-window'.
3429         * simple.el (shell-command): Add window alist entry
3430         `allow-no-window' to `display-buffer'.
3431         (async-shell-command): Doc fix.
3433         * window.el (display-buffer-no-window): New action function.
3434         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
3436 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
3438         * vc/log-edit.el (log-edit-set-header): Extract from
3439         `log-edit-toggle-header'.
3440         (log-edit-extract-headers): Separate the summary, when extracted
3441         from header, from the rest of the message with an empty line.
3443         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3444         line, if present, to the Summary header.
3446 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3448         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3449         in current-buffer (bug#16029).
3451 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
3453         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3454         (debugger-mode-map): Bind it.
3455         (debugger--backtrace-base): New function.
3456         (debugger-eval-expression): Use it.
3457         (debugger-frame-number): Skip local vars when present.
3458         (debugger--locals-visible-p, debugger--insert-locals)
3459         (debugger--show-locals, debugger--hide-locals): New functions.
3461 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
3463         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3464         "LC_ALL".
3465         (tramp-get-remote-locale): New defun.
3466         (tramp-open-connection-setup-interactive-shell): Use it.
3468 2013-12-02  Leo Liu  <sdl.web@gmail.com>
3470         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
3472         * progmodes/sh-script.el (sh-shell-process):
3473         * progmodes/octave.el (inferior-octave-process-live-p):
3474         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3475         (gdb-inferior-io-sentinel):
3476         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3478 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
3480         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3481         `save-selected-window' to `log-edit-hide-buf'.  This makes
3482         `log-edit-show-files' idempotent.
3483         (log-edit-show-files): Mark the new window as dedicated.
3485 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
3487         * vc/log-edit.el (log-edit-mode-map): Add binding for
3488         `log-edit-kill-biffer'.
3489         (log-edit-hide-buf): Add a FIXME comment.
3490         (log-edit-add-new-comment): New function, extracted from
3491         `log-edit-done'.
3492         (log-edit-done, log-edit-add-to-changelog): Use it.
3493         (log-edit-kill-buffer): New command.
3495 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3497         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3498         instead of killing the buffer.
3500 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3502         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3504 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3506         * net/eww.el (eww-form-checkbox-selected-symbol)
3507         (eww-form-checkbox-symbol): New customizable variable.
3508         (eww-form-checkbox, eww-toggle-checkbox):
3509         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3511         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3512         (shr--get-media-pref, shr--extract-best-source): New function.
3513         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3514         no :src tag was specified.
3516         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3517         (eww-render): Handle `eww-use-external-browser-for-content-type'.
3518         Use \\` to match beginning of string instead of ^.
3519         (eww-browse-with-external-browser): Provide optional URL parameter.
3520         (eww-render): Set `eww-current-title' back to "".
3522         * net/shr.el (shr-tag-video): Display content for video if no
3523         poster is available.
3524         (shr-tag-audio): Add support for <audio> tag.
3526         * net/eww.el (eww-text-input-types): New const.
3527         (eww-process-text-input): Treat input types in
3528         `eww-text-input-types' as text.
3530         * net/shr.el (shr-tag-table): Fix comment typo.
3532 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3534         * net/eww.el (eww-follow-link): New command to avoid reloading
3535         pages when we follow #target links (bug#15243).
3536         (eww-quit): Special mode buffers shouldn't query before exiting.
3538 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
3540         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3541         forms.
3543 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3545         * net/eww.el (eww-restore-history): Update the window title after
3546         moving in the history.
3547         (eww-current-dom): New variable used to save the current DOM.
3549 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
3551         * vc/log-edit.el (log-edit-mode-map): Add binding for
3552         `log-edit-beginning-of-line'.
3553         (log-edit-setup-add-author): New user option.
3554         (log-edit-beginning-of-line): New command.
3555         (log-edit): Move major mode call above the contents setup so that
3556         the local variable values are already applied.
3557         (log-edit): Only insert "Author: " when
3558         `log-edit-setup-add-author' is non-nil.
3559         (log-edit): When SETUP is non-nil, position point after ": "
3560         instead of point-min.
3562 2013-12-01  Glenn Morris  <rgm@gnu.org>
3564         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3566 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
3568         * startup.el (fancy-splash-frame): On MS-Windows, trigger
3569         redisplay to make sure the initial frame gets a chance to become
3570         visible.  (Bug#16014)
3572 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
3574         Support resizing frames and windows pixelwise.
3575         * cus-start.el (frame-resize-pixelwise)
3576         (window-resize-pixelwise): New entries.
3577         * emacs-lisp/debug.el (debug): Use window-total-height instead
3578         of window-total-size.
3579         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3580         * help.el (describe-bindings-internal): Use help-buffer as
3581         argument for with-help-window.
3582         (temp-buffer-max-width): New option.
3583         (resize-temp-buffer-window, help-window-setup)
3584         (with-help-window): Rewrite.
3585         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
3586         dragging dividers.
3587         * window.el (frame-char-size, window-min-pixel-height)
3588         (window-safe-min-pixel-height, window-safe-min-pixel-width)
3589         (window-min-pixel-width, window-safe-min-pixel-size)
3590         (window-combination-p, window-safe-min-size)
3591         (window-resizable-p, window--size-to-pixel)
3592         (window--pixel-to-size, window--resize-apply-p): New functions.
3593         (window-safe-min-height): Fix doc-string.
3594         (window-size, window-min-size, window--min-size-1)
3595         (window-sizable, window-sizable-p, window--min-delta-1)
3596         (window-min-delta, window--max-delta-1, window-max-delta)
3597         (window--resizable, window--resizable-p, window-resizable)
3598         (window-full-height-p, window-full-width-p, window-at-side-p)
3599         (window--in-direction-2, window-in-direction)
3600         (window--resize-reset-1, window--resize-mini-window)
3601         (window-resize, window-resize-no-error)
3602         (window--resize-child-windows-normal)
3603         (window--resize-child-windows, window--resize-siblings)
3604         (window--resize-this-window, window--resize-root-window)
3605         (window--resize-root-window-vertically)
3606         (adjust-window-trailing-edge, enlarge-window, shrink-window)
3607         (maximize-window, minimize-window, delete-window)
3608         (quit-restore-window, window-split-min-size, split-window)
3609         (balance-windows-2, balance-windows)
3610         (balance-windows-area-adjust, balance-windows-area)
3611         (window--state-get-1, window-state-get, window--state-put-1)
3612         (window--state-put-2, window-state-put)
3613         (display-buffer-record-window, window--display-buffer):
3614         Make functions handle pixelwise sizing of windows.
3615         (display-buffer--action-function-custom-type)
3616         (display-buffer-fallback-action):
3617         Add display-buffer-in-previous-window.
3618         (display-buffer-use-some-window): Resize window to height it had
3619         before.
3620         (fit-window-to-buffer-horizontally): New option.
3621         (fit-frame-to-buffer): Describe new values.
3622         (fit-frame-to-buffer-bottom-margin): Replace with
3623         fit-frame-to-buffer-margins.
3624         (window--sanitize-margin): New function.
3625         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3626         using window-text-pixel-size.
3628 2013-11-30  Glenn Morris  <rgm@gnu.org>
3630         * emacs-lisp/bytecomp.el (byte-compile-form):
3631         Make the `interactive-only' warning like the `obsolete' one.
3632         * comint.el (comint-run):
3633         * files.el (insert-file-literally, insert-file):
3634         * replace.el (replace-string, replace-regexp):
3635         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3636         (goto-line, insert-buffer, next-line, previous-line):
3637         Tweak `interactive-only' spec.
3639         Stop keeping (most) generated cedet grammar files in the repository.
3640         * Makefile.in (semantic): New.
3641         (compile-main): Depend on semantic.
3643 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3645         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3646         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3648         * uniquify.el (uniquify-buffer-name-style): Change default.
3650         * loadup.el: Preload "uniquify".
3652         * time.el (display-time-update): Update all mode lines (bug#15999).
3654         * electric.el (electric-indent-mode): Enable by default.
3655         * loadup.el: Preload "electric".
3657 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
3659         * emacs-lisp/helpers.el (string-empty-p): New function.
3660         (string-blank-p): New function.
3662 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
3664         * imenu.el (imenu--index-alist): Add missing dot to the docstring
3665         (Bug#14029).
3667 2013-11-29  Andreas Politz  <politza@fh-trier.de>
3668         * imenu.el (imenu--subalist-p): Don't error on non-conses and
3669         allow non-lambda lists as functions.
3670         (imenu--in-alist): Don't recurse into non-subalists.
3671         (imenu): Don't pass function itself as an argument (Bug#14029).
3673 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3675         * progmodes/python.el (python-mode-map): Remove binding for ":".
3676         (python-indent-electric-colon): Remove command.
3677         (python-indent-post-self-insert-function): Integrate the previous code
3678         of python-indent-electric-colon.  Make it conditional on
3679         electric-indent-mode.
3680         (python-mode): Add ?: to electric-indent-chars.
3681         Move python-indent-post-self-insert-function to the end of
3682         post-self-insert-hook.
3684 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3686         * doc-view.el (doc-view-goto-page): Update mode-line.
3688         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3690 2013-11-27  Glenn Morris  <rgm@gnu.org>
3692         * international/charprop.el, international/uni-bidi.el:
3693         * international/uni-category.el, international/uni-combining.el:
3694         * international/uni-comment.el, international/uni-decimal.el:
3695         * international/uni-decomposition.el, international/uni-digit.el:
3696         * international/uni-lowercase.el, international/uni-mirrored.el:
3697         * international/uni-name.el, international/uni-numeric.el:
3698         * international/uni-old-name.el, international/uni-titlecase.el:
3699         * international/uni-uppercase.el:
3700         Remove generated files from VCS repository.
3702 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
3704         * filenotify.el (file-notify-add-watch): Don't special-case
3705         w32notify when computing the directory to watch.
3707 2013-11-27  Glenn Morris  <rgm@gnu.org>
3709         Make bootstrap without generated uni-*.el files possible again.
3710         * loadup.el: Update command-line-args checking for unidata-gen.
3711         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3712         * composite.el, international/characters.el:
3713         Handle unicode tables being undefined.
3715         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3716         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3717         (compile-main): Depend on leim rule.
3718         (leim): New rule.
3719         * loadup.el: Move leim-list.el to leim/ subdirectory.
3720         * startup.el (normal-top-level): No more leim directory.
3721         * international/ja-dic-cnv.el (skkdic-convert):
3722         Disable version-control and autoloads in output files.
3723         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3724         Disable version-control and autoloads in output files.
3725         * leim/quail: Move here from ../leim.
3726         * leim/quail/hangul.el (hangul-input-method-activate):
3727         Add autoload cookie.
3728         (generated-autoload-load-name): Set file-local value.
3729         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3730         (generated-autoload-load-name): Set file-local value.
3732 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
3734         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3735         (eww-add-bookmark): Ask confirmation when add to bookmarks.
3736         (eww-quit): Ask confirmation before quitting eww.
3738 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
3740         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3741         reading output from Diff on MS-Windows and MS-DOS.
3743 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
3745         * emacs-lisp/helpers.el (string-reverse): New function.
3747 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
3749         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3750         names on MS Windows, like "/[::1]:".
3752         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3753         SWITCHES.
3755 2013-11-26  Glenn Morris  <rgm@gnu.org>
3757         * progmodes/python.el (python-indent-guess-indent-offset):
3758         Avoid corner-case error.  (Bug#15975)
3760         Preload leim-list.el.  (Bug#4789)
3761         * loadup.el: Load leim-list.el when found.
3762         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3764 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
3766         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3768         * emacs-lisp/helpers.el (string-join): New function.
3770 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
3772         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3773         Mark as obsolete and replace it with a symbol property.
3774         (byte-compile-form): Use new 'interactive-only property.
3775         * comint.el, files.el, replace.el, simple.el:
3776         Apply new 'interactive-only properly.
3778 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
3780         * window.el (display-buffer-at-bottom): Make sure that
3781         split-window-sensibly creates the new window on bottom
3782         (Bug#15961).
3784 2013-11-23  David Kastrup  <dak@gnu.org>
3786         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3787         on the conflict markers when available.
3788         (smerge--get-marker): New function.
3789         (smerge-end-re, smerge-base-re): Add subgroup.
3791 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3793         * frame.el (handle-focus-in, handle-focus-out): Add missing
3794         interactive spec.
3796 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
3798         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3799         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3801 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3803         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
3804         (gomoku--last-pos): New var.
3805         (gomoku--intangible-chars): New const.
3806         (gomoku--intangible): New function.
3807         (gomoku-mode): Use it.  Derive from special-mode.
3808         (gomoku-move-up): Adjust line count.
3809         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3810         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3811         Simplify accordingly.
3813         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3814         Remove blink-cursor code.
3815         (blink-cursor-timer-function, blink-cursor-suspend):
3816         Don't special-case GUIs.
3817         (blink-cursor-mode): Use focus-in/out-hook.
3819 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
3821         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3822         work when annotation is invisible (Bug#13886).
3824 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
3826         * json.el (json-alist-p): Only return non-nil if the alist has
3827         simple keys (Bug#13518).
3829 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
3831         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3832         when control-statement is the first statement in a buffer (Bug#15956).
3834 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
3836         * imenu.el (imenu-generic-skip-comments-and-strings):
3837         New option (Bug#15560).
3838         (imenu--generic-function): Use it.
3840 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
3842         * minibuffer.el (completion--in-region-1): Scroll the correct window.
3843         (Bug#13898)
3845 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
3847         * emacs-lisp/helpers.el: Add some string helpers.
3848         (string-trim-left): Removes leading whitespace.
3849         (string-trim-right): Removes trailing whitespace.
3850         (string-trim): Removes leading and trailing whitespace.
3852         * subr.el (string-suffix-p): New function.
3854 2013-11-23  Glenn Morris  <rgm@gnu.org>
3856         * progmodes/python.el (python-shell-send-file):
3857         Add option to delete file when done.  (Bug#15647)
3858         (python-shell-send-string, python-shell-send-region): Use it.
3860 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
3862         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3863         to set buffer-read-only to t, never to nil.  (Bug#15938)
3865         * textmodes/tex-mode.el (latex-noindent-environments):
3866         Add safe-local-variable property.  (Bug#15936)
3868 2013-11-23  Glenn Morris  <rgm@gnu.org>
3870         * textmodes/enriched.el (enriched-mode): Doc fix.
3871         * emacs-lisp/authors.el (authors-renamed-files-alist):
3872         Add enriched.doc -> enriched.txt.
3874         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3876 2013-11-22  Leo Liu  <sdl.web@gmail.com>
3878         * progmodes/octave.el (inferior-octave-startup): Spit out error
3879         message.
3881 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
3883         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3884         Improve docstring.
3885         Add :version.
3886         (ruby-encoding-magic-comment-style): Add :version.
3888 2013-11-22  Leo Liu  <sdl.web@gmail.com>
3890         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3891         (Bug#15076)
3892         (octave-help-mode): Adapt to change to help-mode-finish to use
3893         derived-mode-p on 2013-09-17.
3894         (inferior-octave-prompt): Also match octave-gui.
3895         (octave-kill-process): Don't ask twice.  (Bug#10564)
3897 2013-11-22  Leo Liu  <sdl.web@gmail.com>
3899         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3900         (inferior-octave-startup, inferior-octave-check-process)
3901         (inferior-octave-track-window-width-change)
3902         (octave-completion-at-point, octave-eldoc-function): Use it.
3903         (octave-kill-process): Provide confirmation.  (Bug#10564)
3905 2013-11-21  Leo Liu  <sdl.web@gmail.com>
3907         * progmodes/octave.el (octave-mode, inferior-octave-mode):
3908         Fix obsolete variable comment-use-global-state.
3910 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3912         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3913         Add `octave-source-file'.
3914         (octave-source-file): New function.  (Bug#15935)
3916 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
3918         * net/eww.el (eww-local-regex): New variable.
3919         (eww): Use it to detect localhost and similar.
3921 2013-11-21  Leo Liu  <sdl.web@gmail.com>
3923         Add completion for command `ag'.
3924         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3925         (pcomplete/ag): New function.
3926         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
3928 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3930         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3931         (bug#14646).
3932         (make-obsolete): Remove interactive spec.
3934 2013-11-21  Glenn Morris  <rgm@gnu.org>
3936         * startup.el (command-line-1): Use path-separator with -L.
3938 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
3940         * emacs-lisp/package.el (describe-package-1): Add package archive
3941         to shown fields.
3943 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
3945         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3946         Change default to "# encoding: %s" to differentiate it from the
3947         default Ruby encoding comment template.
3949 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
3951         * ses.el (ses-mode): Doc fix.  (Bug#14748)
3953 2013-11-20  Leo Liu  <sdl.web@gmail.com>
3955         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
3957 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
3959         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3960         when rebase or bisect are in progress.
3962 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
3964         * filenotify.el (file-notify-add-watch): Doc fix.
3966 2013-11-19  Leo Liu  <sdl.web@gmail.com>
3968         * obsolete/rcompile.el: Mark obsolete.
3970         * progmodes/compile.el (compilation-start)
3971         (compilation-goto-locus, compilation-find-file):
3972         Pass no-display-ok and handle nil value from display-buffer.
3973         (Bug#13594)
3975         * window.el (display-buffer-alist, display-buffer): Document the
3976         new parameter no-display-ok.  Return either a window or nil
3977         but never a non-window value.
3979 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3981         * electric.el (electric-indent-mode-map): Remove.
3982         (electric-indent-mode): Change the global-map instead (bug#15915).
3984         * textmodes/text-mode.el (paragraph-indent-minor-mode):
3985         Use add-function.
3987 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3989         * emacs-lisp/nadvice.el (remove-function): Align with
3990         add-function's behavior.
3992         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3993         (gdb--string-regexp): New constant.
3994         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3995         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3996         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3997         submatch 1.
3998         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3999         Adjust use accordingly.
4000         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4002 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
4004         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4005         interpolation curlies (Bug#15914).
4007 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
4009         * calc/calc.el (calc-context-sensitive-enter): New variable.
4010         (calc-enter): Use `calc-context-sensitive-enter'.
4012 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
4014         * progmodes/cfengine.el: Version bump.
4015         (cfengine-cf-promises): New defcustom to locate cf-promises.
4016         (cfengine3-vartypes): Add new "data" type.
4017         (cfengine3--current-word): New function to get current name-like
4018         word or its bounds.
4019         (cfengine3--current-function): New function to look up a CFEngine
4020         function's definition.
4021         (cfengine3-format-function-docstring): New function.
4022         (cfengine3-make-syntax-cache): New function.
4023         (cfengine3-documentation-function): New function: ElDoc glue.
4024         (cfengine3-completion-function): New function: completion glue.
4025         (cfengine3-mode): Set `compile-command',
4026         `eldoc-documentation-function', and add to
4027         `completion-at-point-functions'.
4029 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
4031         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4032         `tramp-current-connection'.
4034 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
4036         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4037         nil/self/true/false with "end of symbol".
4039 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
4041         * subr.el (version-regexp-alist): Fix a typo.
4043 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
4045         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4046         "en_US.utf8" and "LC_CTYPE" to "".
4047         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4048         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4050 2013-11-15  Leo Liu  <sdl.web@gmail.com>
4052         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
4054 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4056         * progmodes/gud.el (ctl-x-map):
4057         Remove C-x SPC binding.  (Bug#12342)
4058         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4060 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
4062         * subr.el (version-regexp-alist):
4063         Recognize hg, svn and darcs versions as snapshot versions.
4065         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4066         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4067         (ruby--encoding-comment-required-p): Extract from
4068         `ruby-mode-set-encoding'.
4069         (ruby-mode-set-encoding): Add the ability to always insert an
4070         utf-8 encoding comment.  Fix and simplify coding comment update
4071         logic.
4073 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
4075         * net/tramp-gvfs.el (top): Run init code only when
4076         `tramp-gvfs-enabled' is not nil.
4077         (tramp-gvfs-enabled): Check also :system bus.
4079 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4081         Sync with upstream verilog-mode revision 78e66ba.
4082         * progmodes/verilog-mode.el (verilog-end-of-defun)
4083         (verilog-type-completion, verilog-get-list): Remove unused funcs.
4084         (verilog-get-end-of-defun): Remove unused argument.
4085         (verilog-comment-depth): Remove unused local `e'.
4086         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4087         Don't pass arg to verilog-get-end-of-defun.
4089 2013-11-14  Glenn Morris  <rgm@gnu.org>
4091         * obsolete/assoc.el (aget): Prefix dynamic variable.
4093         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4095 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4097         * widget.el, hfy-cmap.el: Remove bogus package version number.
4099 2013-11-13  Glenn Morris  <rgm@gnu.org>
4101         * replace.el (replace-eval-replacement):
4102         Try to give more helpful error message.  (Bug#15836)
4104         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4105         (archive-7z-update): Avoid custom type mismatches.
4107         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4109 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
4111         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4112         address can be empty.
4114         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4115         Accept nil SWITCHES.
4116         (tramp-gvfs-handle-write-region): Implement APPEND.
4118 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
4120         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4121         binary "|" operator and closing block args delimiter.
4122         Remove FIXME comment referring to Ruby 1.8-only syntax.
4123         (ruby-smie--implicit-semi-p): Not after "|" operator.
4124         (ruby-smie--closing-pipe-p): New function.
4125         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4126         (ruby-smie-rules): Indent after "|".
4128 2013-11-12  Glenn Morris  <rgm@gnu.org>
4130         * ps-print.el (ps-face-attribute-list):
4131         Handle anonymous faces.  (Bug#15827)
4133 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
4135         * window.el (display-buffer-other-frame): Fix doc-string.
4136         (Bug#15868)
4138 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4140         * subr.el (force-mode-line-update): Delete, move to buffer.c.
4142 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
4144         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4145         (tramp-sh-handle-file-local-copy): Don't write a message when
4146         saving temporary files.
4148         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4149         both directories are remote.
4150         (tramp-smb-handle-directory-files): Do not return double entries.
4151         Do not expand full file names.
4152         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4153         (tramp-smb-handle-write-region): Implement APPEND.
4154         (tramp-smb-get-stat-capability): Fix a stupid bug.
4156 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4158         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4160 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
4162         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4163         throwing error over malformed let/let* (bug#15814).
4165 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4167         * iswitchb.el (iswitchb-mode): Mark obsolete.
4169 2013-11-11  Glenn Morris  <rgm@gnu.org>
4171         * international/uni-bidi.el, international/uni-category.el:
4172         * international/uni-name.el, international/uni-numeric.el:
4173         Regenerate for Unicode 6.3.0.
4175 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
4177         * net/tramp.el (tramp-methods):
4178         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4179         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4181 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
4183         * progmodes/sh-script.el (sh-font-lock-keywords-var):
4184         Force highlighting text after Summary keyword in doc face for rpm.
4186 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
4188         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4189         available and the word has no wildcards, append one to the grep pattern.
4190         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4191         (ispell-complete-word): Call `ispell-lookup-words' with the value
4192         independent of `ispell-look-p'.
4194 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
4196         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4197         Not after "||".
4198         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4199         their parent.
4201 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4203         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
4204         (ruby-font-lock-keywords): Use backquote.
4206 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
4208         * progmodes/ruby-mode.el (ruby-smie--forward-token)
4209         (ruby-smie--backward-token): Only consider full-string matches.
4211 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
4213         * faces.el (describe-face): Add distant-foreground.
4215 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
4217         * progmodes/ruby-mode.el: Improve encoding comment handling.
4218         (ruby-encoding-magic-comment-style): New option.
4219         (ruby-custom-encoding-magic-comment-template): New option.
4220         (ruby--insert-coding-comment, ruby--detect-encoding):
4221         New functions extracted from `ruby-mode-set-encoding'.
4222         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4223         to control the style of the auto-inserted encoding comment.
4225 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
4227         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4228         Use `smie-backward-sexp' with token argument.
4230 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
4232         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4233         Remove instrumentation code.
4235 2013-11-08  Glenn Morris  <rgm@gnu.org>
4237         * progmodes/autoconf.el (autoconf-mode):
4238         Tweak comment-start-skip.  (Bug#15822)
4240 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4242         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4243         at bobp (bug#15826).
4244         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4246 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
4248         * man.el (Man-start-calling): New macro, extracted from
4249         Man-getpage-in-background.
4250         (Man-getpage-in-background): Use it.
4251         (Man-update-manpage): New command.
4252         (Man-mode-map): Bind it.
4254 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
4256         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4257         of "and", "or", "&&" and "||".
4258         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4259         argument.  Prohibit opening curly brace because it could only be a
4260         block opener in that position.
4261         (ruby-smie--forward-token, ruby-smie--backward-token):
4262         Separate "|" from "&" or "*" going after it.  That can happen in block
4263         arguments.
4264         (ruby-smie--indent-to-stmt): New function, seeks the end of
4265         previous statement or beginning of buffer.
4266         (ruby-smie-rules): Use it.
4267         (ruby-smie-rules): Check if there's a ":" before a curly block
4268         opener candidate; if there is, it's a hash.
4270 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4272         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4273         (cl--block-wrapper): Fix last accidental change.
4275 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
4277         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4278         Instrument, in order to hunt failure on hydra.
4280 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
4282         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4283         malformed bindings form (bug#15814).
4285 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
4287         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4288         "." compared to " @ ".  This incidentally fixes some indentation
4289         examples with "do".
4290         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4291         (ruby-smie-grammar): New tokens: "and" and "or".
4292         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4293         Exclude "and" and "or".  Remove "do" in order to work around token
4294         priorities.
4295         (ruby-smie-rules): Add all infix tokens.  Handle the case of
4296         beginning-of-buffer.
4298 2013-11-06  Glenn Morris  <rgm@gnu.org>
4300         * Makefile.in (setwins_almost, setwins_for_subdirs):
4301         Avoid accidental matches.
4303 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4305         * menu-bar.el (popup-menu): Use key-binding.
4307 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
4309         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4310         menus, support also the menus produced by minor modes.
4311         (Bug#15817)
4313 2013-11-06  Leo Liu  <sdl.web@gmail.com>
4315         * thingatpt.el (thing-at-point-looking-at): Add optional arg
4316         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
4318 2013-11-06  Glenn Morris  <rgm@gnu.org>
4320         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4321         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4322         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4324 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4326         * electric.el (electric-indent-just-newline): New command.
4327         (electric-indent-mode-map): New keymap.
4328         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4329         Re-add :group which weren't redundant.
4331         * electric.el (electric-indent-local-mode): New minor mode.
4332         (electric-indent-functions-without-reindent): New var.
4333         (electric-indent-post-self-insert-function): Use it.
4334         * emacs-lisp/gv.el (buffer-local-value): Add setter.
4336 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
4338         * international/quail.el (quail-help): Be more explicit about the
4339         meaning of the labels shown on the keys.  (Bug#15800)
4341         * startup.el (normal-top-level): Load the subdirs.el files before
4342         setting the locale environment.  (Bug#15805)
4344 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4346         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4347         via arguments so as to get the right ones (bug#15418).
4349         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4351 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
4353         Fix problems found while writing a test suite.
4355         * net/tramp-compat.el (tramp-compat-load): New defun.
4356         * net/tramp.el (tramp-handle-load): Use it.
4358         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4359         "(numberp ok-if-already-exists)" correctly.
4361 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
4363         * international/characters.el (glyphless-char-display-control):
4364         Add usage note.
4366 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
4368         * progmodes/python.el (python-mode):
4369         * progmodes/scheme.el (scheme-mode):
4370         * progmodes/prolog.el (prolog-mode):
4371         * progmodes/ruby-mode.el (ruby-mode):
4372         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4373         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4375 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4377         * rect.el (rectangle--highlight-for-redisplay):
4378         * emacs-lisp/smie.el (smie--next-indent-change):
4379         Use buffer-chars-modified-tick.
4381         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4383         * electric.el (electric-indent-post-self-insert-function):
4384         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4386 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
4388         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4390 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
4392         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4393         (bug#15786).
4395 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4397         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
4399         * progmodes/python.el: Fix up last change.
4400         (python-shell--save-temp-file): New function.
4401         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
4402         `string' comes from the current buffer.
4403         (python-shell-send-string-no-output): Remove `msg' arg.
4404         (python--use-fake-loc): New var.
4405         (python-shell-buffer-substring): Obey it.  Try to compensate for the
4406         extra coding line added by python-shell--save-temp-file.
4407         (python-shell-send-region): Use python-shell--save-temp-file and
4408         python-shell-send-file directly.  Add `nomain' argument.
4409         (python-shell-send-buffer): Use python-shell-send-region.
4410         (python-electric-pair-string-delimiter): New function.
4411         (python-mode): Use it.
4413 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
4415         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4416         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4417         environment and decoding all of the default-directory's to here
4418         from command-line.
4419         (command-line): Decode also argv[0].
4421         * loadup.el: Error out if default-directory is a multibyte string
4422         when we are dumping.
4424         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
4426 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
4428         * emacs-lisp/package.el (package-menu-mode)
4429         (package-menu--print-info, package-menu--archive-predicate):
4430         Add Archive column to package list.
4432 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
4434         Fix problems found while writing a test suite.
4436         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4437         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4438         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4439         to nil when running original file name handler.  Otherwise,
4440         there are problems with constructs like "$$FOO".
4442         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4443         for `localname'.
4445 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
4447         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4449         * subr.el (version<, version<=, version=):
4450         Update docstrings with information for snapshot versions.
4452         * helpers.el: New library for misc helper functions.
4453         (hash-table-keys): New function returning a list of hash keys.
4454         (hash-table-values): New function returning a list of hash values.
4456 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
4458         * progmodes/ruby-mode.el (ruby-smie--forward-token)
4459         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4461 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
4463         * textmodes/fill.el (fill-single-char-nobreak-p): New function
4464         checking whether point is after a 1-letter word.
4466 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
4468         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4469         Don't infloop when expanding region over `multiline' syntax-type that
4470         begins a line (bug#15778).
4472 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4474         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4475         Make it into a proper minor mode.
4476         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4477         (rectangle-mark-mode-map): New keymap.
4478         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4480 2013-11-04  Glenn Morris  <rgm@gnu.org>
4482         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4484 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4486         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4487         (ruby-smie-rules): Use smie-rule-parent instead.
4489         * emacs-lisp/smie.el (smie-rule-parent): Always call
4490         smie-indent-virtual rather than only for hanging tokens.
4491         (smie--next-indent-change): New helper command.
4493 2013-11-03  Glenn Morris  <rgm@gnu.org>
4495         * Makefile.in (abs_srcdir): Remove.
4496         (emacs): Unset EMACSLOADPATH.
4498 2013-11-02  Glenn Morris  <rgm@gnu.org>
4500         * Makefile.in (EMACS): Use a relative filename.
4501         (abs_top_builddir): Remove.
4502         (custom-deps, finder-data, autoloads): Use --chdir.
4504         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4506         Use relative filenames in TAGS files.
4507         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4508         (lisptagsfiles4, TAGS): Use relative file names.
4509         (TAGS-LISP): Remove.
4510         (maintainer-clean): No more TAGS-LISP file.
4512         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4513         (lisptagsfiles4): Use absolute filenames again.
4514         (TAGS, TAGS-LISP): Not everything needs to run in one line.
4515         Remove all *loaddefs files, not just the first.  Remove esh-groups.
4516         (maintainer-clean): Delete TAGS, TAGS-LISP.
4518 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
4520         * emacs-lisp/package.el (package-version-join):
4521         Recognize snapshot versions.
4523 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
4525         * subr.el (version-regexp-alist): Add support for snapshot versions.
4527 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
4529         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4530         New function, replacement for `smie-rule-parent' for when we want to
4531         skip over our direct parent if it's an assignment token..
4532         (ruby-smie-rules): Use it.
4534 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
4536         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4537         unconditionally.  Remove now unnecessary forward declarations.
4538         Remove XEmacs-specific setup.
4539         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4540         (ruby-font-lock-syntactic-keywords)
4541         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4542         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4543         (ruby-here-doc-end-syntax): Remove.
4544         (ruby-mode): Don't check whether `syntax-propertize-rules' is
4545         defined as function.
4547 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
4549         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4551 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
4553         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4554         table and abbrev table, `define-derived-mode' does that for us
4555         anyway.
4557 2013-11-01  Glenn Morris  <rgm@gnu.org>
4559         * Makefile.in: Remove manual mh-e dependencies (writing .elc
4560         files is atomic for some time, so no parallel compilation issues).
4562 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
4564         * faces.el (face-x-resources): Add :distant-foreground.
4565         (region): Use :distant-foreground for gtk and ns.
4567 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
4569         Allow multiple bibliographies when BibLaTeX is used rather than
4570         BibTeX.
4571         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4572         (reftex-locate-bibliography-files): Us it.
4574 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
4576         * image.el (image-type-header-regexps): Fix the 'pbm' part to
4577         allow comments in pbm files.
4579         * term/w32-win.el (dynamic-library-alist): Support newer versions
4580         of libjpeg starting with v7: look only for the DLL from the
4581         version against which Emacs was built.
4582         Support versions of libpng beyond 1.4.x.
4583         Support libtiff v4.x.
4585 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
4587         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4588         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4589         Add property :safe.
4590         (ruby-deep-arglist): Add property :type.
4592 2013-10-31  Glenn Morris  <rgm@gnu.org>
4594         * Makefile.in (custom-deps, finder-data): No need to setq the target
4595         variables, we are in the right directory and the defaults work fine.
4597 2013-10-30  Glenn Morris  <rgm@gnu.org>
4599         * Makefile.in (autoloads): Do not use abs_lisp.
4601         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4602         `newline' does not respect `standard-output', so use `princ'.
4604 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
4606         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
4607         * buff-menu.el (Buffer-menu--unmark): New function.
4608         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4610 2013-10-30  Glenn Morris  <rgm@gnu.org>
4612         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4614         * emacs-lisp/package.el (lm-homepage): Declare.
4616         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4617         Fix doc typos.
4619         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4621         * Makefile.in (finder-data, autoloads, update-subdirs)
4622         (compile-main, compile-clean, compile-always, bootstrap-clean):
4623         Check return value of cd.
4624         (compile-calc): Remove.
4626 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4628         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4630         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4631         (byte-compile-and-folded): New function.
4632         (=, <, >, <=, >=): Use it.
4634         * dos-w32.el (minibuffer-history-case-insensitive-variables)
4635         (path-separator, null-device, buffer-file-coding-system)
4636         (lpr-headers-switches): Check system-type before modifying them.
4637         (find-buffer-file-type-coding-system): Mark obsolete.
4638         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4639         find-file-not-found-set-buffer-file-coding-system.
4640         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4641         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4642         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4643         (w32-direct-print-region-helper, w32-direct-print-region-function)
4644         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4645         * startup.el (normal-top-level-add-subdirs-to-load-path):
4646         * ps-print.el (ps-print-region-function):
4647         * lpr.el (print-region-function): Use new name.
4649         * subr.el (custom-declare-variable-early): Remove function.
4650         (custom-declare-variable-list): Remove var.
4651         (error, user-error): Remove `while' loop.
4652         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4653         (user-emacs-directory-warning, locate-user-emacs-file):
4654         Move to files.el.
4655         * simple.el (read-quoted-char-radix, read-quoted-char):
4656         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4657         Move from subr.el.
4658         * custom.el (custom-declare-variable-list): Don't process
4659         custom-declare-variable-list.
4661         * progmodes/python.el (python-shell-get-buffer): New function.
4662         (python-shell-get-process): Use it.
4663         (python-shell-send-string): Always use utf-8 and add a cookie to tell
4664         Python which encoding was used.  Don't split-string since we only care
4665         about the first line.  Return the temp-file, if applicable.
4666         (python-shell-send-region): Tell compile.el how to turn locations in
4667         the temp-file into locations in the source buffer.
4669 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4671         * subr.el (undefined): Add missing behavior from the C code for
4672         unbound keys.
4674         * rect.el: Use lexical-binding.  Add new rectangular region support.
4675         (rectangle-mark): New command.
4676         (rectangle--region): New var.
4677         (deactivate-mark-hook): Reset rectangle--region.
4678         (rectangle--extract-region, rectangle--insert-for-yank)
4679         (rectangle--highlight-for-redisplay)
4680         (rectangle--unhighlight-for-redisplay): New functions.
4681         (region-extract-function, redisplay-unhighlight-region-function)
4682         (redisplay-highlight-region-function): Use them to handle
4683         rectangular region.
4684         * simple.el (region-extract-function): New var.
4685         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4686         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4687         (kill-region): Replace obsolete `yank-handler' arg with `region'.
4688         (copy-region-as-kill, kill-ring-save): Add `region' argument.
4689         (redisplay-unhighlight-region-function)
4690         (redisplay-highlight-region-function): New vars.
4691         (redisplay--update-region-highlight): New function.
4692         (pre-redisplay-function): Use it.
4693         (exchange-point-and-mark): Don't deactivate the mark before
4694         reactivate-it anyway.
4695         * comint.el (comint-kill-region): Remove yank-handler argument.
4696         * delsel.el (delete-backward-char, backward-delete-char-untabify)
4697         (delete-char): Remove property, since it's now part of their
4698         default behavior.
4699         (self-insert-iso): Remove property since this command doesn't exist.
4701         * emacs-lisp/package.el (package--download-one-archive)
4702         (describe-package-1): Don't query the user about final newline.
4704 2013-10-29  Daniel Colascione  <dancol@dancol.org>
4706         * net/tramp.el (tramp-methods): Document new functionality.
4707         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4708         tramp-hostname-checker if method provides one instead of scanning
4709         argument list for "%h" to decide hostname acceptability.
4711 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
4713         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4714         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4715         Handle COPY-CONTENTS.  (Bug#15737)
4717 2013-10-28  Daiki Ueno  <ueno@gnu.org>
4719         * epa-file.el
4720         (epa-file-cache-passphrase-for-symmetric-encryption):
4721         Document that this option has no effect with GnuPG 2.0 (bug#15552).
4723 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
4725         * image.el (defimage, image-load-path): Doc fixes.
4727 2013-10-27  Alan Mackenzie  <acm@muc.de>
4729         Indent statements in macros following "##" correctly.
4730         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4731         Modify the "#" arm of a cond form to handle "#" and "##" operators.
4733 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
4735         * linum.el (linum-update-window): Fix boundary test (bug#13446).
4737 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
4739         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4740         after `=' is probably a new expression.
4742 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4744         * man.el (man-imenu-title): New option.
4745         (Man-mode-map): Add menu.  (Bug#15722)
4746         (Man-mode): Add imenu to menu.
4748 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
4750         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4751         specific in what the first arg can be: a non-keyword word,
4752         string/regexp/percent literal opener, opening paren, or unary
4753         operator followed directly by word.
4755 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4757         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4758         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4759         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4760         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4761         Remove vars, they do not apply any more.
4762         (prolog-mode-abbrev-table): Remove redundant declaration.
4763         (prolog-upper-case-string, prolog-lower-case-string): Remove.
4764         (prolog-use-smie): Remove.
4765         (prolog-smie-rules): Add indentation rule for the if-then-else layout
4766         supported by prolog-electric-if-then-else-flag.
4767         (prolog-mode-variables, prolog-menu): Use setq-local.
4768         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4769         Remove binding to `Backspace' since this key doesn't exist anyway.
4770         Remove bindings for electric self-inserting keys.
4771         (prog-mode): Assume it's defined.
4772         (prolog-post-self-insert): New function.
4773         (prolog-mode): Use it.
4774         (prolog-indent-line, prolog-indent-level)
4775         (prolog-find-indent-of-matching-paren)
4776         (prolog-indentation-level-of-line, prolog-goto-comment-column)
4777         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4778         (prolog-goto-next-paren, prolog-in-string-or-comment)
4779         (prolog-tokenize, prolog-inside-mline-comment)
4780         (prolog-find-start-of-mline-comment): Remove functions.
4781         (prolog-find-unmatched-paren, prolog-clause-end)
4782         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4783         (prolog-electric--if-then-else): Rename from
4784         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4785         (prolog-tokenize-searchkey): Remove const.
4786         (prolog-clause-info): Use forward-sexp.
4787         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4788         (prolog-electric-if-then-else): Remove commands.
4789         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4790         for use in post-self-insert-hook.
4791         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4792         for use in post-self-insert-hook.
4793         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4794         for use in post-self-insert-hook.
4795         (prolog-electric--underscore): Rename from prolog-electric--underscore;
4796         adapt it for use in post-self-insert-hook.
4798 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
4800         * emacs-lisp/ert.el (ert-run-tests-interactively):
4801         Use `completing-read'.  (Bug#9756)
4803 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
4805         * simple.el (line-move): Call line-move-1 instead of
4806         line-move-visual when the current window hscroll is zero, but
4807         temporary-goal-column indicates we will need to hscroll as result
4808         of the movement.  (Bug#15712)
4810 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
4812         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4813         capitalization.  Use :visible instead of :active.
4814         Fix `ruby-indent-exp' reference.  Add menu items for the generic
4815         commands that are used with SMIE.
4816         (ruby-do-end-to-brace): Insert space after `{'.
4818 2013-10-25  John Anthony  <john@jo.hnanthony.com>
4820         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
4822         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
4824 2013-10-25  Glenn Morris  <rgm@gnu.org>
4826         * vc/vc.el (vc-print-log): Don't use a working revision unless
4827         one was explicitly specified.  (Bug#15322)
4829 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4831         * subr.el (add-to-list): Preserve return value in compiler-macro
4832         (bug#15692).
4834 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4836         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4837         result.  Ask user to retry using '-all' flag.  (Bug#15701)
4839 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4841         * emacs-lisp/smie.el: New smie-config system.
4842         (smie-config): New defcustom.
4843         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4844         (smie-config-guess, smie-config-save): New commands.
4845         (smie-config--mode-local, smie-config--buffer-local)
4846         (smie-config--trace, smie-config--modefuns): New vars.
4847         (smie-config--advice, smie-config--mode-hook)
4848         (smie-config--setter, smie-config-local, smie-config--get-trace)
4849         (smie-config--guess-value, smie-config--guess): New functions.
4850         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4851         text properties.  Treat "string fence" syntax like string syntax.
4853         * progmodes/sh-script.el (sh-use-smie): Change default.
4854         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4855         (sh-var-value): Simplify by CSE.
4856         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4857         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4858         is used.
4859         (sh-guess-basic-offset): Use cl-incf.
4860         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4862 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
4864         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4865         (bug#15699).
4867 2013-10-24  Glenn Morris  <rgm@gnu.org>
4869         * Makefile.in (abs_top_srcdir): Remove.
4870         (update-subdirs): Use relative path to update-subdirs.
4872 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
4874         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4875         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4876         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4877         Call unmsys--file-name before expand-file-name, not after it.
4879 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
4881         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4882         (ert-test-skipped): New error.
4883         (ert-skip, ert-stats-skipped): New defuns.
4884         (ert--skip-unless): New macro.
4885         (ert-test-skipped): New struct.
4886         (ert--run-test-debugger, ert-test-result-type-p)
4887         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4888         (ert--stats-set-test-and-result, ert-char-for-test-result)
4889         (ert-string-for-test-result, ert-run-tests-batch)
4890         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4891         Handle skipped tests.  (Bug#9803)
4893 2013-10-24  Glenn Morris  <rgm@gnu.org>
4895         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4897         * Makefile.in (abs_top_srcdir): New, set by configure.
4898         (update-subdirs): Correct build-aux location.
4900 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
4902         * vc/vc.el (vc-print-root-log): Always set `default-directory'
4903         value, whether we could auto-deduce `backend', or not.
4905         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4906         with parameters" example.  Simplify the "is it block or is it
4907         hash" check, but also make it more thorough.
4909 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
4911         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
4913 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4915         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4916         { if it is hanging.
4918         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4919         :before ";".
4921 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
4923         * progmodes/compile.el (compilation-directory-matcher)
4924         (compilation-page-delimiter):
4925         Support GNU Make-4.0 directory quoting.  (Bug#15678)
4927 2013-10-23  Leo Liu  <sdl.web@gmail.com>
4929         * ido.el (ido-tidy): Handle read-only text.
4931 2013-10-23  Glenn Morris  <rgm@gnu.org>
4933         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4934         (emacs, compile, compile-always):
4935         Quote entities that might contain whitespace.
4936         (custom-deps, finder-data, autoloads): Use abs_lisp.
4937         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4938         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4939         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4941 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
4943         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4944         Use `following-char'.
4946 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4948         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4949         * progmodes/ruby-mode.el (ruby-smie-rules):
4950         Remove corresponding workaround.  Fix indentation rule of ";" so it
4951         also applies when ";" is the parent.
4953 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
4955         * frame.el (display-screens, display-pixel-height)
4956         (display-pixel-width, display-mm-width, display-backing-store)
4957         (display-save-under, display-planes, display-color-cells)
4958         (display-visual-class, display-monitor-attributes-list):
4959         Mention the optional ‘display’ argument in doc strings.
4961 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
4963         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4964         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
4966 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
4968         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4969         TODO.  Add "." after " @ ".
4970         (ruby-smie--at-dot-call): New function.  Checks if point at method
4971         call with explicit target.
4972         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4973         to the method name tokens when it precedes them.
4974         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4975         (ruby-smie-rules): Add rule for indentation before and after "."
4976         token.
4978 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4980         * textmodes/remember.el (remember-diary-extract-entries):
4981         Avoid add-to-list.
4983         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4984         an instruction.
4986 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
4988         * progmodes/ruby-mode.el (ruby-smie-grammar):
4989         Add (almost) all infix operators.
4990         (ruby-smie--implicit-semi-p): Add new operator chars.
4992         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4993         `smie-down-list'.
4994         (ruby-smie--args-separator-p): Check that there's no newline
4995         between method call and its arguments.
4997 2013-10-20  Alan Mackenzie  <acm@muc.de>
4999         Allow comma separated lists after Java "implements".
5001         * progmodes/cc-engine.el (c-backward-over-enum-header):
5002         Parse commas.
5003         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5004         from a "disallowed" list in enum fontification.
5006 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
5008         * startup.el (default-frame-background-mode): Remove unused defvar.
5010         * progmodes/verilog-mode.el (verilog-mode): Don't set
5011         comment-indent-function globally.
5013 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
5015         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5016         Move Info menu item creation to ns-win.el.
5018         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5019         in menu bar.
5021         * menu-bar.el: Move GNUstep specific menus...
5023         * term/ns-win.el (ns-initialize-window-system): ... to here.
5025 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5027         * simple.el (newline): Only run post-self-insert-hook when
5028         called interactively.
5030 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
5032         * icomplete.el (icomplete-with-completion-tables): Add :version.
5034 2013-10-19  Alan Mackenzie  <acm@muc.de>
5036         Fix fontification bugs with constructors and const.
5038         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5039         CASE 2) Remove the check for the absence of a suffix construct
5040         after a function declaration with only types (no identifiers) in
5041         the parentheses.  Also, accept a function declaration with just a
5042         type inside the parentheses, if this type can be positively
5043         recognised as such, or if a prefix keyword like "explicit" nails
5044         down the construct as a declaration.
5046 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
5048         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5049         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
5050         the problem whereby selecting a menu item that leads to a
5051         minibuffer prompt moves the cursor out of the minibuffer window,
5052         making it hard to type at the prompt.  Suggested by Stefan Monnier
5053         <monnier@iro.umontreal.ca>.
5055 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
5057         * menu-bar.el: Don't make Services menu.
5059 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5061         * ffap.el: Handle "/usr/include/c++/<version>" directories.
5062         (ffap-alist): Use ffap-c++-mode for c++-mode.
5063         (ffap-c++-path): New variable.
5064         (ffap-c++-mode): New function.
5066 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
5068         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
5070 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
5072         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5073         introduced on 2013-09-08, which results in an infinite loop
5074         requesting a password.
5076 2013-10-18  Glenn Morris  <rgm@gnu.org>
5078         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5080 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
5082         Sync with upstream verilog-mode revision 1a6ecec7.
5083         * progmodes/verilog-mode.el (verilog-mode-version): Update.
5084         (verilog-mode-release-date): Remove.
5085         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5086         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5087         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5088         (verilog-auto-tieoff-ignore-regexp)
5089         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5090         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5091         (verilog-signals-with, verilog-dir-cache-preserving)
5092         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5093         Doc fixes.
5094         (verilog-case-fold): New option, to control case folding in
5095         regexp searches, bug597.
5096         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5097         (verilog-string-match-fold, verilog-in-paren-count)
5098         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5099         (verilog-at-close-struct-p): New functions.
5100         (verilog-beg-block-re-ordered, verilog-extended-case-re)
5101         (verilog-forward-sexp, verilog-set-auto-endcomments)
5102         (verilog-leap-to-case-head): Handle "unique0" case.
5103         (verilog-in-constraint-re): New constant.
5104         (verilog-keywords, verilog-type-font-keywords):
5105         Add some SystemVerilog 1800-2012 keywords.
5106         (verilog-label-be): Remove unimplemented argument, bug669.
5107         (verilog-batch-execute-func): When batch expanding clear
5108         create-lockfiles to prevent spurious user locks when a file ends
5109         up not changing.
5110         (verilog-calculate-indent, verilog-calc-1)
5111         (verilog-at-close-constraint-p, verilog-at-constraint-p)
5112         (verilog-do-indent): Fix indentation of nested constraints
5113         and structures.
5114         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5115         (verilog-auto-inst-param): Use verilog-string-match-fold.
5116         (verilog-read-inst-module-matcher):
5117         Fix AUTOINST on gate primitives with #1.
5118         (verilog-read-decls): Fix double-declaring user-defined typed signals.
5119         Reads all user-defined typed variables.
5120         (verilog-read-defines): Fix reading definitions inside comments, bug647.
5121         (verilog-signals-matching-regexp)
5122         (verilog-signals-not-matching-regexp, verilog-auto):
5123         Respect verilog-case-fold.
5124         (verilog-diff-report): Fix line count.
5125         (verilog-auto-assign-modport): Remove unused local `modi'.
5126         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5127         better handle multidimensional arrays.
5128         Fix packed array ports misadding bit index in AUTOINST, bug637.
5129         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5130         to not double-declare existing outputs and inputs, respectively.
5131         (verilog-template-map): Bind U to verilog-sk-uvm-component.
5132         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5133         (verilog-sk-uvm-component): New skeleton.
5134         (verilog-submit-bug-report): Add verilog-case-fold,
5135         remove verilog-mode-release-date.
5137 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
5139         * subr.el (sit-for): Call (input-pending-p t) so as to behave
5140         as before.
5142 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
5144         * textmodes/remember.el (remember): Set buffer-offer-save in
5145         remember buffers (bug#13566).
5147 2013-10-18  Daniel Colascione  <dancol@dancol.org>
5149         When evaluating forms in ielm, direct standard output to ielm
5150         buffer.  Add new ielm-return-for-effect command.  Remove trailing
5151         whitespace throughout.
5153         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5154         (ielm-return-for-effect): New command.
5155         (ielm-send-input): Accept optional `for-effect' parameter.
5156         (ielm-eval-input): Accept optional `for-effect' parameter.
5157         Bind `standard-output' to stream we create using
5158         `ielm-standard-output-impl'.  Suppress printing result when
5159         `for-effect'.
5160         (ielm-standard-output-impl): New function.
5161         (inferior-emacs-lisp-mode): Explain new features in documentation.
5163 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
5165         Code cleanup.
5167         * net/tramp.el (tramp-debug-message): Do not check for connection
5168         buffer.
5169         (tramp-message): Use "vector" connection property.
5171         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5172         (tramp-equal-remote, tramp-eshell-directory-change)
5173         * net/tramp-adb.el (tramp-adb-handle-copy-file)
5174         (tramp-adb-handle-rename-file)
5175         * net/tramp-cmds.el (tramp-list-remote-buffers)
5176         (tramp-cleanup-connection, tramp-cleanup-this-connection)
5177         * net/tramp-compat.el (tramp-compat-process-running-p)
5178         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5179         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5180         (tramp-gvfs-handle-rename-file)
5181         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5182         (tramp-set-file-uid-gid)
5183         * net/tramp-smb.el (tramp-smb-handle-copy-file)
5184         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5185         of `file-remote-p'.
5187         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5188         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5189         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5190         (tramp-gw-open-network-stream): Suppress unrelated traces.
5192         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5193         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5194         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5195         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5196         connection property.
5198         * net/tramp-cache.el (top): Suppress traces when reading
5199         persistency file.
5201         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5202         Refactor common code.  Improve debug message.
5203         (tramp-maybe-open-connection)
5204         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5205         connection buffer too early.
5207         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5208         from `tramp-smb-actions-with-acl'.
5209         (tramp-smb-actions-set-acl): New defconst.
5210         (tramp-smb-handle-copy-directory)
5211         (tramp-smb-action-get-acl): New defun, renamed from
5212         `tramp-smb-action-with-acl'.
5213         (tramp-smb-action-set-acl): New defun.
5214         (tramp-smb-handle-set-file-acl): Rewrite.
5216 2013-10-17  Glenn Morris  <rgm@gnu.org>
5218         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
5220 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5222         * skeleton.el (skeleton-newline): Remove.
5223         (skeleton-internal-1): Use (insert "\n") instead.
5225         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5226         let-bindings.
5228         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5229         forward-sexp-function while we redo its job (bug#15613).
5231 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
5233         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5234         represented by lists.
5236 2013-10-16  Glenn Morris  <rgm@gnu.org>
5238         * tmm.el (tmm--history): New dynamic variable.
5239         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
5241 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
5243         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5244         (tramp-smb-errors): Add error messages.
5245         (tramp-smb-actions-with-acl): New defconst.
5246         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5247         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5248         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5249         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5250         (tramp-smb-get-stat-capability): Fix tests.
5252 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
5254         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5255         (bug#15580).
5257 2013-10-16  Glenn Morris  <rgm@gnu.org>
5259         * ansi-color.el (ansi-color-drop-regexp):
5260         Add 1J, 1K, 2K.  (Bug#15617)
5262         * files.el (hack-local-variables--warned-lexical): New.
5263         (hack-local-variables):
5264         Warn about misplaced lexical-binding.  (Bug#15616)
5266         * net/eww.el (eww-render): Always set eww-current-url,
5267         and update header line.  (Bug#15622)
5268         (eww-display-html): ... Rather than just doing it here.
5270 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
5272         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5273         menu navigations commands.
5275 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
5277         * progmodes/subword.el (subword-capitalize): Be careful when
5278         the search for [[:alpha:]] fails (bug#15580).
5280 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
5282         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5283         to commands that scroll the menu.
5285 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
5287         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5288         Handle methods ending with `?' and `!'.
5290 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
5292         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5293         `japanese-cp932' to `cp932' to fix the problem where saving a
5294         source file written in Shift_JIS twice would end up having
5295         `coding: japanese-cp932' which Ruby could not recognize.
5296         (ruby-mode-set-encoding): Add support for encodings mapped to nil
5297         in `ruby-encoding-map'.
5298         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5299         doesn't need to be explicitly declared in magic comment.
5300         (ruby-encoding-map): Add type declaration for better customize UI.
5302 2013-10-13  Glenn Morris  <rgm@gnu.org>
5304         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5305         Occur buffers are read-only.  http://bugs.debian.org/720775
5307         * emacs-lisp/authors.el (authors-fixed-entries):
5308         Comment out old alpha stuff.
5310 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
5312         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5313         to `after-save-hook' instead of `before-save-hook'.
5314         (ruby-mode-set-encoding): Use the value of coding system used to
5315         write the file.  Call `basic-save-buffer-1' after modifying the
5316         buffer.
5318 2013-10-13  Alan Mackenzie  <acm@muc.de>
5320         Fix indentation/fontification of Java enum with
5321         "implements"/generic.
5323         * progmodes/cc-engine.el (c-backward-over-enum-header):
5324         Extracted from the three other places and enhanced to handle generics.
5325         (c-inside-bracelist-p): Uses new function above.
5326         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5327         function above.
5328         (c-font-lock-enum-tail): Uses new function above.
5330 2013-10-13  Kenichi Handa  <handa@gnu.org>
5332         * international/mule-cmds.el (select-safe-coding-system): Remove a
5333         superfluous condition in chekcing whether a coding system is safe
5334         or not.
5336 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
5338         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
5340 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
5342         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
5344 2013-10-13  Glenn Morris  <rgm@gnu.org>
5346         * menu-bar.el (menu-bar-update-buffers):
5347         Unify Buffers menu prompt string.  (Bug#15576)
5349         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
5351         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5352         Add some entries.
5353         (authors-fixed-entries): Use accented form of name.
5355 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5357         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5358         method calls (bug#15594).
5359         (ruby-smie--args-separator-p): New function.
5360         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5361         recognize paren-free method calls.
5363         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5364         internals of universal-argument.
5366 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
5368         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5369         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5370         dropped menu on second mouse click on the menu bar.
5372 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5374         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5375         (explicit-shell-file-name): Declare.
5376         (sh--vars-before-point, sh--cmd-completion-table): New functions.
5377         (sh-completion-at-point-function): New function.
5378         (sh-mode): Use it.
5379         (sh-smie--keyword-p): Remove unused argument.
5380         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5381         vars.
5382         (sh-set-shell): Always setup SMIE, even if we use the
5383         old indentation code.
5385 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
5387         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5388         cases of ? and =.
5389         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
5390         predicate would return nil are almost non-existent.
5391         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5393         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5394         cache also after commands that modify the buffer but don't move
5395         point.
5397 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5399         * env.el (substitute-env-in-file-name): New function.
5400         (substitute-env-vars): Extend the meaning of the optional arg.
5402 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
5404         * term/w32-win.el (dynamic-library-alist): Define separate lists
5405         of GIF DLLs for versions before and after 5.0.0 of giflib.
5406         (Bug#15531)
5408 2013-10-10  João Távora  <joaotavora@gmail.com>
5410         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5411         not locked, use last revision and current source as
5412         defaults.  (Bug#15569)
5414 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
5416         * menu-bar.el (menu-bar-open): Don't use popup-menu if
5417         menu-bar is hidden.
5419 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
5421         * window.el (pop-to-buffer-same-window): Fix doc-string.
5422         (Bug#15492)
5424 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5426         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5428 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
5430         * calendar/icalendar.el (icalendar-import-file):
5431         Fix interactive spec.  (Bug#15482)
5433 2013-10-10  Glenn Morris  <rgm@gnu.org>
5435         * desktop.el (desktop-save): Default to saving in .emacs.d,
5436         since PWD is no longer in desktop-path by default.  (Bug#15319)
5438         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5439         now that text mode has a menu with the same entry.
5440         (menu-bar-text-mode-auto-fill): Remove now unused func.
5441         * textmodes/text-mode.el (text-mode-map):
5442         Use auto-fill help text from menu-bar.el.
5444 2013-10-10  John Anthony  <john@jo.hnanthony.com>
5446         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
5448 2013-10-09  Juri Linkov  <juri@jurta.org>
5450         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5451         instead of this-command-keys.  Add universal-argument-more and
5452         universal-argument-minus to the list of prefix commands.  (Bug#15568)
5454 2013-10-09  Glenn Morris  <rgm@gnu.org>
5456         * vc/vc-svn.el (vc-svn-create-repo):
5457         Expand paths in file://... url.  (Bug#15446)
5459         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5460         Add some entries.
5461         (authors): Remove unused local variables.
5463 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5465         * profiler.el: Create a more coherent calltree from partial backtraces.
5466         (profiler-format): Hide the tail with `invisible' so that C-s can still
5467         find the hidden elements.
5468         (profiler-calltree-depth): Don't recurse so enthusiastically.
5469         (profiler-function-equal): New hash-table-test.
5470         (profiler-calltree-build-unified): New function.
5471         (profiler-calltree-build): Use it.
5472         (profiler-report-make-name-part): Indent the calltree less.
5473         (profiler-report-mode): Add visibility specs for profiler-format.
5474         (profiler-report-expand-entry, profiler-report-toggle-entry):
5475         Expand the whole subtree when provided with a prefix arg.
5477 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
5479         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5480         iuwu-mod token.
5481         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5482         hanging iuwu-mod token.
5483         (ruby-smie--forward-token): Do not include a dot after a token in
5484         that token.
5485         (ruby-smie--backward-token): Likewise.
5487 2013-10-08  Juri Linkov  <juri@jurta.org>
5489         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5490         to isearch-other-control-char.
5491         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5492         and isearch-post-command-hook to post-command-hook.
5493         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5494         and isearch-post-command-hook from post-command-hook.
5495         (isearch-unread-key-sequence)
5496         (isearch-reread-key-sequence-naturally)
5497         (isearch-lookup-scroll-key, isearch-other-control-char)
5498         (isearch-other-meta-char): Remove functions.
5499         (isearch-pre-command-hook, isearch-post-command-hook):
5500         New functions based on isearch-other-meta-char rewritten
5501         relying on the new behavior of overriding-terminal-local-map
5502         that does not replace the local keymaps any more.  (Bug#15200)
5504 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
5506         Support menus on text-mode terminals.
5507         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5508         functionality.
5510         * tooltip.el (tooltip-mode): Don't error out on TTYs.
5512         * menu-bar.el (popup-menu, popup-menu-normalize-position):
5513         Move here from mouse.el.
5514         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5515         and arrow keys.
5516         (tty-menu-navigation-map): New map for TTY menu navigation.
5518         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5520         * frame.el (display-mouse-p): Report text-mode mouse as available
5521         on w32.
5522         (display-popup-menus-p): Report availability if mouse is
5523         available; don't condition on window-system.
5525         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5526         (tty-menu-selected-face): New faces.
5528 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5530         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5531         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5532         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5533         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5534         New constants.
5535         (lisp-mode-variables): New `elisp' argument.
5536         (emacs-lisp-mode): Use it.
5537         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5538         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5540         * indent.el: Use lexical-binding.
5541         (indent-region): Add progress reporter.
5542         (tab-stop-list): Make it implicitly extend to infinity by repeating the
5543         last step.
5544         (indent--next-tab-stop): New function to implement this behavior.
5545         (tab-to-tab-stop, move-to-tab-stop): Use it.
5547 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
5549         * indent.el (indent-rigidly--current-indentation): New function.
5550         (indent-rigidly-map): New var.
5551         (indent-rigidly): Use it to provide interactive mode (bug#8196).
5553 2013-10-08  Bastien Guerry  <bzg@gnu.org>
5555         * register.el (insert-register): Fix 2013-10-07 change.
5557 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5559         * progmodes/perl-mode.el: Use lexical-binding.
5560         Remove redundant :group args.
5561         (perl-nochange): Change default to be closer to other major modes's
5562         standard behavior.
5563         (perl-indent-line): Don't consider text on current line as a
5564         valid beginning of function from which to indent.
5566         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5567         with more than one argument (bug#15538).
5569         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5571         * vc/pcvs.el: Use lexical-binding.
5572         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5573         environment of `eval'.
5574         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5575         than a list of expressions.  Adjust callers.
5576         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5578 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
5580         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5581         case of the dot in a chained method call being on the following line.
5583 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5585         * electric.el (electric-indent-inhibit): New var.
5586         (electric-indent-post-self-insert-function): Use it.
5587         * progmodes/python.el (python-mode): Set it.
5589         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5590         open braces.
5592         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5594         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5595         (css-mode): Use electric-indent-chars.
5597         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5598         (font-lock-beg, font-lock-end): Move before first use.
5599         (nxml-mode): Use syntax-propertize-function.
5600         (nxml-after-change, nxml-after-change1): Adjust accordingly.
5601         (nxml-extend-after-change-region): Remove.
5602         * nxml/xmltok.el: Use lexical-binding.
5603         (xmltok-save): Use `declare'.
5604         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5605         * nxml/nxml-util.el: Use lexical-binding.
5606         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5607         Use `declare'.
5608         * nxml/nxml-ns.el: Use lexical-binding.
5609         (nxml-ns-save): Use `declare'.
5610         (nxml-ns-prefixes-for): Avoid add-to-list.
5611         * nxml/rng-match.el: Use lexical-binding.
5612         (rng--ipattern): Use cl-defstruct.
5613         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5614         (rng-cons-group-after, rng-subst-group-after)
5615         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5616         Use closures instead of `(lambda...).
5618 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
5620         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5621         of BEG and END.
5623         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5624         Use `tramp-handle-insert-file-contents'.
5625         (tramp-gvfs-handle-insert-file-contents): Remove function.
5627         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5628         Use `save-restriction' in order to keep markers.
5630         * net/trampver.el: Update release number.
5632 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5634         * progmodes/compile.el (compilation-parse-errors):
5635         Use compilation--put-prop.
5636         (compilation--ensure-parse): Check compilation-multiline.
5638         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5640         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5641         lexical-binding.
5643         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5645         * progmodes/ruby-mode.el: Fix recently added tests.
5646         (ruby-smie-grammar): Add - and +.
5647         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5648         (ruby-smie--backward-id): New functions.
5649         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5650         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
5651         any more.
5653 2013-10-07  Leo Liu  <sdl.web@gmail.com>
5655         * register.el (register-preview-delay)
5656         (register-preview-functions): New variables.
5657         (register-read-with-preview, register-preview)
5658         (register-describe-oneline): New functions.
5659         (point-to-register, window-configuration-to-register)
5660         (frame-configuration-to-register, jump-to-register)
5661         (number-to-register, view-register, insert-register)
5662         (copy-to-register, append-to-register, prepend-to-register)
5663         (copy-rectangle-to-register): Use register-read-with-preview to
5664         read register.  (Bug#15525)
5666 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
5668         * net/network-stream.el (network-stream-open-starttls): Don't add
5669         --insecure if it's already present, because that gnutls-cli
5670         rejects getting that parameter twice.
5672 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
5674         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5675         keyword, too.
5677 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
5679         * newcomment.el (comment-use-global-state): Change default value
5680         to t, mark obsolete (Bug#15251).
5681         (comment-beginning): In addition to `comment-to-syntax', check the
5682         value of `comment-use-global-state'.
5684 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5686         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5687         (ruby-comment-column): Follow the global default, by default.
5688         (ruby-smie-grammar): Add assignment syntax.
5689         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5690         open-paren, a comma, or a \.
5691         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5692         and line continuations.
5693         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5694         followed by implicit semi-colons.  Add rule for string concatenation
5695         and for indentation at BOB.
5696         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
5698         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5699         calling next-sexp, since next-token may have skipped chars which
5700         next-sexp doesn't know should be skipped!
5702 2013-10-05  Leo Liu  <sdl.web@gmail.com>
5704         * progmodes/octave.el (octave-send-region):
5705         Call compilation-forget-errors.
5707 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
5709         * vc/vc-svn.el (vc-svn-find-admin-dir):
5710         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5711         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5712         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5713         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5715 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5717         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5719 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5721         * subr.el (read-passwd): Hide chars even when called within a context
5722         where after-change-functions is disabled (bug#15501).
5723         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5724         until we removed ourself from overriding-terminal-local-map.
5726 2013-10-04  Leo Liu  <sdl.web@gmail.com>
5728         * progmodes/octave.el (inferior-octave-mode):
5729         Call compilation-forget-errors.
5731 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
5733         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5735 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
5737         * net/secrets.el (secrets-create-collection): Add optional
5738         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
5739         dbus-call-method argument.  (Bug#15516)
5741 2013-10-04  Leo Liu  <sdl.web@gmail.com>
5743         * progmodes/octave.el (inferior-octave-error-regexp-alist)
5744         (inferior-octave-compilation-font-lock-keywords): New variables.
5745         (compilation-error-regexp-alist)
5746         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5747         (inferior-octave-mode): Use compilation-shell-minor-mode.
5749 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
5751         * minibuffer.el (completion--replace): Be careful that `end' might be
5752         a marker.
5754 2013-10-03  Daiki Ueno  <ueno@gnu.org>
5756         Add support for package signature checking.
5757         * emacs-lisp/package.el (url-http-file-exists-p)
5758         (epg-make-context, epg-context-set-home-directory)
5759         (epg-verify-string, epg-context-result-for)
5760         (epg-signature-status, epg-signature-to-string)
5761         (epg-check-configuration, epg-configuration)
5762         (epg-import-keys-from-file): Declare.
5763         (package-check-signature): New user option.
5764         (package-unsigned-archives): New user option.
5765         (package-desc): Add `signed' field.
5766         (package-load-descriptor): Set `signed' field if .signed file exists.
5767         (package--archive-file-exists-p): New function.
5768         (package--check-signature): New function.
5769         (package-install-from-archive): Check package signature.
5770         (package--download-one-archive): Check archive signature.
5771         (package-delete): Remove .signed file.
5772         (package-import-keyring): New command.
5773         (package-refresh-contents): Import default keyring.
5774         (package-desc-status): Add "unsigned" status.
5775         (describe-package-1, package-menu--print-info)
5776         (package-menu-mark-delete, package-menu--find-upgrades)
5777         (package-menu--status-predicate): Support "unsigned" status.
5779 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5781         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5782         the new compilation scheme using the new byte-codes.
5784         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5785         (byte-pophandler): New byte codes.
5786         (byte-goto-ops): Adjust accordingly.
5787         (byte-compile--use-old-handlers): New var.
5788         (byte-compile-catch): Use new byte codes depending on
5789         byte-compile--use-old-handlers.
5790         (byte-compile-condition-case--old): Rename from
5791         byte-compile-condition-case.
5792         (byte-compile-condition-case--new): New function.
5793         (byte-compile-condition-case): New function that dispatches depending
5794         on byte-compile--use-old-handlers.
5795         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5796         when we can.
5798         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5799         Optimize under `condition-case' and `catch' if
5800         byte-compile--use-old-handlers is nil.
5801         (disassemble-offset): Handle new bytecodes.
5803 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5805         * subr.el (error): Use `declare'.
5806         (decode-char, encode-char): Use advertised-calling-convention instead
5807         of the docstring to discourage use of the `restriction' arg.
5809 2013-10-03  Daiki Ueno  <ueno@gnu.org>
5811         * epg.el (epg-verify-file): Add a comment saying that it does not
5812         notify verification error as a return value nor a signal.
5813         (epg-verify-string): Ditto.
5815 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
5817         * progmodes/compile.el (compilation-start): Try globbing the arg to
5818         `cd' (bug#15417).
5820 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
5822         Sync with Tramp 2.2.8.
5824         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5825         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5826         * net/trampver.el: Update release number.
5828 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
5830         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5831         and default-process-coding-system for darwin only.
5833 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5835         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5837 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
5839         * vc/vc-git.el (vc-git-grep): Disable pager.
5841 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
5843         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5844         Use :url instead of :homepage, as per
5845         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5847         * newcomment.el (comment-beginning): When `comment-use-syntax' is
5848         non-nil, use `syntax-ppss' (Bug#15251).
5850 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5852         * progmodes/octave.el (inferior-octave-startup-file):
5853         Prefer ~/.emacs.d/init_octave.m.
5855 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
5857         * emacs-lisp/package.el (package-desc-from-define):
5858         Accept additional arguments as plist, convert them to an alist and store
5859         them in the `extras' slot.
5860         (package-generate-description-file): Convert extras alist back to
5861         plist and append to the `define-package' form arguments.
5862         (package--alist-to-plist): New function.
5863         (package--ac-desc): Add `extras' slot.
5864         (package--add-to-archive-contents): Check if the archive-contents
5865         vector is long enough, and if it is, pass its `extras' slot value
5866         to `package-desc-create'.
5867         (package-buffer-info): Call `lm-homepage', pass the returned value
5868         to `package-desc-from-define'.
5869         (describe-package-1): Render the homepage button (Bug#13291).
5871         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5872         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5874 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
5876         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5877         and default-process-coding-system to utf-8-unix (Bug#15402).
5879 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
5881         * subr.el (looking-back): Do not recommend using looking-back.
5883 2013-09-28  Alan Mackenzie  <acm@muc.de>
5885         Fix indentation/fontification of Java enum with "implements".
5887         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5888         regexp which matches "implements", etc., in Java.
5889         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5890         specifier clauses coming after "enum".
5891         * progmodes/cc-fonts.el (c-font-lock-declarations)
5892         (c-font-lock-enum-tail): Check for extra specifier clauses coming
5893         after "enum".
5895 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
5897         * faces.el (region): Change ns_selection_color to
5898         ns_selection_fg_color, add ns_selection_bg_color.
5900 2013-09-28  Leo Liu  <sdl.web@gmail.com>
5902         * progmodes/octave.el (inferior-octave-completion-table)
5903         (inferior-octave-completion-at-point): Minor tweaks.
5905         * textmodes/ispell.el (ispell-lookup-words): Rename from
5906         lookup-words.  (Bug#15460)
5907         (lookup-words): Obsolete.
5908         (ispell-complete-word, ispell-command-loop): All uses changed.
5910 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5912         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5913         (octave-mode-menu): Add octave-send-buffer.
5914         (octave-send-buffer): New function.
5916 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5918         * progmodes/octave.el (octave-mode-map): Add key binding for
5919         octave-lookfor.
5920         (octave-mode-menu): Add octave-lookfor.
5921         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5922         octave-lookfor.
5923         (octave-lookfor): New function.
5925 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5927         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
5928         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5929         its convention.
5930         (cl--loop-set-iterator-function): New function.
5931         (cl-loop): Adjust accordingly, so as not to use cl-subst.
5932         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5933         Bind `it' with `let' instead of substituting it with `cl-subst'.
5934         (cl--unused-var-p): New function.
5935         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5936         Eliminate some unused variable warnings (bug#15326).
5938 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
5940         * doc-view.el (doc-view-scale-reset): Rename from
5941         `doc-view-reset-zoom-level'.
5942         (doc-view-scale-adjust): New command.
5943         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5944         `doc-view-scale-adjust'.
5946 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
5948         * doc-view.el (doc-view-reset-zoom-level): New command.
5949         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5950         zoom commands (bug#15466).
5952 2013-09-26  Kenichi Handa  <handa@gnu.org>
5954         * international/quail.el (quail-help): Make it not a command.
5956 2013-09-26  Leo Liu  <sdl.web@gmail.com>
5958         * minibuffer.el (completion-all-sorted-completions): Make args
5959         optional as they are.
5961 2013-09-25  Daniel Colascione  <dancol@dancol.org>
5963         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5964         specs are and that they're not evaluated.
5966 2013-09-24  Sam Steingold  <sds@gnu.org>
5968         * midnight.el (clean-buffer-list-kill-regexps)
5969         (clean-buffer-list-kill-buffer-names): Update for the new Man
5970         buffer naming which includes the object name.
5972 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5974         * eshell/esh-cmd.el (eshell--sep-terms): New var.
5975         (eshell-parse-command, eshell-parse-pipeline): Use it since
5976         eshell-separate-commands requires a dynamic scoped var.
5977         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5979 2013-09-23  Leo Liu  <sdl.web@gmail.com>
5981         * autoinsert.el (auto-insert-alist): Make the value of
5982         lexical-binding match its file setting.
5984 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
5986         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5988         * autoarg.el (autoarg-kp-digit-argument):
5989         * electric.el (Electric-command-loop):
5990         * kmacro.el (kmacro-step-edit-insert):
5991         Do not set universal-argument-num-events.
5993 2013-09-22  Leo Liu  <sdl.web@gmail.com>
5995         * files.el (interpreter-mode-alist): Add octave.
5997 2013-09-21  Alan Mackenzie  <acm@muc.de>
5999         C++: fontify identifier in declaration following "public:" correctly.
6000         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6001         to match "public", etc.
6002         (c-decl-prefix-re): Add ":" into the C++ value.
6003         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6004         bit.  Add a check for a ":" preceded by "public", etc.
6006 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
6008         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6009         recognized by GDB 7.5 and later.
6011 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
6013         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6015 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6017         * subr.el (internal--call-interactively): New const.
6018         (called-interactively-p): Use it (bug#3984).
6020 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
6022         * vc/pcvs.el (cvs-mode-ignore):
6023         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6024         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6026 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6028         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
6029         (eshell-ls-orig-insert-directory): Remove.
6030         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
6031         (eshell-ls-use-in-dired): Use advice-add/remove.
6032         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6033         Add `orig-fun' arg for use in :around advice.
6034         Make it check (redundantly) eshell-ls-use-in-dired.
6036 2013-09-19  Glenn Morris  <rgm@gnu.org>
6038         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6040         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6042         * emacs-lisp/eieio.el (class-parent): Undo previous change.
6044 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
6046         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6047         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6048         (tramp-get-remote-python): New defuns.
6049         (tramp-get-remote-uid-with-perl)
6050         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
6051         contributed by yary <not.com@gmail.com> (tiny change).
6052         (tramp-get-remote-uid-with-python)
6053         (tramp-get-remote-gid-with-python): New defuns.  Python code
6054         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6055         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6057 2013-09-19  Glenn Morris  <rgm@gnu.org>
6059         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6061         * eshell/em-unix.el (eshell-remove-entries):
6062         Rename argument to avoid name-clash with global `top-level'.
6064         * eshell/esh-proc.el (eshell-kill-process-function):
6065         Remove eshell-reset-after-proc from eshell-kill-hook if present.
6066         (eshell-reset-after-proc): Remove unused arg `proc'.
6068         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6069         (directory-files-and-attributes): Mark unused arg.
6071         * eshell/em-unix.el (eshell-remove-entries):
6072         Remove unused arg `path'.  Update callers.
6074         * eshell/em-hist.el (eshell-hist-parse-arguments):
6075         Remove unused arg `silent'.  Update callers.
6077         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6078         Fix (f)boundp mix-up.
6080         * eshell/em-smart.el (eshell-smart-scroll-window)
6081         (eshell-disable-after-change):
6082         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6084 2013-09-18  Alan Mackenzie  <acm@muc.de>
6086         Fix fontification of type when followed by "const".
6087         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6088         "known" types from fontification.
6090 2013-09-18  Glenn Morris  <rgm@gnu.org>
6092         * emacs-lisp/chart.el (x-display-color-cells): Declare.
6093         (chart-face-list): Drop Emacsen without display-color-p.
6095         * net/eww.el (libxml-parse-html-region): Declare.
6096         (eww-display-html): Explicit error if no libxml2 support.
6098         * doc-view.el (doc-view-mode): Silence --without-x compilation.
6100         * image.el (image-type-from-buffer, image-multi-frame-p):
6101         Remove --without-x warning/error.
6103         * mouse.el (mouse-yank-primary):
6104         * term.el (term-mouse-paste):
6105         Reorder to silence --without-x compilation.
6107         * mpc.el (doc-view-mode): Silence --without-x compilation.
6109         * mail/rmailmm.el (rmail-mime-set-bulk-data):
6110         Silence --without-x compilation.
6112         * progmodes/gud.el (gud-find-file, gud-mode):
6113         Silence --without-x compilation.
6114         (tooltip-mode): Declare.
6116         * wdired.el (dired-backup-overwrite): Remove declaration.
6117         (wdired-mode-map): Add doc string.
6119         * custom.el (x-get-resource): Declare.
6121         * eshell/em-glob.el (ange-cache):
6122         * eshell/em-unix.el (ange-cache): Declare.
6124         * faces.el (x-display-list, x-open-connection, x-get-resource):
6125         Declare.
6127         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6128         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6129         Declare.
6131         * frame.el (x-display-grayscale-p, x-display-name): Declare.
6133         * net/gnutls.el (gnutls-log-level): Declare.
6135         * net/shr.el (image-size, image-animate): Declare.
6137         * simple.el (font-info): Declare.
6139         * subr.el (x-popup-dialog): Declare.
6141         * term/common-win.el (x-select-enable-primary)
6142         (x-last-selected-text-primary, x-last-selected-text-clipboard):
6143         Declare.
6145         * term/ns-win.el (x-handle-args): Declare.
6147         * term/x-win.el (x-select-enable-clipboard): Declare.
6149         * term/w32-win.el (create-default-fontset): Declare.
6151         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6152         Declare.
6154         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6155         (fit-frame-to-buffer): Explicit error if --without-x.
6156         (mouse-autoselect-window-select): Silence compiler.
6158         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6160         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6161         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6162         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6163         * eshell/esh-util.el (eshell-sublist):
6164         Remove unused local variables.
6166         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6168         * textmodes/two-column.el: Make 2C-split work for --without-x.
6169         (scroll-bar-columns): Autoload.
6170         (top-level): Require fringe when compiling.
6172 2013-09-18  Leo Liu  <sdl.web@gmail.com>
6174         * subr.el (add-hook): Robustify to handle closure as well.
6176 2013-09-17  Glenn Morris  <rgm@gnu.org>
6178         * simple.el (messages-buffer-mode-map): Unbind "g".
6180 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6182         * help-mode.el (help-mode-finish): Use derived-mode-p.
6183         Remove obsolete highlighting.
6185         * play/life.el (life-mode): Use define-derived-mode.  Derive from
6186         special-mode.
6187         (life): Let-bind inhibit-read-only.
6188         (life-setup): Avoid `setq'.  Use `life-mode'.
6190         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6191         which should not be needed any more.
6192         (package-menu-refresh, package-menu-describe-package): Use user-error.
6194         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6195         (eshell-post-rewrite-command-hook): Make obsolete.
6196         (eshell-parse-command): Simplify.
6197         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6198         (eshell--cmd): Declare.
6199         (eshell-parse-pipeline): Remove unused var `final-p'.
6200         Pass a dynvar to eshell-post-rewrite-command-hook.
6201         Implement the new eshell-post-rewrite-command-function.
6202         (eshell-invoke-directly): Remove unused arg `input'.
6203         * eshell/esh-io.el (eshell-io-initialize):
6204         Use eshell-post-rewrite-command-function (bug#15399).
6205         (eshell--apply-redirections): Rename from eshell-apply-redirections;
6206         adjust to new calling convention.
6207         (eshell-create-handles): Rename args to avoid clashing with dynvar
6208         `standard-output'.
6210 2013-09-17  Glenn Morris  <rgm@gnu.org>
6212         * simple.el (messages-buffer-mode): New major mode.
6213         (messages-buffer): New function.
6214         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6215         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6216         (ert-run-test): Use `messages-buffer' function.
6217         (ert--force-message-log-buffer-truncation): Ignore read-only.
6218         * help.el (view-echo-area-messages): Use `messages-buffer' function.
6219         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6221 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6223         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6225         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6227 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6229         * icomplete.el (icomplete-in-buffer): New var.
6230         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6231         vars and replace them with functions.
6232         (icomplete-minibuffer-setup): Adjust accordingly.
6233         (icomplete--completion-table, icomplete--completion-predicate)
6234         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6235         New functions.
6236         (icomplete-forward-completions, icomplete-backward-completions)
6237         (icomplete-simple-completing-p, icomplete-exhibit)
6238         (icomplete-completions): Use them.
6239         (icomplete--in-region-buffer): New var.
6240         (icomplete--in-region-setup): New function.
6241         (icomplete-mode): Use it.
6243         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6244         (bug#15379).
6245         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6246         return args and options.
6247         (eshell-eval-using-options): Use the new return value of
6248         eshell--do-opts to set the options's vars in their scope.
6249         (eshell--set-option): Rename from eshell-set-option.
6250         Add arg `opt-vals'.
6251         (eshell--process-option): Rename from eshell-process-option.
6252         Add arg `opt-vals'.
6253         (eshell--process-args): Use an `opt-vals' alist to store the options's
6254         values during their processing and return them additionally to the
6255         remaining args.
6257 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
6259         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6260         continuation character an operator, as far as indentation is
6261         concerned (Bug#15369).
6263 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
6265         * window.el (window--state-put-2): Don't process buffer state
6266         when buffer doesn't exist any more (Bug#15382).
6268 2013-09-15  Glenn Morris  <rgm@gnu.org>
6270         * eshell/em-unix.el (eshell/rm):
6271         Make -f ignore missing files.  (Bug#15373)
6273         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
6274         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6275         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6277 2013-09-14  Glenn Morris  <rgm@gnu.org>
6279         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6281 2013-09-13  Glenn Morris  <rgm@gnu.org>
6283         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6284         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
6286 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
6288         * frame.el (x-focus-frame): Mark as declared in frame.c.
6290 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6292         * ls-lisp.el: Use advice-add.
6293         (original-insert-directory): Remove.
6294         (ls-lisp--insert-directory): Rename from insert-directory; add
6295         `orig-fun' argument.
6296         (insert-directory): Advise.
6298 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
6300         * term.el (term-emulate-terminal): Decode the command string
6301         before passing it to term-command-hook.  (Bug#15337)
6303 2013-09-13  Glenn Morris  <rgm@gnu.org>
6305         * eshell/esh-util.el (ange-cache): Move declaration earlier.
6307         * eshell/esh-ext.el (eshell-search-path): Declare.
6309         * eshell/em-prompt.el (eshell/pwd): Autoload it.
6310         Otherwise an error occurs if eshell-dirs module not loaded.
6312         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6314 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
6316         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6317         `tramp-check-proper-host'.  Check for a valid method name.
6319         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6320         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6321         * net/tramp-sh.el (tramp-maybe-open-connection):
6322         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6324         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6325         also for hash values.
6327 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6329         * term/ns-win.el (parameters): Don't declare as dynamic.
6330         (before-make-frame-hook): Don't add ineffective function.
6332         * eshell/*.el: Use lexical-binding (bug#15231).
6334 2013-09-12  Kenichi Handa  <handa@gnu.org>
6336         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6338 2013-09-12  Glenn Morris  <rgm@gnu.org>
6340         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6341         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6343         * subr.el (do-after-load-evaluation): Also give compiler warnings
6344         when obsolete files are used (except by obsolete files).
6346         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6347         in the status output, assume `filename' is the first.  (Bug#15322)
6349         * vc/vc.el (vc-deduce-fileset): Doc fix.
6351         * calc/calc-help.el (Info-goto-node):
6352         * progmodes/cperl-mode.el (Info-find-node):
6353         * vc/ediff.el (Info-goto-node): Update declarations.
6355         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6357         * vc/vc-bzr.el (vc-compilation-mode): Declare.
6358         (vc-bzr-pull): Require vc-dispatcher.
6359         * vc/vc-git.el (vc-compilation-mode): Declare.
6360         (vc-git-pull): Require vc-dispatcher.
6362         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6364         * progmodes/octave.el (help-button-action): Declare.
6366         * shell.el (shell-directory-tracker): Output error as a message
6367         rather than just returning it as a string.
6368         (shell-process-pushd): Remove useless use of message.
6370         * dframe.el (dframe-timer-fn):
6371         * files.el (dir-locals-read-from-file):
6372         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6373         (mpc-format):
6374         * reveal.el (reveal-post-command):
6375         * saveplace.el (load-save-place-alist-from-file):
6376         * shell.el (shell-resync-dirs):
6377         * w32-common-fns.el (x-get-selection-value):
6378         * emacs-lisp/copyright.el (copyright-find-copyright):
6379         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6380         * emulation/tpu-edt.el (tpu-copy-keyfile):
6381         * play/bubbles.el (bubbles--mark-neighbourhood):
6382         * progmodes/executable.el
6383         (executable-make-buffer-file-executable-if-script-p):
6384         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6386 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6388         Cleanup Eshell to rely less on dynamic scoping.
6389         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6390         last-value, and ext-command here.  Bind `args' closer to `body'.
6391         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6392         (eshell--args): Declare new dynamic var.
6393         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
6394         last-value, and ext-command.  Pass `args' to `body'.
6395         (eshell-process-args): Bind eshell--args.
6396         (eshell-set-option): Use eshell--args.
6397         * eshell/eshell.el (eshell): Use derived-mode-p.
6398         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6399         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6400         (eshell-glob-function): Declare.
6401         * eshell/esh-util.el: Require cl-lib.
6402         (eshell-read-hosts-file): Avoid add-to-list.
6403         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6404         `err'.
6405         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6406         Declare.
6407         (eshell/diff): Remove unused var `err'.
6408         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6409         `killflag'.
6410         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6411         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6412         first use.
6413         * eshell/em-glob.el (eshell-glob-matches, message-shown):
6414         Move declaration before first use.
6415         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6416         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6417         rely on cl-return.
6419 2013-09-12  Glenn Morris  <rgm@gnu.org>
6421         * term/ns-win.el (global-map): Remove binding for ispell-next,
6422         deleted 1999-05-29.  (Bug#15357)
6424 2013-09-11  Glenn Morris  <rgm@gnu.org>
6426         * echistory.el (electric-command-history): Remove call to deleted func.
6428         * play/landmark.el (landmark-mode): Fix typos.
6430         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6431         Check cvs-sort-ignore-file is bound.
6433         * savehist.el: No need for cl when compiling on Emacs.
6435 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6437         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6438         (bug#15338).
6439         (eshell-self-insert-command, eshell-send-invisible):
6440         Remove unused argument.
6441         (eshell-handle-control-codes): Remove unused var `orig'.
6442         Avoid delete-backward-char.
6444         * files.el (set-auto-mode): Simplify a bit further.
6446 2013-09-11  Glenn Morris  <rgm@gnu.org>
6448         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6449         (set-auto-mode): Don't regexp-quote elements.
6450         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6451         * progmodes/cc-mode.el (interpreter-mode-alist):
6452         * progmodes/ruby-mode.el (interpreter-mode-alist):
6453         Revert previous change.
6455 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6457         * play/snake.el (snake-mode):
6458         * play/mpuz.el (mpuz-mode):
6459         * play/landmark.el (lm-mode):
6460         * play/blackbox.el (blackbox-mode):
6461         * play/5x5.el (5x5-mode):
6462         * obsolete/options.el (Edit-options-mode):
6463         * net/quickurl.el (quickurl-list-mode):
6464         * net/newst-treeview.el (newsticker-treeview-mode):
6465         * mail/rmailsum.el (rmail-summary-mode):
6466         * mail/mspools.el (mspools-mode):
6467         * locate.el (locate-mode):
6468         * ibuffer.el (ibuffer-mode):
6469         * emulation/ws-mode.el (wordstar-mode):
6470         * emacs-lisp/debug.el (debugger-mode):
6471         * array.el (array-mode):
6472         * net/eudc.el (eudc-mode): Use define-derived-mode.
6473         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6474         Move initialization into declaration.
6475         (mairix-searches-mode): Use define-derived-mode.
6476         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6477         (eudc-edit-hotlist): Use dolist.
6478         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6479         (Man-mode): Use define-derived-mode.
6480         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6481         (Info-edit-mode): Use define-derived-mode.
6482         (Info-cease-edit): Use Info-mode.
6483         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6484         into declaration.
6485         (eshell-mode): Use define-derived-mode.
6486         * chistory.el (command-history-mode-map): Rename from
6487         command-history-map.
6488         (command-history-mode): Use define-derived-mode.
6489         (Command-history-setup): Remove function.
6490         * calc/calc.el (calc-trail-mode-map): New var.
6491         (calc-trail-mode): Use define-derived-mode.
6492         (calc-trail-buffer): Set calc-main-buffer manually.
6493         * bookmark.el (bookmark-insert-annotation): New function.
6494         (bookmark-edit-annotation): Use it.
6495         (bookmark-edit-annotation-mode): Make it a proper major mode.
6496         (bookmark-send-edited-annotation): Use derived-mode-p.
6497         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6498         closer to its ideal place.  Use \' to match EOS.
6500         * profiler.el (profiler-calltree-find): Use function-equal.
6502 2013-09-10  Glenn Morris  <rgm@gnu.org>
6504         * files.el (interpreter-mode-alist): Convert to regexps.
6505         (set-auto-mode): Adapt for this.  (Bug#15306)
6506         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6507         Comment out unused variable.
6508         * progmodes/cc-mode.el (interpreter-mode-alist):
6509         * progmodes/python.el (interpreter-mode-alist):
6510         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6511         * progmodes/sh-script.el (sh-set-shell):
6512         No longer use interpreter-mode-alist to get list of shells.
6514         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6516 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6518         * simple.el: Use set-temporary-overlay-map for universal-argument.
6519         (universal-argument-map): Don't use default-bindings (bug#15317).
6520         Bind switch-frame explicitly.  Replace universal-argument-minus with
6521         a conditional binding.
6522         (universal-argument-num-events, saved-overriding-map): Remove.
6523         (restore-overriding-map): Remove.
6524         (universal-argument--mode): Rename from save&set-overriding-map,
6525         and rewrite.
6526         (universal-argument, universal-argument-more, negative-argument)
6527         (digit-argument): Adjust accordingly.
6528         (universal-argument-minus): Remove.
6529         (universal-argument-other-key): Remove.
6531         * subr.el (with-demoted-errors): Add `format' argument.
6533 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
6535         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
6536         `tramp-cleanup-connection'.
6538         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6539         parameters KEEP-DEBUG and KEEP-PASSWORD.
6541         * net/tramp.el (tramp-file-name-handler):
6542         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6543         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6544         (tramp-maybe-open-connection):
6545         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6546         Use `tramp-cleanup-connection'.
6548         * net/tramp-sh.el (tramp-maybe-open-connection):
6549         Catch 'uname-changed inside the progress reporter.
6551 2013-09-10  Glenn Morris  <rgm@gnu.org>
6553         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
6555         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6556         returns "alternate access method" in mode (eg "-rw-r--r--.").
6558 2013-09-08  Glenn Morris  <rgm@gnu.org>
6560         * saveplace.el (load-save-place-alist-from-file):
6561         Demote errors.  (Bug#15305)
6563 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
6565         Improve compatibility with older Emacsen, and XEmacs.
6567         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6568         only if it is bound.  It isn't for XEmacs.
6569         (with-tramp-progress-reporter): Do not let-bind `result'.
6570         This yields to scoping errors in XEmacs.
6571         (tramp-handle-make-auto-save-file-name): New function, moved from
6572         tramp-sh.el.
6574         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6575         for `make-auto-save-file-name'.
6576         (tramp-adb--gnu-switches-to-ash):
6577         Use `tramp-compat-replace-regexp-in-string'.
6579         * net/tramp-cache.el (tramp-cache-print): Call
6580         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
6582         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6583         bound.  It isn't for XEmacs.
6585         * net/tramp-compat.el (tramp-compat-copy-file):
6586         Catch `wrong-number-of-arguments' error.
6587         (tramp-compat-replace-regexp-in-string): New defun.
6589         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6590         for `make-auto-save-file-name'.
6591         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6592         `copy-file'.
6593         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6594         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6595         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6597         * net/tramp-gw.el (tramp-gw-open-network-stream):
6598         Use `tramp-compat-replace-regexp-in-string'.
6600         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6601         Call `tramp-handle-make-auto-save-file-name'.
6602         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6603         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6604         (tramp-sh-file-inotifywait-process-filter):
6605         Use `tramp-compat-replace-regexp-in-string'.
6606         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6608         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6609         for `make-auto-save-file-name'.
6610         (tramp-smb-handle-copy-directory):
6611         Call `tramp-compat-replace-regexp-in-string'.
6612         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6613         (tramp-smb-handle-copy-file): Improve error message.
6614         (tramp-smb-handle-rename-file): Rename directly only in case
6615         `newname' does not exist yet.  This is a restriction of smbclient.
6616         (tramp-smb-maybe-open-connection): Rerun the function only when
6617         `auth-sources' is non-nil.
6619 2013-09-08  Kenichi Handa  <handa@gnu.org>
6621         * international/characters.el: Set category "^" (Combining) for
6622         more characters.
6624 2013-09-07  Alan Mackenzie  <acm@muc.de>
6626         Correctly fontify Java class constructors.
6627         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6628         in Java Mode.
6629         (c-recognize-typeless-decls): Set the Java value to t.
6630         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6631         While handling a "(", add a check for, effectively, Java, and handle a
6632         "typeless" declaration there.
6634 2013-09-07  Roland Winkler  <winkler@gnu.org>
6636         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6637         field subtitle for entry type book.
6639 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6641         * minibuffer.el: Make minibuffer-complete call completion-in-region
6642         rather than other way around.
6643         (completion--some, completion-pcm--find-all-completions):
6644         Don't delay signals when debugging.
6645         (minibuffer-completion-contents): Beware fields within the
6646         minibuffer contents.
6647         (completion-all-sorted-completions): Use defvar-local.
6648         (completion--do-completion, completion--cache-all-sorted-completions)
6649         (completion-all-sorted-completions, minibuffer-force-complete):
6650         Add args `beg' and `end'.
6651         (completion--in-region-1): New fun, extracted from minibuffer-complete.
6652         (minibuffer-complete): Use completion-in-region.
6653         (completion-complete-and-exit): New fun, extracted from
6654         minibuffer-complete-and-exit.
6655         (minibuffer-complete-and-exit): Use it.
6656         (completion--complete-and-exit): Rename from
6657         minibuffer--complete-and-exit.
6658         (completion-in-region--single-word): New function, extracted from
6659         minibuffer-complete-word.
6660         (minibuffer-complete-word): Use it.
6661         (display-completion-list): Make `common-substring' argument obsolete.
6662         (completion--in-region): Call completion--in-region-1 instead of
6663         minibuffer-complete.
6664         (completion-help-at-point): Pass boundaries to
6665         minibuffer-completion-help as args rather than via an overlay.
6666         (completion-pcm--string->pattern): Use `any-delim'.
6667         (completion-pcm--optimize-pattern): New function.
6668         (completion-pcm--pattern->regex): Handle `any-delim'.
6669         * icomplete.el (icomplete-forward-completions)
6670         (icomplete-backward-completions, icomplete-completions):
6671         Adjust calls to completion-all-sorted-completions and
6672         completion--cache-all-sorted-completions.
6673         (icomplete-with-completion-tables): Default to t.
6674         * emacs-lisp/crm.el (crm--current-element): Rename from
6675         crm--select-current-element.  Don't put an overlay but return the
6676         boundaries instead.
6677         (crm--completion-command): Take two new args to bind to the boundaries.
6678         (crm-completion-help): Adjust accordingly.
6679         (crm-complete): Use completion-in-region.
6680         (crm-complete-word): Use completion-in-region--single-word.
6681         (crm-complete-and-exit): Use completion-complete-and-exit.
6683 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6685         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6686         than dynamically.
6688 2013-09-06  Juri Linkov  <juri@jurta.org>
6690         * info.el (Info-display-images-node): When image file doesn't exist
6691         display text version of the image if it's provided in the Info file.
6692         Otherwise, display the location of missing image from SRC attribute.
6693         Add help-echo text property from ALT attribute.  (Bug#15279)
6695 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6697         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6698         (edit-abbrevs-mode): Use define-derived-mode.
6700         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6701         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6702         that it's defined.
6703         (epa-key-list-mode, epa-key-mode, epa-info-mode):
6704         Use define-derived-mode.
6706         * epg.el (epg-start-encrypt): Minor CSE simplification.
6708 2013-09-06  William Xu  <william.xwl@gmail.com>
6710         * arc-mode.el: Add support for 7za (bug#15264).
6711         (archive-7z-program): New var.
6712         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6713         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6714         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6716 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
6718         Remove URL syntax.
6720         * net/tramp.el (tramp-syntax, tramp-prefix-format)
6721         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6722         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6723         (tramp-postfix-host-format, tramp-file-name-regexp)
6724         (tramp-completion-file-name-regexp)
6725         (tramp-completion-dissect-file-name)
6726         (tramp-handle-substitute-in-file-name): Remove 'url case.
6727         (tramp-file-name-regexp-url)
6728         (tramp-completion-file-name-regexp-url): Remove constants.
6730 2013-09-06  Glenn Morris  <rgm@gnu.org>
6732         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
6734 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
6736         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6737         keywords" below "here-doc beginnings" (Bug#15270).
6739 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6741         * subr.el (pop): Use `car-safe'.
6742         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6743         to detect unused `pop' return value.
6745         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6746         var `block-regexp'.
6747         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6748         (python-fill-string): Remove unused var `marker'.
6749         (python-skeleton-add-menu-items): Remove unused var `items'.
6751         * international/mule-cmds.el: Require CL.
6752         (find-coding-systems-for-charsets): Avoid add-to-list.
6753         (sanitize-coding-system-list): New function, extracted from
6754         select-safe-coding-system-interactively.
6755         (select-safe-coding-system-interactively): Use it.
6756         (read-input-method-name): Accept symbols for `default'.
6758         * emacs-lisp/advice.el (defadvice): Add indent rule.
6760 2013-09-05  Daniel Hackney  <dan@haxney.org>
6762         * dired-x.el:
6763         * net/ange-ftp.el:
6764         * net/browse-url.el:
6765         * net/dbus.el:
6766         * net/eudc.el:
6767         * net/eudcb-ldap.el:
6768         * net/eww.el:
6769         * net/imap.el:
6770         * printing.el:
6771         * vc/ediff-diff.el:
6772         * vc/ediff-init.el:
6773         * vc/ediff-merg.el:
6774         * vc/ediff-mult.el:
6775         * vc/ediff-util.el:
6776         * vc/ediff-wind.el:
6777         * vc/ediff.el:
6778         * vc/emerge.el:
6779         * vc/pcvs.el:
6780         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6781         byte compiler.  Remove some unused let-bound variables.
6783 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6785         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6786         a "ref-cell", since it gets better optimized (bug#14883).
6788 2013-09-05  Glenn Morris  <rgm@gnu.org>
6790         * progmodes/cc-awk.el (c-forward-sws): Declare.
6792 2013-09-04  Glenn Morris  <rgm@gnu.org>
6794         * generic-x.el [rul-generic-mode]: Require cc-mode.
6795         (c++-mode-syntax-table): Declare.
6796         (rul-generic-mode-syntax-table): Init in the defvar.
6798 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6800         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6801         (vc-do-command, vc-set-async-update):
6802         * vc/vc-mtn.el (vc-mtn-dir-status):
6803         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6804         (vc-hg-pull, vc-hg-merge-branch):
6805         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6806         (vc-git-merge-branch):
6807         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6808         (vc-cvs-dir-status-files):
6809         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6810         (vc-bzr-dir-status-files):
6811         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6812         * vc/vc-annotate.el: Use lexical-binding.
6813         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6814         (vc-sentinel-movepoint): Declare.
6815         (vc-annotate): Don't use `goto-line'.
6816         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6817         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6818         (vc-sentinel-movepoint): Declare.
6819         * vc/vc-svn.el: Use lexical-binding.
6820         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6821         * vc/vc-sccs.el:
6822         * vc/vc-rcs.el: Use lexical-binding.
6824         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6825         `deleted'.  Don't drop errors silently.
6827         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6829 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
6831         * vc/vc.el (vc-ignore): Rewrite.
6832         (vc-default-ignore): New function.
6833         (vc-default-ignore-completion-table): Use find-ignore-file.
6835         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6836         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6837         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6838         Remove.  Most code moved to vc.el.
6840 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6842         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6843         * net/tramp-smb.el (tramp-smb-get-file-entries):
6844         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6845         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6847         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6848         Update call to it.
6849         (eww-change-select): Remove unused var `properties'.
6850         (eww-make-unique-file-name): Remove unused var `base'.
6852         * finder.el (finder-compile-keywords): Don't mess with windows.
6854         * calculator.el (calculator-funcall): Fix typo in last change.
6856         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6858         * emacs-lisp/package.el (package-activate-1): Don't let a missing
6859         <pkg>-autoloads.el file stop us.
6861         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6862         warnings, and factor out common code.
6864 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
6866         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6867         two-character operators and whether the character preceding them
6868         changes their meaning (Bug#15208).
6870 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6872         Format code sent to Python shell for robustness.
6873         * progmodes/python.el (python-shell-buffer-substring):
6874         New function.
6875         (python-shell-send-region, python-shell-send-buffer): Use it.
6877 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
6879         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6880         * net/tramp.el (tramp-user-error): ... here.
6881         (tramp-find-method, tramp-check-proper-host)
6882         (tramp-dissect-file-name, tramp-debug-message)
6883         (tramp-handle-shell-command):
6884         * net/tramp-adb.el (tramp-adb-handle-shell-command):
6885         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6887         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6889 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
6891         * avoid.el (mouse-avoidance-point-position)
6892         (mouse-avoidance-too-close-p): Handle case where posn-at-point
6893         returns nil.
6895 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6897         * progmodes/python.el (python-shell-completion-get-completions):
6898         Drop use of deleted `comint-last-prompt-overlay'.
6899         (python-nav-if-name-main): New command.
6901 2013-09-01  Glenn Morris  <rgm@gnu.org>
6903         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6904         Avoid leading space in $wins.  Otherwise the sed command used by
6905         eg compile-main ends up containing "/*.el".  (Bug#15170)
6907         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
6909 2013-08-30  Glenn Morris  <rgm@gnu.org>
6911         * emacs-lisp/bytecomp.el (byte-recompile-directory):
6912         Fix is-this-a-directory logic.  (Bug#15220)
6914 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6916         * textmodes/css-mode.el: Use SMIE.
6917         (css-smie-grammar): New var.
6918         (css-smie--forward-token, css-smie--backward-token)
6919         (css-smie-rules): New functions.
6920         (css-mode): Use them.
6921         (css-navigation-syntax-table): Remove var.
6922         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6923         (css-indent-calculate, css-indent-line): Remove functions.
6925         Misc changes to reduce use of `(lambda...); and other cleanups.
6926         * cus-edit.el: Use lexical-binding.
6927         (customize-push-and-save, customize-apropos)
6928         (custom-buffer-create-internal): Use closures.
6929         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6930         * progmodes/ada-xref.el: Use setq.
6931         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6932         * dframe.el: Use lexical-binding.
6933         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
6934         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6935         * descr-text.el: Use lexical-binding.
6936         (describe-text-widget, describe-text-sexp, describe-property-list):
6937         Use closures.
6938         * comint.el (comint-history-isearch-push-state): Use a closure.
6939         * calculator.el: Use lexical-binding.
6940         (calculator-number-to-string): Make it work with lexical-binding.
6941         (calculator-funcall): Same and use cl-letf.
6943         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6944         (lisp--company-doc-string, lisp--company-location): New functions.
6945         (lisp-completion-at-point): Use them to improve Company support.
6947         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6948         params of lambda expressions.
6949         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6950         (ruby-smie--opening-pipe-p): New function.
6951         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6952         symbols and matched |...| for formal params.
6953         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6954         from being treated as hanging.  Handle "rescue".
6956 2013-08-29  Glenn Morris  <rgm@gnu.org>
6958         * progmodes/cc-engine.el (c-pull-open-brace):
6959         Move definition before use.
6961 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6963         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6964         are immutable.  Don't use `unsafe' any more.
6965         (cl--defsubst-expand): Don't substitute at the same time as keeping
6966         a residual unused let-binding.  Don't use `unsafe' any more.
6968 2013-08-29  Glenn Morris  <rgm@gnu.org>
6970         * calendar/cal-china.el (calendar-chinese-year-cache):
6971         Recenter on 2015.
6973         * nxml/nxml-util.el (nxml-debug-clear-inside):
6974         Use cl-loop rather than loop.
6976         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6978         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6980 2013-08-28  Glenn Morris  <rgm@gnu.org>
6982         * progmodes/antlr-mode.el: No need to require cc-mode twice.
6984         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6986         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6988 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6990         * simple.el (repeat-complex-command--called-interactively-skip):
6991         New function.
6992         (repeat-complex-command): Use it (bug#14136).
6994         * progmodes/cc-mode.el: Minor cleanup of var declarations.
6995         (c-define-abbrev-table): Add `doc' argument.
6996         (c-mode-abbrev-table, c++-mode-abbrev-table)
6997         (objc-mode-abbrev-table, java-mode-abbrev-table)
6998         (idl-mode-abbrev-table, pike-mode-abbrev-table)
6999         (awk-mode-abbrev-table): Use it.
7000         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7001         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7002         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7003         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7004         Move initialization into the declaration; and remove any
7005         autoload cookie.
7007         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7008         and dynamic let binding.
7010         * vc/smerge-mode.el: Remove redundant :group args.
7012         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7013         to load-path.
7015 2013-08-28  Juri Linkov  <juri@jurta.org>
7017         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7018         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7019         (isearch-other-meta-char): Handle an undefined shifted printing
7020         character by downshifting it.  (Bug#15200)
7022 2013-08-28  Juri Linkov  <juri@jurta.org>
7024         * isearch.el (isearch-search): Change regexp error message for
7025         non-regexp searches.  (Bug#15166)
7027 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
7029         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7030         for portability to hosts where /bin/sh has problems.
7032 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7034         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7036 2013-08-27  Juri Linkov  <juri@jurta.org>
7038         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7039         in the keyboard macro.  (Bug#15126)
7041 2013-08-27  Juri Linkov  <juri@jurta.org>
7043         * isearch.el (isearch-quote-char): Comment out converting unibyte
7044         to multibyte, thus syncing with its `quoted-insert' counterpart.
7045         (Bug#15166)
7047 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
7049         * window.el (display-buffer-use-some-window): Add missing
7050         argument in call of get-largest-window (Bug#15185).
7051         Reported by Stephen Leake.
7053 2013-08-27  Glenn Morris  <rgm@gnu.org>
7055         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7057 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7059         * progmodes/python.el (python-font-lock-keywords): Don't return nil
7060         from a matcher-function unless there's no more matches (bug#15161).
7062 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
7064         * minibuffer.el: Revert change from 2013-08-20.
7066         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7067         with text property `tramp-default', if appropriate.
7068         (tramp-check-proper-host): New defun.
7069         (tramp-dissect-file-name): Do not check hostname.  Revert change
7070         of 2013-03-18.
7071         (tramp-backtrace): Make VEC-OR-PROC optional.
7073         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7074         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7075         * net/tramp-sh.el (tramp-maybe-open-connection):
7076         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7077         Apply `tramp-check-proper-host'.
7079 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
7081         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7082         lambda expression in order to have `describe-variable' display it.
7084 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
7086         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7087         BUF can be optional.  (Bug#15186)
7089 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
7091         * progmodes/flymake.el (flymake-get-real-file-name-function):
7092         Fix broken customization.  (Bug#15184)
7094 2013-08-25  Alan Mackenzie  <acm@muc.de>
7096         Improve indentation of bracelists defined by macros (without "=").
7098         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7099         expansion begins with "{", regard it as bracelist when it doesn't
7100         contain a ";".
7102         Parse C++ inher-intro when there's a template split over 2 lines.
7104         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7105         rigorously the search for "class" etc. followed by ":".
7107         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7108         random languages a regexp which never matches rather than nil.
7110         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7112         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7113         (c-awk-regexp-one-line-possibly-open-char-list-re)
7114         (c-awk-one-line-possibly-open-regexp-re)
7115         (c-awk-one-line-non-syn-ws*-re): Remove.
7116         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7117         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7118         (c-awk-space*-unclosed-regexp-/-re): New constants.
7119         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7120         aren't regexp delimiters.
7122         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7123         handling for a rare situation in AWK Mode involving unterminated
7124         strings/regexps.
7126 2013-08-23  Glenn Morris  <rgm@gnu.org>
7128         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7130         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7132         * files.el (create-file-buffer): If the result would begin with
7133         spaces, prepend a "|" instead of removing them.  (Bug#15162)
7135 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7137         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7138         text-properties (bug#15155).
7140         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7141         exist any more.
7142         (calc-keypad-redraw): Remove unused var `pad'.
7143         (calc-keypad-press): Remove unused var `menu'.
7145 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
7147         * window.el (display-buffer-pop-up-frame):
7148         Call pop-up-frame-function with BUFFER current so `make-frame' will
7149         use it as the new frame's buffer (Bug#15133).
7151 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7153         * calendar/timeclock.el: Minor cleanups.
7154         (timeclock-ask-before-exiting, timeclock-use-display-time):
7155         Use `symbol'.
7156         (timeclock-modeline-display): Define as alias before the
7157         actual definition.
7158         (timeclock-mode-line-display): Use define-minor-mode.
7159         (timeclock-day-list-template): Make it a function, add an argument.
7160         (timeclock-day-list-required, timeclock-day-list-length)
7161         (timeclock-day-list-debt, timeclock-day-list-span)
7162         (timeclock-day-list-break): Adjust calls accordingly.
7164 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7166         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7167         Use read--expression so that completion works again.
7169 2013-08-21  Sam Steingold  <sds@gnu.org>
7171         Add rudimentary inferior shell interaction
7172         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7173         (sh-set-shell): Reset it.
7174         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7175         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7177 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7179         * align.el: Use lexical-binding.
7180         (align-region): Simplify accordingly.
7182 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
7184         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7186         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7187         `non-essential' up.
7189 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
7191         * net/tramp.el:
7192         * net/tramp-adb.el:
7193         * net/tramp-cmds.el:
7194         * net/tramp-ftp.el:
7195         * net/tramp-gvfs.el:
7196         * net/tramp-gw.el:
7197         * net/tramp-sh.el: Don't wrap external variable declarations by
7198         `eval-when-compile'.
7200 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7202         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7203         now that Emacs supports ImageMagick animations.
7205 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
7207         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7208         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7210 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
7212         * window.el (mouse-autoselect-window-select): Do autoselect when
7213         mouse pointer is on margin.
7215 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
7217         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
7219 2013-08-16  Glenn Morris  <rgm@gnu.org>
7221         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7222         Handle "Remote Directory" response of some clients.  (Bug#15058)
7224         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7225         Tweak warning.  (Bug#14926)
7227         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7228         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
7230         * image-mode.el (image-mode-map): Add menu items to reverse,
7231         increase, decrease, reset animation speed.
7232         (image--set-speed, image-increase-speed, image-decrease-speed)
7233         (image-reverse-speed, image-reset-speed): New functions.
7234         (image-mode-map): Add bindings for speed commands.
7236         * image.el (image-animate-get-speed, image-animate-set-speed):
7237         New functions.
7238         (image-animate-timeout): Respect image :speed property.
7240 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7242         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7243         previous line (bug#15101).
7244         (debugger-eval-expression, debugger-record-expression):
7245         Use read--expression (bug#15102).
7247 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
7249         Remove byte compiler warnings, visible when compiling with
7250         `byte-compile-force-lexical-warnings' set to t.
7252         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7253         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7254         (tramp-handle-unhandled-file-name-directory)
7255         (tramp-handle-file-notify-add-watch, tramp-action-login)
7256         (tramp-action-succeed, tramp-action-permission-denied)
7257         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7258         arguments with "_".
7260         * net/tramp-adb.el (tramp-adb-parse-device-names)
7261         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7262         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7263         (tramp-adb-handle-file-truename): Remove unused arguments.
7265         * net/tramp-cache.el (tramp-flush-directory-property)
7266         (tramp-flush-connection-property, tramp-list-connections)
7267         (tramp-parse-connection-properties): Prefix unused arguments with "_".
7269         * net/tramp-compat.el (tramp-compat-make-temp-file):
7270         Rename FILENAME to F.
7272         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7273         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7274         (tramp-zeroconf-parse-workstation-device-names)
7275         (tramp-zeroconf-parse-webdav-device-names)
7276         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7278         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7279         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7281         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7282         arguments.
7283         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7284         (tramp-sh-handle-insert-file-contents-literally)
7285         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7286         with "_".
7287         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7288         Remove unused variables.
7290         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7291         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7292         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7294         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7295         Make them a defconst.
7296         (tramp-uuencode-region): Remove unused variable.
7298 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
7300         * frameset.el (frameset--prop-setter): New function.
7301         (frameset-prop): Add gv-setter declaration.
7302         (frameset-filter-minibuffer): Deal with the case that the minibuffer
7303         parameter was already set in FILTERED.  Doc fix.
7304         (frameset--record-minibuffer-relationships): Allow saving a
7305         minibufferless frame without its corresponding minibuffer frame.
7306         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7307         frame, if the frame id matches.
7308         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7309         frames before orphaned ones.
7310         (frameset-restore): Warn about orphaned windows, instead of error out.
7312 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
7314         * window.el (window-make-atom): Don't overwrite parameter
7315         already present.
7316         (display-buffer-in-atom-window): Handle special case where we
7317         split an already atomic window.
7318         (window--major-non-side-window, display-buffer-in-side-window)
7319         (window--side-check): Ignore minibuffer window when walking
7320         window tree.
7321         (window-deletable-p): Return 'frame only if no other frame uses
7322         our minibuffer window.
7323         (record-window-buffer): Run buffer-list-update-hook.
7324         (split-window): Make sure window--check-frame won't destroy an
7325         existing atomic window in case the new window gets nested
7326         inside.
7327         (display-buffer-at-bottom): Ignore minibuffer window when
7328         walking window tree.  Don't split a side window.
7329         (pop-to-buffer): Don't set-buffer here, the select-window call
7330         should do that.
7331         (mouse-autoselect-window-select): Autoselect only if we are in the
7332         text portion of the window.
7334 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7336         * net/shr.el (shr-parse-image-data): New function to grab both the
7337         data itself and the Content-Type.
7338         (shr-put-image): Use it.
7340         * net/eww.el (eww-display-image): Ditto.
7342         * image.el (image-content-type-suffixes): New variable.
7344 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7346         * progmodes/python.el (python-imenu--build-tree)
7347         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7349 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
7351         * simple.el (backward-word): Mention the optional argument.
7353 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7355         * frameset.el (frameset--make): Rename constructor from make-frameset.
7356         (frameset-p, frameset-valid-p): Don't autoload.
7357         (frameset-valid-p): Use normal accessors.
7359 2013-08-13  Glenn Morris  <rgm@gnu.org>
7361         * progmodes/compile.el (compile-command): Tweak example in doc.
7362         * obsolete/scribe.el (scribe-mode):
7363         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
7365         * mail/feedmail.el (feedmail-confirm-outgoing)
7366         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7368         * cus-start.el (truncate-partial-width-windows): Fix type.
7370         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7372         * net/shr.el (shr-table-horizontal-line): Fix custom type.
7374 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7376         * emacs-lisp/timer.el (timer--time-setter): New function.
7377         (timer--time): Use it as gv-setter.
7379         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7380         setter is not a symbol.
7382 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
7384         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7385         if sending fails.  This makes debugging easier.
7387 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
7389         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7390         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7391         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7393 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
7395         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7397 2013-08-12  Glenn Morris  <rgm@gnu.org>
7399         * format.el (format-annotate-function):
7400         Handle read-only text properties in the source.  (Bug#14887)
7402 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7404         * net/eww.el (eww-display-html): Ignore coding system errors.
7405         One web site uses "utf-8lias" as the coding system.
7407 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
7409         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7411 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
7413         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7414         (tutorial--detailed-help): Remove unused local variables.
7415         (tutorial--save-tutorial-to): Use ignore-errors.
7416         (help-with-tutorial): Use looking-at-p.
7418         * view.el (view-buffer-other-window, view-buffer-other-frame):
7419         Mark unused arguments.
7421         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7422         (woman-select-symbol-fonts, woman, woman-find-file)
7423         (woman-insert-file-contents, woman-non-underline-faces):
7424         Use string-match-p.
7425         (woman1-unquote): Move declaration.
7427         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7428         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
7429         argument.  Remove unused local variable.
7430         (xml-parse-elem-type): Use string-match-p.
7431         (xml-substitute-numeric-entities): Use ignore-errors.
7433         * calculator.el (calculator): Mark unused argument.
7434         (calculator-paste, calculator-quit, calculator-integer-p):
7435         Use ignore-errors.
7436         (calculator-string-to-number, calculator-decimal, calculator-exp)
7437         (calculator-op-or-exp): Use string-match-p.
7439         * dired.el (dired-buffer-more-recently-used-p): Declare.
7440         (dired-insert-set-properties, dired-insert-old-subdirs):
7441         Use ignore-errors.
7443         * dired-aux.el (dired-compress): Use ignore-errors.
7444         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7445         (dired-do-async-shell-command, dired-do-shell-command)
7446         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7447         (dired-insert-subdir-validate): Use string-match-p.
7448         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7449         (dired-add-entry): Use string-match-p, looking-at-p.
7450         (dired-insert-subdir-newpos): Remove unused local variable.
7452         * filenotify.el (file-notify-callback): Remove unused local variable.
7454         * filesets.el (filesets-error): Mark unused argument.
7455         (filesets-which-command-p, filesets-filter-dir-names)
7456         (filesets-directory-files, filesets-get-external-viewer)
7457         (filesets-ingroup-get-data): Use string-match-p.
7459         * find-file.el (ff-other-file-name, ff-other-file-name)
7460         (ff-find-the-other-file, ff-cc-hh-converter):
7461         Remove unused local variables.
7462         (ff-get-file-name): Use string-match-p.
7463         (ff-all-dirs-under): Use ignore-errors.
7465         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7466         (follow-select-if-visible): Remove unused local variable.
7468         * forms.el (read-file-filter): Move declaration.
7469         (forms--make-format, forms--make-parser, forms-insert-record):
7470         Quote function with #'.
7471         (forms--update): Use string-match-p.  Quote function with #'.
7473         * help-mode.el (help-dir-local-var-def): Mark unused argument.
7474         (help-make-xrefs): Use looking-at-p.
7475         (help-xref-on-pp): Use looking-at-p, ignore-errors.
7477         * ibuffer.el (ibuffer-ext-visible-p): Declare.
7478         (ibuffer-confirm-operation-on): Use string-match-p.
7480         * msb.el (msb-item-handler, msb-dired-item-handler):
7481         Mark unused arguments.
7483         * ses.el (ses-decode-cell-symbol)
7484         (ses-kill-override): Remove unused local variable.
7485         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7486         (ses-load): Use ignore-errors, looking-at-p.
7487         (ses-jump-safe): Use ignore-errors.
7488         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7490         * tabify.el (untabify, tabify): Mark unused arguments.
7492         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7493         Mark unused argument.
7494         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7495         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7497         * emacs-lisp/timer.el (timer--time): Define setter with
7498         gv-define-setter to avoid deprecation warning.
7500         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7501         (*record-cmpl-statistics-p*): Remove (was commented out).
7502         (cmpl-statistics-block): Remove (body was commented out).
7503         All callers changed.
7504         (add-completions-from-buffer, load-completions-from-file):
7505         Remove unused variables.
7507 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
7509         * filecache.el (file-cache-delete-file-list):
7510         Print message only when told so.
7511         (file-cache-files-matching): Use #' in mapconcat argument.
7513         * ffap.el (ffap-url-at-point): Fix reference to variable
7514         thing-at-point-default-mail-uri-scheme.
7516 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7518         * subr.el (define-error): New function.
7519         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7520         error-file-not-found and define with define-error.
7521         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7522         and define with define-error.
7523         * userlock.el (file-locked, file-supersession):
7524         * simple.el (mark-inactive):
7525         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7526         * progmodes/ada-mode.el (ada-mode-errors):
7527         * play/life.el (life-extinct):
7528         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7529         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7530         * nxml/rng-util.el (rng-error):
7531         * nxml/rng-uri.el (rng-uri-error):
7532         * nxml/rng-match.el (rng-compile-error):
7533         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7534         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7535         * nxml/nxml-rap.el (nxml-scan-error):
7536         * nxml/nxml-outln.el (nxml-outline-error):
7537         * net/soap-client.el (soap-error):
7538         * net/gnutls.el (gnutls-error):
7539         * net/ange-ftp.el (ftp-error):
7540         * mpc.el (mpc-proc-error):
7541         * json.el (json-error, json-readtable-error, json-unknown-keyword)
7542         (json-number-format, json-string-escape, json-string-format)
7543         (json-key-format, json-object-format):
7544         * jka-compr.el (compression-error):
7545         * international/quail.el (quail-error):
7546         * international/kkc.el (kkc-error):
7547         * emacs-lisp/ert.el (ert-test-failed):
7548         * calc/calc.el (calc-error, inexact-result, math-overflow)
7549         (math-underflow):
7550         * bookmark.el (bookmark-error-no-filename):
7551         * epg.el (epg-error): Define with define-error.
7553         * time.el (display-time-event-handler)
7554         (display-time-next-load-average): Don't call sit-for since it seems
7555         unnecessary (bug#15045).
7557         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7558         Use #' instead of ' to quote functions.
7559         (checkdoc-output-mode): Use setq-local.
7560         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7561         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7562         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7563         (checkdoc-ispell, checkdoc-ispell-current-buffer)
7564         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7565         (checkdoc-ispell-message-text, checkdoc-ispell-start)
7566         (checkdoc-ispell-continue, checkdoc-ispell-comments)
7567         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7569         * ido.el (ido-completion-help): Fix up compiler warning.
7571 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
7573         * frameset.el (frameset-p): Add autoload cookie.
7574         (frameset--jump-to-register): New function, based on code moved from
7575         register.el.
7576         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
7578         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7579         (frameset-restore, frameset-save, frameset-session-filter-alist):
7580         Remove declarations.
7581         (register-alist): Doc fix.
7582         (frameset-to-register): Move to frameset.el.
7583         (jump-to-register, describe-register-1): Remove frameset-specific code.
7585 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
7587         * allout-widgets.el (allout-widgets-pre-command-business)
7588         (allout-widgets-post-command-business)
7589         (allout-widgets-after-change-handler)
7590         (allout-decorate-item-and-context, allout-set-boundary-marker)
7591         (allout-body-modification-handler)
7592         (allout-graphics-modification-handler): Mark ignored arguments.
7593         (allout-widgets-post-command-business)
7594         (allout-widgets-exposure-change-processor)
7595         (allout-widgets-exposure-undo-processor)
7596         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7597         (allout-parse-item-at-point, allout-decorate-item-guides)
7598         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7599         * allout.el (epa-passphrase-callback-function): Declare.
7600         (allout-overlay-insert-in-front-handler)
7601         (allout-overlay-interior-modification-handler)
7602         (allout-isearch-end-handler, allout-chart-siblings)
7603         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7604         (allout-yank-processing, allout-process-exposed)
7605         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7606         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7607         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7608         (lisp-indent-defform): Mark ignored arguments.
7609         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
7610         (calculate-lisp-indent): Remove unused variables.
7611         * international/characters.el (indian-2-column, arabic-2-column)
7612         (tibetan): Mark ignored arguments.
7613         (use-cjk-char-width-table): Mark ignored arguments.
7614         Remove unused variables.
7615         * international/fontset.el (build-default-fontset-data)
7616         (x-compose-font-name, create-fontset-from-fontset-spec):
7617         Mark ignored arguments.
7618         (fontset-plain-name): Remove unused variables.
7619         * international/mule.el (charset-id, charset-bytes, generic-char-p)
7620         (keyboard-coding-system): Mark ignored arguments.
7621         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
7622         * help.el (resize-temp-buffer-window):
7623         * window.el (display-buffer-in-major-side-window)
7624         (display-buffer-in-side-window, display-buffer-in-previous-window):
7625         Remove unused variables.
7626         * isearch.el (isearch-forward-symbol):
7627         * version.el (emacs-bzr-version-bzr):
7628         * international/mule-cmds.el (current-language-environment):
7629         * term/common-win.el (x-handle-iconic, x-handle-geometry)
7630         (x-handle-display):
7631         * term/pc-win.el (x-list-fonts, x-display-planes)
7632         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7633         (x-server-version, x-display-screens, x-display-mm-height)
7634         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7635         (x-selection-owner-p, x-own-selection-internal)
7636         (x-disown-selection-internal, x-get-selection-internal)
7637         (msdos-initialize-window-system):
7638         * term/tty-colors.el (tty-color-alist, tty-color-clear):
7639         * term/x-win.el (x-handle-no-bitmap-icon):
7640         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7641         (vc-default-find-file-hook, vc-default-extra-menu):
7642         Mark ignored arguments.
7644 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7646         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7647         break-condition in the context of the debugged code (bug#12685).
7649 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
7651         * comint.el:
7652         Do not use an overlay to highlight the last prompt.  (Bug#14744)
7653         (comint-mode): Make comint-last-prompt buffer local.
7654         (comint-last-prompt): New variable.
7655         (comint-last-prompt-overlay): Remove.  Superseded by
7656         comint-last-prompt.
7657         (comint-snapshot-last-prompt, comint-output-filter):
7658         Use comint-last-prompt.
7660 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
7662         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
7663         (frameset-save): Check validity of the resulting frameset.
7665 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
7667         * ido.el (ido-record-command): Add doc string.
7669 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
7671         * frameset.el (frameset): Do not disable creation of the default
7672         frameset-p predicate.  Doc fix.
7673         (frameset-valid-p): New function, copied from the old predicate-p.
7674         Add additional checks.
7675         (frameset-restore): Check with frameset-valid-p.
7676         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7677         (frameset-name, frameset-description, frameset-properties)
7678         (frameset-states): Add docstring.
7679         (frameset-session-filter-alist, frameset-persistent-filter-alist)
7680         (frameset-filter-alist): Doc fixes.
7682 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
7684         * frameset.el (frameset-p, frameset-prop): Doc fixes.
7686 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7688         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7689         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7690         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7691         (byte-compile-normal-call): Remove obsolescence check.
7693 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
7695         * frameset.el (frameset-restore): Doc fix.
7697         * register.el (frameset-frame-id, frameset-frame-with-id)
7698         (frameset-p, frameset-restore, frameset-save): Declare.
7699         (register-alist): Document framesets.
7700         (frameset-session-filter-alist): Declare.
7701         (frameset-to-register): New function.
7702         (jump-to-register): Implement jumping to framesets.  Doc fix.
7703         (describe-register-1): Describe framesets.
7705         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7707 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
7709         * desktop.el (desktop-save-frameset): Use new frameset-save args.
7710         Use lexical-binding.
7712         * frameset.el (frameset): Use type vector, not list (incompatible
7713         change).  Do not declare a new constructor, use the default one.
7714         Upgrade suggested properties `app', `name' and `desc' to slots `app',
7715         `name' and `description', respectively, and add read-only slot
7716         `timestamp'.  Doc fixes.
7717         (frameset-copy, frameset-persistent-filter-alist)
7718         (frameset-filter-alist, frameset-switch-to-gui-p)
7719         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7720         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7721         (frameset-filter-iconified, frameset-keep-original-display-p):
7722         Doc fixes.
7723         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7724         Rename from frameset-filter-(save|restore)-param.  All callers changed.
7725         Doc fix.
7726         (frameset-p): Adapt to change to vector and be more thorough.
7727         Change arg name to OBJECT.  Doc fix.
7728         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
7729         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7730         All callers changed.
7731         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7732         All callers changed.
7733         (frameset--record-minibuffer-relationships): Rename from
7734         frameset--process-minibuffer-frames.  All callers changed.
7735         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7736         Use new default constructor (again).  Doc fix.
7737         (frameset--find-frame-if): Rename from `frameset--find-frame'.
7738         All callers changed.
7739         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7740         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7741         Doc fix.
7742         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7743         PARAMETERS and WINDOW-STATE, respectively.
7744         (frameset-restore): Add new keyword argument PREDICATE.
7745         Reset frameset--target-display to nil.  Doc fix.
7747 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7749         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7750         (bat-mode): Use it.
7751         (bat-mode-syntax-table): Mark \n as end-of-comment.
7752         (bat-font-lock-keywords): Remove comment rule.
7754         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
7755         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
7757         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7758         (byte-compile-callargs-warn): Use `push'.
7759         (byte-compile-arglist-warn): Ignore higher-order "calls".
7760         (byte-compile-file-form-autoload): Use `pcase'.
7761         (byte-compile-function-form): If quoting a symbol, check that it exists.
7763 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
7765         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7766         and add a few popular commands found in batch files.
7767         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7768         (dos-mode): Doc fixes.
7770 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7772         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7773         (dos-mode): Use setq-local.  Add space after "rem".
7774         (dos-mode-syntax-table): Don't use "w" for symbol chars.
7775         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7777 2013-08-07  Arni Magnusson  <arnima@hafro.is>
7779         * progmodes/dos.el: New file.
7780         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7781         dos-mode.
7783 2013-08-06  Glenn Morris  <rgm@gnu.org>
7785         * calendar/calendar.el: Add new faces, and day-header-array.
7786         (calendar-weekday-header, calendar-weekend-header)
7787         (calendar-month-header): New faces.
7788         (calendar-day-header-construct): New function.
7789         (calendar-day-header-width): Also :set calendar-day-header-array.
7790         (calendar-american-month-header, calendar-european-month-header)
7791         (calendar-iso-month-header): Use calendar- faces.
7792         (calendar-generate-month):
7793         Use calendar-day-header-array for day headers; apply faces to them.
7794         (calendar-mode): Check calendar-font-lock-keywords non-nil.
7795         (calendar-abbrev-construct): Add optional maxlen argument.
7796         (calendar-day-name-array): Doc fix.
7797         (calendar-day-name-array, calendar-abbrev-length)
7798         (calendar-day-abbrev-array):
7799         Also :set calendar-day-header-array, and maybe redraw.
7800         (calendar-day-header-array): New option.  (Bug#15007)
7801         (calendar-font-lock-keywords): Set to nil and make obsolete.
7802         (calendar-day-name): Add option to use header array.
7804 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7806         * net/shr.el (shr-render-td): Remove debugging.
7807         (shr-render-td): Make width computation consistent by defaulting
7808         all zero-width columns to 10 characters.  This may not be optimal,
7809         but it's at least consistent.
7810         (shr-make-table-1): Redo last change to fix the real problem in
7811         colspan handling.
7813 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
7815         * files.el (cache-long-line-scans):
7816         Make obsolete alias to `cache-long-scans'.
7818 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
7820         * frameset.el (frameset, frameset-filter-alist)
7821         (frameset-filter-params, frameset-save, frameset--reuse-frame)
7822         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7823         (frameset-compute-pos): Rename from frameset--compute-pos,
7824         and add docstring.
7825         (frameset-move-onscreen): Use frameset-compute-pos.
7826         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7828         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7829         Fix typos in docstrings.
7831 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
7833         * frame.el (get-other-frame): Tiny cleanup.
7835 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
7837         * vc/vc.el (vc-default-ignore-completion-table):
7838         Silence byte-compiler warning.
7840         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7841         slot, which can indeed be nil.
7842         (frameset-live-filter-alist, frameset-persistent-filter-alist):
7843         Move entry for `left' from persistent to live filter alist.
7844         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7845         Doc fixes.
7846         (frameset-filter-params): When restoring a frame, copy items added to
7847         `filtered', to avoid unwittingly modifying the original parameters.
7848         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
7849         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7851         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7852         to use looking-at-p instead of looking-at.  (Bug#15028)
7854 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7856         Revert introduction of isearch-filter-predicates (bug#14714).
7857         Rely on add-function instead.
7858         * isearch.el (isearch-filter-predicates): Rename it back to
7859         isearch-filter-predicate.
7860         (isearch-message-prefix): Use advice-function-mapc and advice
7861         properties to get the isearch-message-prefix.
7862         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7863         instead of run-hook-with-args-until-failure.
7864         (isearch-filter-visible): Not obsolete any more.
7865         * loadup.el: Preload nadvice.
7866         * replace.el (perform-replace): Revert to funcall
7867         instead of run-hook-with-args-until-failure.
7868         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7869         * dired-aux.el (dired-isearch-filenames-mode): Rename from
7870         dired-isearch-filenames-toggle; make it into a proper minor mode.
7871         Use add/remove-function.
7872         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7873         Call the minor-mode rather than add/remove-hook.
7874         (dired-isearch-filter-filenames):
7875         Remove isearch-message-prefix property.
7876         * info.el (Info--search-loop): New function, extracted from Info-search.
7877         Funcall isearch-filter-predicate instead of
7878         run-hook-with-args-until-failure isearch-filter-predicates.
7879         (Info-search): Use it.
7880         (Info-mode): Use isearch-filter-predicate instead of
7881         isearch-filter-predicates.
7883 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
7885         Do not call to `selected-window' where it is assumed by default.
7886         Affected functions are `window-minibuffer-p', `window-dedicated-p',
7887         `window-hscroll', `window-width', `window-height', `window-buffer',
7888         `window-frame', `window-start', `window-point', `next-window'
7889         and `window-display-table'.
7890         * abbrev.el (abbrev--default-expand):
7891         * bs.el (bs--show-with-configuration):
7892         * buff-menu.el (Buffer-menu-mouse-select):
7893         * calc/calc.el (calc):
7894         * calendar/calendar.el (calendar-generate-window):
7895         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7896         (diary-make-entry):
7897         * comint.el (send-invisible, comint-dynamic-complete-filename)
7898         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7899         * completion.el (complete):
7900         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7901         * disp-table.el (describe-current-display-table):
7902         * doc-view.el (doc-view-insert-image):
7903         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7904         * ehelp.el (with-electric-help):
7905         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7906         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7907         * emacs-lisp/helper.el (Helper-help-scroller):
7908         * emulation/cua-base.el (cua--post-command-handler-1):
7909         * eshell/esh-mode.el (eshell-output-filter):
7910         * ffap.el (ffap-gnus-wrapper):
7911         * help-macro.el (make-help-screen):
7912         * hilit-chg.el (highlight-compare-buffers):
7913         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7914         * hl-line.el (global-hl-line-highlight):
7915         * icomplete.el (icomplete-simple-completing-p):
7916         * isearch.el (isearch-done):
7917         * jit-lock.el (jit-lock-stealth-fontify):
7918         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7919         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7920         * mpc.el (mpc-tagbrowser, mpc):
7921         * net/rcirc.el (rcirc-any-buffer):
7922         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7923         * play/landmark.el (landmark-max-width, landmark-max-height):
7924         * play/zone.el (zone):
7925         * progmodes/compile.el (compilation-goto-locus):
7926         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7927         * progmodes/etags.el (find-tag-other-window):
7928         * progmodes/fortran.el (fortran-column-ruler):
7929         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7930         * progmodes/verilog-mode.el (verilog-point-text):
7931         * reposition.el (reposition-window):
7932         * rot13.el (toggle-rot13-mode):
7933         * server.el (server-switch-buffer):
7934         * shell.el (shell-dynamic-complete-command)
7935         (shell-dynamic-complete-environment-variable):
7936         * simple.el (insert-buffer, set-selective-display)
7937         (delete-completion-window):
7938         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7939         (speedbar-recenter):
7940         * startup.el (fancy-splash-head):
7941         * textmodes/ispell.el (ispell-command-loop):
7942         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7943         * tutorial.el (help-with-tutorial):
7944         * vc/add-log.el (add-change-log-entry):
7945         * vc/compare-w.el (compare-windows):
7946         * vc/ediff-help.el (ediff-indent-help-message):
7947         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7948         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7949         (ediff-setup-control-frame):
7950         * vc/emerge.el (emerge-position-region):
7951         * vc/pcvs-util.el (cvs-bury-buffer):
7952         * window.el (walk-windows, mouse-autoselect-window-select):
7953         * winner.el (winner-set-conf, winner-undo): Related users changed.
7955 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
7957         * frameset.el (frameset--set-id): Doc fix.
7958         (frameset-frame-id, frameset-frame-id-equal-p)
7959         (frameset-locate-frame-id): New functions.
7960         (frameset--process-minibuffer-frames, frameset--reuse-frame)
7961         (frameset-restore): Use them.
7963 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
7965         Do not call to `selected-frame' where it is assumed by default.
7966         Affected functions are `raise-frame', `redraw-frame',
7967         `frame-first-window', `frame-terminal' and `delete-frame'.
7968         * calendar/appt.el (appt-disp-window):
7969         * epg.el (epg-wait-for-completion):
7970         * follow.el (follow-delete-other-windows-and-split)
7971         (follow-avoid-tail-recenter):
7972         * international/mule.el (set-terminal-coding-system):
7973         * mail/rmail.el (rmail-mail-return):
7974         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7975         * progmodes/f90.el (f90-add-imenu-menu):
7976         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7977         * server.el (server-switch-buffer):
7978         * simple.el (delete-completion-window):
7979         * talk.el (talk):
7980         * term/xterm.el (terminal-init-xterm-modify-other-keys)
7981         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7982         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7983         * vc/ediff.el (ediff-documentation): Related users changed.
7984         * frame.el (selected-terminal): Remove the leftover.
7986 2013-08-05  Glenn Morris  <rgm@gnu.org>
7988         * calendar/calendar.el (calendar-generate-month):
7989         Fix for calendar-column-width != 1 + calendar-day-digit-width.
7990         (calendar-generate-month, calendar-font-lock-keywords):
7991         Fix for calendar-day-header-width > length of any day name.
7993 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
7995         * desktop.el (desktop-clear): Use new name of sort predicate.
7997         * frameset.el (frameset): Add docstring.  Move :version property to its
7998         own `version' slot.
7999         (frameset-copy): Rename from copy-frameset.
8000         (frameset-p): Check more thoroughly.
8001         (frameset-prop): Do not check for :version, which is no longer a prop.
8002         (frameset-live-filter-alist, frameset-persistent-filter-alist):
8003         Use new :never value instead of t.
8004         (frameset-filter-alist): Expand and clarify docstring.
8005         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8006         (frameset-filter-minibuffer, frameset-filter-save-param)
8007         (frameset-filter-restore-param, frameset-filter-iconified):
8008         Add pointer to docstring of frameset-filter-alist.
8009         (frameset-filter-params): Rename filter values to be more meaningful:
8010         :never instead of t, and reverse the meanings of :save and :restore.
8011         (frameset--process-minibuffer-frames): Clarify error message.
8012         (frameset-save): Avoid unnecessary and confusing call to framep.
8013         Use new BOA constructor for framesets.
8014         (frameset--reuse-list): Doc fix.
8015         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
8016         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8017         (frameset-minibufferless-first-p): Doc fix.
8018         Rename from frameset-sort-frames-for-deletion.
8019         (frameset-restore): Doc fixes.  Use new function names.
8020         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8022 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
8024         * desktop.el (desktop-restore-forces-onscreen)
8025         (desktop-restore-reuses-frames): Document :keyword constant values.
8026         (desktop-filter-parameters-alist): Remove, now identical to
8027         frameset-filter-alist.
8028         (desktop--filter-tty*): Remove, moved to frameset.el.
8029         (desktop-save-frameset, desktop-restore-frameset):
8030         Do not pass :filters argument.
8032         * frameset.el (frameset-live-filter-alist)
8033         (frameset-persistent-filter-alist): New variables.
8034         (frameset-filter-alist): Use them.  Add autoload cookie.
8035         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8036         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8037         `frameset--id' (it's supposed to be internal to frameset.el).
8038         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
8039         (frameset--initial-params): New function.
8040         (frameset--get-frame): Use it.  Doc fix.
8041         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8042         Accept :all, not 'all.
8043         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8044         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
8045         with fbound symbols.  Fix frame id matching, and remove matching ids if
8046         the frame being restored is deleted.  Obey :delete.
8048 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8050         * subr.el (macrop): New function.
8051         (text-clone--maintaining): New var.
8052         (text-clone--maintain): Rename from text-clone-maintain.  Use it
8053         instead of inhibit-modification-hooks.
8055         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8056         a proxy, so as handle autoloads and redefinitions of the target.
8057         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8059         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8060         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
8061         (pcase--mutually-exclusive-p): New function.
8062         (pcase--split-consp): Use it.
8063         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
8064         mutually exclusive with the current predicate.
8066         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8067         (edebug-macrop): Remove.  Use `macrop' instead.
8068         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
8069         (ad-macro-p):
8070         * eshell/esh-cmd.el (eshell-macrop):
8071         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
8073 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8075         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8076         (advice-mapc): New function, using it.
8077         (advice-function-member-p): New function.
8078         (advice--normalize): Store the cdr in advice--saved-rewrite since
8079         that's the part that will be changed.
8080         (advice--symbol-function): New function.
8081         (advice-remove): Handle removal before the function is defined.
8082         Adjust to new advice--saved-rewrite.
8083         (advice-member-p): Use advice-function-member-p and
8084         advice--symbol-function.
8086 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
8088         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8089         (frameset-filter-minibuffer): Doc fix.
8090         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
8091         (frameset--set-id, frameset--process-minibuffer-frames)
8092         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8093         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8095         * desktop.el (desktop-clear): Only delete frames when called
8096         interactively and desktop-restore-frames is non-nil.  Doc fix.
8097         (desktop-read): Set desktop-saved-frameset to nil.
8099 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
8101         * vc/vc.el (vc-ignore): Rewrite.
8102         (vc-default-ignore-completion-table, vc--read-lines)
8103         (vc--add-line, vc--remove-regexp): New functions.
8105         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8106         (vc-svn-ignore-completion-table): New function.
8108         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8109         (vc-hg-ignore-completion-table)
8110         (vc-hg-find-ignore-file): New functions.
8112         * vc/vc-git.el (vc-git-ignore): Rewrite.
8113         (vc-git-ignore-completion-table)
8114         (vc-git-find-ignore-file): New functions.
8116         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8118         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8119         (vc-bzr-ignore-completion-table)
8120         (vc-bzr-find-ignore-file): New functions.
8122 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
8124         * frameset.el (frameset-prop): New function and setter.
8125         (frameset-save): Do not modify frame list passed by the caller.
8127 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8129         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8131 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8133         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8134         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8136         * custom.el (custom-initialize-default, custom-initialize-set)
8137         (custom-initialize-reset, custom-initialize-changed): Affect the
8138         toplevel-default-value (bug#6275, bug#14586).
8139         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8140         for bug#6275.
8142 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
8144         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8145         Add cl-def* expressions.
8147         * frameset.el (frameset-filter-params): Fix order of arguments.
8149 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
8151         Move code related to saving frames to frameset.el.
8152         * desktop.el: Require frameset.
8153         (desktop-restore-frames): Doc fix.
8154         (desktop-restore-reuses-frames): Rename from
8155         desktop-restoring-reuses-frames.
8156         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8157         (desktop-clear): Clear frames too.
8158         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8159         (desktop--filter-tty*, desktop-save, desktop-read):
8160         Use frameset functions.
8161         (desktop-before-saving-frames-functions, desktop--filter-*-color)
8162         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8163         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8164         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8165         (desktop--process-minibuffer-frames, desktop-save-frames)
8166         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8167         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8168         (desktop--sort-states, desktop-restoring-frames-p)
8169         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
8170         (desktop-restoring-frameset-p, desktop-restore-frameset)
8171         (desktop--check-dont-save, desktop-save-frameset): New functions.
8172         (desktop--app-id): New constant.
8173         (desktop-first-buffer, desktop-buffer-ok-count)
8174         (desktop-buffer-fail-count): Move before first use.
8175         * frameset.el: New file.
8177 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8179         * files.el: Use lexical-binding.
8180         (dir-locals-read-from-file): Remove unused `err' variable.
8181         (hack-dir-local-variables--warned-coding): New var.
8182         (hack-dir-local-variables): Use it to avoid repeated warnings.
8183         (make-backup-file-name--default-function): New function.
8184         (make-backup-file-name-function): Use it as default.
8185         (buffer-stale--default-function): New function.
8186         (buffer-stale-function): Use it as default.
8187         (revert-buffer-insert-file-contents--default-function): New function.
8188         (revert-buffer-insert-file-contents-function): Use it as default.
8189         (insert-directory): Avoid add-to-list.
8191         * autorevert.el (auto-revert-handler): Simplify.
8192         Use buffer-stale--default-function.
8194 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
8196         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8198         * whitespace.el (whitespace-ensure-local-variables): New function.
8199         (whitespace-cleanup-region): Call it.
8200         (whitespace-turn-on): Call it.
8202 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
8204         Complete file name handlers.
8206         * net/tramp.el (tramp-handle-set-visited-file-modtime)
8207         (tramp-handle-verify-visited-file-modtime)
8208         (tramp-handle-file-notify-rm-watch): New functions.
8209         (tramp-call-process): Do not bind `default-directory'.
8211         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8212         Order alphabetically.
8213         <access-file, add-name-to-file, dired-call-process>:
8214         <dired-compress-file, file-acl, file-notify-rm-watch>:
8215         <file-ownership-preserved-p, file-selinux-context>:
8216         <make-directory-internal, make-symbolic-link, set-file-acl>:
8217         <set-file-selinux-context, set-visited-file-modtime>:
8218         <verify-visited-file-modtime>: Add handler.
8219         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8221         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8222         <file-notify-add-watch, file-notify-rm-watch>:
8223         <set-file-times, set-visited-file-modtime>:
8224         <verify-visited-file-modtime>: Add handler.
8225         (with-tramp-gvfs-error-message)
8226         (tramp-gvfs-handle-set-visited-file-modtime)
8227         (tramp-gvfs-fuse-file-name): Remove.
8228         (tramp-gvfs-handle-file-notify-add-watch)
8229         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8230         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8232         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8233         Order alphabetically.
8234         <file-notify-rm-watch>: Use default Tramp handler.
8235         <executable-find>: Remove private handler.
8236         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8237         `default-directory'.
8238         (tramp-sh-handle-executable-find)
8239         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8240         (tramp-sh-file-gvfs-monitor-dir-process-filter)
8241         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8242         Do not use `format' in `tramp-message'.
8244         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8245         <file-notify-rm-watch, set-visited-file-modtime>:
8246         <verify-visited-file-modtime>: Add handler.
8247         (tramp-smb-call-winexe): Do not bind `default-directory'.
8249 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
8251         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8253 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
8255         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8256         use it.
8257         (log-view-diff-changeset): Same.
8258         (log-view-diff-common): Call backend command `previous-revision'
8259         to find out the previous revision, in both cases.  Swap the
8260         variables `to' and `fr', so that `fr' usually refers to the
8261         earlier revision (Bug#14989).
8263 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
8265         * ibuf-ext.el (ibuffer-filter-by-filename):
8266         Make it work with dired buffers too.
8268 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
8270         * emacs-lisp/re-builder.el (reb-color-display-p):
8271         * files.el (save-buffers-kill-terminal):
8272         * net/browse-url.el (browse-url):
8273         * server.el (server-save-buffers-kill-terminal):
8274         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8275         Prefer nil to selected-frame for the first arg of frame-parameter.
8277 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
8279         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8281 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
8283         * minibuffer.el (completion--twq-all): Try and preserve each
8284         completion's case choice (bug#14907).
8286 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8288         * net/network-stream.el (open-network-stream): Mention the new
8289         :nogreeting parameter.
8290         (network-stream-open-starttls): Use the :nogreeting parameter
8291         (bug#14938).
8293         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8295         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8296         more natural than popping.
8298         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8299         (shr-urlify): Highlight under mouse.
8301 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
8303         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8305         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8307         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
8308         buffer for output.
8310         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
8311         point-min==1.  Fix search string.  Fix parentheses missing.
8313         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
8314         assume point-min==1.  Fix search string.  Fix parentheses missing.
8316         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8318         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
8319         buffer for output.
8321 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
8323         * frame.el (frame-notice-user-settings): Avoid inflooping when the
8324         initial frame is minibuffer-less.  (Bug#14841)
8326 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
8328         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8329         option.
8331         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8332         (tramp-maybe-open-connection): Use it.
8334 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
8336         * desktop.el (desktop--make-frame): Include `minibuffer' in the
8337         minimal set of parameters passed when creating a frame, because
8338         the minibuffer status of a frame cannot be changed later.
8340 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
8342         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8343         replace-regexp-in-string and inadvertent omissions in previous change.
8344         (todo-filter-items): Ensure only file names are comma-separated in
8345         name of filtered items buffer.
8347 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
8349         * desktop.el: Optionally force offscreen frames back onscreen.
8350         (desktop-restoring-reuses-frames): New option.
8351         (desktop--compute-pos, desktop--move-onscreen): New functions.
8352         (desktop--make-frame): Use desktop--move-onscreen.
8354 2013-07-27  Alan Mackenzie  <acm@muc.de>
8356         Fontify a Java generic method as a function.
8357         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8358         value to t.
8360 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
8362         * calendar/todo-mode.el: Add command to rename todo files.
8363         (todo-rename-file): New command.
8364         (todo-key-bindings-t): Add key binding for it.  Change the
8365         bindings of todo-filter-regexp-items(-multifile) to use `x'
8366         instead of `r', since the latter is better suited to the new
8367         renaming command.
8369 2013-07-27  Alan Mackenzie  <acm@muc.de>
8371         Make Java try-with-resources statement parse properly.
8372         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8373         (c-block-stmt-1-2-key): New language constants/variables.
8374         * progmodes/cc-engine.el (c-beginning-of-statement-1)
8375         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8376         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8377         with c-block-stmt-1-2-key.
8379 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
8381         * desktop.el (desktop--make-frame): Apply most frame parameters after
8382         creating the frame to force (partially or totally) offscreen frames to
8383         be restored as such.
8385 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
8387         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8388         (Bug#14948)
8390 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8392         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8393         `base' arg of backtrace-frame.
8395 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
8397         * simple.el (list-processes): Doc fix.
8399 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
8401         * desktop.el (desktop--select-frame):
8402         Try harder to reuse existing frames.
8404 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8406         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8407         (edebug-eval): Use backtrace-eval.
8408         (edebug--display, edebug--recursive-edit): Don't let-bind the
8409         edebug-outer-* vars that keep track of variables we locally let-bind.
8410         (edebug-outside-excursion): Don't restore outside values of locally
8411         let-bound vars.
8412         (edebug--display): Use user-error.
8413         (cl-lexical-debug, cl-debug-env): Remove.
8415 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
8417         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8418         are restored to be sure that they are visible before deleting any
8419         remaining ones.
8421 2013-07-26  Matthias Meulien  <orontee@gmail.com>
8423         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8424         vc-print-root-log.  (Bug#14948)
8426 2013-07-26  Richard Stallman  <rms@gnu.org>
8428         Add aliases for encrypting mail.
8429         * epa.el (epa-mail-aliases): New option.
8430         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8431         Bind inhibit-read-only so read-only text doesn't ruin everything.
8432         (epa-mail-default-recipients): New subroutine broken out.
8433         Handle epa-mail-aliases.
8435 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8437         Add support for lexical variables to the debugger's `e' command.
8438         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8439         vars, except for debugger-outer-match-data.
8440         (debugger-frame-number): Move check for "on a function call" from
8441         callers into it.  Add `skip-base' argument.
8442         (debugger-frame, debugger-frame-clear): Simplify accordingly.
8443         (debugger-env-macro): Only reset the state stored in non-variables,
8444         i.e. current-buffer and match-data.
8445         (debugger-eval-expression): Rewrite using backtrace-eval.
8446         * subr.el (internal--called-interactively-p--get-frame): Remove.
8447         (called-interactively-p):
8448         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8449         `base' arg of backtrace-frame instead.
8451 2013-07-26  Glenn Morris  <rgm@gnu.org>
8453         * align.el (align-regexp): Doc fix.  (Bug#14857)
8454         (align-region): Explicit error if subexpression missing/does not match.
8456         * simple.el (global-visual-line-mode):
8457         Do not duplicate the mode lighter.  (Bug#14858)
8459 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
8461         * window.el (display-buffer): In display-buffer bind
8462         split-window-keep-point to t, bug#14829.
8464 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
8466         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8467         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8468         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8469         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8470         Change accordingly.
8471         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8472         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8474 2013-07-25  Glenn Morris  <rgm@gnu.org>
8476         * dired-x.el (dired-mark-extension): Convert comment to doc string.
8478 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
8480         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8481         parameter to modify-frame-parameters if the value has not changed;
8482         this is a workaround for bug#14949.
8483         (desktop--make-frame): On cl-delete-if call, check parameter name,
8484         not full parameter.
8486 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
8488         * vc/vc.el (vc-ignore): New function.
8490         * vc/vc-svn.el (vc-svn-ignore): New function.
8492         * vc/vc-hg.el (vc-hg-ignore): New function.
8494         * vc/vc-git.el (vc-git-ignore): New function.
8496         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8497         (vc-dir-ignore): New function.
8499         * vc/vc-cvs.el (vc-cvs-ignore): New function.
8500         (cvs-append-to-ignore): Move here from pcvs.el.
8502         * vc/vc-bzr.el (vc-bzr-ignore): New function.
8504         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8506 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
8508         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8509         (desktop-restore-frames): Warn when deleting an existing frame failed.
8511 2013-07-24  Glenn Morris  <rgm@gnu.org>
8513         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
8515 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
8517         * filenotify.el (file-notify-supported-p):
8518         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8519         Remove functions.
8521         * autorevert.el (auto-revert-use-notify)
8522         (auto-revert-notify-add-watch):
8523         * net/tramp.el (tramp-file-name-for-operation):
8524         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8525         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8526         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8527         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8528         Remove `file-notify-supported-p' entry.
8530 2013-07-24  Glenn Morris  <rgm@gnu.org>
8532         * printing.el: Replace all uses of deleted ps-windows-system,
8533         ps-lp-system, ps-flatten-list with lpr- versions.
8535 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8537         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8538         checked with memq (bug#14935).
8540         * files.el (revert-buffer-function): Use a non-nil default.
8541         (revert-buffer-preserve-modes): Declare var to
8542         provide access to the `preserve-modes' argument.
8543         (revert-buffer): Let-bind it.
8544         (revert-buffer--default): New function, extracted from revert-buffer.
8546 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8548         * lpr.el: Signal print errors more prominently.
8549         (print-region-function): Don't default to nil.
8550         (lpr-print-region): New function, extracted from print-region-1.
8551         Check lpr's return value and signal an error in case of problem.
8552         (print-region-1): Use it.
8553         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
8554         versions instead.
8555         (ps-printer-name): Default to nil.
8556         (ps-printer-name-option): Default to lpr-printer-switch.
8557         (ps-print-region-function): Don't default to nil.
8558         (ps-postscript-code-directory): Simplify default.
8559         (ps-do-despool): Use lpr-print-region to properly check the outcome.
8560         (ps-string-list, ps-eval-switch, ps-flatten-list)
8561         (ps-flatten-list-1): Remove.
8562         (ps-multibyte-buffer): Avoid setq.
8563         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8564         (print-region-function, ps-print-region-function): Don't set them here.
8566 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
8568         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8569         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8570         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8571         (ido-decorations): Doc fix.
8573         * ansi-color.el: Fix old URL.
8575 2013-07-23  Michael R. Mauger  <michael@mauger.com>
8577         * progmodes/sql.el: Version 3.3
8578         (sql-product-alist): Improve oracle :prompt-cont-regexp.
8579         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8580         (sql-interactive-remove-continuation-prompt): Rewrite, use
8581         functions above.  Fix continuation prompt and complete output line
8582         handling.
8583         (sql-redirect-one, sql-execute): Use `read-only-mode' on
8584         redirected output buffer.
8585         (sql-mode): Restore deleted code (Bug#13591).
8587 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
8589         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8591 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
8593         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8595         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8596         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8597         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8599 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
8601         * desktop.el (desktop-clear): Simplify; remove useless checks
8602         against invalid buffer names.
8603         (desktop-list*): Use cl-list*.
8604         (desktop-buffer-info, desktop-create-buffer): Simplify.
8606 2013-07-23  Leo Liu  <sdl.web@gmail.com>
8608         * bookmark.el (bookmark-make-record): Restore NAME as a default
8609         value.  (Bug#14933)
8611 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8613         * emacs-lisp/autoload.el (autoload--setup-output): New function,
8614         extracted from autoload--insert-text.
8615         (autoload--insert-text): Remove.
8616         (autoload--print-cookie-text): New function, extracted from
8617         autoload--insert-cookie-text.
8618         (autoload--insert-cookie-text): Remove.
8619         (autoload-generate-file-autoloads): Adjust calls accordingly.
8621         * winner.el (winner-hook-installed-p): Remove.
8622         (winner-mode): Simplify accordingly.
8624         * subr.el (add-to-list): Fix compiler-macro when `append' is
8625         not constant.  Don't use `cl-member' for the base case.
8627         * progmodes/subword.el: Fix boundary case (bug#13758).
8628         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
8629         own group.
8630         (subword-backward-regexp): Make it a constant.
8631         (subword-forward-internal): Don't treat a trailing capital as the
8632         beginning of a word.
8634 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
8636         * emacs-lisp/package.el (package-menu-mode): Don't modify the
8637         global value of tabulated-list-revert-hook (bug#14930).
8639 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
8641         * desktop.el: Require 'cl-lib.
8642         (desktop-before-saving-frames-functions): New hook.
8643         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8644         for frames being saved.  Rename from desktop--save-minibuffer-frames.
8645         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8646         Do not save frames with non-nil `desktop-dont-save' parameter.
8647         Filter out deleted frames.
8648         (desktop--find-frame): Use cl-find-if.
8649         (desktop--select-frame): Use cl-(first|second|third) to access values
8650         of desktop-mini.
8651         (desktop--make-frame): Use cl-delete-if.
8652         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8653         (desktop-restore-frames): Use cl-(first|second|third) to access values
8654         of desktop-mini.  Look for visible frame at the end, not while
8655         restoring frames.
8657         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8658         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8659         Use string-match-p, looking-at-p (bug#14927).
8661 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
8663         * desktop.el (desktop-saved-frame-states):
8664         Rename from desktop--saved-states; all users changed.
8665         (desktop-save-frames): Rename from desktop--save-frames.
8666         Do not save state to desktop file.
8667         (desktop-save): Save desktop-saved-frame-states to desktop file
8668         and reset to nil.
8669         (desktop-restoring-frames-p): New function.
8670         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
8671         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
8672         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
8674         * desktop.el: Correctly restore iconified frames.
8675         (desktop--filter-iconified-position): New function.
8676         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8678 2013-07-20  Glenn Morris  <rgm@gnu.org>
8680         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8681         Let `message' do the formatting.
8682         (def-gdb-preempt-display-buffer): Add explicit format.
8684         * image-dired.el (image-dired-track-original-file):
8685         Use with-current-buffer.
8686         (image-dired-track-thumbnail): Use with-current-buffer.
8687         Avoid changing point of wrong window.
8689         * image-dired.el (image-dired-track-original-file):
8690         Avoid changing point of wrong window.  (Bug#14909)
8692 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
8694         * progmodes/gdb-mi.el (gdb-done-or-error):
8695         Guard against "%" in gdb output.  (Bug#14127)
8697 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
8699         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8700         (Bug#14826)
8702         * international/mule.el (coding-system-iso-2022-flags): Fix last
8703         change.
8705 2013-07-20  Kenichi Handa  <handa@gnu.org>
8707         * international/mule.el (coding-system-iso-2022-flags):
8708         Add `8-bit-level-4'.  (Bug#8522)
8710 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8712         * net/shr.el (shr-mouse-browse-url): New command and keystroke
8713         (bug#14815).
8715         * net/eww.el (eww-process-text-input): Allow inputting when the
8716         point is at the start of the line, as the properties aren't
8717         front-sticky.
8719         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8720         degenerate widths.
8722 2013-07-19  Richard Stallman  <rms@gnu.org>
8724         * epa.el (epa-popup-info-window): Doc fix.
8726         * subr.el (split-string): New arg TRIM.
8728 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
8730         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8731         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8733 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
8735         * filenotify.el (file-notify--library): Rename from
8736         `file-notify-support'.  Do not autoload.  Adapt all uses.
8737         (file-notify-supported-p): New defun.
8739         * autorevert.el (auto-revert-use-notify):
8740         Use `file-notify-supported-p' instead of `file-notify-support'.
8741         Adapt docstring.
8742         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8744         * net/tramp.el (tramp-file-name-for-operation):
8745         Add `file-notify-supported-p'.
8747         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8748         New defun.
8749         (tramp-sh-file-name-handler-alist): Add it as handler for
8750         `file-notify-supported-p '.
8752         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8753         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8754         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8755         Add `ignore' as handler for `file-notify-*' functions.
8757 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
8759         * simple.el (line-move-partial, line-move): Don't start vscroll or
8760         scroll-up if the current line is not taller than the window.
8761         (Bug#14881)
8763 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
8765         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8766         highlight question marks in the method names as strings.
8767         (ruby-block-beg-keywords): Inline.
8768         (ruby-font-lock-keyword-beg-re): Extract from
8769         `ruby-font-lock-keywords'.
8771 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
8773         * frame.el (blink-cursor-blinks): New defcustom.
8774         (blink-cursor-blinks-done): New defvar.
8775         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8776         (blink-cursor-timer-function): Check if number of blinks has been
8777         done on X and NS.
8778         (blink-cursor-suspend, blink-cursor-check): New defuns.
8780 2013-07-15  Glenn Morris  <rgm@gnu.org>
8782         * edmacro.el (edmacro-format-keys): Fix previous change.
8784 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
8786         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8787         The hack didn't work outside English locales anyway.
8789 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
8791         * simple.el (define-alternatives): Rename from alternatives-define,
8792         per RMS' suggestion.
8794 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
8796         * desktop.el (desktop-restore-frames): Change default to t.
8797         (desktop-restore-in-current-display): Now offer more options.
8798         (desktop-restoring-reuses-frames): New customization option.
8799         (desktop--saved-states): Doc fix.
8800         (desktop-filter-parameters-alist): New variable, renamed and expanded
8801         from desktop--excluded-frame-parameters.
8802         (desktop--target-display): New variable.
8803         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8804         (desktop--filter-tty*, desktop--filter-*-color)
8805         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8806         (desktop--filter-save-desktop-parm)
8807         (desktop-restore-in-original-display-p): New functions.
8808         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8809         (desktop--save-minibuffer-frames): New function, inspired by a similar
8810         function from Martin Rudalics.
8811         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8812         (desktop--restore-in-this-display-p): Remove.
8813         (desktop--find-frame): Rename from desktop--find-frame-in-display
8814         and add predicate argument.
8815         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8816         (desktop--reuse-list): New variable.
8817         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8818         New functions.
8819         (desktop--restore-frames): Add support for "minibuffer-special" frames.
8821 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
8823         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8825 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
8827         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8828         Highlight conversion methods on Kernel.
8830 2013-07-13  Alan Mackenzie  <acm@muc.de>
8832         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8833         and comment it out.  This out-commenting enables certain C++
8834         declarations to be parsed correctly.
8836 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
8838         * international/mule.el (define-coding-system): Doc fix.
8840         * simple.el (default-font-height): Don't call font-info if the
8841         frame's default font didn't change since the frame was created.
8842         (Bug#14838)
8844 2013-07-13  Leo Liu  <sdl.web@gmail.com>
8846         * ido.el (ido-read-file-name): Guard against non-symbol value.
8848 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8850         * progmodes/python.el (python-imenu--build-tree): Fix corner case
8851         in nested defuns.
8853 2013-07-13  Leo Liu  <sdl.web@gmail.com>
8855         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8856         ido-set-matches call.  (Bug#6852)
8858 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
8860         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
8861         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8862         Ruby 2.0.
8863         (ruby-font-lock-keywords): Distinguish calls to functions with
8864         module-like names from module references.  Highlight character
8865         literals.
8867 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
8869         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8870         (gdb-send): Handle continued commands.  (Bug#14847)
8872 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
8874         * desktop.el (desktop--v2s): Remove unused local variable.
8875         (desktop-save-buffer): Make defvar-local; adjust docstring.
8876         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8877         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8879 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
8881         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8883 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
8885         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8886         (Bug#14842)
8888 2013-07-12  Glenn Morris  <rgm@gnu.org>
8890         * doc-view.el: Require cl-lib at runtime too.
8891         (doc-view-remove-if): Remove.
8892         (doc-view-search-next-match, doc-view-search-previous-match):
8893         Use cl-remove-if.
8895         * edmacro.el: Require cl-lib at runtime too.
8896         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8897         (edmacro-mismatch, edmacro-subseq): Remove.
8899         * shadowfile.el: Require cl-lib.
8900         (shadow-remove-if): Remove.
8901         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8902         Use cl-remove-if.
8904         * wid-edit.el: Require cl-lib.
8905         (widget-choose): Use cl-remove-if.
8906         (widget-remove-if): Remove.
8908         * progmodes/ebrowse.el: Require cl-lib at runtime too.
8909         (ebrowse-delete-if-not): Remove.
8910         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8911         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8912         Use cl-delete-if-not.
8914 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
8916         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8917         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8919 2013-07-12  Leo Liu  <sdl.web@gmail.com>
8921         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
8923 2013-07-11  Glenn Morris  <rgm@gnu.org>
8925         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8926         (edebug-gensym-index, edebug-gensym):
8927         Remove reimplementation of cl-gensym.
8928         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8930         * thumbs.el: Require cl-lib at run-time too.
8931         (thumbs-gensym-counter, thumbs-gensym):
8932         Remove reimplementation of cl-gensym.
8933         (thumbs-temp-file): Use cl-gensym.
8935         * emacs-lisp/ert.el: Require cl-lib at runtime too.
8936         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8937         (ert--intersection, ert--set-difference, ert--set-difference-eq)
8938         (ert--union, ert--gensym-counter, ert--gensym-counter)
8939         (ert--coerce-to-vector, ert--remove*, ert--string-position)
8940         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8941         (ert-make-test-unbound, ert--expand-should-1)
8942         (ert--expand-should, ert--should-error-handle-error)
8943         (should-error, ert--explain-equal-rec)
8944         (ert--plist-difference-explanation, ert-select-tests)
8945         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8946         Use cl-lib functions rather than reimplementations.
8948 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
8950         * net/tramp.el (tramp-methods): Extend docstring.
8951         (tramp-connection-timeout): New defcustom.
8952         (tramp-error-with-buffer): Reset timestamp only when appropriate.
8953         (with-tramp-progress-reporter): Simplify.
8954         (tramp-process-actions): Improve messages.
8956         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8957         * net/tramp-sh.el (tramp-maybe-open-connection):
8958         Use `tramp-connection-timeout'.
8959         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8960         (Bug#14808)
8962 2013-07-11  Leo Liu  <sdl.web@gmail.com>
8964         * ido.el (ido-read-file-name): Conform to the requirements of
8965         read-file-name.  (Bug#11861)
8966         (ido-read-directory-name): Conform to the requirements of
8967         read-directory-name.
8969 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
8971         * subr.el (delay-warning): New function.
8973 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
8975         * simple.el (default-line-height): New function.
8976         (line-move-partial, line-move): Use it instead of computing the
8977         line height inline.
8978         (line-move-partial): Always compute ROWH.  If the last line is
8979         partially-visible, but its text is completely visible, allow
8980         cursor to enter such a partially-visible line.
8982 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
8984         Improve error messages.  (Bug#14808)
8986         * net/tramp.el (tramp-current-connection): New defvar, moved from
8987         tramp-sh.el.
8988         (tramp-message-show-progress-reporter-message): Remove, not
8989         needed anymore.
8990         (tramp-error-with-buffer): Show message in minibuffer.
8991         Discard input before waiting.  Reset connection timestamp.
8992         (with-tramp-progress-reporter): Improve messages.
8993         (tramp-process-actions): Use progress reporter.  Delete process in
8994         case of error.  Improve messages.
8996         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8997         Call `tramp-error-with-buffer' with vector and buffer.
8998         (tramp-current-connection): Remove.
8999         (tramp-maybe-open-connection): The car of
9000         `tramp-current-connection' are the first 3 slots of the vector.
9002 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
9004         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9005         inside continued strings.
9007 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
9009         Timestamp fixes for undo (Bug#14824).
9010         * files.el (clear-visited-file-modtime): Move here from fileio.c.
9012 2013-07-10  Leo Liu  <sdl.web@gmail.com>
9014         * files.el (require-final-newline): Allow safe local value.
9015         (Bug#14834)
9017 2013-07-09  Leo Liu  <sdl.web@gmail.com>
9019         * ido.el (ido-read-directory-name): Handle fallback.
9020         (ido-read-file-name): Update DIR to ido-current-directory.
9021         (Bug#1516)
9022         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
9024 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
9026         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9027         "autoload".  Remove "warn lower camel case" section, previously
9028         commented out.  Highlight negation char.  Do not highlight the
9029         target in singleton method definitions.
9031 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9033         * faces.el (tty-setup-hook): Declare the hook.
9035         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9036         and detect when a guard/pred depends on local vars (bug#14773).
9037         (pcase--u1): Adjust caller.
9039 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
9041         * simple.el (line-move-partial, line-move): Account for
9042         line-spacing.
9043         (line-move-partial): Avoid setting vscroll when the last
9044         partially-visible line in window is of default height.
9046 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9048         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9049         been used a while.
9051 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
9053         * subr.el (read-quoted-char): Remove unused local variable `char'.
9055 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
9057         * ediff.el (ediff-version): Version update.
9058         (ediff-files-command, ediff3-files-command, ediff-merge-command)
9059         (ediff-merge-with-ancestor-command, ediff-directories-command)
9060         (ediff-directories3-command, ediff-merge-directories-command)
9061         (ediff-merge-directories-with-ancestor-command): New functions.
9062         All are command-line interfaces to ediff: to facilitate calling
9063         Emacs with the appropriate ediff functions invoked.
9065         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9066         (viper-save-kill-buffer): Check if buffer is modified.
9068         * viper.el (viper-version): Version update.
9069         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9071 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9073         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9074         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9075         (viper-intercept-ESC-key): Simplify.
9076         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9077         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9078         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9079         (viper-setup-ESC-to-escape): New functions.
9080         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9081         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
9083 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
9085         * simple.el (default-font-height, window-screen-lines):
9086         New functions.
9087         (line-move, line-move-partial): Use them instead of
9088         frame-char-height and window-text-height.  This makes scrolling
9089         text smoother when the buffer's default face uses a font that is
9090         different from the frame's default font.
9092 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
9094         * files.el (write-file): Do not display confirm dialog for NS,
9095         it does its own dialog, which can't be canceled (Bug#14578).
9097 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
9099         * simple.el (line-move-partial): Adjust the row returned by
9100         posn-at-point for the current window-vscroll.  (Bug#14567)
9102 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
9104         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9105         (tramp-sh-file-inotifywait-process-filter): Handle file names with
9106         spaces.
9108 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
9110         * window.el (window-state-put-stale-windows): New variable.
9111         (window--state-put-2): Save list of windows without matching buffer.
9112         (window-state-put): Remove "bufferless" windows if possible.
9114 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
9116         * simple.el (alternatives-define): Remove leftover :group keyword.
9117         Tweak docstring.
9119 2013-07-06  Leo Liu  <sdl.web@gmail.com>
9121         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9122         (ido-enable-virtual-buffers): New variable.
9123         (ido-buffer-internal, ido-toggle-virtual-buffers)
9124         (ido-make-buffer-list): Use it.
9125         (ido-exhibit): Support turning on and off virtual buffers
9126         automatically.
9128 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
9130         * simple.el (alternatives-define): New macro.
9132 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9134         * subr.el (read-quoted-char): Use read-key.
9135         (sit-for): Let read-event decode tty input (bug#14782).
9137 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
9139         * calendar/todo-mode.el: Add handling of file deletion, both by
9140         mode command and externally.  Fix various related bugs.
9141         Clarify Commentary and improve some documentation strings and code.
9142         (todo-delete-file): New command.
9143         (todo-check-file): New function.
9144         (todo-show): Handle external deletion of the file we're trying to
9145         show (bug#14688).  Replace called-interactively-p by an optional
9146         prefix argument to avoid problematic interaction with catch form
9147         when byte compiled (bug#14702).
9148         (todo-quit): Handle external deletion of the archive's todo file.
9149         Make sure the buffer that was visiting the archive file is still
9150         live before trying to bury it.
9151         (todo-category-completions): Handle external deletion of any
9152         category completion files.
9153         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9154         of todo files, in case of external deletion.
9155         (todo-add-file): Replace unnecessary setq by let-binding.
9156         (todo-find-archive): Check whether there are any archives.
9157         Replace unnecessary setq by let-binding.
9158         (todo-archive-done-item): Use find-file-noselect to get the
9159         archive buffer whether or not the archive already exists.
9160         Remove superfluous code.  Use file size instead of buffer-file-name to
9161         check if the archive is new; if it is, update list of archives.
9162         (todo-default-todo-file): Allow nil to be a valid value for when
9163         there are no todo files.
9164         (todo-reevaluate-default-file-defcustom): Use corrected definition
9165         of todo-default-todo-file.
9166         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9167         (todo-delete-category, todo-show-categories-table)
9168         (todo-category-number): Clarify comment.
9169         (todo-filter-items): Clarify documentation string.
9170         (todo-show-current-file, todo-display-as-todo-file)
9171         (todo-reset-and-enable-done-separator): Tweak documentation string.
9172         (todo-done-separator): Make separator length window-width, since
9173         bug#2749 is now fixed.
9175 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
9177         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9178         Support both "gvfs-monitor-dir" and "inotifywait".
9179         (tramp-sh-file-inotifywait-process-filter): Rename from
9180         `tramp-sh-file-notify-process-filter'.
9181         (tramp-sh-file-gvfs-monitor-dir-process-filter)
9182         (tramp-get-remote-gvfs-monitor-dir): New defuns.
9184 2013-07-05  Leo Liu  <sdl.web@gmail.com>
9186         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9188 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9190         * frame.el (display-pixel-height, display-pixel-width)
9191         (display-mm-height, display-mm-width): Mention behavior on
9192         multi-monitor setups in docstrings.
9193         (w32-display-monitor-attributes-list): Declare function.
9194         (display-monitor-attributes-list): Use it.
9196 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
9198         * filenotify.el: New package.
9200         * autorevert.el (top): Require filenotify.el.
9201         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
9202         instead.
9203         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9204         (auto-revert-notify-handler): Use `file-notify-*' functions.
9206         * subr.el (file-notify-handle-event): Move function to filenotify.el.
9208         * net/tramp.el (tramp-file-name-for-operation):
9209         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9211         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9212         for `file-notify-add-watch' and `file-notify-rm-watch'.
9213         (tramp-process-sentinel): Improve trace.
9214         (tramp-sh-handle-file-notify-add-watch)
9215         (tramp-sh-file-notify-process-filter)
9216         (tramp-sh-handle-file-notify-rm-watch)
9217         (tramp-get-remote-inotifywait): New defuns.
9219 2013-07-03  Juri Linkov  <juri@jurta.org>
9221         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9222         call of `occur-read-primary-args' to interactive spec.
9224         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9225         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
9227 2013-07-03  Matthias Meulien  <orontee@gmail.com>
9229         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9230         `Buffer-menu-multi-occur'.  Add it to the menu.
9231         (Buffer-menu-mode): Document it in docstring.
9232         (Buffer-menu-multi-occur): New command.  (Bug#14673)
9234 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
9236         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9237         keywords and built-ins.
9239 2013-07-03  Glenn Morris  <rgm@gnu.org>
9241         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
9243         Make info-xref checks case-sensitive by default
9244         * info.el (Info-find-node, Info-find-in-tag-table)
9245         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9246         Add option for exact case matching of nodes.
9247         * info-xref.el (info-xref): New custom group.
9248         (info-xref-case-fold): New option.
9249         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9251 2013-07-03  Leo Liu  <sdl.web@gmail.com>
9253         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9255 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
9257         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9258         middle of block statement initially, lower the depth.  Remove
9259         FIXME comment, not longer valid.  Remove middle of block statement
9260         detection, no need to do that anymore since we've been using
9261         `ruby-parse-region' here.
9263 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
9265         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9267 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
9269         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9271 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
9273         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9274         (desktop-restore-in-current-display): New customization option.
9275         (desktop--excluded-frame-parameters): Add `font'.
9276         (desktop--save-frames): Rename from desktop--save-windows.
9277         (desktop--restore-in-this-display-p): New function.
9278         (desktop--make-full-frame): Remove unwanted width/height from
9279         full(width|height) frames.
9280         (desktop--restore-frames): Rename from desktop--restore-windows.
9281         Obey desktop-restore-current-display.  Do not delete old frames or
9282         select a new frame unless we were able to restore at least one frame.
9284 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
9286         * files.el (find-file-noselect): Simplify conditional expression.
9288         * textmodes/remember.el (remember-append-to-file):
9289         Don't mix `find-buffer-visiting' and `get-file-buffer'.
9291         Add `remember-notes' function to store random notes across Emacs
9292         restarts.
9293         * textmodes/remember.el (remember-data-file): Add :set callback to
9294         affect notes buffer (if any).
9295         (remember-notes): New command.
9296         (remember-notes-buffer-name, bury-remember-notes-on-kill):
9297         New defcustoms for the `remember-notes' function.
9298         (remember-notes-save-and-bury-buffer): New command.
9299         (remember-notes-mode-map): New variable.
9300         (remember-mode): New minor mode.
9301         (remember-notes--kill-buffer-query): New function.
9302         * startup.el (initial-buffer-choice): Add notes to custom type.
9304 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
9306         * bindings.el (right-char, left-char): Don't call sit-for, this is
9307         no longer needed.  Use arithmetic comparison only for numerical
9308         arguments.
9310         * international/mule-cmds.el (select-safe-coding-system):
9311         Handle the case of FROM being a string correctly.  (Bug#14755)
9313 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9315         * net/shr.el (shr-make-table-1): Add a sanity check that allows
9316         progression on degenerate tables.
9317         (shr-rescale-image): ImageMagick animated images currently don't work.
9319 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
9321         Some fixes and improvements for desktop frame restoration.
9322         It is still experimental and disabled by default.
9323         * desktop.el (desktop--save-windows): Put the selected frame at
9324         the head of the list.
9325         (desktop--make-full-frame): New function.
9326         (desktop--restore-windows): Try to re-select the frame that was
9327         selected upon saving.  Do not abort if some frames fail to restore,
9328         just show an error message and continue.  Set up maximized frames
9329         so they have default non-maximized dimensions.
9331 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
9333         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9334         Don't start heredoc inside a string or comment.
9336 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
9338         * bindings.el (visual-order-cursor-movement): New defcustom.
9339         (right-char, left-char): Provide visual-order cursor motion by
9340         calling move-point-visually.  Update the doc strings.
9342 2013-06-28  Kenichi Handa  <handa@gnu.org>
9344         * international/mule.el (define-coding-system): New coding system
9345         properties :inhibit-null-byte-detection,
9346         :inhibit-iso-escape-detection, and :prefer-utf-8.
9347         (set-buffer-file-coding-system): If :charset-list property of
9348         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9349         appropriate for setting.
9351         * international/mule-cmds.el (select-safe-coding-system):
9352         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9353         multibyte characters, return utf-8 (or one of its siblings).
9355         * international/mule-conf.el (prefer-utf-8): New coding system.
9356         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9357         files.
9359 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
9361         * net/shr.el (shr-render-region): New function.
9363         * net/eww.el: Autoload `eww-browse-url'.
9365 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
9367         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9368         Adapt to `package-desc-version' being a list.
9369         Use `package--ac-desc-version' to retrieve version from a package
9370         archive element.
9372 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
9374         New experimental feature to save&restore window and frame setup.
9375         * desktop.el (desktop-save-windows): New defcustom.
9376         (desktop--saved-states): New var.
9377         (desktop--excluded-frame-parameters): New defconst.
9378         (desktop--filter-frame-parms, desktop--find-frame-in-display)
9379         (desktop--restore-windows, desktop--save-windows): New functions.
9380         (desktop-save): Call `desktop--save-windows'.
9381         (desktop-read): Call `desktop--restore-windows'.
9383 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9385         * net/shr.el (add-face-text-property): Remove compat definition.
9387 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
9389         * info.el (Info-try-follow-nearest-node): Move search for footnote
9390         above search for node name to prevent missing a footnote (bug#14717).
9392 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
9394         * obsolete/otodo-mode.el: Add obsolescence info to file header.
9396 2013-06-27  Leo Liu  <sdl.web@gmail.com>
9398         * net/eww.el (eww-read-bookmarks): Check file size.
9400 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9402         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9403         advice--pending if newdef is nil or an autoload (bug#13820).
9404         (advice-mapc): New function.
9406 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9408         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9409         probably.
9410         (eww-mode-map): Add a menu bar.
9411         (eww-add-bookmark): New command.
9412         (eww-bookmark-mode): New mode and commands.
9413         (eww-add-bookmark): Remove newlines from the title.
9414         (eww-bookmark-browse): Don't bug out if it's the only window.
9416 2013-06-26  Glenn Morris  <rgm@gnu.org>
9418         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9419         (hfy-size): Handle ttys.  (Bug#14668)
9421         * info-xref.el: Update for Texinfo 5 change in *note format.
9422         (info-xref-node-re, info-xref-note-re): New constants.
9423         (info-xref-check-buffer): Use info-xref-note-re.
9425 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9427         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9429         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9430         nil terminate the loop (bug#14718).
9432 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9434         * net/eww.el: Rework history traversal.  When going forward/back,
9435         put these actions into the history, too, so that they can be
9436         replayed.
9437         (eww-render): Move the history reset to the correct buffer.
9439 2013-06-25  Juri Linkov  <juri@jurta.org>
9441         * files-x.el (modify-dir-local-variable): Change the header comment
9442         in the file with directory local variables.  (Bug#14692)
9444         * files-x.el (read-file-local-variable-value): Add `default'.
9445         (Bug#14710)
9447 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9449         * net/eww.el (eww-make-unique-file-name): Create a unique file
9450         name before saving to entering `y' accidentally asynchronously.
9452 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
9454         * net/eww.el (eww-download): New command and keystroke.
9456 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9458         * net/eww.el (eww-copy-page-url): Change name of command.
9460         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9461         be more consistent with Info and dired.
9463         * net/eww.el (eww-mode-map): Ditto.
9465 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9467         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
9468         packages from archives.
9469         (package-archive-contents): Change format; include obsolete packages.
9470         (package-desc): Use `dir' to mark builtin packages.
9471         (package--from-builtin): Set the `dir' field to `builtin'.
9472         (generated-autoload-file, version-control): Declare.
9473         (package-compute-transaction): Change first arg and return value to be
9474         lists of package-descs.  Adjust to new package-archive-contents format.
9475         (package--add-to-archive-contents): Adjust to new
9476         package-archive-contents format.
9477         (package-download-transaction): Arg is now a list of package-descs.
9478         (package-install): If `pkg' is a package name, pass it as
9479         a requirement, so it is subject to the usual (e.g. disabled) checks.
9480         (describe-package): Accept package-desc as well.
9481         (describe-package-1): Describe a specific package-desc.  Add links to
9482         other package-descs for the same package name.
9483         (package-menu-describe-package): Pass the actual package-desc.
9484         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9485         works correctly.
9486         (package-desc-status): New function.
9487         (package-menu--refresh): New function, extracted
9488         from package-menu--generate.
9489         (package-menu--generate): Use it.
9490         (package-delete): Update package-alist.
9491         (package-menu-execute): Don't call package-initialize.
9493         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9494         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9495         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9496         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9497         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9498         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9500 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
9502         * window.el (window--state-get-1): Workaround for bug#14527.
9503         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9505 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9507         * net/eww.el (eww-back-url): Implement the history by stashing all
9508         the data into a list.
9509         (eww-forward-url): Allow going forward in the history, too.
9511 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9513         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9514         for values and use read--expression for expressions (bug#14710).
9515         (read-file-local-variable): Avoid setq.
9516         (read-file-local-variable-mode): Use minor-mode-list.
9518 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9520         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9521         for DOI URLs.
9523 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9525         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9526         Update imenu-support when dialect changes.
9528 2013-06-25  Leo Liu  <sdl.web@gmail.com>
9530         * ido.el (ido-read-internal): Allow forward slash on windows.
9532 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9534         * net/eww.el (eww): Start of strings is \\`, not ^.
9536 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
9538         * net/shr.el (shr-browse-url): Fix interactive spec.
9540         * net/eww.el (eww): Add a trailing slash to domain names.
9542 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
9544         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9546 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9548         * net/shr.el (shr-browse-url): Use an external browser if given a
9549         prefix.
9551         * net/eww.el (eww-external-browser): Move to shr.
9553 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
9555         * net/eww.el (eww): Work more correctly for file: URLs.
9556         (eww-detect-charset): Allow quoted charsets.
9557         (eww-yank-page-url): New command and keystroke.
9559 2013-06-24  Daiki Ueno  <ueno@gnu.org>
9561         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9562         file name of gpg executable.
9563         (epg-context-program): New function.
9564         (epg-context-home-directory): New function.
9565         (epg-context-set-program): New function.
9566         (epg-context-set-home-directory): New function.
9567         (epg--start): Use `epg-context-program' instead of
9568         'epg-gpg-program'.
9569         (epg--list-keys-1): Likewise.
9571 2013-06-24  Leo Liu  <sdl.web@gmail.com>
9573         * ido.el (ido-read-internal): Fix bug#14620.
9575 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
9577         * faces.el (face-documentation): Simplify.
9578         (read-face-attribute, tty-find-type, x-resolve-font-name):
9579         Use `string-match-p'.
9580         (list-faces-display): Use `string-match-p'.  Simplify.
9581         (face-spec-recalc): Check face to avoid face alias loops.
9582         (read-color): Use `string-match-p' and non-capturing parenthesis.
9584 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9586         * net/shr.el (shr-rescale-image): Use the new
9587         :max-width/:max-height functionality.
9589 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
9591         * net/eww.el (eww-search-prefix): New variable.
9592         (eww): Use it.
9593         (eww-external-browser): New variable.
9594         (eww-mode-map): New keystroke.
9595         (eww-browse-with-external-browser): New command.
9597         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9599 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
9601         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9602         Don't skip aligning the next header field when padding is 0;
9603         otherwise, field width is not respected unless the title is as
9604         wide as the field.
9606 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9608         * emacs-lisp/package.el (package-el-version): Remove.
9609         (package-process-define-package): Fix inf-loop.
9610         (package-install): Allow symbols as arguments again.
9612 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
9614         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9615         add some more keyword-like methods.
9616         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9618 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
9620         * bs.el (bs-buffer-show-mark): Make defvar-local.
9621         (bs-mode): Use setq-local.
9623         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9624         (emacs-lock--try-unlocking): Make defvar-local.
9626 2013-06-22  Glenn Morris  <rgm@gnu.org>
9628         * play/cookie1.el (cookie-apropos): Minor simplification.
9630         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9632 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
9634         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9635         `regexp-opt', it breaks the build during dumping.
9637 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
9639         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9640         Highlight keyword-like methods on Kernel and Module with
9641         font-lock-builtin-face.
9642         (auto-mode-alist): Consolidate different entries into one regexp
9643         and add more *file-s.
9645 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
9647         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9649         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9650         (diary-entry): Use it in the action of this button type instead of
9651         diary-goto-entry.
9653         * calendar/todo-mode.el: New version.
9654         (todo-add-category): Append new category to end of file and give
9655         it the highest number, instead of putting it at the beginning and
9656         giving it 0.  Incorporate noninteractive functionality.
9657         (todo-forward-category): Adapt to 1-based category numbering.
9658         Allow skipping over archived categories.
9659         (todo-backward-category): Derive from todo-forward-category.
9660         (todo-backward-item, todo-forward-item): Make noninteractive and
9661         delegate interactive part to new commands.  Make sensitive to done items.
9662         (todo-categories): Make value an alist of category names and
9663         vectors of item counts.
9664         (todo-category-beg): Make a defconst.
9665         (todo-category-number): Use 1 instead of 0 as initial value.
9666         (todo-category-select): Make sensitive to overlays, optional item
9667         highlighting and done items.
9668         (todo-delete-item): Make sensitive to overlays and marked and done items.
9669         (todo-edit-item): Make sensitive to overlays and editing of
9670         date/time header optional.  Add format checks.
9671         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
9672         no-op if point is not on an item.  Advertise using todo-edit-quit.
9673         (todo-edit-mode): Make sensitive to new format, font-locking, and
9674         multiple todo files.
9675         (todo-insert-item, todo-insert-item-here): Derive from
9676         todo-basic-insert-item and extend functionality.
9677         (todo-item-end, todo-item-start): Make sensitive to done items.
9678         (todo-item-string): Don't return text properties.  Restore point.
9679         (todo-jump-to-category): Make sensitive to multiple todo files and
9680         todo archives.  Use extended category completion.
9681         (todo-lower-item, todo-raise-item): Rename to *-priority and
9682         derive from todo-set-item-priority.
9683         (todo-mode): Derive from special-mode.  Make sensitive to new
9684         format, font-locking and multiple todo files.  Make read-only.
9685         (todo-mode-map): Don't suppress digit keys, so they can supply
9686         prefix arguments.  Add many new key bindings.
9687         (todo-prefix): Insert as an overlay instead of file text.
9688         Change semantics from diary date expression to purely visual mark.
9689         (todo-print): Rename to todo-print-buffer.  Make buffer display
9690         features printable.  Remove option to restrict number of items
9691         printed.  Add option to print to file.
9692         (todo-print-function): Rename to todo-print-buffer-function.
9693         (todo-quit): Extend to handle exiting new todo modes.
9694         (todo-remove-item): Make sensitive to overlays.
9695         (todo-save): Extend to buffers of filtered items.
9696         (todo-show): Make sensitive to done items, multiple todo files and
9697         new todo modes.  Offer to convert legacy todo file before creating
9698         first new todo file.
9699         (todo-show-priorities): Rename to todo-top-priorities.
9700         Change semantics of value 0.
9701         (todo-top-priorities): Rename to todo-filter-top-priorities,
9702         derive from todo-filter-items and extend functionality.
9703         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9704         and extend functionality to other types of filtered items.
9705         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9706         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9707         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9708         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9709         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9710         (todo-edit-mode-hook, todo-entry-prefix-function)
9711         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9712         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9713         (todo-initials, todo-insert-threshold, todo-item-string-start)
9714         (todo-line-string, todo-menu, todo-mode-hook)
9715         (todo-more-important-p, todo-previous-answer, todo-previous-line)
9716         (todo-print-priorities, todo-remove-separator)
9717         (todo-save-top-priorities-too, todo-string-count-lines)
9718         (todo-string-multiline-p, todo-time-string-format)
9719         (todo-tmp-buffer-name): Remove.
9720         (todo-add-file, todo-archive-done-item, todo-choose-archive)
9721         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9722         (todo-edit-category-diary-inclusion)
9723         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9724         (todo-edit-file, todo-edit-item-date-day)
9725         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9726         (todo-edit-item-date-month, todo-edit-item-date-to-today)
9727         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9728         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9729         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9730         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9731         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9732         (todo-filter-top-priorities-multifile, todo-find-archive)
9733         (todo-find-filtered-items-file, todo-go-to-source-item)
9734         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9735         (todo-jump-to-archive-category, todo-lower-category)
9736         (todo-mark-category, todo-marked-item-p, todo-merge-category)
9737         (todo-move-category, todo-move-item, todo-next-button)
9738         (todo-next-item, todo-padded-string, todo-powerset)
9739         (todo-previous-button, todo-previous-item)
9740         (todo-print-buffer-to-file, todo-raise-category)
9741         (todo-rename-category, todo-repair-categories-sexp, todo-search)
9742         (todo-set-category-number, todo-set-item-priority)
9743         (todo-set-top-priorities-in-category)
9744         (todo-set-top-priorities-in-file, todo-show-categories-table)
9745         (todo-sort-categories-alphabetically-or-numerically)
9746         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9747         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9748         (todo-toggle-item-header, todo-toggle-item-highlighting)
9749         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9750         (todo-toggle-view-done-items, todo-toggle-view-done-only)
9751         (todo-unarchive-items, todo-unmark-category): New commands.
9752         (todo-absolute-file-name, todo-add-to-buffer-list)
9753         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9754         (todo-basic-insert-item, todo-category-completions)
9755         (todo-category-number, todo-category-string-matcher-1)
9756         (todo-category-string-matcher-2, todo-check-filtered-items-file)
9757         (todo-check-format, todo-clear-matches)
9758         (todo-comment-string-matcher, todo-convert-legacy-date-time)
9759         (todo-current-category, todo-date-string-matcher)
9760         (todo-define-insertion-command, todo-diary-expired-matcher)
9761         (todo-diary-goto-entry, todo-diary-item-p)
9762         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9763         (todo-display-categories, todo-display-sorted, todo-done-item-p)
9764         (todo-done-item-section-p, todo-done-separator)
9765         (todo-done-string-matcher, todo-files, todo-filter-items)
9766         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9767         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9768         (todo-insert-category-line, todo-insert-item-from-calendar)
9769         (todo-insert-sort-button, todo-insert-with-overlays)
9770         (todo-insertion-command-name, todo-insertion-key-bindings)
9771         (todo-label-to-key, todo-longest-category-name-length)
9772         (todo-make-categories-list, todo-mode-external-set)
9773         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9774         (todo-modes-set-3, todo-multiple-filter-files)
9775         (todo-nondiary-marker-matcher, todo-prefix-overlays)
9776         (todo-read-category, todo-read-date, todo-read-dayname)
9777         (todo-read-file-name, todo-read-time)
9778         (todo-reevaluate-category-completions-files-defcustom)
9779         (todo-reevaluate-default-file-defcustom)
9780         (todo-reevaluate-filelist-defcustoms)
9781         (todo-reevaluate-filter-files-defcustom)
9782         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9783         (todo-reset-done-separator, todo-reset-done-separator-string)
9784         (todo-reset-done-string, todo-reset-global-current-todo-file)
9785         (todo-reset-highlight-item, todo-reset-nondiary-marker)
9786         (todo-reset-prefix, todo-set-categories)
9787         (todo-set-date-from-calendar, todo-set-show-current-file)
9788         (todo-set-top-priorities, todo-short-file-name)
9789         (todo-show-current-file, todo-sort, todo-time-string-matcher)
9790         (todo-total-item-counts, todo-update-buffer-list)
9791         (todo-update-categories-display, todo-update-categories-sexp)
9792         (todo-update-count, todo-validate-name, todo-y-or-n-p):
9793         New functions.
9794         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9795         New major modes.
9796         (todo-categories, todo-display, todo-edit, todo-faces)
9797         (todo-filtered): New defgroups.
9798         (todo-archived-only, todo-button, todo-category-string, todo-date)
9799         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9800         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9801         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9802         (todo-add-item-if-new-category, todo-always-add-time-string)
9803         (todo-categories-align, todo-categories-archived-label)
9804         (todo-categories-category-label, todo-categories-diary-label)
9805         (todo-categories-done-label, todo-categories-number-separator)
9806         (todo-categories-todo-label, todo-categories-totals-label)
9807         (todo-category-completions-files, todo-completion-ignore-case)
9808         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9809         (todo-done-separator-string, todo-done-string)
9810         (todo-files-function, todo-filter-done-items, todo-filter-files)
9811         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9812         (todo-initial-category, todo-initial-file, todo-item-mark)
9813         (todo-legacy-date-time-regexp, todo-mode-line-function)
9814         (todo-nondiary-marker, todo-number-prefix)
9815         (todo-print-buffer-function, todo-show-current-file)
9816         (todo-show-done-only, todo-show-first, todo-show-with-done)
9817         (todo-skip-archived-categories, todo-top-priorities-overrides)
9818         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9819         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9820         New defcustoms.
9821         (todo-category-done, todo-date-pattern, todo-date-string-start)
9822         (todo-diary-items-buffer, todo-done-string-start)
9823         (todo-filtered-items-buffer, todo-item-start)
9824         (todo-month-abbrev-array, todo-month-name-array)
9825         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9826         (todo-top-priorities-buffer): New defconsts.
9827         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9828         (todo-categories-with-marks, todo-category-string-face)
9829         (todo-comment-face, todo-comment-string, todo-current-todo-file)
9830         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9831         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9832         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9833         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9834         (todo-font-lock-keywords, todo-global-current-todo-file)
9835         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9836         (todo-insertion-commands-args)
9837         (todo-insertion-commands-args-genlist)
9838         (todo-insertion-commands-names, todo-insertion-map)
9839         (todo-key-bindings-t, todo-key-bindings-t+a)
9840         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9841         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9842         (todo-nondiary-face, todo-print-buffer, todo-time-face)
9843         (todo-visited): New variables.
9845 2013-06-21  Glenn Morris  <rgm@gnu.org>
9847         * play/cookie1.el (cookie-apropos): Add optional display argument.
9848         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9849         (psychoanalyze-pinhead): Use cookie-doctor.
9851 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
9853         * emacs-lisp/package.el (tar-get-file-descriptor)
9854         (tar--extract): Declare.
9856 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
9858         Extend flymake's warning predicate to be a function (bug#14217).
9859         * progmodes/flymake.el (flymake-warning-predicate): New.
9860         (flymake-parse-line): Use it.
9861         (flymake-warning-re): Make obsolete alias to
9862         `flymake-warning-predicate'.
9864 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9866         * emacs-lisp/package.el (package-alist): Include obsolete packages.
9867         (package-obsolete-list): Remove.
9868         (package-activate): Remove min-version argument.  Add `force' argument.
9869         Adjust to new package-alist format.
9870         (package-mark-obsolete): Remove.
9871         (package-unpack): Force reload of the package's autoloads.
9872         (package-installed-p): Check builtins if the installed package is not
9873         recent enough.
9874         (package-initialize): Don't reset package-obsolete-list.
9875         Don't specify which package version to activate.
9876         (package-process-define-package, describe-package-1)
9877         (package-menu--generate): Adjust to new package-alist format.
9879 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
9881         * allout-widgets.el (allout-widgets-mode-off)
9882         (allout-widgets-mode-on, allout-widgets-pre-command-business)
9883         (allout-widgets-post-command-business)
9884         (allout-widgets-after-copy-or-kill-function)
9885         (allout-widgets-after-undo-function, allout-test-range-overlaps)
9886         (allout-decorate-item-and-context)
9887         (allout-graphics-modification-handler): Fix typos in docstrings.
9888         (allout-get-or-create-parent-widget): Use `looking-at-p'.
9890         * cmuscheme.el (scheme-start-file): Doc fix.
9891         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9892         (scheme-input-filter): Use `string-match-p'.
9894         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9896         * dired-x.el: Use Dired consistently in docstrings.
9898         * dired.el: Use Dired consistently in docstrings.
9899         (dired-readin, dired-mode): Use `setq-local'.
9900         (dired-switches-alist): Make defvar-local.
9901         (dired-buffers-for-dir): Use `zerop'.
9902         (dired-safe-switches-p, dired-switches-escape-p)
9903         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9904         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9905         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
9906         (dired-goto-next-nontrivial-file): Use `string-match-p'.
9907         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9908         (dired-toggle-marks, dired-mark-files-containing-regexp)
9909         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9910         (dired-flag-auto-save-files, dired-flag-backup-files):
9911         Use `looking-at-p'.
9912         (dired-mark-files-regexp, dired-build-subdir-alist):
9913         Use `string-match-p', `looking-at-p'.
9915         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9916         (direct-print-region-helper): Use `string-match-p'.
9918 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9920         * comint.el (comint-redirect-results-list-from-process):
9921         Fix infinite loop.
9923 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9925         * net/eww.el (eww-update-header-line-format): Quote % characters.
9927 2013-06-21  Glenn Morris  <rgm@gnu.org>
9929         * play/cookie1.el (cookie): New custom group.
9930         (cookie-file): New option.
9931         (cookie-check-file): New function.
9932         (cookie): Make it interactive.  Make start and end messages optional.
9933         Interactively, display the result.  Default to cookie-file.
9934         (cookie-insert): Default to cookie-file.
9935         (cookie-snarf): Make start and end messages optional.
9936         Default to cookie-file.  Use with-temp-buffer.
9937         (cookie-read): Rename from read-cookie.
9938         Make start and end messages optional.  Default to cookie-file.
9939         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
9940         Do not autoload it.
9941         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9942         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9944 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9946         * progmodes/octave.el (octave-mode): Backward compatibility fix.
9948 2013-06-21  Glenn Morris  <rgm@gnu.org>
9950         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9952 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9953             Daniel Hackney  <dan@haxney.org>
9955         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9956         Consolidate the single-file vs tarball code.
9957         (package-desc-suffix): New function.
9958         (package-desc-full-name): Don't bother inlining it.
9959         (package-load-descriptor): Return the new package-desc.
9960         (package-mark-obsolete): Remove unused arg `package'.
9961         (package-unpack): Make it work for single files as well.
9962         Make it update package-alist.
9963         (package--make-autoloads-and-stuff): Rename from
9964         package--make-autoloads-and-compile.  Don't compile any more.
9965         (package--compile): New function.
9966         (package-generate-description-file): New function, extracted from
9967         package-unpack-single.
9968         (package-unpack-single): Remove.
9969         (package--with-work-buffer): Add indentation and debugging info.
9970         (package-download-single): Remove.
9971         (package-install-from-archive): Rename from package-download-tar, make
9972         it take a pkg-desc, and make it work for single files as well.
9973         (package-download-transaction): Simplify.
9974         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
9975         external tar program.
9976         (package-install-from-buffer): Remove `pkg-desc' argument.
9977         Use package-tar-file-info for tar-mode buffers.
9978         (package-install-file): Simplify accordingly.
9979         (package-archive-base): Change to take a pkg-desc.
9980         * tar-mode.el (tar--check-descriptor): New function, extracted from
9981         tar-get-descriptor.
9982         (tar-get-descriptor): Use it.
9983         (tar-get-file-descriptor): New function.
9984         (tar--extract): New function, extracted from tar-extract.
9985         (tar--extract): Use it.
9986         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9987         case the summary uses non-ascii.  Adjust to new calling convention of
9988         package-tar-file-info.
9990 2013-06-21  Leo Liu  <sdl.web@gmail.com>
9992         * comint.el (comint-redirect-results-list-from-process):
9993         Fix random delay.  (Bug#14681)
9995 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
9997         * profiler.el (profiler-format-number): Use log, not log10.
9999 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
10001         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10003 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10005         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10006         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10007         yet available.
10008         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10009         (AUTOGENEL): ... here.
10010         * emacs-lisp/cl-macs.el (cl--sublis): New function.
10011         (cl--defsubst-expand): Use it.
10013 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
10015         * subr.el (log10): Move here from C code, and declare as obsolete.
10016         All uses of (log10 X) replaced with (log X 10).
10018 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
10020         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10021         Declare with `defvar-local'.
10022         (tabulated-list-use-header-line, tabulated-list-entries)
10023         (tabulated-list-padding, tabulated-list-printer)
10024         (tabulated-list-sort-key): Declare with `defvar-local'.
10025         (tabulated-list-init-header, tabulated-list-print-fake-header):
10026         Use `setq-local'.
10028 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
10030         * arc-mode.el (archive-mode): Add `archive-write-file' to
10031         `write-contents-functions' also for remote files.  (Bug#14652)
10033 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
10035         * cus-edit.el (custom-commands): Fix typos.
10036         (custom-display): Fix tooltip text.
10037         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10038         Fix typos in docstrings.
10039         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10040         (custom-unlispify-menu-entry, custom-magic-value-create)
10041         (custom-add-see-also, custom-group-value-create): Use ?\s.
10042         (custom-guess-type, customize-apropos, editable-field)
10043         (custom-face-value-create): Use `string-match-p'.
10044         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10046         * custom.el (custom-load-symbol): Use `string-match-p'.
10048         * ansi-color.el: Convert to lexical binding.
10049         (ansi-colors): Fix URL.
10050         (ansi-color-context, ansi-color-context-region): Use defvar-local.
10051         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10052         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10054 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10056         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10058         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10060 2013-06-19  Tom Tromey  <tromey@redhat.com>
10062         * net/eww.el (eww-top-url): Remove.
10063         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10064         (eww-render): Set new variables.  Don't set eww-top-url.
10065         (eww-handle-link): Handle "prev", "home", and "contents".
10066         Downcase the rel text.
10067         (eww-top-url): Choose best top URL.
10069 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10071         * net/eww.el: Rewrite to implement form elements "by hand" instead of
10072         relying in widget.el.  Using widget.el leads to too many
10073         user interface inconsistencies.
10074         (eww-self-insert): Implement entering commands in text fields.
10075         (eww-process-text-input): New function to make text input field editing
10076         work.
10077         (eww-submit): Rewrite to use the new-style form methods.
10078         (eww-select-display): Display the correct selected item.
10079         (eww-change-select): Implement changing the select value.
10080         (eww-toggle-checkbox): Implement radio/checkboxes.
10081         (eww-update-field): Fix compilation error.
10082         (eww-tag-textarea): Implement <textarea>.
10084         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10085         we don't shadow mode-specific bindings.
10087         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10088         nothing to push.
10090         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10092 2013-06-19  Glenn Morris  <rgm@gnu.org>
10094         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10096 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
10098         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10099         not needed.
10101         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10103 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10105         * net/browse-url.el (browse-url-browser-function):
10106         `eww-browse-url' has the right calling signature, `eww' does not.
10108 2013-06-19  Glenn Morris  <rgm@gnu.org>
10110         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10111         Only eval autoloaded macros.
10112         (byte-compile-autoload): Only give the macro warning for macros.
10114         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10115         (ps-underlined-faces): Declare.
10117         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10118         (speedbar-add-supported-extension): Declare.
10120         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10121         Don't include a date stamp in the header of the generated file;
10122         it leads to needless differences between output files.
10124 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
10126         * net/secrets.el (secrets-struct-secret-content-type):
10127         Replace check of introspection data by a test call of "CreateItem".
10128         Some servers do not offer introspection.
10130 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10132         * electric.el (electric-pair-mode): Improve interaction with
10133         electric-layout-mode.
10134         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10135         (electric-pair-syntax): Use text-mode-syntax-table in comments
10136         and strings.
10137         (electric-pair--insert): New function.
10138         (electric-pair-post-self-insert-function): Use it and
10139         electric--after-char-pos.
10141 2013-06-19  Leo Liu  <sdl.web@gmail.com>
10143         * progmodes/octave.el (octave-help): Fix regexp.
10145 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10147         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10148         (shr-table-horizontal-line): Allow nil as a value, and change the
10149         default.
10150         (shr-insert-table-ruler): Respect the nil value.
10152 2013-06-18  Tom Tromey  <tromey@barimba>
10154         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10155         New defvars.
10156         (eww-open-file): New defun.
10157         (eww-render): Initialize new variables.
10158         (eww-display-html): Handle "link" and "a".
10159         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10160         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
10161         (eww-back-url): Rename from eww-previous-url.
10162         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10163         New defuns.
10165 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
10167         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10168         Distinguish ternary operator tokens from slash symbol and slash
10169         char literal.
10171 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
10173         Convert symbol prettification into minor mode and global minor mode.
10175         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10176         `prog-prettify-symbols', and make a local defvar instead of defcustom.
10177         (prettify-symbols--keywords): Rename from
10178         `prog-prettify-symbols-alist' and make a local defvar.
10179         (prettify-symbols--compose-symbol): Rename from
10180         `prog--prettify-font-lock-compose-symbol'.
10181         (prettify-symbols--make-keywords): Rename from
10182         `prog-prettify-font-lock-symbols-keywords' and simplify.
10183         (prog-prettify-install): Remove.
10184         (prettify-symbols-mode): New minor mode, based on
10185         `prog-prettify-install'.
10186         (turn-on-prettify-symbols-mode): New function.
10187         (global-prettify-symbols-mode): New globalized minor mode.
10189         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10190         * progmodes/cfengine.el (cfengine3-mode):
10191         * progmodes/perl-mode.el (perl-mode): Don't call
10192         `prog-prettify-install'; set `prettify-symbols-alist' instead.
10194 2013-06-18  Juri Linkov  <juri@jurta.org>
10196         * files-x.el (modify-file-local-variable-message): New function.
10197         (modify-file-local-variable)
10198         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10199         and call `modify-file-local-variable-message' when it's non-nil.
10200         (add-file-local-variable, delete-file-local-variable)
10201         (add-file-local-variable-prop-line)
10202         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10203         and use it.  (Bug#9820)
10205 2013-06-18  Juri Linkov  <juri@jurta.org>
10207         * emulation/vi.el (vi-shell-op):
10208         * emulation/vip.el (vip-execute-com, ex-command):
10209         * emulation/viper-cmd.el (viper-exec-bang):
10210         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10211         the call of `shell-command-on-region'.  (Bug#14637)
10213         * simple.el (shell-command-on-region): Doc fix.
10215 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10217         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10218         (bug#14633).
10220 2013-06-18  Glenn Morris  <rgm@gnu.org>
10222         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10224         * newcomment.el (comment-search-forward, comment-search-backward):
10225         Doc fix.  (Bug#14376)
10227 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
10229         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10230         (buffer-face-mode-invoke): Doc fix.
10232 2013-06-18  Matthias Meulien  <orontee@gmail.com>
10234         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10235         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10237 2013-06-18  Glenn Morris  <rgm@gnu.org>
10239         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10240         Replace obsolete function generic-make-keywords with its expansion.
10242         * progmodes/python.el (ffap-alist): Declare.
10244         * textmodes/reftex.el (bibtex-mode-map): Declare.
10246 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10248         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10249         (package-unpack, package-unpack-single): Return the pkg-dir.
10250         (package-download-transaction): Use it to update package-alist.
10252 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10254         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10255         possible choice.
10257 2013-06-17  Juri Linkov  <juri@jurta.org>
10259         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10261 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
10263         * emacs-lisp/package.el (package-load-descriptor):
10264         Remove `with-syntax-table' call, `read' doesn't need it.
10265         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10267 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
10269         * startup.el (command-line): Expand package name returned by
10270         `package--description-file' (bug#14639).
10272 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
10274         * emacs-lisp/package.el (package-load-descriptor): Do not call
10275         `emacs-lisp-mode', just use its syntax table.
10277 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
10279         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10280         `font-lock-extra-managed-props' if any prettifying keyword is added.
10281         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10282         (prog-mode): Use `setq-local'.
10284 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10286         * international/characters.el (standard-case-table): Set syntax of ?»
10287         and ?« to punctuation.
10289 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
10291         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10292         Save relevant match data before calling `syntax-ppss' (bug#14595).
10294 2013-06-15  Juri Linkov  <juri@jurta.org>
10296         * files-x.el (modify-file-local-variable-prop-line): Add local
10297         variables to the end of the existing comment on the first line.
10298         Use `file-auto-mode-skip' to skip interpreter magic line,
10299         and also skip XML declaration.
10301 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10303         * startup.el (package--builtin-versions): New var.
10304         (package-subdirectory-regexp): Remove.
10305         (package--description-file): Hard code its value instead.
10307         * emacs-lisp/package.el: Don't activate packages older than builtin.
10308         (package-obsolete-list): Rename from package-obsolete-alist, and make
10309         it into a simple list of package-desc.
10310         (package-strip-version): Remove.
10311         (package-built-in-p): Use package--builtin-versions.
10312         (package-mark-obsolete): Simplify.
10313         (package-process-define-package): Mark it obsolete if older than the
10314         builtin version.
10315         (package-handle-response): Use line-end-position.
10316         (package-read-archive-contents, package--download-one-archive):
10317         Simplify.
10318         (package--add-to-archive-contents): Skip if older than the builtin or
10319         installed version.
10320         (package-menu-describe-package): Fix last change.
10321         (package-list-unversioned): New var.
10322         (package-menu--generate): Use it.
10324         * emacs-lisp/autoload.el: Manage package--builtin-versions.
10325         (autoload--insert-text, autoload--insert-cookie-text): New functions.
10326         (autoload-builtin-package-versions): New variable.
10327         (autoload-generate-file-autoloads): Use them.
10328         Remove the list of autoloaded functions/macros from the
10329         (autoload...) comments.
10331         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10333 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
10335         * simple.el (line-move-partial): Don't jump to the next screen
10336         line as soon as it becomes visible.  Instead, continue enlarging
10337         the vscroll until the portion of a tall screen line that's left on
10338         display is about the height of the frame's default font.
10339         (Bug#14567)
10341 2013-06-15  Glenn Morris  <rgm@gnu.org>
10343         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10344         compilation-error-regexp-alist void, or local while let-bound.
10346         * progmodes/make-mode.el (makefile-mode-syntax-table):
10347         Treat "=" as punctuation.  (Bug#14614)
10349 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
10351         * help-fns.el (describe-variable):
10352         Add extra line for permanent-local variables.
10354 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
10356         * progmodes/scheme.el (scheme-font-lock-keywords-2):
10357         Add export, import, library.  (Bug#9164)
10358         (library): Set indent function.
10360 2013-06-14  Glenn Morris  <rgm@gnu.org>
10362         * term/xterm.el (xterm--query):
10363         Stop after first matching handler.  (Bug#14615)
10365 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
10367         Add support for dired in saveplace.
10368         * dired.el (dired-initial-position-hook): New variable.
10369         (dired-initial-position): Call hook to place cursor position.
10370         * saveplace.el (save-place-to-alist): Add dired position.
10371         (save-place-dired-hook): New function.
10373 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10375         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10376         through a symbol rather than letrec.
10378         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
10379         (package-desc): Add `dir' field.
10380         (package-desc-full-name): New function.
10381         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
10382         (package-maybe-load-descriptor): Remove.
10383         (package-load-all-descriptors): Just call package-load-descriptor.
10384         (package--disabled-p): New function.
10385         (package-desc-vers, package-desc-doc): Remove aliases.
10386         (package--dir): Remove function.
10387         (package-activate): Check if a package is disabled.
10388         (package-process-define-package): New function, extracted from
10389         define-package.
10390         (define-package): Turn into a place holder.
10391         (package-unpack-single, package-tar-file-info):
10392         Use package--description-file.
10393         (package-compute-transaction): Use package--disabled-p.
10394         (package-download-transaction): Don't call
10395         package-maybe-load-descriptor since they're all loaded anyway.
10396         (package-install): Change argument to be a pkg-desc.
10397         (package-delete): Use a single pkg-desc argument.
10398         (describe-package-1): Use package-desc-dir instead of package--dir.
10399         Use package-desc property instead of package-symbol.
10400         (package-install-button-action): Adjust accordingly.
10401         (package--push): Rewrite.
10402         (package-menu--print-info): Adjust accordingly.  Change the ID format
10403         to be a pkg-desc.
10404         (package-menu-describe-package, package-menu-get-status)
10405         (package-menu--find-upgrades, package-menu-mark-upgrades)
10406         (package-menu-execute, package-menu--name-predicate):
10407         Adjust accordingly.
10408         * startup.el (package--description-file): New function.
10409         (command-line): Use it.
10410         * emacs-lisp/package-x.el (package-upload-buffer-internal):
10411         Use package-desc-version.
10413         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10414         (byte-compile-preprocess): Use it.
10415         (byte-compile-file-form-defalias): Try a bit harder to use macros we
10416         can't quite recognize.
10417         (byte-compile-add-to-list): Remove.
10418         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10419         (cconv-closure-convert): Add assertion.
10421         * emacs-lisp/map-ynp.el: Use lexical-binding.
10422         (map-y-or-n-p): Remove unused vars `tail' and `object'.
10423         Factor out some repeated code.
10425 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10427         * subr.el (with-eval-after-load): New macro.
10428         (eval-after-load): Allow form to be a function.
10429         take advantage of lexical-binding.
10430         (do-after-load-evaluation): Use dolist and adjust to new format.
10431         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10433 2013-06-13  Juri Linkov  <juri@jurta.org>
10435         * replace.el (perform-replace): Display "symbol " and other search
10436         modes from `isearch-message-prefix' in the *Help* buffer.
10438         * isearch.el (isearch-query-replace): Add " symbol" and other
10439         possible search modes from `isearch-message-prefix' to the prompt.
10440         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10441         when reading a regexp to collect.
10443 2013-06-13  Juri Linkov  <juri@jurta.org>
10445         * isearch.el (word-search-regexp): Match whitespace if the search
10446         string begins or ends in whitespace.  The LAX arg is applied to
10447         both ends of the search string.  Use `regexp-quote' and explicit
10448         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
10449         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10450         boundaries are replaced with symbol boundaries, and characters
10451         between symbols match non-word non-symbol syntax.  (Bug#14602)
10453 2013-06-13  Juri Linkov  <juri@jurta.org>
10455         * isearch.el (isearch-del-char): Don't exceed the length of
10456         `isearch-string' by the prefix arg.  (Bug#14563)
10458 2013-06-13  Juri Linkov  <juri@jurta.org>
10460         * isearch.el (isearch-yank-word, isearch-yank-line)
10461         (isearch-char-by-name, isearch-quote-char)
10462         (isearch-printing-char, isearch-process-search-char):
10463         Add optional count prefix arg.  (Bug#14563)
10465         * international/isearch-x.el
10466         (isearch-process-search-multibyte-characters):
10467         Add optional count prefix arg.
10469 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10471         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10472         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10473         lexical-binding.
10475 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
10477         * subr.el (set-temporary-overlay-map): Add on-exit argument.
10479 2013-06-13  Glenn Morris  <rgm@gnu.org>
10481         * startup.el (tty-handle-args):
10482         Don't just discard "--" and anything after.  (Bug#14608)
10484         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10486 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
10488         Implement changes in Secret Service API.  Make it backward compatible.
10489         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10490         (secrets-create-item): Use it.  Prefix properties with interface.
10492 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
10494         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
10495         (term-emulate-terminal): Respect term-suppress-hard-newline.
10497 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
10499         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10500         Only remove a `thumb-file' overlay.  (Bug#14548)
10502 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
10504         * mail/reporter.el (reporter-submit-bug-report):
10505         Handle missing package-name.  (Bug#14600)
10507 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10509         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10510         (reftex-citation-prompt, reftex-default-bibliography)
10511         (reftex-bib-or-thebib, reftex-get-bibfile-list)
10512         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10513         (reftex-bib-sort-author, reftex-bib-sort-year)
10514         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10515         (reftex-extract-bib-entries-from-thebibliography)
10516         (reftex-get-bibkey-default, reftex-get-bib-names)
10517         (reftex-parse-bibtex-entry, reftex-get-bib-field)
10518         (reftex-format-bib-entry, reftex-parse-bibitem)
10519         (reftex-format-bibitem, reftex-do-citation)
10520         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10521         (reftex-restrict-bib-matches, reftex-extract-bib-file)
10522         (reftex-insert-bib-matches, reftex-format-citation)
10523         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10524         (reftex-create-bibtex-file): Add docstrings, mostly by converting
10525         existing comments into docstrings.
10527 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
10529         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10531 2013-06-12  Andreas Schwab  <schwab@suse.de>
10533         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10534         for auto-save files.
10536 2013-06-12  Glenn Morris  <rgm@gnu.org>
10538         * ido.el (ido-delete-ignored-files): Remove.
10539         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10540         Go back to calling ido-ignore-item-p directly.
10542 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
10544         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10546         * ido.el (ido-delete-ignored-files): New function,
10547         split from ido-make-file-list-1.
10548         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
10549         (ido-make-file-list-1): Use ido-delete-ignored-files.
10551 2013-06-12  Leo Liu  <sdl.web@gmail.com>
10553         * progmodes/octave.el (inferior-octave-startup)
10554         (inferior-octave-completion-table)
10555         (inferior-octave-track-window-width-change)
10556         (octave-eldoc-function-signatures, octave-help)
10557         (octave-find-definition): Use single quoted strings.
10558         (inferior-octave-startup-args): Change default value.
10559         (inferior-octave-startup): Do not hard code "-i" and
10560         "--no-line-editing".
10561         (inferior-octave-resync-dirs): Add optional arg NOERROR.
10562         (inferior-octave-directory-tracker): Use it.
10563         (octave-goto-function-definition): Robustify.
10564         (octave-help): Support highlighting operators in 'See also'.
10565         (octave-find-definition): Find subfunctions only in Octave mode.
10567 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10569         * help-fns.el (help-fns--compiler-macro): If the handler function is
10570         named, then put a link to it.
10571         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10572         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10573         (cl-typep): Use it.
10574         (cl-eval-when): Simplify debug spec.
10575         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
10576         compiler-macro function instead of setting `compiler-macro-file'.
10578 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
10580         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10581         * vc/vc-hooks.el (vc-stay-local): Doc fix.
10583 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10584             Daniel Hackney  <dan@haxney.org>
10586         First part of Daniel Hackney's patch to package.el.
10587         * emacs-lisp/package.el: Use defstruct.
10588         (package-desc): New, main struct.
10589         (package--bi-desc, package--ac-desc): New structs, used to describe the
10590         format in external files.
10591         (package-desc-vers): Replace with package-desc-version accessor.
10592         (package-desc-doc): Replace with package-desc-summary accessor.
10593         (package-activate-1): Remove `package' arg since the pkg-vec now
10594         includes the name.
10595         (define-package): Use package-desc-from-define.
10596         (package-unpack-single): Change file-name arg to be a symbol.
10597         (package--add-to-archive-contents): Use package-desc-create and new
10598         accessor functions to package--ac-desc.
10599         (package-buffer-info, package-tar-file-info): Return a package-desc.
10600         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
10601         arg to be a package-desc.
10602         (package-install-file): Adjust accordingly.  Use \' to match EOS.
10603         (package--from-builtin): New function.
10604         (describe-package-1, package-menu--generate): Use it.
10605         (package--make-autoloads-and-compile): Change name arg to be a symbol.
10606         (package-generate-autoloads): Idem and return the name of the file.
10607         * emacs-lisp/package-x.el (package-upload-buffer-internal):
10608         Change pkg-info arg to be a package-desc.
10609         Use package-make-ac-desc.
10610         (package-upload-file): Use \' to match EOS.
10611         * finder.el (finder-compile-keywords): Use package-make-builtin.
10613 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10615         * vc/vc.el (vc-deduce-fileset): Change error message.
10616         (vc-read-backend): New function.
10617         (vc-next-action): Use it.
10619         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10621         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10622         (prolog-font-lock-keywords): Use regexp-opt instead.
10623         Don't manually highlight strings.
10624         (prolog-mode-variables): Simplify comment-start-skip.
10625         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
10627         * emacs-lisp/generic.el (generic--normalise-comments)
10628         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10629         (generic-mode-set-comments): Use them.
10630         (generic-bracket-support): Use setq-local.
10631         (generic-make-keywords-list): Declare obsolete.
10633 2013-06-11  Glenn Morris  <rgm@gnu.org>
10635         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10636         Prettify after setting font-lock-defaults.  (Bug#14574)
10638 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
10640         * replace.el (query-replace, occur-read-regexp-defaults-function)
10641         (replace-search):
10642         * subr.el (declare-function, number-sequence, local-set-key)
10643         (substitute-key-definition, locate-user-emacs-file)
10644         (with-silent-modifications, split-string, eval-after-load):
10645         Fix typos, remove unneeded backslashes and reflow some docstrings.
10647 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10649         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10650         default for Elisp files.
10652 2013-06-11  Glenn Morris  <rgm@gnu.org>
10654         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10655         although define-derived-mode was doing this anyway.  (Bug#14583)
10657 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
10659         * allout.el (allout-encryption-plaintext-sanitization-regexps):
10660         Fix make-variable-buffer-local call to refer to the correct variable.
10662 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
10664         * eshell/em-term.el (eshell-visual-commands)
10665         (eshell-visual-subcommands, eshell-visual-options):
10666         Add summary line to docstrings.  Add cross-references.
10668 2013-06-10  Glenn Morris  <rgm@gnu.org>
10670         * epa.el (epa-read-file-name): New function.  (Bug#14510)
10671         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
10673 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
10675         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10676         output redirection to be ignored with visual commands.
10678 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
10680         * eshell/em-term.el (eshell-visual-command-p): New function.
10681         (eshell-term-initialize): Move long lambda to separate function
10682         eshell-visual-command-p.
10683         * eshell/em-dirs.el (eshell-dirs-initialize):
10684         * eshell/em-script.el (eshell-script-initialize):
10685         Add missing #' to lambda.
10687 2013-06-08  Leo Liu  <sdl.web@gmail.com>
10689         * progmodes/octave.el (octave-add-log-current-defun): New function.
10690         (octave-mode): Set add-log-current-defun-function.
10691         (octave-goto-function-definition): Do not move point if not found.
10692         (octave-find-definition): Enhance to try subfunctions first.
10694 2013-06-08  Glenn Morris  <rgm@gnu.org>
10696         * emacs-lisp/bytecomp.el (byte-compile-char-before)
10697         (byte-compile-backward-char, byte-compile-backward-word):
10698         Improve previous change, to handle non-explicit nil.
10700 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10702         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10703         (smie--opener/closer-at-point): New function.
10704         (smie--matching-block-data): Use it.  Don't match from right after an
10705         opener or right before a closer.  Obey smie-blink-matching-inners.
10706         Don't signal a mismatch for repeated inners like "switch..case..case".
10708 2013-06-07  Leo Liu  <sdl.web@gmail.com>
10710         * progmodes/octave.el (octave-mode): Set comment-use-global-state
10711         to t.  (Bug#14303)
10712         (octave-function-header-regexp): Fix.  (Bug#14570)
10713         (octave-help-mode-finish-hook, octave-help-mode-finish):
10714         Remove.  Just use temp-buffer-show-hook.
10716         * newcomment.el (comment-search-backward): Revert last change.
10717         (Bug#14434)
10719         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10721 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
10723         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10724         through xargs, to avoid failure due to MS-Windows limitations on
10725         command-line length.
10727 2013-06-06  Glenn Morris  <rgm@gnu.org>
10729         * font-lock.el (lisp-font-lock-keywords-2):
10730         Treat user-error like error.
10732         * emacs-lisp/bytecomp.el (byte-compile-char-before)
10733         (byte-compile-backward-char, byte-compile-backward-word):
10734         Handle explicit nil arguments.  (Bug#14565)
10736 2013-06-05  Alan Mackenzie  <acm@muc.de>
10738         * isearch.el (isearch-allow-prefix): New user option.
10739         (isearch-other-meta-char): Don't exit isearch when a prefix
10740         argument is typed whilst `isearch-allow-prefix' is non-nil.
10741         (Bug#9706)
10743 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10745         * autorevert.el (auto-revert-notify-handler): Use memq.
10746         Hide assertion failure.
10748         * skeleton.el: Use cl-lib.
10749         (skeleton-further-elements): Use defvar-local.
10750         (skeleton-insert): Use cl-progv.
10752 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
10754         * progmodes/prog-mode.el (prog-prettify-symbols)
10755         (prog-prettify-install): Update docstrings.
10757 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10759         * simple.el: Move all the prog-mode code to prog-mode.el.
10760         * progmodes/prog-mode.el: New file.
10761         * loadup.el: Add prog-mode.el.
10763 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
10765         * simple.el (prog-prettify-symbols): Add version.
10766         (prog-prettify-install): Add convenience function to prettify symbols.
10768         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10769         (perl--augmented-font-lock-keywords-1)
10770         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10771         variables and use it.
10773         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10774         (cfengine3-mode): Remove unneeded variable and use it.
10776         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10777         (lisp--augmented-font-lock-keywords-1)
10778         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10779         Remove unneeded variables and use it.
10781 2013-06-05  João Távora  <joaotavora@gmail.com>
10783         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10784         to point when opening the connection.  (Bug#14380)
10786 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10788         * subr.el (load-history-regexp, load-history-filename-element)
10789         (eval-after-load, after-load-functions, do-after-load-evaluation)
10790         (eval-next-after-load, display-delayed-warnings)
10791         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10792         definition of save-match-data.
10793         (overriding-local-map): Remove accidental obsolescence declaration.
10795         * emacs-lisp/edebug.el (edebug-result): Move before first use.
10797 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
10799         Generalize symbol prettify support to prog-mode and implement it
10800         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10801         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10802         (prog--prettify-font-lock-compose-symbol)
10803         (prog-prettify-font-lock-symbols-keywords): New variables and
10804         functions to support symbol prettification.
10805         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10806         (lisp--augmented-font-lock-keywords-1)
10807         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10808         (lisp--prettify-symbols-alist): Implement prettify of lambda.
10809         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10810         (cfengine3--prettify-symbols-alist, cfengine3-mode):
10811         Implement prettify of -> => :: strings.
10812         * progmodes/perl-mode.el (perl-prettify-symbols)
10813         (perl--font-lock-compose-symbol)
10814         (perl--font-lock-symbols-keywords): Move to prog-mode.
10815         (perl--prettify-symbols-alist): Prettify -> => :: strings.
10816         (perl-font-lock-keywords-1)
10817         (perl-font-lock-keywords-2): Remove explicit prettify support.
10818         (perl--augmented-font-lock-keywords)
10819         (perl--augmented-font-lock-keywords-1)
10820         (perl--augmented-font-lock-keywords-2, perl-mode):
10821         Implement prettify support.
10823 2013-06-05  Leo Liu  <sdl.web@gmail.com>
10825         Re-implement SMIE matching block highlight using
10826         show-paren-data-function.  (Bug#14395)
10827         * emacs-lisp/smie.el (smie-matching-block-highlight)
10828         (smie--highlight-matching-block-overlay)
10829         (smie--highlight-matching-block-lastpos)
10830         (smie-highlight-matching-block)
10831         (smie-highlight-matching-block-mode): Remove.
10832         (smie--matching-block-data-cache): New variable.
10833         (smie--matching-block-data): New function.
10834         (smie-setup): Use smie--matching-block-data for
10835         show-paren-data-function.
10837         * progmodes/octave.el (octave-mode-menu): Fix.
10838         (octave-find-definition): Skip garbage lines.
10840 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10842         Fix compilation error with simultaneous dynamic+lexical scoping.
10843         Add warning when a defvar appears after the first let-binding.
10844         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10845         (byte-compile-close-variables): Initialize it.
10846         (byte-compile--declare-var): New function.
10847         (byte-compile-file-form-defvar)
10848         (byte-compile-file-form-define-abbrev-table)
10849         (byte-compile-file-form-custom-declare-variable): Use it.
10850         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
10851         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10852         (byte-compile-bind): Handle dynamic bindings that shadow
10853         lexical bindings.
10854         (byte-compile-unbind): Make arg non-optional.
10855         (byte-compile-let): Simplify.
10856         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10857         (cconv--analyse-function, cconv-analyse-form): Populate it.
10858         Protect byte-compile-bound-variables to limit the scope of defvars.
10859         (cconv-analyse-form): Add missing rule for (defvar <foo>).
10860         Remove unneeded rule for `declare'.
10862         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10863         so as to avoid depending on cl-adjoin at run-time.
10864         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10866         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10867         (macroexp--warn-and-return): Use it.
10869 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10871         * subr.el: Convert to lexical binding.
10872         (overriding-local-map): Make obsolete.
10873         (add-to-list): Doc fix.  Add compiler macro.
10874         (read-key): Swap values of local maps.
10876 2013-06-05  Leo Liu  <sdl.web@gmail.com>
10878         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10880 2013-06-04  Leo Liu  <sdl.web@gmail.com>
10882         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10883         (compilation-auto-jump): Suppress the "Mark set" message to give
10884         way to exit message.
10886 2013-06-04  Alan Mackenzie  <acm@muc.de>
10888         Remove faulty optimisation from indentation calculation.
10889         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10890         search limit based on 2000 characters back from indent-point.
10892 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
10894         * eshell/em-term.el (cl-lib): Require `cl-lib'.
10896 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10898         * emacs-lisp/lisp.el: Use lexical-binding.
10899         (lisp--local-variables-1, lisp--local-variables): New functions.
10900         (lisp--local-variables-completion-table): New var.
10901         (lisp-completion-at-point): Use it complete let-bound vars.
10903         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10904         eagerly (bug#14422).
10906 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
10908         * autorevert.el (auto-revert-notify-enabled)
10909         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10910         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10911         (auto-revert-notify-handler): Handle also gfilenotify.
10913         * subr.el (file-notify-handle-event): New defun.  Replacing ...
10914         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10915         Remove.
10917 2013-06-03  Juri Linkov  <juri@jurta.org>
10919         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10920         `M-s h .'.  (Bug#14427)
10922         * hi-lock.el (highlight-symbol-at-point): New alias for the new
10923         command `hi-lock-face-symbol-at-point'.
10924         (hi-lock-face-symbol-at-point): New command.
10925         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10926         (hi-lock-menu): Add `highlight-symbol-at-point'.
10927         (hi-lock-mode): Doc fix.
10929         * isearch.el (isearch-forward-symbol-at-point): New command.
10930         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10931         (isearch-highlight-regexp): Add a regexp which matches
10932         words/symbols for word/symbol mode.
10934         * subr.el (find-tag-default-bounds): New function with the body
10935         mostly moved from `find-tag-default'.
10936         (find-tag-default): Move most code to `find-tag-default-bounds',
10937         call it and apply `buffer-substring-no-properties' afterwards.
10939 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
10941         * eshell/em-term.el (eshell-term-initialize):
10942         Use `cl-intersection' rather than `intersection'.
10944 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
10946         * vc/log-view.el: Doc fix.
10947         (log-view-mode-map): Copy keymap from `special-mode-map'.
10949 2013-06-02  Eric Ludlam  <zappo@gnu.org>
10951         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10952         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10953         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10954         (eieio-unbound, eieio-default-superclass)
10955         (eieio--define-field-accessors, method-static, method-before)
10956         (method-primary, method-after, method-num-lists)
10957         (method-generic-before, method-generic-primary)
10958         (method-generic-after, method-num-slots)
10959         (eieio-specialized-key-to-generic-key)
10960         (eieio--check-type, class-v, class-p)
10961         (eieio-class-name, define-obsolete-function-alias)
10962         (eieio-class-parents-fast, eieio-class-children-fast)
10963         (same-class-fast-p, class-constructor, generic-p)
10964         (generic-primary-only-p, generic-primary-only-one-p)
10965         (class-option-assoc, class-option, eieio-object-p)
10966         (class-abstract-p, class-method-invocation-order)
10967         (eieio-defclass-autoload-map, eieio-defclass-autoload)
10968         (eieio-class-un-autoload, eieio-defclass)
10969         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10970         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10971         (eieio--defgeneric-init-form, eieio-defgeneric-form)
10972         (eieio-defgeneric-reset-generic-form)
10973         (eieio-defgeneric-form-primary-only)
10974         (eieio-defgeneric-reset-generic-form-primary-only)
10975         (eieio-defgeneric-form-primary-only-one)
10976         (eieio-defgeneric-reset-generic-form-primary-only-one)
10977         (eieio-unbind-method-implementations)
10978         (eieio--defmethod, eieio--typep)
10979         (eieio-perform-slot-validation, eieio-validate-slot-value)
10980         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10981         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10982         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10983         (eieio-slot-name-index, eieio-class-slot-name-index)
10984         (eieio-set-defaults, eieio-initarg-to-attribute)
10985         (eieio-attribute-to-initarg, eieio-c3-candidate)
10986         (eieio-c3-merge-lists, eieio-class-precedence-c3)
10987         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10988         (eieio-class-precedence-list, eieio-generic-call-methodname)
10989         (eieio-generic-call-arglst, eieio-generic-call-key)
10990         (eieio-generic-call-next-method-list)
10991         (eieio-pre-method-execution-functions, eieio-generic-call)
10992         (eieio-generic-call-primary-only, eieiomt-method-list)
10993         (eieiomt-optimizing-obarray, eieiomt-install)
10994         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10995         (eieio-generic-form, eieio-defmethod, make-obsolete)
10996         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10997         (defclass): Remove `eval-and-compile' from macro.
10998         (call-next-method, shared-initialize): Instead of using
10999         `scoped-class' variable, use new eieio--scoped-class, and
11000         eieio--with-scoped-class.
11001         (initialize-instance): Rename local variable 'scoped-class' to
11002         'this-class' to remove ambiguitity from old global.
11004         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
11005         eieio.el.
11006         (eieio--scoped-class-stack): New variable.
11007         (eieio--scoped-class): New fcn.
11008         (eieio--with-scoped-class): New scoping macro.
11009         (eieio-defclass): Use pushnew instead of add-to-list.
11010         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11011         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11012         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11013         `scoped-class' variable, use new eieio--scoped-class, and
11014         eieio--with-scoped-class.
11016         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11018 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
11020         * eshell/esh-ext.el (eshell-external-command): Pass args to
11021         `eshell-find-interpreter'.
11022         (eshell-find-interpreter): Add new second parameter ARGS.
11024         * eshell/em-script.el (eshell-script-initialize): Add second arg
11025         to the function added as MATCH to `eshell-interpreter-alist'.
11027         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11028         the function added as MATCH to `eshell-interpreter-alist'.
11030         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11031         (eshell-visual-options): New defcustom.
11032         (eshell-escape-control-x): Adapt docstring.
11033         (eshell-term-initialize): Test `eshell-visual-subcommands' and
11034         `eshell-visual-options' in addition to `eshell-visual-commands'.
11035         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11037 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11039         * progmodes/python.el (python-indent-block-enders): Add break,
11040         continue and raise keywords.
11042 2013-06-01  Glenn Morris  <rgm@gnu.org>
11044         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11046         Plain (f)boundp silences compilation warnings since Emacs 22.1.
11047         * progmodes/cc-cmds.el (delete-forward-p):
11048         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11049         * progmodes/cc-engine.el (buffer-syntactic-context):
11050         * progmodes/cc-fonts.el (face-property-instance):
11051         * progmodes/cc-mode.el (set-keymap-parents):
11052         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11053         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11054         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11055         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11056         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11058         * progmodes/cc-vars.el (other): Emacs has this widget since
11059         at least 21.1, so don't (re)define it.
11061         * eshell/em-cmpl.el (eshell-cmpl-initialize):
11062         Replace the obsolete alias pcomplete-arg-quote-list.
11064 2013-06-01  Leo Liu  <sdl.web@gmail.com>
11066         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11067         punctuation syntax.
11068         (inferior-octave-minimal-columns)
11069         (inferior-octave-last-column-width): New variables.
11070         (inferior-octave-track-window-width-change): New function.
11071         (inferior-octave-mode): Adjust column width so that Octave output,
11072         for example from 'ls', can fit into the window nicely.
11074 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
11076         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11077         Highlight expansions inside regexp literals.
11079 2013-05-31  Glenn Morris  <rgm@gnu.org>
11081         * obsolete/sym-comp.el (symbol-complete):
11082         Replace obsolete completion-annotate-function.
11084         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11086 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
11088         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11089         New function, checks if point is inside a literal that allows
11090         expression expansion.
11091         (ruby-syntax-propertize-expansion): Use it.
11092         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11093         around the body.
11095 2013-05-30  Juri Linkov  <juri@jurta.org>
11097         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11098         to "\M-si".
11099         (isearch-invisible): New variable.
11100         (isearch-forward): Doc fix.
11101         (isearch-mode): Set `isearch-invisible'
11102         to the value of `search-invisible'.
11103         (isearch-toggle-case-fold): Doc fix.
11104         (isearch-toggle-invisible): New command.
11105         (isearch-query-replace): Let-bind `search-invisible'
11106         to the value of `isearch-invisible'.
11107         (isearch-search): Use `isearch-invisible' instead of
11108         `search-invisible'.  Let-bind `search-invisible'
11109         to the value of `isearch-invisible'.  (Bug#11378)
11111 2013-05-30  Juri Linkov  <juri@jurta.org>
11113         * replace.el (perform-replace): Avoid `isearch-range-invisible'
11114         call when `query-flag' is nil and `search-invisible' is non-nil.
11115         (Bug#11746)
11117 2013-05-30  Glenn Morris  <rgm@gnu.org>
11119         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11121         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11122         (cc-require): Suppress spurious "noruntime" warnings.
11123         (cc-require-when-compile): Use fboundp, for sake of compiler.
11125         * progmodes/cc-mode.el: Move load of cc-vars before that of
11126         cc-langs (which in turn loads cc-vars), to quieten compiler.
11128 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11130         * paren.el: Simplify the code.
11131         (show-paren-mode): Always start the timer.
11132         (show-paren--idle-timer): Rename from show-paren-idle-timer.
11133         (show-paren--overlay, show-paren--overlay-1): Rename from
11134         show-paren-overlay and show-paren-overlay-1, and initialize to an
11135         overlay rather than to nil.
11136         (show-paren-function): Misc cleanup and simplifications.
11138 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11140         * paren.el (show-paren-data-function): New hook.
11141         (show-paren--default): New function, extracted from show-paren-function.
11142         (show-paren-function): Use show-paren-data-function.
11144 2013-05-30  Glenn Morris  <rgm@gnu.org>
11146         * ielm.el (ielm-map, ielm-complete-symbol):
11147         Use completion-at-point rather than obsolete functions.
11148         (inferior-emacs-lisp-mode): Doc fix.
11149         Set completion-at-point-functions, rather than
11150         comint-dynamic-complete-functions.
11152         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11153         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11154         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11156         * image.el (image-animated-p): Tweak definition.
11158         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11159         (rlogin-process-connection-type): Tweak default.  Add set-after.
11160         (rlogin-host): Doc fix.
11161         (rlogin): Tweak prompt.
11162         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11164         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11165         * progmodes/tcl.el (inferior-tcl-mode-map):
11166         Use completion-at-point rather than obsolete alias.
11168         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11170         * minibuffer.el (read-file-name-completion-ignore-case):
11171         Move before completion--in-region, for eager macro expansion.
11173 2013-05-29  Juri Linkov  <juri@jurta.org>
11175         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11176         for total count of matching lines.  Add `global-matches' for total
11177         count of matches.  Rename `matches' to `lines' for count of
11178         matching lines.  Add `matches' for count of matches.
11179         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
11180         to `prev-line' for line number of prev match endpt.
11181         Increment `matches' for every match.  Print the number of
11182         matching lines in the header.
11183         (occur-context-lines): Rename `lines' to `curr-line'.
11184         Rename `prev-lines' to `prev-line'.  (Bug#14017)
11186 2013-05-29  Juri Linkov  <juri@jurta.org>
11188         * replace.el (perform-replace): Add `skip-read-only-count',
11189         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11190         Increment them for corresponding conditions and report the number
11191         of skipped occurrences in the final message.  (Bug#11746)
11192         (query-replace, query-replace-regexp, query-replace-regexp-eval)
11193         (replace-string, replace-regexp): Doc fix.
11195 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11197         * emacs-lisp/trace.el (trace--read-args): Provide a default.
11199         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11200         prog-mode-map (bug#14504).
11202 2013-05-29  Leo Liu  <sdl.web@gmail.com>
11204         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11205         (octave-help): Small simplification.
11207         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11208         off the highlight first.
11210 2013-05-29  Glenn Morris  <rgm@gnu.org>
11212         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11213         Handle idlwave-last-system-routine-info-cons-cell being nil.
11215         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11216         (idlwave-write-paths): Simplify via with-temp-buffer.
11218         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11219         * emulation/cua-rect.el: Also load cua-base at run time.
11221         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11222         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11223         (cperl-imenu-on-info): Require imenu.
11225 2013-05-28  Alan Mackenzie  <acm@muc.de>
11227         Handle "capitalised keywords" correctly.
11228         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11230 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
11232         * eshell/em-unix.el: Add -r option to cp.
11234 2013-05-28  Glenn Morris  <rgm@gnu.org>
11236         * vc/vc-arch.el (vc-exec-after): Declare.
11237         (vc-switches): Autoload.
11238         * vc/vc-bzr.el: No need to require vc when compiling.
11239         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11240         (vc-resynch-buffer, vc-dir-refresh): Declare.
11241         (vc-setup-buffer, vc-switches): Autoload.
11242         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11243         (vc-resynch-buffer): Declare.
11244         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11245         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11246         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11247         (grep-read-regexp, grep-read-files, grep-expand-template)
11248         (vc-dir-refresh): Declare.
11249         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11250         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11251         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11252         * vc/vc-mtn.el (vc-exec-after): Declare.
11253         (vc-switches): Autoload.
11254         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11255         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11256         (vc-file-tree-walk): Declare.
11257         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11258         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11259         (vc-tag-precondition, vc-rename-master): Autoload.
11260         * vc/vc-svn.el (vc-exec-after): Declare.
11261         (vc-switches, vc-setup-buffer): Autoload.
11262         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11263         Autoload.
11264         (vc-resynch-buffer): Declare.
11266         * obsolete/fast-lock.el (byte-compile-warnings):
11267         Don't warn about obsolete features in this obsolete file.
11269         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11270         Move definition before use.
11272         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11273         (dun-unix-verbs): Remove dun-zippy.
11274         (dun-zippy): Remove function.
11276         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11278 2013-05-27  Juri Linkov  <juri@jurta.org>
11280         * replace.el (replace-search): New function with code moved out
11281         from `perform-replace'.
11282         (replace-highlight, replace-dehighlight): Move function definitions
11283         up closer to `replace-search'.  (Bug#11746)
11285 2013-05-27  Juri Linkov  <juri@jurta.org>
11287         * replace.el (perform-replace): Ignore invisible matches.
11288         In addition to checking `query-replace-skip-read-only', also
11289         filter out matches by calling `run-hook-with-args-until-failure'
11290         on `isearch-filter-predicates', and also check `search-invisible'
11291         for t or call `isearch-range-invisible'.
11292         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
11294 2013-05-27  Juri Linkov  <juri@jurta.org>
11296         * isearch.el (isearch-filter-predicates): Rename from
11297         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
11298         (isearch-message-prefix): Display text from the property
11299         `isearch-message-prefix' of the currently active filters.
11300         (isearch-search): Don't compare `isearch-filter-predicate' with
11301         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
11302         on `isearch-filter-predicates'.  Also check `search-invisible' for t
11303         or call `isearch-range-invisible'.
11304         (isearch-filter-visible): Make obsolete.
11305         (isearch-lazy-highlight-search):
11306         Call `run-hook-with-args-until-failure' on
11307         `isearch-filter-predicates' and use `isearch-range-invisible'.
11309         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11310         `isearch-filter-predicates' instead of `funcall'ing
11311         `isearch-filter-predicate'.
11312         (Info-mode): Set `Info-isearch-filter' to
11313         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11315         * dired-aux.el (dired-isearch-filter-predicate-orig):
11316         Remove variable.
11317         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11318         (dired-isearch-filenames-end): Add and remove
11319         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11320         instead of changing the value of `isearch-filter-predicate'.
11321         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11322         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11323         Put property `isearch-message-prefix' to "filename " on
11324         `dired-isearch-filter-filenames'.
11326         * wdired.el (wdired-change-to-wdired-mode):
11327         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11328         locally instead of changing `isearch-filter-predicate'.
11329         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11331 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
11333         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11334         return the commit hash (Bug#14459).  Also set the
11335         `vc-git-detached' property.
11336         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11337         (vc-git-mode-line-string): Use the same help-echo format whether
11338         in detached mode or not, because we know the actual revision now.
11339         When in detached mode, shorten the revision to 7 chars.
11341 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11343         * emacs-lisp/easy-mmode.el (define-minor-mode):
11344         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11345         mode hook and provide a docstring.
11347 2013-05-27  Alan Mackenzie  <acm@muc.de>
11349         Remove spurious syntax-table text properties inserted by C-y.
11350         * progmodes/cc-mode.el (c-after-change): Also clear hard
11351         syntax-table property with value nil.
11353 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
11355         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11356         when reading the events; the buffer layout shall not be changed.
11358 2013-05-27  Leo Liu  <sdl.web@gmail.com>
11360         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11361         New variable.
11362         (inferior-octave-directory-tracker): Automatically re-sync
11363         default-directory.
11364         (octave-help): Improve handling of 'See also'.
11366 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11368         * doc-view.el: Minor naming convention tweaks.
11369         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11371         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11372         even if there's no `display' property yet (bug#14435).
11374 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
11376         * subr.el (unmsys--file-name): Rename from reveal-filename.
11378         * Makefile.in (custom-deps, finder-data, autoloads)
11379         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11380         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11381         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11383 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11385         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11386         error-completion on the first 2 args of condition-case (bug#14446).
11387         Don't burp at EOB.
11389 2013-05-25  Leo Liu  <sdl.web@gmail.com>
11391         * comint.el (comint-previous-matching-input): Do not flood the
11392         *Messages* buffer with trivial messages.
11394 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11396         * progmodes/flymake.el (flymake-nop): Don't return a string.
11397         (flymake-set-at): Fix typo.
11399         * simple.el (read--expression): New function, extracted from
11400         eval-expression.  Set completion-at-point-functions (bug#14465).
11401         (eval-expression, eval-minibuffer): Use it.
11403 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
11405         * progmodes/flymake.el (flymake-save-buffer-in-file)
11406         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11407         (flymake-selected-frame, flymake-log, flymake-ins-after)
11408         (flymake-set-at, flymake-get-buildfile-from-cache)
11409         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11410         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11411         Refine the doc string.
11412         (flymake-get-file-name-mode-and-masks): Reformat.
11413         (flymake-get-real-file-name-function): Fix a minor bug.
11415 2013-05-24  Juri Linkov  <juri@jurta.org>
11417         * progmodes/grep.el (grep-mode-font-lock-keywords):
11418         Support =linenumber= format used by git-grep for lines with
11419         function names.  (Bug#13549)
11421 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11423         * progmodes/octave.el (octave-smie-rules): Return nil rather than
11424         0 after a semi-colon; it works better for smie-auto-fill.
11425         (octave--indent-new-comment-line): New function.
11426         (octave-indent-new-comment-line): Use it (indirectly).
11427         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
11428         modify comment-line-break-function.
11430         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11431         (smie-setup): Use add-function to set it.
11433 2013-05-24  Sam Steingold  <sds@gnu.org>
11435         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11436         argument (before the `interactive' argument).
11438 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11440         * image-mode.el (image-mode-winprops): Add winprops to
11441         image-mode-winprops-alist before running
11442         image-mode-new-window-functions.
11443         * doc-view.el (doc-view-new-window-function): Don't delay
11444         doc-view-goto-page via timers (bug#14435).
11446 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
11448         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
11449         (doc-view-desktop-save-buffer): New function.
11450         (doc-view-restore-desktop-buffer): New function.
11451         (desktop-buffer-mode-handlers):
11452         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11453         handler.
11454         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11455         `desktop-save-buffer' function.
11457 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
11459         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11460         (tramp-gvfs-file-name-handler): Raise a user error when
11461         `tramp-gvfs-enabled' is nil.
11462         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11463         Do not raise a user error when loading package.  (Bug#14447)
11465         * net/xesam.el: Move to obsolete/.
11467 2013-05-24  Glenn Morris  <rgm@gnu.org>
11469         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11471         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11473         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11474         (Info-find-node, Man-getpage-in-background): Declare.
11476         * mail/unrmail.el (unrmail):
11477         Replace obsolete detect-coding-with-priority.
11479         * net/socks.el (socks-split-string): Use this rather than split-string.
11480         (socks-nslookup-host): Update for above change.
11481         (dynamic-choice, s5-dynamic-choice-match)
11482         (s5-dynamic-choice-match-inline, s5-widget-value-create):
11483         Comment out unused code.
11485         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11486         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11487         (gud-tooltip-echo-area): Make obsolete.
11488         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11490         * progmodes/js.el (js--optimize-arglist): Declare.
11492         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11494         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11495         (ediff-window-C): Declare.
11497         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11498         Tweak requires to silence compiler.
11500         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11501         (he-search-string, he-tried-table, he-expand-list)
11502         (he-init-string, he-string-member, he-substitute-string)
11503         (he-reset-string): Declare.
11505         * obsolete/options.el (list-options): Use custom-variable-p,
11506         rather than obsolete alias.
11508 2013-05-23  Sam Steingold  <sds@gnu.org>
11510         * simple.el (shell-command-on-region): Pass the `replace' argument
11511         down to `call-process-region' to comply with the doc as reported on
11512         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11514 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11516         * emacs-lisp/smie.el (smie-indent-forward-token)
11517         (smie-indent-backward-token): Handle string tokens (bug#14381).
11519 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11521         * ielm.el (ielm-menu): New menu.
11522         (inferior-emacs-lisp-mode): Set comment-start.
11524 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11526         * textmodes/reftex.el (reftex-ref-style-toggle):
11527         Fix deactivate action.
11529         * textmodes/reftex-vars.el (reftex-ref-style-alist):
11530         Add cleveref macros.
11532         * textmodes/reftex-parse.el
11533         (reftex-locate-bibliography-files): Accept options for
11534         bibliography commands.
11535         * textmodes/reftex-vars.el (reftex-bibliography-commands):
11536         Add addbibresource.  Basic Biblatex support.
11538 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
11540         * net/tramp-gvfs.el (top):
11541         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11542         when loading package.  (Bug#14447)
11544 2013-05-23  Glenn Morris  <rgm@gnu.org>
11546         * progmodes/js.el: No need to load comint when compiling.
11547         (ring-insert, comint-send-string, comint-send-input)
11548         (comint-last-input-end, ido-chop): Declare.
11550         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11551         * vc/ediff-mult.el: Adjust requires.
11552         (ediff-directories-internal, ediff-directory-revisions-internal)
11553         (ediff-patch-file-internal): Declare.
11554         * vc/ediff-ptch.el: Adjust requires.
11555         (ediff-use-last-dir, ediff-buffers-internal): Declare.
11556         (ediff-find-file): Autoload.
11557         * vc/ediff-util.el: No need to load ediff when compiling.
11558         (ediff-regions-internal): Declare.
11559         * vc/ediff-wind.el: Adjust requires.
11560         (ediff-compute-toolbar-width): Define when compiling.
11561         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11562         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11563         (dired-get-filename, dired-get-marked-files)
11564         (ediff-last-dir-patch, ediff-patch-default-directory)
11565         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11566         (ediff-patch-buffer-internal): Declare.
11568         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11569         (ispell-process, ispell-buffer-local-words, lm-summary)
11570         (lm-section-start, lm-section-end): Declare.
11571         (checkdoc-ispell-init): Simplify.
11573         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11574         (he-string-member, he-reset-string, he-substitute-string): Declare.
11576         * eshell/em-ls.el: Adjust requires.
11577         (eshell-glob-regexp): Declare.
11578         * eshell/em-tramp.el: Adjust requires.
11579         (eshell-parse-command): Autoload.
11580         * eshell/em-xtra.el: Adjust requires.
11581         (eshell-parse-command): Autoload.
11582         * eshell/esh-ext.el: Adjust requires.
11583         (eshell-parse-command, eshell-close-handles): Autoload.
11584         * eshell/esh-io.el: Adjust requires.
11585         (eshell-output-filter): Autoload.
11586         * eshell/esh-util.el: No need to load tramp when compiling.
11587         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11588         Declare.
11589         (eshell-parse-ange-ls): Require ange-ftp and tramp.
11590         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11591         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11592         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11593         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11594         * eshell/esh-opt.el, eshell/esh-proc.el:
11595         * eshell/esh-var.el: Adjust requires.
11596         * eshell/eshell.el: Do not require esh-util twice.
11597         (eshell-add-input-to-history): Declare.
11598         (eshell-command): Check history module is active before using it.
11600         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11602 2013-05-22  Leo Liu  <sdl.web@gmail.com>
11604         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11606 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
11608         * autorevert.el (auto-revert-notify-add-watch)
11609         (auto-revert-notify-handler): Add `attrib' for the inotify case,
11610         it indicates changes in file modification time.
11612 2013-05-22  Glenn Morris  <rgm@gnu.org>
11614         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11615         Always delete the autoloaded function from the noruntime and
11616         unresolved functions lists.
11618         * allout.el: No need to load epa, epg, overlay when compiling.
11619         (epg-context-set-passphrase-callback, epg-list-keys)
11620         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11621         (epg-key-user-id-list): Declare.
11623         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11624         (viper-set-parsing-style-toggling-macro)
11625         (viper-set-emacs-state-searchstyle-macros):
11626         Use called-interactively-p on Emacs.
11627         (viper-looking-back): Make it an obsolete alias.  Update callers.
11628         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11629         Use looking-back rather than viper-looking-back.
11630         (viper-tmp-insert-at-eob, viper-enlarge-region)
11631         (viper-read-string-with-history, viper-register-to-point)
11632         (viper-append-to-register, viper-change-state-to-vi)
11633         (viper-backward-char-carefully, viper-forward-char-carefully)
11634         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11635         (viper-change-state-to-emacs): Declare.
11636         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11637         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11638         * emulation/viper-mous.el: Do not load viper-cmd.
11639         (viper-backward-char-carefully, viper-forward-char-carefully)
11640         (viper-forward-word, viper-adjust-window): Declare.
11642         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11644         * progmodes/idlw-help.el (idlwave-help-fontify):
11645         Use called-interactively-p.
11647         * term/w32console.el (w32-get-console-codepage)
11648         (w32-get-console-output-codepage): Declare.
11650         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11651         Remove unnecessary declarations.
11652         (dframe-message): Doc fix.
11654         * info.el (dframe-select-attached-frame, dframe-current-frame):
11655         Declare.
11657         * speedbar.el (speedbar-message): Make it an obsolete alias.
11658         Update all callers.
11659         (speedbar-with-attached-buffer)
11660         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11661         (speedbar-with-writable): Use backquote.
11662         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11663         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11664         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11665         rather than speedbar- aliases.
11666         * mail/rmail.el: Load dframe rather than speedbar when compiling.
11667         (speedbar-make-specialized-keymap, speedbar-insert-button)
11668         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11669         (speedbar-do-function-pointer): Declare.
11670         (rmail-speedbar-button, rmail-speedbar-find-file)
11671         (rmail-speedbar-move-message):
11672         Use dframe-with-attached-buffer rather than speedbar- alias.
11673         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11674         (dframe-message, speedbar-make-specialized-keymap)
11675         (speedbar-add-expansion-list, speedbar-mode-functions-list)
11676         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11677         (speedbar-insert-button, dframe-select-attached-frame)
11678         (dframe-maybee-jump-to-attached-frame)
11679         (speedbar-change-initial-expansion-list)
11680         (speedbar-previously-used-expansion-list-name): Declare.
11681         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11682         Use dframe-message, dframe-with-attached-buffer rather than
11683         speedbar- aliases.
11684         (gud-sentinel): Silence compiler.
11685         * progmodes/vhdl-mode.el (speedbar-refresh)
11686         (speedbar-do-function-pointer, speedbar-add-supported-extension)
11687         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11688         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11689         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11690         (speedbar-file-lists, speedbar-make-tag-line)
11691         (speedbar-line-directory, speedbar-goto-this-file)
11692         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11693         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11694         (speedbar-make-button, speedbar-reset-scanners)
11695         (speedbar-files-item-info, speedbar-line-text)
11696         (speedbar-find-file-in-frame, speedbar-set-timer)
11697         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11698         (speedbar-with-writable): Do not (re)define it.
11699         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11700         rather than speedbar- alias.
11702 2013-05-21  Leo Liu  <sdl.web@gmail.com>
11704         * progmodes/octave.el (octave-mode-menu): Update and re-organize
11705         menu items.
11706         (octave-mode): Tweak fill-nobreak-predicate.
11707         (inferior-octave-startup): Check process to avoid infinite loop.
11708         (inferior-octave): Pop to buffer first to show abornmal process
11709         exit information.
11711 2013-05-21  Glenn Morris  <rgm@gnu.org>
11713         * printing.el (pr-menu-bar): Define when compiling.
11715 2013-05-21  Leo Liu  <sdl.web@gmail.com>
11717         * progmodes/octave.el (octave-auto-fill): Remove.
11718         (octave-indent-new-comment-line): Improve.
11719         (octave-mode): Use auto fill mode through
11720         comment-line-break-function and fill-nobreak-predicate.
11721         (octave-goto-function-definition): Support DEFUN_DLD.
11722         (octave-beginning-of-defun): Small tweak.
11723         (octave-help): Show parent directory.
11725 2013-05-21  Glenn Morris  <rgm@gnu.org>
11727         * files.el (dired-unmark):
11728         * progmodes/gud.el (gdb-input): Update declarations.
11730         * calculator.el (electric, ehelp): No need to load when compiling.
11731         (Electric-command-loop, electric-describe-mode): Declare.
11733         * doc-view.el (doc-view-current-converter-processes): Move before use.
11735         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11736         Move MODE-set-explicitly definition before use.
11738         * international/mule-diag.el (mule-diag):
11739         Don't use obsolete window-system-version.
11741         * mail/feedmail.el (smtpmail): No need to load when compiling.
11742         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11744         * mail/mail-utils.el (rfc822): No need to load when compiling.
11745         (rfc822-addresses): Autoload it.
11746         (mail-strip-quoted-names): Trivial simplification.
11748         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11749         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11751         * net/snmp-mode.el (tempo): Don't duplicate requires.
11753         * progmodes/prolog.el (info): No need to load when compiling.
11754         (comint): Require before shell requires it.
11755         (Info-goto-node): Autoload it.
11756         (Info-follow-nearest-node): Declare.
11757         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11759         * textmodes/artist.el (picture-mode-exit): Declare.
11761         * textmodes/reftex-parse.el (reftex-parse-from-file):
11762         Trivial rewrite so the compiler can parse it better.
11764 2013-05-20  Leo Liu  <sdl.web@gmail.com>
11766         * progmodes/octave.el (octave-help-mode-map)
11767         (octave-help-mode-finish-hook): New variables.
11768         (octave-help-mode, octave-help-mode-finish): New functions.
11769         (octave-help): Use octave-help-mode.
11771 2013-05-20  Glenn Morris  <rgm@gnu.org>
11773         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
11775 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
11777         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11778         start at point, so that expansion starting right after opening
11779         slash in a regexp is recognized.
11780         (ruby-syntax-before-regexp-re): New defvar, extracted from
11781         ruby-syntax-propertize-function.  Since the value of this regexp
11782         is looked up at runtime now, we should be able to turn
11783         `ruby-syntax-methods-before-regexp' into a defcustom later.
11784         (ruby-syntax-propertize-function): Split regexp matching into two
11785         parts, for opening and closing slashes.  That allows us to skip
11786         over string interpolations and support multiline regexps.
11787         Don't call `ruby-syntax-propertize-expansions', instead use another rule
11788         for them, which calls `ruby-syntax-propertize-expansion'.
11789         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11790         call to `ruby-syntax-propertize-function'.
11791         (ruby-syntax-propertize-expansion): Extracted from
11792         `ruby-syntax-propertize-expansions'.  Handles one expansion.
11793         (ruby-syntax-propertize-percent-literal): Leave point right after
11794         the percent symbol, so that the expression expansion rule can
11795         propertize the contents.
11796         (ruby-syntax-propertize-heredoc): Leave point at bol following the
11797         heredoc openers.
11798         (ruby-syntax-propertize-expansions): Remove.
11800 2013-05-18  Juri Linkov  <juri@jurta.org>
11802         * man.el (Man-default-man-entry): Remove `-' from the end
11803         of the default value.  (Bug#14400)
11805 2013-05-18  Glenn Morris  <rgm@gnu.org>
11807         * comint.el (comint-password-prompt-regexp):
11808         Allow "password for XXX" where XXX contains colons (eg https://...).
11810 2013-05-18  Leo Liu  <sdl.web@gmail.com>
11812         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11813         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
11814         (octave-source-directories): Don't check process.
11815         (octave-source-directories, octave-find-definition): Doc fix.
11817 2013-05-18  Glenn Morris  <rgm@gnu.org>
11819         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11820         Remove backspace/delete bindings.  (Bug#14392)
11822         * cus-dep.el (custom-make-dependencies): Sort the output.
11823         (custom-versions-load-alist): Convert comment to doc.
11825 2013-05-17  Leo Liu  <sdl.web@gmail.com>
11827         * newcomment.el (comment-search-backward): Stricter in finding
11828         comment start.  (Bug#14303)
11830         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11831         (octave-comment-start-skip): Properly anchored.
11833 2013-05-17  Leo Liu  <sdl.web@gmail.com>
11835         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11836         Clean up when turned off.  (Bug#14395)
11837         (smie--highlight-matching-block-overlay): No longer buffer-local.
11838         (smie-highlight-matching-block): Adjust.
11840 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
11842         Doc string fix for "nanoseconds" (Bug#14406).
11843         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11844         Fix doc string typo that had "nanoseconds" instead of "microseconds".
11846 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
11848         * calc/calc-units.el (math-extract-units): Preserve powers
11849         of units.
11851 2013-05-17  Leo Liu  <sdl.web@gmail.com>
11853         * subr.el (delete-consecutive-dups): New function.
11854         * ido.el (ido-set-matches-1): Use it.
11855         * progmodes/octave.el (inferior-octave-completion-table): Use it.
11856         * ido.el (ido-remove-consecutive-dups): Remove.
11858 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11860         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11861         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11862         regexp-opt's `words'.
11864 2013-05-16  Leo Liu  <sdl.web@gmail.com>
11866         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11867         (smie--highlight-matching-block-overlay)
11868         (smie--highlight-matching-block-lastpos)
11869         (smie--highlight-matching-block-timer): New variables.
11870         (smie-highlight-matching-block): New function.
11871         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
11872         (smie-setup): Conditionally enable smie-blink-matching-open.
11874 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
11876         Sync with upstream verilog-mode r840.
11877         * progmodes/verilog-mode.el (verilog-mode-version)
11878         (verilog-mode-release-date): Update.
11879         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11880         (verilog-sig-tieoff): Fix string error on
11881         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
11882         (verilog-read-decls): Fix parameters confusing
11883         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
11885 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
11887         * subr.el (reveal-filename): New function.
11889         * loadup.el: Compute Emacs executable versions on MS-Windows,
11890         where executables have the .exe extension.  Add a hard link
11891         emacs-XX.YY.ZZ.exe on MS-Windows.
11893         * Makefile.in (XARGS_LIMIT): New variable.
11894         (custom-deps, finder-data, autoloads)
11895         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11896         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11897         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11898         (compile-main): Limit xargs according to $(XARGS_LIMIT).
11900 2013-05-16  Leo Liu  <sdl.web@gmail.com>
11902         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11903         (octave-mode-menu, octave-mode-map): Remove its uses.
11905 2013-05-16  Reto Zimmermann  <reto@gnu.org>
11907         Sync with upstream vhdl mode v3.34.2.
11908         * progmodes/vhdl-mode.el: Use `push' throughout.
11909         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11910         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11911         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
11912         (vhdl-actual-generic-name): New option to derive actual generic name.
11913         (vhdl-port-paste-signals): Replace formal by actual generics.
11914         (vhdl-beautify): New name for old group vhdl-align.  Update users.
11915         (vhdl-beautify-options): New option.
11916         (vhdl-last-input-event): New compat alias.  Use throughout.
11917         (vhdl-goto-line): Replace user level function `goto-line'.
11918         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11919         vhdl-fix-statement-buffer.
11920         (vhdl-create-mode-menu): Add some entries.
11921         (vhdl-align-region-groups): Respect vhdl-beautify-options.
11922         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11923         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11924         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11925         to force statements on one line.
11926         (vhdl-remove-trailing-spaces-region):
11927         New, split from vhdl-remove-trailing-spaces.
11928         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11929         Respect vhdl-beautify-options.
11930         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11931         (vhdl-update-sensitivity-list): Not add with index if exists without.
11932         Not include array index with signal.  Ignore keywords in comments.
11933         (vhdl-get-visible-signals): Regexp tweaks.
11934         (vhdl-template-component-inst): Handle empty library.
11935         (vhdl-template-type): Add template for 'enum' type.
11936         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11937         Use vhdl-replace-string.
11938         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11939         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11940         (vhdl-speedbar-initialize): Update for above name change.
11941         (vhdl-compose-wire-components): Fix in handling of constants.
11942         (vhdl-error-regexp-emacs-alist): New variable.
11943         (vhdl-error-regexp-add-emacs): New function;
11944         adds support for new compile.el (Emacs 22+)
11945         (vhdl-generate-makefile-1): Change target order for single lib. units.
11946         Allow use of absolute file names.
11948 2013-05-16  Leo Liu  <sdl.web@gmail.com>
11950         * simple.el (prog-indent-sexp): Indent enclosing defun.
11952 2013-05-15  Glenn Morris  <rgm@gnu.org>
11954         * cus-start.el (show-trailing-whitespace): Move to editing basics.
11955         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11956         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11957         (whitespace-highlight): Move to whitespace group.
11959         * comint.el (comint-source):
11960         * pcmpl-linux.el (pcmpl-linux):
11961         * shell.el (shell-faces):
11962         * eshell/esh-opt.el (eshell-opt):
11963         * international/ccl.el (ccl): Remove empty custom groups.
11965         * completion.el (dynamic-completion-mode):
11966         * jit-lock.el (jit-lock-debug-mode):
11967         * minibuffer.el (completion-in-region-mode):
11968         * type-break.el (type-break-mode-line-message-mode)
11969         (type-break-query-mode):
11970         * emulation/tpu-edt.el (tpu-edt-mode):
11971         * progmodes/subword.el (global-subword-mode, global-superword-mode):
11972         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11973         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11975         * term/xterm.el (xterm): Change parent group to terminals.
11977         * master.el (master): Remove empty custom group.
11978         (master-mode): Remove unused :group argument.
11979         * textmodes/refill.el (refill): Remove empty custom group.
11980         (refill-mode): Remove unused :group argument.
11982         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11984         * cus-dep.el: Provide a feature.
11985         (custom-make-dependencies): Ignore dotfiles (dir-locals).
11986         Don't mistakenly ignore files whose basenames match a basename
11987         from preloaded-file-list (eg cedet/ede/simple.el).
11988         Add a fallback method for getting :group.
11990 2013-05-15  Juri Linkov  <juri@jurta.org>
11992         * isearch.el (isearch-char-by-name): Rename from
11993         `isearch-insert-char-by-name'.  Doc fix.
11994         (isearch-forward): Mention `isearch-char-by-name' in
11995         the docstring.  (Bug#13348)
11997         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11998         `exit-minibuffer' instead of
11999         `isearch-nonincremental-exit-minibuffer'.
12000         (isearch-edit-string): Remove mention of
12001         `isearch-nonincremental-exit-minibuffer' from docstring.
12002         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12003         (isearch-forward-exit-minibuffer)
12004         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
12006 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12008         * loadup.el: Just use unversioned DOC.
12010         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12011         literals as extending to EOB.
12012         (nxml-last-fontify-end): Remove unused variable.
12013         (nxml-after-change1): Use with-silent-modifications.
12014         (nxml-extend-after-change-region): Simplify.
12015         (nxml-extend-after-change-region1): Remove function.
12016         (nxml-after-change1): Don't adjust for dependent regions.
12017         (nxml-fontify-matcher): Simplify.
12018         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12019         (xmltok-add-dependent): Remove function.
12020         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12021         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12022         (xmltok-scan-prolog-after-processing-instruction-open): Treat
12023         unclosed <[[, <?, comment, and other literals as extending to EOB.
12024         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12025         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12026         Remove functions.
12027         (rng-do-some-validation-1): Don't mark dependent regions.
12028         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12029         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12030         (nxml-clear-dependent-regions): Remove functions.
12031         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12032         (nxml-ensure-scan-up-to-date):
12033         Don't clear&mark dependent regions.
12035 2013-05-15  Leo Liu  <sdl.web@gmail.com>
12037         * progmodes/octave.el (octave-goto-function-definition):
12038         Improve and fix callers.
12040 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12042         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12043         the setter (bug#14387).
12045         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12046         surrounding group (bug#14402).
12048 2013-05-14  Juri Linkov  <juri@jurta.org>
12050         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12051         (Bug#14390)
12053 2013-05-14  Glenn Morris  <rgm@gnu.org>
12055         * progmodes/f90.el (f90-imenu-generic-expression):
12056         Fix typo in 2013-05-08 change.  (Bug#14402)
12058 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
12060         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12061         Remove signals for which replies are never received.
12063 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
12065         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12066         (gdb-handler-alist, gdb-handler-number): Remove variables.
12067         (gdb-handler-list): New variable.
12068         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12069         (gdb-pending-handler-p, gdb-handle-reply)
12070         (gdb-remove-all-pending-triggers): New functions.
12071         (gdb-discard-unordered-replies): New defcustom.
12072         (gdb-handler): New defstruct.
12073         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
12074         instead of gdb-pending-triggers.  Update docstring.
12075         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
12076         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12077         (gdb-var-update-handler, def-gdb-auto-update-trigger)
12078         (def-gdb-auto-update-handler, gdb-get-changed-registers)
12079         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12080         (gdb-frame-handler): Pending triggers are now automatically managed.
12081         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12082         Remove argument.
12083         (gdb-input): Automatically handles pending triggers.  Update docstring.
12084         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12085         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12086         Update comments.
12087         (gdb-done-or-error): Now use gdb-handle-reply.
12089 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
12091         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12092         gdb-debug-log.
12094 2013-05-14  Glenn Morris  <rgm@gnu.org>
12096         * subr.el (user-emacs-directory-warning): New option.
12097         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
12099 2013-05-14  Leo Liu  <sdl.web@gmail.com>
12101         * progmodes/octave.el (octave-font-lock-keywords): Fix error
12102         during redisplay.
12103         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12104         (octave-font-lock-texinfo-comment): Fix invalid search bound
12105         error: wrong side of point.
12107 2013-05-14  Glenn Morris  <rgm@gnu.org>
12109         * progmodes/flymake.el (flymake-xml-program): New option.
12110         (flymake-xml-init): Use it.
12112         * term/xterm.el: Provide a feature.
12114         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
12116 2013-05-13  Glenn Morris  <rgm@gnu.org>
12118         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12119         Add compat aliases as a hack workaround.  (Bug#14384)
12121 2013-05-13  Leo Liu  <sdl.web@gmail.com>
12123         * progmodes/octave.el (octave-indent-comment): Fix indentation for
12124         ###, and %!.
12125         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12126         C-M-q.
12127         (octave-comment-start-skip): Include %!.
12128         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12130 2013-05-12  Leo Liu  <sdl.web@gmail.com>
12132         * progmodes/octave.el (inferior-octave-startup): Store the value
12133         of __octave_srcdir__ for octave-source-directories.
12134         (inferior-octave-check-process): New function refactored out of
12135         inferior-octave-send-list-and-digest.
12136         (octave-source-directories)
12137         (octave-find-definition-filename-function): New variables.
12138         (octave-source-directories)
12139         (octave-find-definition-default-filename): New functions.
12140         (octave-find-definition): Improve to find functions implemented in C++.
12142 2013-05-12  Glenn Morris  <rgm@gnu.org>
12144         * calendar/diary-lib.el (diary-outlook-format-1):
12145         Don't include dayname in the output.  (Bug#14349)
12147 2013-05-11  Glenn Morris  <rgm@gnu.org>
12149         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12151         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12152         Treat cc-provide like provide.
12154 2013-05-11  Kevin Ryde  <user42@zip.com.au>
12156         * cus-dep.el (custom-make-dependencies):
12157         Use generated-autoload-load-name for the sake of files such
12158         such cedet/semantic/bovine/c.el, where the base file name
12159         is not in load-path.  (Bug#5277)
12161 2013-05-11  Glenn Morris  <rgm@gnu.org>
12163         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12164         Provide features.
12166 2013-05-11  Leo Liu  <sdl.web@gmail.com>
12168         * progmodes/octave.el (octave-indent-comment): Improve.
12169         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12170         (octave-eldoc-function-signatures, octave-eldoc-function):
12171         New functions.
12172         (octave-mode, inferior-octave-mode): Add eldoc support.
12174 2013-05-11  Richard Stallman  <rms@gnu.org>
12176         * epa.el (epa-decrypt-file): Take output file name as argument
12177         and read it using `interactive'.
12179 2013-05-11  Leo Liu  <sdl.web@gmail.com>
12181         * progmodes/octave.el (octave-beginning-of-line)
12182         (octave-end-of-line): Check before using up-list because it jumps
12183         out of more syntactic contructs since moving to smie.
12184         (octave-indent-comment): New function.
12185         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
12186         (octave-begin-keywords, octave-end-keywords)
12187         (octave-reserved-words, octave-smie-bnf-table)
12188         (octave-smie-rules): Add new keywords from Octave 3.6.4.
12190 2013-05-11  Glenn Morris  <rgm@gnu.org>
12192         * faces.el (internal-face-x-get-resource):
12193         * frame.el (ns-display-monitor-attributes-list):
12194         * calc/calc-aent.el (math-to-radians-2):
12195         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12196         Fix declarations.
12198         * calc/calc-menu.el: Make it loadable in isolation.
12200         * net/eudcb-bbdb.el: Make it loadable without bbdb.
12201         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12202         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12203         (eudc-bbdb-query-internal): Require 'bbdb.
12205         * lpr.el (lpr-headers-switches):
12206         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12208         * progmodes/sql.el (sql-login-params): Fix and improve :type.
12210         * emulation/edt-mapper.el: In batch mode, error rather than hang.
12212         * term.el (term-set-escape-char): Make it idempotent.
12214 2013-05-10  Leo Liu  <sdl.web@gmail.com>
12216         * progmodes/octave.el (inferior-octave-completion-table):
12217         No longer a function and all uses changed.  Use cache to speed up
12218         completion due to bug#11906.
12219         (octave-beginning-of-defun): Re-write to be more general.
12221 2013-05-10  Glenn Morris  <rgm@gnu.org>
12223         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12225 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12227         * comint.el (comint-redirect-send-command-to-process): Use :around
12228         rather than :override for comint-redirect-filter.
12229         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12230         Call it instead of comint-redirect-original-filter-function (which
12231         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
12233 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
12235         * frame.el (display-monitor-attributes-list): Add NS case.
12236         (ns-display-monitor-attributes-list): Declare.
12238 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
12240         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
12242 2013-05-09  Glenn Morris  <rgm@gnu.org>
12244         * international/fontset.el (vertical-centering-font-regexp):
12245         Set standard-value.
12247         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12249         * bookmark.el (bookmark-search-delay):
12250         * cus-start.el (vertical-centering-font-regexp):
12251         * ps-mule.el (ps-mule-font-info-database-default):
12252         * ps-print.el (ps-default-fg, ps-default-bg):
12253         * type-break.el (type-break-good-break-interval):
12254         * whitespace.el (whitespace-indentation-regexp)
12255         (whitespace-space-after-tab-regexp):
12256         * emacs-lisp/testcover.el (testcover-1value-functions)
12257         (testcover-noreturn-functions, testcover-progn-functions)
12258         (testcover-prog1-functions):
12259         * emulation/viper-init.el (viper-emacs-state-cursor-color):
12260         * eshell/em-glob.el (eshell-glob-translate-alist):
12261         * play/tetris.el (tetris-tty-colors):
12262         * progmodes/cpp.el (cpp-face-default-list):
12263         * progmodes/flymake.el (flymake-allowed-file-name-masks):
12264         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12265         (idlwave-help-browser-generic-args):
12266         * progmodes/make-mode.el (makefile-special-targets-list):
12267         * progmodes/python.el (python-shell-virtualenv-path):
12268         * progmodes/verilog-mode.el (verilog-active-low-regexp)
12269         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12270         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12271         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12272         * textmodes/reftex-vars.el (reftex-format-label-function):
12273         * textmodes/remember.el (remember-diary-file): Fix custom types.
12275         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12276         Add :version.
12278 2013-05-09  Leo Liu  <sdl.web@gmail.com>
12280         * progmodes/octave.el (inferior-octave-completion-at-point):
12281         Restore file completion.  (Bug#14300)
12282         (inferior-octave-startup): Fix incorrect highlighting for the
12283         first prompt.
12285 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12287         * progmodes/ruby-mode.el: First cut at SMIE support.
12288         (ruby-use-smie): New var.
12289         (ruby-smie-grammar): New constant.
12290         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12291         (ruby-smie--forward-token, ruby-smie--backward-token)
12292         (ruby-smie-rules): New functions.
12293         (ruby-mode-variables): Setup SMIE if applicable.
12295 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
12297         * simple.el (line-move-visual): Signal beginning/end of buffer
12298         only if vertical-motion moved less than it was requested.  Avoids
12299         silly incorrect error messages when there are display strings with
12300         multiple newlines at EOL.
12302 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12304         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12305         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12306         (prolog-char-quote-workaround):
12307         * progmodes/cperl-mode.el (cperl-under-as-char):
12308         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12309         Mark as obsolete.
12310         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12311         their declaration.
12312         (vhdl-mode-syntax-table-init): Remove.
12314         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12315         last change.
12317         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12318         syntax for "_".
12319         (ld-script-font-lock-keywords):
12320         Change regexps to use things like \_< and \_>.
12322         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12323         Change all regexps to use things like \_< and \_>.
12325         * progmodes/autoconf.el (autoconf-definition-regexp)
12326         (autoconf-font-lock-keywords, autoconf-current-defun-function):
12327         Handle a _ with symbol syntax.
12328         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12330         * progmodes/ada-mode.el (ada-mode-abbrev-table):
12331         Consolidate declaration.
12332         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12333         the declaration.
12334         (ada-create-syntax-table): Remove.
12335         (ada-capitalize-word): Don't mess with the syntax of "_" since it
12336         already has the right syntax nowadays.
12337         (ada-goto-next-word): Don't change the syntax of "_".
12339         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12340         with-wrapper-hook.
12342 2013-05-08  Sam Steingold  <sds@gnu.org>
12344         * thingatpt.el (thing-at-point): Accept optional second argument
12345         NO-PROPERTIES to strip the text properties from the return value.
12346         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12347         to `thing-at-point' instead of stripping the properties ourselves.
12348         Also, when `thing-at-point' fails to find a url, prepend "http://"
12349         to the filename at point on the assumption that the user is
12350         pointing at something like gnu.org/gnu.
12352 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
12354         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12355         * faces.el (crm-separator):
12356         Silence byte-compiler.
12358         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12359         (tool-bar-map): Remove unneeded defvars.
12361 2013-05-08  Leo Liu  <sdl.web@gmail.com>
12363         Re-work a fix for bug#10994 based on Le Wang's patch.
12364         * ido.el (ido-remove-consecutive-dups): New helper.
12365         (ido-completing-read): Use it.
12366         (ido-chop): Revert fix for bug#10994.
12368 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
12370         * cus-edit.el (custom-save-variables):
12371         Pretty-print long values.  (Bug#14187)
12373 2013-05-08  Glenn Morris  <rgm@gnu.org>
12375         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12376         (m4-mode-syntax-table): Init in the defvar.
12377         (m4-mode-abbrev-table): Let define-derived-mode define it.
12379 2013-05-08  Tom Tromey  <tromey@redhat.com>
12381         * progmodes/m4-mode.el (m4-mode-syntax-table):
12382         Do not treat "_" as word constituent.  (Bug#14167)
12384 2013-05-07  Glenn Morris  <rgm@gnu.org>
12386         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12387         Remove explicit eshell-isearch-cancel-map.
12389         * progmodes/f90.el (f90-smart-end-names): New option.
12390         (f90-smart-end): Doc fix.
12391         (f90-end-block-optional-name): New constant.
12392         (f90-block-match): Respect f90-smart-end-names.
12394 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12396         * progmodes/octave.el (octave-smie-forward-token): Be more careful
12397         about implicit semi-colons (bug#14218).
12399 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12401         * frame.el (display-monitor-attributes-list)
12402         (frame-monitor-attributes): New functions.
12404 2013-05-06  Leo Liu  <sdl.web@gmail.com>
12406         * progmodes/octave.el (octave-syntax-propertize-function): Change
12407         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
12408         (octave-font-lock-keywords): Use octave-operator-regexp.
12409         (octave-completion-at-point): Rename from
12410         octave-completion-at-point-function.
12411         (inferior-octave-directory-tracker): Robustify.
12412         (octave-text-functions): Remove and fix its uses.  No such things
12413         any more.
12415 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12417         * emacs-lisp/trace.el (trace--display-buffer): New function.
12418         (trace-make-advice): Use it.
12420 2013-05-06  Juri Linkov  <juri@jurta.org>
12422         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
12423         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12424         Doc fix.
12425         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12426         in the help string.  (Bug#12985)
12428 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
12430         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
12432 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12434         * progmodes/perl-mode.el: Add support for here documents.
12435         (perl-syntax-propertize-function): Match here-doc markers.
12436         (perl-syntax-propertize-special-constructs): Find their end.
12437         (perl-imenu-generic-expression): Use [:alnum:].
12439         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12440         (advice--add-function): Refresh the advice if already present
12441         (bug#14317).
12443 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
12445         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
12447 2013-05-06  Glenn Morris  <rgm@gnu.org>
12449         * w32-fns.el (w32-charset-info-alist): Declare.
12451         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12452         of its defcustom properties.
12453         (eshell-cmpl-initialize): No need to load pcomplete.
12455         * generic-x.el: No need to require comint when compiling.
12457         * net/eudc-export.el: Make it loadable without bbdb.
12458         (top-level): Use require rather than load-library.
12459         (eudc-create-bbdb-record, eudc-bbdbify-phone)
12460         (eudc-batch-export-records-to-bbdb)
12461         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12462         Require bbdb.
12464 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12466         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12467         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12468         some tweaks, instead.
12470 2013-05-05  Leo Liu  <sdl.web@gmail.com>
12472         * progmodes/octave.el (octave-font-lock-keywords)
12473         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12474         (inferior-octave-send-list-and-digest): Improve error message.
12475         (octave-mode, inferior-octave-mode): Use setq-local.
12476         (octave-help): Set info-lookup-mode.
12478 2013-05-05  Richard Stallman  <rms@gnu.org>
12480         * vc/compare-w.el (compare-windows-whitespace):
12481         Treat no-break space as whitespace.
12483         * mail/rmailsum.el (rmail-summary-rmail-update):
12484         Detect empty summary and don't change selected message.
12485         (rmail-summary-goto-msg): Likewise.
12487         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12488         Doc fixes, rename args.
12490 2013-05-05  Alan Mackenzie  <acm@muc.de>
12492         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12494 2013-05-05  Juri Linkov  <juri@jurta.org>
12496         * info.el (Info-read-subfile): Use (point-min) instead of (point)
12497         to not add the length of the summary segment to the return value.
12498         (Bug#14125)
12500 2013-05-05  Leo Liu  <sdl.web@gmail.com>
12502         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12503         (inferior-octave-output-filter): Remove.
12504         (octave-send-region, inferior-octave-startup): Fix callers.
12505         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12506         (octave-binary-file-extensions): New user variable.
12507         (octave-find-definition): Confirm if opening binary files.
12508         (octave-help-file): Use octave-find-definition to get the binary
12509         confirmation.
12510         (octave-help): Adjust for octave-help-file change.
12512 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12514         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12515         Merge the two entries that handle function definitions.
12516         (pascal--syntax-propertize): New const.
12517         (pascal-mode): Use it.  Use setq-local.
12519 2013-05-04  Glenn Morris  <rgm@gnu.org>
12521         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12522         (diary-from-outlook): Respect diary-from-outlook-function.
12524 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12526         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12527         Move the declaration from C.
12528         (read-minibuffer, eval-minibuffer): Move from C.
12529         (completion-setup-function): Avoid minibuffer-completion-contents.
12531 2013-05-03  Leo Liu  <sdl.web@gmail.com>
12533         * progmodes/octave.el (octave-font-lock-keywords): Do not
12534         dehighlight 'end' in comments or strings.
12535         (octave-completing-read, octave-goto-function-definition):
12536         New helpers.
12537         (octave-help-buffer): New user variable.
12538         (octave-help-file, octave-help-function): New button types.
12539         (octave-help): New command and bind it to C-h ;.
12540         (octave-find-definition): New command and bind it to M-.
12541         (user-error): Alias to error if not defined.
12543 2013-05-02  Leo Liu  <sdl.web@gmail.com>
12545         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12546         for \.  (bug#14332)
12547         (octave-font-lock-keywords): Include [ and {.
12549 2013-05-02  Leo Liu  <sdl.web@gmail.com>
12551         * progmodes/octave.el (inferior-octave-startup-file): Change default.
12552         (inferior-octave): Remove calling comint-mode and return the buffer.
12553         (inferior-octave-startup): Cosmetic changes.
12555 2013-05-02  Leo Liu  <sdl.web@gmail.com>
12557         * progmodes/octave.el (octave-syntax-propertize-function):
12558         Include the case when ' is at line beginning.  (Bug#14336)
12560 2013-05-02  Glenn Morris  <rgm@gnu.org>
12562         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12563         * desktop.el (vc-dir-mode): Just autoload it here.
12565 2013-05-02  Alan Mackenzie  <acm@muc.de>
12567         Eliminate variable c-standard-font-lock-fontify-region-function.
12568         * progmodes/cc-mode.el
12569         (c-standard-font-lock-fontify-region-function): Remove.
12570         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12572 2013-05-01  Leo Liu  <sdl.web@gmail.com>
12574         * progmodes/octave.el: Compatible with older emacs-24 releases.
12575         (inferior-octave-has-built-in-variables): Remove.  Built-in
12576         variables were removed from Octave in 2007.
12577         (inferior-octave-startup): Fix uses.
12578         (comint-line-beginning-position): Remove compatibility code for
12579         emacs 21.
12581 2013-05-01  Juri Linkov  <juri@jurta.org>
12583         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
12585 2013-05-01  Juri Linkov  <juri@jurta.org>
12587         * comint.el (comint-previous-matching-input): Don't print message
12588         "History item: %d" when `isearch-mode' is active.
12589         (comint-history-isearch-message): Print message "History item: %d"
12590         when `comint-input-ring-index' is not empty and this function is
12591         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
12593 2013-05-01  Leo Liu  <sdl.web@gmail.com>
12595         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12596         definitions.  Use completion-at-point to insert keywords.
12597         (octave-abbrev-start): Remove.
12598         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12600 2013-04-30  Leo Liu  <sdl.web@gmail.com>
12602         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12603         change.
12605 2013-04-30  Alan Mackenzie  <acm@muc.de>
12607         Handle arbitrarily long C++ member initialisation lists.
12608         * progmodes/cc-engine.el (c-back-over-member-initializers):
12609         new function.
12610         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12611         (most) member init lists.
12613 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12615         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12616         variable.
12618 2013-04-30  Leo Liu  <sdl.web@gmail.com>
12620         * progmodes/octave.el (octave-variables): Remove.  No builtin
12621         variables any more.  All converted to functions.
12622         (octave-font-lock-keywords, octave-completion-at-point-function):
12623         Fix uses.
12624         (octave-font-lock-texinfo-comment): New user variable.
12625         (octave-texinfo-font-lock-keywords): New variable for texinfo
12626         comment block.
12627         (octave-function-comment-block): New face.
12628         (octave-font-lock-texinfo-comment): New function.
12629         (octave-mode): Font lock texinfo comment block.
12631 2013-04-29  Leo Liu  <sdl.web@gmail.com>
12633         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12634         indexing expression.
12635         (octave-continuation-string): Do not use \.
12636         (inferior-octave-complete-impossible): Remove.
12637         (inferior-octave-completion-table)
12638         (inferior-octave-completion-at-point): Remove its uses.
12639         (inferior-octave-startup): completion_matches was introduced to
12640         Octave in 1996 so safe to assume it.
12641         (octave-function-file-comment): Improve to follow how Octave does it.
12642         (octave-update-function-file-comment): Tweak.
12644 2013-04-29  Leo Liu  <sdl.web@gmail.com>
12646         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12647         (inferior-octave-startup): Remove inferior-octave-startup-hook.
12648         (octave-function-file-comment): Fix typo.
12649         (octave-sync-function-file-names): Use read-char-choice.
12651 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
12653         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12654         to t for the less important warnings.
12656 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
12658         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
12660 2013-04-27  Glenn Morris  <rgm@gnu.org>
12662         * vc/log-view.el (log-view-current-entry):
12663         Treat "---" separator lines as part of the following rev.  (Bug#14169)
12665 2013-04-27  Juri Linkov  <juri@jurta.org>
12667         * subr.el (read-number): Doc fix about using it by interactive
12668         code letter `n'.  (Bug#14254)
12670 2013-04-27  Juri Linkov  <juri@jurta.org>
12672         * desktop.el (desktop-auto-save-timeout): New option.
12673         (desktop-file-checksum): New variable.
12674         (desktop-save): Add optional arg `auto-save' and don't auto-save
12675         if nothing changed.
12676         (desktop-auto-save-timer): New variable.
12677         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12678         (after-init-hook): Call `desktop-auto-save-set-timer'.
12679         Suggested by Reuben Thomas <rrt@sc3d.org> in
12680         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12682 2013-04-27  Leo Liu  <sdl.web@gmail.com>
12684         * progmodes/octave.el (octave-function-file-p)
12685         (octave-skip-comment-forward, octave-function-file-comment)
12686         (octave-update-function-file-comment): New functions.
12687         (octave-mode-map): Bind C-c ; to
12688         octave-update-function-file-comment.
12689         (octave-mode-menu): Add octave-update-function-file-comment.
12690         (octave-mode, inferior-octave-mode): Fix doc-string.
12691         (octave-insert-defun): Conform to Octave's coding convention.
12692         (Bug#14285)
12694         * files.el (basic-save-buffer): Don't let errors in
12695         before-save-hook prevent saving buffer.
12697 2013-04-20  Roland Winkler  <winkler@gnu.org>
12699         * faces.el (read-face-name): Use completing-read if arg multiple
12700         is nil.
12702 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
12704         * ls-lisp.el (ls-lisp-insert-directory): If no files are
12705         displayed, move point to after the totals line.
12706         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12707         for the details.
12709 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12711         * emacs-lisp/package.el (package-autoload-ensure-default-file):
12712         Add current dir to the load-path.
12713         (package-generate-autoloads): Don't rely on
12714         autoload-ensure-default-file.
12716 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
12718         * textmodes/remember.el (remember-store-in-files): Document that
12719         the file name format is passed to `format-time-string'.
12721 2013-04-26  Leo Liu  <sdl.web@gmail.com>
12723         * progmodes/octave.el (octave-sync-function-file-names): New function.
12724         (octave-mode): Use it in before-save-hook.
12726 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12728         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12729         (bug#14274).
12731         * progmodes/octave.el (octave-smie-forward-token): Properly skip
12732         \n and comment, even if it's not an implicit ; (bug#14218).
12734 2013-04-26  Glenn Morris  <rgm@gnu.org>
12736         * subr.el (read-number): Once more use `read' rather than
12737         `string-to-number', to trap non-numeric input.  (Bug#14254)
12739 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
12741         * emacs-lisp/syntax.el (syntax-propertize-multiline):
12742         Use `syntax-multiline' text property consistently instead of
12743         `font-lock-multiline'.  (Bug#14237)
12745 2013-04-26  Glenn Morris  <rgm@gnu.org>
12747         * emacs-lisp/shadow.el (list-load-path-shadows):
12748         No longer necessary to check for duplicate simple.el, since
12749         2012-07-07 change to init_lread to not include installation lisp
12750         directories in load-path when running uninstalled.  (Bug#14270)
12752 2013-04-26  Leo Liu  <sdl.web@gmail.com>
12754         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12755         (octave-mode, inferior-octave-mode): Use setq-local.
12756         (octave-not-in-string-or-comment-p): Rename to
12757         octave-in-string-or-comment-p.
12758         (octave-in-comment-p, octave-in-string-p)
12759         (octave-in-string-or-comment-p): Replace defsubst with defun.
12761 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
12763         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12765 2013-04-25  Bastien Guerry  <bzg@gnu.org>
12767         * textmodes/remember.el (remember-data-directory)
12768         (remember-directory-file-name-format): Fix custom types.
12770 2013-04-25  Leo Liu  <sdl.web@gmail.com>
12772         * progmodes/octave.el (octave-completion-at-point-function):
12773         Make use of inferior octave process.
12774         (octave-initialize-completions): Remove.
12775         (inferior-octave-completion-table): New function.
12776         (inferior-octave-completion-at-point): Use it.
12777         (octave-completion-alist): Remove.
12779 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12781         * progmodes/opascal.el: Use font-lock and syntax-propertize.
12782         (opascal-mode-syntax-table): New var.
12783         (opascal-literal-kind, opascal-is-literal-end)
12784         (opascal-literal-token-at): Rewrite.
12785         (opascal--literal-start-re, opascal-font-lock-keywords)
12786         (opascal--syntax-propertize): New constants.
12787         (opascal-font-lock-defaults): Adjust.
12788         (opascal-mode): Use them.  Set comment-<foo> variables as well.
12789         (delphi-comment-face, opascal-comment-face, delphi-string-face)
12790         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12791         (delphi-other-face, opascal-other-face): Remove face variables.
12792         (opascal-save-state): Remove macro.
12793         (opascal-fontifying-progress-step): Remove constant.
12794         (opascal--ignore-changes): Remove var.
12795         (opascal-set-token-property, opascal-parse-next-literal)
12796         (opascal-is-stable-literal, opascal-complete-literal)
12797         (opascal-is-literal-start, opascal-face-of)
12798         (opascal-parse-region, opascal-parse-region-until-stable)
12799         (opascal-fontify-region, opascal-after-change)
12800         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12801         (opascal-debug-parse-region, opascal-debug-parse-window)
12802         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12803         (opascal-debug-fontify-buffer): Remove.
12804         (opascal-debug-mode-map): Adjust accordingly.
12806 2013-04-25  Leo Liu  <sdl.web@gmail.com>
12808         Merge octave-mod.el and octave-inf.el into octave.el with some
12809         cleanups.
12810         * progmodes/octave.el: New file renamed from octave-mod.el.
12811         * progmodes/octave-inf.el: Merged into octave.el.
12812         * progmodes/octave-mod.el: Renamed to octave.el.
12814 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
12816         * textmodes/reftex-vars.el
12817         (reftex-label-ignored-macros-and-environments): New defcustom.
12819         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12821 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12823         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12824         (smie-indent-keyword): Improve the check to ensure that the next
12825         comment is really on the same line.
12826         (smie-indent-comment): Don't align with a subsequent closer (or eob).
12828         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12829         semi-colons if the line is not otherwise empty (bug#14218).
12831 2013-04-25  Glenn Morris  <rgm@gnu.org>
12833         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12835 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12837         * progmodes/opascal.el (opascal-set-token-property): Rename from
12838         opascal-set-text-properties and only set `token' (bug#14134).
12839         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12840         (opascal-literal-text-properties): Remove.
12841         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12842         Adjust callers.
12844 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
12846         * textmodes/remember.el (remember-handler-functions): Add an
12847         option for a new handler `remember-store-in-files'.
12848         (remember-data-directory, remember-directory-file-name-format):
12849         New options.
12850         (remember-store-in-files): New function to store remember notes
12851         as separate files within a directory.
12853 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
12855         * progmodes/compile.el (compilation-next-error-function):
12856         Pass "formats" to compilation-find-file (bug#11777).
12858 2013-04-24  Glenn Morris  <rgm@gnu.org>
12860         * vc/vc-bzr.el (vc-bzr-print-log):
12861         * vc/vc-hg.el (vc-hg-print-log):
12862         * vc/vc-svn.el (vc-svn-print-log):
12863         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
12865         * vc/vc-bzr.el (vc-bzr-print-log):
12866         * vc/vc-cvs.el (vc-cvs-print-log):
12867         * vc/vc-git.el (vc-git-print-log):
12868         * vc/vc-hg.el (vc-hg-print-log):
12869         * vc/vc-mtn.el (vc-mtn-print-log):
12870         * vc/vc-rcs.el (vc-rcs-print-log):
12871         * vc/vc-sccs.el (vc-sccs-print-log):
12872         * vc/vc-svn.el (vc-svn-print-log):
12873         * vc/vc.el (vc-print-log-internal): Doc fixes.
12875 2013-04-23  Glenn Morris  <rgm@gnu.org>
12877         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12878         Remove venerable code attempting to avoid substitute-command-keys.
12880 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
12882         * textmodes/reftex-vars.el (reftex-label-regexps):
12883         Call `reftex-compile-variables' after changes to this variable.
12885 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12887         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12888         Use lexical-binding.
12889         (jit-lock-force-redisplay): Use markers, check buffer's continued
12890         existence and beware narrowed buffers.
12891         (jit-lock-fontify-now): Adjust call accordingly.
12893 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12895         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12896         to avoid misleading the user.
12898 2013-04-22  Leo Liu  <sdl.web@gmail.com>
12900         * info-look.el: Prefer latex2e.info.  (Bug#14240)
12902 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
12904         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
12906         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12907         * net/tramp.el (tramp-call-process): ... here.
12908         (tramp-set-completion-function, tramp-parse-putty):
12909         * net/tramp-adb.el (tramp-adb-execute-adb-command):
12910         * net/tramp-gvfs.el (tramp-gvfs-send-command):
12911         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12912         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12913         (tramp-call-local-coding-command): Use `tramp-call-process'
12914         instead of `tramp-compat-call-process'.
12916         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12917         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12918         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
12919         (tramp-find-inline-compress): Improve traces.
12920         (tramp-maybe-send-script): Check for Perl binary.
12921         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12923 2013-04-22  Daiki Ueno  <ueno@gnu.org>
12925         * epg.el (epg-context-pinentry-mode): New function.
12926         (epg-context-set-pinentry-mode): New function.
12927         (epg--start): Pass --pinentry-mode option to gpg command.
12929 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
12931         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12932         `comint-dynamic-complete' is obsolete since 24.1, replaced by
12933         `completion-at-point'.  (Bug#13774)
12935         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12936         default key binding for `describe-distribution' has been moved to
12937         `C-h C-o'.  (Bug#13970)
12939 2013-04-21  Glenn Morris  <rgm@gnu.org>
12941         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12942         Add doc strings.
12943         (vc-print-log): Clarify interactive prompt.
12945 2013-04-20  Glenn Morris  <rgm@gnu.org>
12947         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12948         No longer include timestamp etc information.
12950 2013-04-20  Roland Winkler  <winkler@gnu.org>
12952         * faces.el (read-face-name): Bug fix, return just one face if arg
12953         multiple is nil.  (Bug#14209)
12955 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12957         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12958         (remove-function): Autoload.
12960         * comint.el (comint-redirect-original-filter-function): Remove.
12961         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12962         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12963         (vc-cvs-annotate-command):
12964         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12965         * progmodes/prolog.el (prolog-consult-compile):
12966         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12967         Use add/remove-function instead.
12968         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12969         (gud-tooltip-process-output, gud-tooltip-tips):
12970         Use add/remove-function instead.
12971         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12972         (scheme-interaction-mode, exit-scheme-interaction-mode):
12973         Use add/remove-function instead.
12975         * vc/vc-dispatcher.el: Use lexical-binding.
12976         (vc--process-sentinel): Rename from vc-process-sentinel.
12977         Change last arg to be the code to run.  Don't use vc-previous-sentinel
12978         and vc-sentinel-commands any more.
12979         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
12980         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12982 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
12984         * progmodes/sh-script.el (sh-imenu-generic-expression):
12985         Handle function names with a single character.  (Bug#14111)
12987 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
12989         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12990         for subroutines defined in an eval (bug#14182).
12992 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12994         * bookmark.el (bookmark-completing-read): Improve handling of empty
12995         string (bug#14176).
12997 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12999         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13001 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13003         New faster Imenu implementation (bug#14058).
13004         * progmodes/python.el:
13005         (python-imenu-prev-index-position):
13006         (python-imenu-format-item-label-function)
13007         (python-imenu-format-parent-item-label-function)
13008         (python-imenu-format-parent-item-jump-label-function):
13009         New vars.
13010         (python-imenu-format-item-label)
13011         (python-imenu-format-parent-item-label)
13012         (python-imenu-format-parent-item-jump-label)
13013         (python-imenu--put-parent, python-imenu--build-tree)
13014         (python-imenu-create-index, python-imenu-create-flat-index)
13015         (python-util-popn): New functions.
13016         (python-mode): Set imenu-create-index-function to
13017         python-imenu-create-index.
13019 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13021         * winner.el (winner-active-region): Use region-active-p, activate-mark
13022         and deactivate-mark (bug#14225).
13024         * simple.el (deactivate-mark): Don't inline it.
13026 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
13028         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13030 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
13032         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13033         file extensions from the archive-mode entry in order to prefer
13034         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13036 2013-04-18  Leo Liu  <sdl.web@gmail.com>
13038         * bindings.el (help-event-list): Add ?\?.
13040 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13042         * subr.el (with-wrapper-hook): Declare obsolete.
13043         * simple.el (filter-buffer-substring-function): New hook.
13044         (filter-buffer-substring): Use it.
13045         (filter-buffer-substring-functions): Mark obsolete.
13046         * minibuffer.el (completion-in-region-function): New hook.
13047         (completion-in-region): Use it.
13048         (completion-in-region-functions): Mark obsolete.
13049         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13050         * abbrev.el (abbrev-expand-function): New hook.
13051         (expand-abbrev): Use it.
13052         (abbrev-expand-functions): Mark obsolete.
13053         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13054         and :filter-return.
13056 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13058         * progmodes/python.el (python-nav--syntactically): Fix cornercases
13059         and do not care about match data.
13061 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13063         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13064         completion tables when completing error conditions and
13065         `declare' arguments.
13066         (lisp-complete-symbol, field-complete): Mark as obsolete.
13067         (check-parens): Unmatched parens are user errors.
13068         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13070 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
13072         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13073         command changed buffer (ie. `flyspell-pre-buffer' is not current
13074         buffer), which prevents making decisions based on invalid value of
13075         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
13076         cause an error when `flyspell-pre-point' was nil after switching
13077         buffers.
13078         (flyspell-post-command-hook): No longer needs to change buffers when
13079         checking pre-word.  While at it remove unnecessary progn.
13081 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
13083         * textmodes/ispell.el (ispell-add-per-file-word-list):
13084         Fix `flyspell-correct-word-before-point' error when accepting
13085         words and `coment-padding' is an integer by using
13086         `comment-normalize-vars' (Bug #14214).
13088 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13090         New defun movement commands.
13091         * progmodes/python.el (python-nav--syntactically)
13092         (python-nav--forward-defun, python-nav-backward-defun)
13093         (python-nav-forward-defun): New functions.
13095 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13097         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13098         (python-syntax-context): Use named compiler-macro for backwards
13099         compatibility with Emacs 24.x.
13101 2013-04-17  Leo Liu  <sdl.web@gmail.com>
13103         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13104         octave-hide-process-buffer.
13106 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13108         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13109         (bug#14216).
13111 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
13113         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13114         Fix adjustment of offset when receiving incomplete responses from GDB
13115         (bug#14129).
13117 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13119         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13120         python-mode-abbrev-table.
13121         (python-skeleton-define): Adjust accordingly.
13122         (python-mode-abbrev-table): New table that inherits from it so that
13123         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13125         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13126         (abbrev-symbol): Use it.
13127         (abbrev--before-point): Use it since we already handle inheritance.
13129 2013-04-16  Leo Liu  <sdl.web@gmail.com>
13131         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13132         binding to info-lookup-symbol.
13134 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
13136         * minibuffer.el (completion--twq-all):
13137         * term/ns-win.el (ns-initialize-window-system):
13138         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13140 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13142         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13143         global bindings.
13145         * doc-view.el (doc-view-start-process): Handle url-handler directories.
13147 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
13149         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13150         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13151         to nil.
13152         (ruby-end-of-defun): Remove the unused arg, change the docstring
13153         to reflect that this function is only used as the value of
13154         `end-of-defun-function'.
13155         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13156         to reflect an earlier change that beginning/end-of-defun functions
13157         jump between methods in a class definition, as well as top-level
13158         functions.
13160 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13162         * minibuffer.el (minibuffer-complete): Don't just scroll
13163         a *Completions* that's been iconified.
13164         (minibuffer-force-complete): Make sure repetitions do cycle when going
13165         through completion-in-region -> minibuffer-complete.
13167 2013-04-15  Alan Mackenzie  <acm@muc.de>
13169         Correct the placement of c-cpp-delimiters when there're #s not at
13170         col 0.
13172         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13173         place a submatch around the #.
13174         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13175         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
13176         on the #, not BOL.
13178 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13180         * emacs-lisp/nadvice.el: Properly test names when adding advice.
13181         (advice--member-p): New arg `name'.
13182         (advice--add-function, advice-member-p): Use it (bug#14202).
13184 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
13186         Reformulate java imenu-generic-expression.
13187         The old expression contained ill formed regexps.
13189         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13190         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13191         (cc-imenu-java-method-arg-regexp): New defconsts.
13192         (cc-imenu-java-build-type-args-regex): New defun.
13193         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13194         handling of spaces in the regexp.
13196 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13198         * textmodes/ispell.el (ispell-command-loop): Remove
13199         flyspell highlight of a word when ispell accepts it (bug #14178).
13201 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
13203         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13204         uses code from the previous `ange-ftp-run-real-handler'.
13205         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13206         only in case that function exist.  This is needed for proper
13207         unloading of Tramp.
13209 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
13211         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13213         * textmodes/reftex.el (reftex-compile-variables): Use it.
13215 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13217         * files.el (normal-mode): Only use default major-mode if no other mode
13218         was specified.
13220         * emacs-lisp/trace.el (trace-values): New function.
13222         * files.el: Allow : in local variables (bug#14089).
13223         (hack-local-variable-regexp): New var.
13224         (hack-local-variables-prop-line, hack-local-variables): Use it.
13226 2013-04-13  Roland Winkler  <winkler@gnu.org>
13228         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
13229         data before it gets modified by bibtex-beginning-of-entry.
13231 2013-04-13  Roland Winkler  <winkler@gnu.org>
13233         * textmodes/bibtex.el (bibtex-url): Doc fix.
13235 2013-04-13  Roland Winkler  <winkler@gnu.org>
13237         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13238         does not visit a BibTeX file, exclude it from the list of buffers
13239         returned by bibtex-initialize.
13241 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
13243         * window.el (split-window): Remove interactive form, since as a
13244         command this function is a special case of split-window-below.
13245         Correct doc string.
13247 2013-04-12  Roland Winkler  <winkler@gnu.org>
13249         * faces.el (read-face-name): Do not override value of arg default.
13250         Allow single faces and strings as default values.  Remove those
13251         elements from return value that are not faces.
13252         (describe-face): Simplify.
13253         (face-at-point): New optional args thing and multiple so that this
13254         function can provide the same functionality previously provided by
13255         read-face-name.
13256         (make-face-bold, make-face-unbold, make-face-italic)
13257         (make-face-unitalic, make-face-bold-italic, invert-face)
13258         (modify-face, read-face-and-attribute): Use face-at-point.
13260         * cus-edit.el (customize-face, customize-face-other-window)
13261         * cus-theme.el (custom-theme-add-face)
13262         * face-remap.el (buffer-face-set)
13263         * facemenu.el (facemenu-set-face): Use face-at-point.
13265 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
13267         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13269 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
13271         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13272         off leading { and trailing } from field values.
13274 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13276         * emacs-lisp/timer.el (timer--check): New function.
13277         (timer--time, timer-set-function, timer-event-handler): Use it.
13278         (timer-set-idle-time): Simplify.
13279         (timer--activate): CSE.
13280         (timer-event-handler): Give more info in error message.
13281         (internal-timer-start-idle): New function, moved from C.
13283         * mpc.el (mpc-proc): Add `restart' argument.
13284         (mpc-proc-cmd): Use it.
13285         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13286         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13287         less often.
13289 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
13291         * progmodes/sh-script.el: Implement `sh-mode' own
13292         `add-log-current-defun-function' (bug#14112).
13293         (sh-current-defun-name): New function.
13294         (sh-mode): Use the function.
13296 2013-04-09  Bastien Guerry  <bzg@gnu.org>
13298         * simple.el (choose-completion-string): Fix docstring (bug#14163).
13300 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13302         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13304         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13305         timer (bug#14156).
13307 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
13309         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13310         declaration.
13312 2013-04-07  Leo Liu  <sdl.web@gmail.com>
13314         * pcmpl-x.el: New file.
13316 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
13318         Do not set x-display-name until X connection is established.
13319         This is needed to prevent from weird situation described at
13320         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13321         * frame.el (make-frame): Set x-display-name after call to
13322         window system initialization function, not before.
13323         * term/x-win.el (x-initialize-window-system): Add optional
13324         display argument and use it.
13325         * term/w32-win.el (w32-initialize-window-system):
13326         * term/ns-win.el (ns-initialize-window-system):
13327         * term/pc-win.el (msdos-initialize-window-system):
13328         Add compatible optional display argument.
13330 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
13332         * files.el (normal-backup-enable-predicate): On MS-Windows and
13333         MS-DOS compare truenames of temporary-file-directory and of the
13334         file, so that 8+3 aliases (usually found in $TEMP on Windows)
13335         don't fail comparison by compare-strings.  Also, compare file
13336         names case-insensitively on MS-Windows and MS-DOS.
13338 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13340         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13341         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13343 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
13345         * whitespace.el (whitespace-color-on, whitespace-color-off):
13346         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13348 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
13350         * ispell.el (ispell-set-spellchecker-params):
13351         Really set `ispell-args' for all equivs.
13353 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13355         * ido.el (ido-completions): Use extra elements of ido-decorations
13356         (bug#14143).
13357         (ido-decorations): Update docstring.
13359 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
13361         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13362         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13363         nil during initialization, in order not to miss changes since the
13364         file was opened.  (Bug#14140)
13366 2013-04-05  Leo Liu  <sdl.web@gmail.com>
13368         * kmacro.el (kmacro-call-macro): Fix bug#14135.
13370 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
13372         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13374 2013-04-04  Glenn Morris  <rgm@gnu.org>
13376         * electric.el (electric-pair-inhibit-predicate): Add :version.
13378 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13380         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13381         when a package is required several times (bug#14082).
13383 2013-04-04  Roland Winkler  <winkler@gnu.org>
13385         * faces.el (read-face-name): Behave as promised by the docstring.
13386         Assume that arg default is a list of faces.
13387         (describe-face): Call read-face-name with list of default faces.
13389 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13391         * bookmark.el: Fix deletion of bookmarks (bug#13972).
13392         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13393         (bookmark-bmenu-execute-deletions): Only skip first line if it's
13394         the header.
13395         (bookmark-exit-hook-internal): Save even if list is empty.
13397 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
13399         * emacs-lisp/package.el (package-pinned-packages): New var.
13400         (package--add-to-archive-contents): Obey it (bug#14118).
13402 2013-04-03  Alan Mackenzie  <acm@muc.de>
13404         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13405         Also adapt to the new values of element 7 of a parse state.
13407         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13408         parameter `not-in-delimiter'.  Handle being inside comment opener.
13409         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13410         character in case we're typing a '*' after a '/'.
13411         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13412         instead by passing the parameter to c-state-pp-to-literal.
13414         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13415         for elt. 7 of a parse state.
13417 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
13419         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13420         * international/latin1-disp.el, international/mule-util.el:
13421         * language/cyril-util.el, language/european.el, language/ind-util.el:
13422         * language/lao-util.el, language/thai.el, language/tibet-util.el:
13423         * language/tibetan.el, language/viet-util.el:
13424         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13426 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13428         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13429         (electric-pair-post-self-insert-function): Use it.
13430         (electric-pair-default-inhibit): New function, extracted from
13431         electric-pair-post-self-insert-function.
13433 2013-03-31  Roland Winkler  <winkler@gnu.org>
13435         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13437 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13439         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13441 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
13443         Un-indent after "pass" and "return" statements (Bug#13888)
13444         * progmodes/python.el (python-indent-block-enders): New var.
13445         (python-indent-calculate-indentation): Use it.
13447 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
13449         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13450         defun.  Defining it as defalias could introduce too eager
13451         byte-compiler optimization.  (Bug#14030)
13453 2013-03-30  Chong Yidong  <cyd@gnu.org>
13455         * iswitchb.el (iswitchb-read-buffer): Fix typo.
13457 2013-03-30  Leo Liu  <sdl.web@gmail.com>
13459         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13460         (kmacro-execute-from-register): Pass the keyboard macro to
13461         kmacro-call-macro or repeating won't work correctly.
13463 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
13465         * progmodes/subword.el: Back to using `forward-symbol'.
13467         * subr.el (forward-whitespace, forward-symbol)
13468         (forward-same-syntax): Move from thingatpt.el.
13470 2013-03-29  Leo Liu  <sdl.web@gmail.com>
13472         * kmacro.el (kmacro-to-register): New command.
13473         (kmacro-execute-from-register): New function.
13474         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
13476 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13478         * mpc.el: Use defvar-local and setq-local.
13479         (mpc--proc-connect): Connection failures are not bugs.
13480         (mpc-mode-map): `follow-link' only applies to the buffer's content.
13481         (mpc-volume-map): Bind to the up-events.
13483 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
13485         * progmodes/subword.el (superword-mode): Use `forward-sexp'
13486         instead of `forward-symbol'.
13488 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13490         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13491         (edebug--recursive-edit): Use it.
13492         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13493         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13495 2013-03-28  Leo Liu  <sdl.web@gmail.com>
13497         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
13499 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
13501         * facemenu.el (list-colors-callback): New defvar.
13502         (list-colors-redisplay): New function.
13503         (list-colors-display): Install list-colors-redisplay as the
13504         revert-buffer-function.  (Bug#14063)
13506 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13508         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13509         and suffixes don't overlap (bug#14061).
13511         * case-table.el: Use lexical-binding.
13512         (case-table-get-table): New function.
13513         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
13515 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
13517         * progmodes/subword.el: Add `superword-mode' to do word motion
13518         over symbol_words (parallels and leverages `subword-mode' which
13519         does word motion inside MixedCaseWords).
13521 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
13523         * eshell/em-unix.el: Move su and sudo to...
13524         * eshell/em-tramp.el: ...Eshell tramp module.
13526 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13528         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13529         Change return value to be a sexp.  Delay `get-buffer' to after
13530         restoring the desktop (bug#13951).
13532 2013-03-26  Leo Liu  <sdl.web@gmail.com>
13534         * register.el: Move semantic tag handling back to
13535         cedet/semantic/senator.el.  (Bug#14052)
13537 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13539         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13540         into the prompt either (bug#13963).
13542 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13544         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13545         part of "(error-foo)".
13547 2013-03-24  Juri Linkov  <juri@jurta.org>
13549         * replace.el (list-matching-lines-prefix-face): New defcustom.
13550         (occur-1): Pass `list-matching-lines-prefix-face' to the function
13551         `occur-engine' if `face-differs-from-default-p' returns t.
13552         (occur-engine): Add `,' inside backquote construct to evaluate
13553         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
13554         Pass `prefix-face' to the functions `occur-context-lines' and
13555         `occur-engine-add-prefix'.
13556         (occur-engine-add-prefix, occur-context-lines): Add optional arg
13557         `prefix-face' and propertize the prefix with `prefix-face'.
13558         (Bug#14017)
13560 2013-03-24  Leo Liu  <sdl.web@gmail.com>
13562         * nxml/rng-valid.el (rng-validate-while-idle)
13563         (rng-validate-quick-while-idle): Guard against deleted buffer.
13564         (Bug#13999)
13566         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13567         is the last entry in kill-buffer-hook.
13569         * files.el (kill-buffer-hook): Doc fix.
13571 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
13573         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13574         Make it safe-local.
13576         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13578 2013-03-23  Leo Liu  <sdl.web@gmail.com>
13580         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13581         Remove.
13583         * nxml/rng-valid.el (rng-validate-mode)
13584         (rng-after-change-function, rng-do-some-validation):
13585         * nxml/rng-maint.el (rng-validate-buffer):
13586         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13587         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13588         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13589         (nxml-extend-after-change-region): Use with-silent-modifications.
13591         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13592         timer-idle-list.
13594         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13595         (rng-next-error-1, rng-previous-error-1): Do not let-bind
13596         timer-idle-list.  (Bug#13999)
13598 2013-03-23  Juri Linkov  <juri@jurta.org>
13600         * info.el (info-index-match): New face.
13601         (Info-index, Info-apropos-matches): Add a nested subgroup to the
13602         main pattern and add text properties with the new face to matches
13603         in index entries relative to the beginning of the index entry.
13604         (Bug#14015)
13606 2013-03-21  Eric Ludlam  <zappo@gnu.org>
13608         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13609         Inhibit read only while inserting objects.
13611 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
13613         * progmodes/cfengine.el: Update docs to mention
13614         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
13615         symbol motion.  Remove "_" from the word syntax.
13617 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
13619         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13620         syntax for both `cfengine2-mode' and `cfengine3-mode'.
13622 2013-03-20  Juri Linkov  <juri@jurta.org>
13624         * info.el (Info-next-reference-or-link)
13625         (Info-prev-reference-or-link): New functions.
13626         (Info-next-reference, Info-prev-reference): Use them.
13627         (Info-try-follow-nearest-node): Handle footnote navigation.
13628         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
13630 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13632         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13633         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13635 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
13637         Suppress unnecessary non-ASCII chatter during build process.
13638         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13639         (batch-skkdic-convert): Suppress most of the chatter.
13640         It's not needed so much now that machines are faster,
13641         and its non-ASCII component was confusing; see Dmitry Gutov in
13642         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13644 2013-03-20  Leo Liu  <sdl.web@gmail.com>
13646         * ido.el (ido-chop): Fix bug#10994.
13648 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
13650         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13651         Remove vars.
13652         (whitespace-color-on, whitespace-color-off):
13653         Use `font-lock-fontify-buffer' (Bug#13817).
13655 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13657         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13658         remapping in mode-line.
13659         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13661 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
13663         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13664         value for `whitespace-line' face (Bug#13875).
13665         (whitespace-font-lock-keywords): Change description.
13666         (whitespace-color-on): Don't save `font-lock-keywords' value, save
13667         the constructed keywords instead.
13668         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13670 2013-03-19  Leo Liu  <sdl.web@gmail.com>
13672         * progmodes/compile.el (compilation-display-error): New command.
13673         (compilation-mode-map, compilation-minor-mode-map): Bind it to
13674         C-o.  (Bug#13992)
13676 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
13678         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13680 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
13682         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13684 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
13686         * net/tramp-compat.el (tramp-compat-user-error): New defun.
13688         * net/tramp-adb.el (tramp-adb-handle-shell-command):
13689         * net/tramp-gvfs.el (top):
13690         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13691         (tramp-handle-shell-command): Use it.
13692         (tramp-dissect-file-name): Raise an error when hostname is a
13693         method name, and neither method nor user is specified.
13695         * net/trampver.el: Update release number.
13697 2013-03-18  Leo Liu  <sdl.web@gmail.com>
13699         Make sure eldoc can be turned off properly.
13700         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13701         eldoc-mode.
13702         (eldoc-display-message-p): Revert last change.
13703         (eldoc-display-message-no-interference-p)
13704         (eldoc-print-current-symbol-info): Tweak.
13706 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
13708         * doc-view.el (doc-view-new-window-function): Check the new window
13709         overlay's display property instead the char property of the
13710         buffer's first char.  Use `with-selected-window' instead of
13711         `save-window-excursion' with `select-window'.
13712         (doc-view-document->bitmap): Check the current doc-view overlay's
13713         display property instead the char property of the buffer's first char.
13715 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
13717         Automate the build of ja-dic.el (Bug#13984).
13718         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13719         from the input, rather than assume that it's been done for us by the
13720         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
13721         the current date into a ja-dic.el comment, as that complicates
13722         regression testing.
13724 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13726         * whitespace.el: Fix double evaluation.
13727         (whitespace-space, whitespace-hspace, whitespace-tab)
13728         (whitespace-newline, whitespace-trailing, whitespace-line)
13729         (whitespace-space-before-tab, whitespace-indentation)
13730         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13731         obsolete defvars.
13732         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13733         (whitespace-color-on): Use a single font-lock-add-keywords call.
13734         Fix double-evaluation of face variables.
13736 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
13738         * net/tramp-adb.el (tramp-adb-parse-device-names):
13739         Use `start-process' instead of `call-process'.  Otherwise, the
13740         function might be blocked under MS Windows.  (Bug#13299)
13742 2013-03-17  Leo Liu  <sdl.web@gmail.com>
13744         Extend eldoc to display info in the mode-line.  (Bug#13978)
13745         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13746         (eldoc-mode-line-string): New variable.
13747         (eldoc-minibuffer-message): New function.
13748         (eldoc-message-function): New variable.
13749         (eldoc-message): Use it.
13750         (eldoc-display-message-p)
13751         (eldoc-display-message-no-interference-p):
13752         Support eldoc-post-insert-mode.
13754         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13755         (eval-expression): Run it.
13757 2013-03-17  Roland Winkler  <winkler@gnu.org>
13759         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13760         strings in the list of return values.
13762 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
13764         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13765         radix before checking for HMS forms.
13767 2013-03-16  Leo Liu  <sdl.web@gmail.com>
13769         * progmodes/scheme.el: Add indentation and font-locking for λ.
13770         (Bug#13975)
13772 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13774         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13775         token before point (bug#13942).
13777 2013-03-16  Leo Liu  <sdl.web@gmail.com>
13779         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
13781 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
13783         * startup.el (command-line-normalize-file-name): Fix handling of
13784         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
13785         <xfq.free@gmail.com> in
13786         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13788 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
13790         Sync with Tramp 2.2.7.
13792         * net/trampver.el: Update release number.
13794 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
13796         * doc-view.el: Fix bug#13887.
13797         (doc-view-insert-image): Don't modify overlay associated to
13798         non-live windows, and implement horizontal centering of image in
13799         case it's smaller than the window.
13800         (doc-view-new-window-function): Force redisplay of new windows on
13801         doc-view buffers.
13803 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
13805         * saveplace.el (save-place-alist-to-file): Don't sort
13806         `save-place-alist', just pretty-print it (bug#13882).
13808 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
13810         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13811         Check whether `default-file-name-coding-system' is bound.
13812         It isn't in XEmacs.
13814 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13816         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13817         backquotes for `obsolete' (bug#13929).
13819         * international/mule.el (find-auto-coding): Include file name in
13820         obsolescence warning (bug#13922).
13822 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
13824         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13825         for CFEngine 3-specific indentation.
13826         (cfengine3-indent-line): Use it.  Fix up category regex.
13827         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13829 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13831         * type-break.el (type-break-file-name):
13832         * textmodes/remember.el (remember-data-file):
13833         * strokes.el (strokes-file):
13834         * shadowfile.el (shadow-initialize):
13835         * saveplace.el (save-place-file):
13836         * ps-bdf.el (bdf-cache-file):
13837         * progmodes/idlwave.el (idlwave-config-directory):
13838         * net/quickurl.el (quickurl-url-file):
13839         * international/kkc.el (kkc-init-file-name):
13840         * ido.el (ido-save-directory-list-file):
13841         * emulation/viper.el (viper-custom-file-name):
13842         * emulation/vip.el (vip-startup-file):
13843         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13844         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13846 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
13848         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13849         * language/thai-word.el: Switch to UTF-8.
13851 See ChangeLog.16 for earlier changes.
13853 ;; Local Variables:
13854 ;; coding: utf-8
13855 ;; End:
13857   Copyright (C) 2011-2014 Free Software Foundation, Inc.
13859   This file is part of GNU Emacs.
13861   GNU Emacs is free software: you can redistribute it and/or modify
13862   it under the terms of the GNU General Public License as published by
13863   the Free Software Foundation, either version 3 of the License, or
13864   (at your option) any later version.
13866   GNU Emacs is distributed in the hope that it will be useful,
13867   but WITHOUT ANY WARRANTY; without even the implied warranty of
13868   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13869   GNU General Public License for more details.
13871   You should have received a copy of the GNU General Public License
13872   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.