Enhancements for outline integration.
[emacs.git] / lisp / ChangeLog
blob148c2b0e65c181ff4879fad1161b6c811b7aab7e
1 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3         Enhancements for outline integration (bug#17796).
4         * progmodes/python.el (python-mode): Properly set
5         outline-heading-end-regexp so that comments after colons for
6         defuns are supported.
8 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
10         * skeleton.el (skeleton-insert): Doc fix.
12 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
15         (smie-config-guess): Use smie-config-local so the rules are obeyed
16         (bug#17818).
18         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
19         since it's already done inside the loop (bug#17819).
21 2014-06-20  Martin Rudalics  <rudalics@gmx.at>
23         * mouse.el (mouse-drag-line): Re-remove code initially removed
24         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
25         (Bug#17819).
27 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
29         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
30         align with the surrounding parent (bug#17721).
32 2014-06-20  Eli Zaretskii  <eliz@gnu.org>
34         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
35         locally to nil.
36         (texinfo-insert-block, texinfo-insert-@end)
37         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
38         local setting of skeleton-end-newline by adding an explicit \n to
39         the skeletons where appropriate.  (Bug#17801)
41 2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
43         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
44         (smie-indent--hanging-p): Use it.
45         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
47 2014-06-20  Leo Liu  <sdl.web@gmail.com>
49         * simple.el (read-quoted-char): Don't let help chars pop up help
50         buffer.  (Bug#16617)
52 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
54         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
55         for | (bug#17621).
57 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
59         * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
60         (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
61         burping.
63 2014-06-18  Eli Zaretskii  <eliz@gnu.org>
65         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
66         and later.  (Bug#17790)
68 2014-06-18  Juri Linkov  <juri@jurta.org>
70         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
71         to `soft'.  (Bug#17554)
73 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
75         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
76         (bug#17737).
78 2014-06-16  Dmitry  <dgutov@yandex.ru>
80         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
81         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
83 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
85         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
86         `unread-command-events'.
88 2014-06-14  Glenn Morris  <rgm@gnu.org>
90         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
91         Replace delete-duplicates and mapcan by cl- versions throughout.
92         And cl-macroexpand-all by macroexpand-all.
93         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
95 2014-06-14  Eli Zaretskii  <eliz@gnu.org>
97         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
99 2014-06-14  Juri Linkov  <juri@jurta.org>
101         * bindings.el: Put `ascii-character' property on keypad keys
102         mapped to characters.  (Bug#17759)
104 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
106         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
107         bumping forward into a closing paren (bug#17761).
109         * term/xterm.el (xterm--version-handler): Work around for OSX
110         Terminal.app (bug#17607).
112 2014-06-08  Glenn Morris  <rgm@gnu.org>
114         * startup.el (initial-buffer-choice): Doc fix.
115         Reset :version (adding an option does not merit a :version bump).
117         * bookmark.el (bookmark-load):
118         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
120 2014-06-06  Juri Linkov  <juri@jurta.org>
122         * desktop.el: Activate auto-saving on window configuration changes.
123         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
124         `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
125         (desktop-auto-save-set-timer): Change REPEAT arg of
126         `run-with-idle-timer' from t to nil.
127         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
129 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
131         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
132         vc-hg-command (bug#17570).
134 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
136         * international/mule-cmds.el (ucs-names): Add special entry for BEL
137         (bug#17702).
139 2014-06-06  Glenn Morris  <rgm@gnu.org>
141         * startup.el (window-setup-hook): Doc fix.
143 2014-06-05  Glenn Morris  <rgm@gnu.org>
145         * emacs-lisp/package.el (package-check-signature)
146         (package-unsigned-archives): Doc fixes.
148 2014-06-03  Martin Rudalics  <rudalics@gmx.at>
150         * window.el (display-buffer-use-some-window): Don't make window
151         used smaller than it was before (Bug#17671).
153 2014-06-03  Eli Zaretskii  <eliz@gnu.org>
155         * menu-bar.el (menu-bar-open): Fix last change: use the PC
156         'redisplay' instead of '(sit-for 0)'.
158 2014-06-03  Michael Albinus  <michael.albinus@gmx.de>
160         * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
161         regexp.  (Bug#17653)
163 2014-06-03  Glenn Morris  <rgm@gnu.org>
165         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
167 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
169         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
171 2014-06-01  Eli Zaretskii  <eliz@gnu.org>
173         * simple.el (keyboard-quit): Force update of mode lines, to remove
174         the "Def" indicator, if we were defining a macro.  (Bug#17615)
176 2014-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
178         * minibuffer.el (minibuffer-force-complete-and-exit):
179         Obey minibuffer-default (bug#17545).
181         * progmodes/js.el (js-indent-line): Don't mix columns and chars
182         (bug#17619).
184 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
186         * subr.el (set-transient-map): Don't wait for some "nested"
187         transient-map to finish if we're only supposed to be active for
188         the next command (bug#17642).
190 2014-05-31  Leo Liu  <sdl.web@gmail.com>
192         * emacs-lisp/gv.el (window-buffer, window-display-table)
193         (window-dedicated-p, window-hscroll, window-point, window-start):
194         Fix gv-expander.  (Bug#17630)
196 2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
198         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
199         clicks (bug#17633).
201         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
202         for the single comma, since ", " is *very* common in normal French text
203         (bug#17643).
205 2014-05-30  Glenn Morris  <rgm@gnu.org>
207         * emacs-lisp/package.el (package-check-signature)
208         (package-unsigned-archives): Fix :version.
210 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
212         * subr.el (sit-for): Don't run input-methods (bug#15614).
214 2014-05-28  Glenn Morris  <rgm@gnu.org>
216         * cus-start.el: Fix some :version numbers.
218 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
220         * simple.el (deactivate-mark): Set mark-active to nil even if
221         deactivation is done via setting transient-mark-mode to nil,
222         since one is buffer-local and the other is global.
224         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
225         there can't be more than 2 arguments (bug#17584).
227 2014-05-27  Glenn Morris  <rgm@gnu.org>
229         * simple.el (filter-buffer-substring-functions)
230         (filter-buffer-substring-function, buffer-substring-filters)
231         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
233         * minibuffer.el (completion-in-region-functions, completion-in-region)
234         (completion--in-region): Doc fixes.
236         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
237         (expand-abbrev, abbrev--default-expand): Doc fixes.
239 2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
241         Include sources used to create macuvs.h.
242         * international/README: Refer to the Unicode Terms of Use rather
243         than copying it bodily here, as that simplifies maintenance.
245 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
247         * cus-face.el (custom-face-attributes): Add :distant-foreground.
249 2014-05-25  Martin Rudalics  <rudalics@gmx.at>
251         * window.el (window--dump-frame): Remove interactive
252         specification.
254 2014-05-23  Glenn Morris  <rgm@gnu.org>
256         * hippie-exp.el (he-line-search-regexp):
257         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
259 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
261         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
262         to avoid errors when trying to create or visit a file foo.todo
263         located outside to todo-directory, and to allow having such files
264         without them being tied to Todo mode (bug#17482).
265         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
266         (todo-archive-done-item, todo-find-filtered-items-file)
267         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
268         (todo-category-completions, todo-read-category): When visiting a
269         Todo file, make sure we're in the right mode and the buffer local
270         variables are set.
271         (todo-make-categories-list, todo-reset-nondiary-marker)
272         (todo-reset-done-string, todo-reset-comment-string):
273         After processing all Todo files, kill the buffers of those files that
274         weren't being visited before the processing.
275         (todo-display-as-todo-file, todo-add-to-buffer-list)
276         (todo-visit-files-commands): Comment out.
277         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
278         (auto-mode-alist): Remove add-to-list calls making Todo file
279         extensions unrestrictedly tied to Todo modes.
281 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
283         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
284         (advice-function-member-p): Tell it to check both names and functions
285         (bug#17531).
286         (advice--add-function): Adjust call accordingly.
288 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
290         * calendar/todo-mode.el: Miscellaneous bug fixes.
291         (todo-delete-file): When deleting an archive but not its todo
292         file, make sure to update the todo file's category sexp.
293         (todo-move-category): Keep the moved category's name unless the
294         file moved to already has a category with that name.  If the
295         numerically last category of the source file was moved, make the
296         first category current to avoid selecting a nonexisting category.
297         (todo-merge-category): Fix implementation to make merging to a
298         category in another file work as documented.  Eliminate now
299         insufficient and unnecessary renaming of archive category, correct
300         document string accordingly, and clarify it.  If the numerically
301         last category of the source file was merged, make the first
302         category current to avoid selecting a nonexisting category.
303         (todo-archive-done-item): When there are marked items and point
304         happens to be on an unmarked item, ignore the latter.  Don't leave
305         point below last item after archiving marked items.
306         (todo-unarchive-items): Fix logic to ensure unarchiving an item
307         from an archive with only one category deletes the archive only
308         when the category is empty after unarchiving.  Make sure the todo
309         file's category sexp is updated.
310         (todo-read-file-name): Allow an existing file name even when it is
311         not required (todo-move-category needs this to work as documented).
312         (todo-add-file): Call todo-validate-name to reject the name of an
313         existing todo file (needed due to fix in todo-read-file-name).
314         (todo-reset-nondiary-marker): Also reset in filtered items files.
315         (todo-reset-done-string, todo-reset-comment-string): Also reset in
316         regexp filtered items files.
317         (todo-reset-highlight-item): Also reset in filtered items files.
318         Fix incorrect variable reference in document string.
320 2014-05-22  Glenn Morris  <rgm@gnu.org>
322         * window.el (window--dump-frame): Avoid error in --without-x builds.
324 2014-05-21  Glenn Morris  <rgm@gnu.org>
326         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
328 2014-05-21  Eli Zaretskii  <eliz@gnu.org>
330         * frame.el (set-frame-font): Doc fix.
332         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
334 2014-05-21  Dmitry Gutov  <dgutov@yandex.ru>
336         * emacs-lisp/package.el (package--download-one-archive):
337         Use `write-region' instead of `save-buffer' to avoid running various
338         hooks.  (Bug#17155)
339         (describe-package-1): Same.  Insert newline at the end of the
340         buffer if appropriate.
342 2014-05-20  Juri Linkov  <juri@jurta.org>
344         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
345         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
346         Add more modifiers: meta, control, shift, hyper, super, alt.
347         (Bug#17439)
349         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
350         to allow changing its value with `set-variable'.
352 2014-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
354         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
355         #; comments.
356         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
357         New functions.
358         (scheme-mode-variables): Set syntax-propertize-function instead of
359         font-lock-syntactic-face-function.
360         (scheme-font-lock-syntactic-face-function): Delete.
362         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
364 2014-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
366         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
367         (bug#17392).
369 2014-05-17  Michael Albinus  <michael.albinus@gmx.de>
371         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
372         for a temporary file name.
374 2014-05-17  Eli Zaretskii  <eliz@gnu.org>
376         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
378 2014-05-16  Michael Albinus  <michael.albinus@gmx.de>
380         * net/dbus.el (dbus-init-bus, dbus-call-method)
381         (dbus-call-method-asynchronously, dbus-send-signal)
382         (dbus-method-return-internal, dbus-method-error-internal):
383         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
385 2014-05-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
387         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
388         methods which do not have a doc string.  (Bug#17490)
390 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
391             Stefan Monnier  <monnier@iro.umontreal.ca>
393         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
394         suffix (bug#15419).
396 2014-05-14  Glenn Morris  <rgm@gnu.org>
398         * vc/emerge.el (emerge-temp-file-prefix):
399         Make pointless option obsolete.
400         (emerge-temp-file-mode): Make non-functional option obsolete.
402 2014-05-13  Michael Albinus  <michael.albinus@gmx.de>
404         * net/browse-url.el (browse-url):
405         Use `unhandled-file-name-directory' when setting `default-directory',
406         in order to circumvent stalled remote connections.  (Bug#17425)
408 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
410         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
411         into autoloading just because of a silly indirection.
413 2014-05-11  Santiago Payà i Miralta  <santiagopim@gmail.com>  (tiny change)
415         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
417 2014-05-11  Glenn Morris  <rgm@gnu.org>
419         * emacs-lisp/find-gc.el: Move to ../admin.
421 2014-05-10  Glenn Morris  <rgm@gnu.org>
423         * printing.el (pr-version):
424         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
426         * net/browse-url.el (browse-url-mosaic):
427         Create /tmp/Mosaic.PID as a private file.
429 2014-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
431         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
432         (advice--member-p): If name is given, only compare the name.
433         (advice--remove-function): Don't stop at the first match.
434         (advice--normalize-place): New function.
435         (add-function, remove-function): Use it.
436         (advice--add-function): Pass the name, if any, to
437         advice--remove-function.
439 2014-05-09  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
441         * electric.el (electric-indent-post-self-insert-function): Don't use
442         `pos' after modifying the buffer (bug#17449).
444 2014-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
446         * subr.el (function-put): Add function.
448 2014-05-09  Stephen Berman  <stephen.berman@gmx.net>
450         * calendar/todo-mode.el (todo-insert-item-from-calendar):
451         Correct argument list to conform to todo-insert-item--basic.
453 2014-05-09  Glenn Morris  <rgm@gnu.org>
455         * files.el (cd-absolute): Test if directory is accessible
456         rather than executable.  (Bug#17330)
458         * progmodes/compile.el (recompile):
459         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
461 2014-05-08  Juri Linkov  <juri@jurta.org>
463         * dired.el (dired-check-switches, dired-switches-recursive-p):
464         New functions.  (Bug#17218)
465         (dired-switches-escape-p, dired-move-to-end-of-filename):
466         Use `dired-check-switches'.
467         (dired-insert-old-subdirs, dired-build-subdir-alist)
468         (dired-sort-R-check): Use `dired-switches-recursive-p'.
470 2014-05-08  Glenn Morris  <rgm@gnu.org>
472         * net/browse-url.el (browse-url-mosaic):
473         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
474         This is CVE-2014-3423.
476 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
478         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
479         (xterm-mouse--read-event-sequence-1000): Return nil if something
480         looks fishy.
481         (xterm-mouse-event): Propagate it.
482         (xterm-mouse-translate-1): Handle it.
484 2014-05-07  Stephen Berman  <stephen.berman@gmx.net>
486         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
487         four slots of the parameter list are filled, make sure to pass it
488         to the argument list of todo-insert-item--basic.
490 2014-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
492         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
493         Add optional `seen' argument to detect and break infinite loops.
495 2014-05-06  Eli Zaretskii  <eliz@gnu.org>
497         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
498         (trace-unsafe, trace-use-tree): Make parentheses style be
499         according to Emacs style.
501 2014-05-06  Michael Albinus  <michael.albinus@gmx.de>
503         * net/tramp-sh.el (tramp-remote-process-environment):
504         Remove HISTFILE and HISTSIZE; it's too late to set them here.
505         Add :version entry.
506         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
507         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
508         extra "PSx=..." commands.
509         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
510         (Bug#17295)
512         (tramp-uudecode): Replace the hard-coded temporary file name by a
513         format specifier.
514         (tramp-remote-coding-commands): Enhance docstring.
515         (tramp-find-inline-encoding): Replace "%t" by a temporary file
516         name.  (Bug#17415)
517         This is CVE-2014-3424.
519 2014-05-06  Glenn Morris  <rgm@gnu.org>
521         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
522         (find-gc-source-files): Update some names.
523         (trace-call-tree): Simplify and update.
524         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
525         This is CVE-2014-3422.
527 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
529         * minibuffer.el (completion--try-word-completion): Revert fix for
530         Bug#15980 (bug#17375).
532         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
533         Always store button numbers in the same way in xterm-mouse-last;
534         Don't burp is xterm-mouse-last is not set as expected.
535         Never return negative indices.
537 2014-05-05  Dmitry Gutov  <dgutov@yandex.ru>
539         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
540         Backtrack one char if the global/char-literal var matcher hits
541         inside a string.  The next char could be the beginning of an
542         expression expansion.
544 2014-05-05  Glenn Morris  <rgm@gnu.org>
546         * help-fns.el (describe-function-1): Test for an autoload before a
547         macro, since `macrop' works on autoloads.  (Bug#17410)
549 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
551         * electric.el (electric-indent-functions-without-reindent): Add yaml.
553         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
554         Make sure the new point we return is within the new string (bug#17239).
556 2014-05-03  Eli Zaretskii  <eliz@gnu.org>
558         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
560 2014-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
562         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
563         Use nil rather than `default' for the "default" appearance (bug#17388).
564         * vc/ediff-util.el (ediff-inferior-compare-regions)
565         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
566         a misleading `default' value when it's really a boolean.
567         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
568         overlay is not visible.
570 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
572         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
573         (todo-menu): Uncomment and update.
575 2014-05-02  Stephen Berman  <stephen.berman@gmx.net>
577         * calendar/todo-mode.el: Reimplement item editing to have the same
578         basic user interface as item insertion, and make small UI and
579         larger internal improvements to the latter.
580         (todo-insert-item): Add reference to the Todo mode user manual to
581         the documentation string.
582         (todo-insert-item--basic): Rename from todo-basic-insert-item and
583         adjust all callers.  Change signature to combine diary and
584         nonmarking arguments.  Incorporate functionality of deleted item
585         copying command and add error checking.  Remove detailed
586         descriptions of the arguments from the documentation string, since
587         this is treated in the Todo mode user manual.
588         (todo-copy-item, todo-edit-multiline-item)
589         (todo-edit-done-item-comment, todo-edit-item-header)
590         (todo-edit-item-time, todo-edit-item-date-from-calendar)
591         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
592         (todo-edit-item-date-year, todo-edit-item-date-month)
593         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
594         Remove.
595         (todo-edit-item): Reimplement as wrapper command for
596         todo-edit-item--next-key and make it distinguish done and not done
597         todo items.
598         (todo-edit-item--text): New function, replacing old command
599         todo-edit-item and incorporating deleted commands
600         todo-edit-multiline-item and todo-edit-done-item-comment.
601         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
602         Use only numeric value of prefix argument.  Remove detailed
603         descriptions of the arguments from the documentation string, since
604         this is treated in the Todo mode user manual.
605         (todo-edit-item--diary-inclusion): New function, replacing old
606         command todo-edit-item-diary-inclusion and incorporating and fixing
607         functionality of deleted command todo-edit-item-diary-nonmarking,
608         making sure to remove todo-nondiary-marker when adding
609         diary-nonmarking-symbol.
610         (todo-edit-category-diary-inclusion): Make sure to delete
611         diary-nonmarking-symbol when adding todo-nondiary-marker.
612         (todo-edit-category-diary-nonmarking): Fix indentation.
613         (todo-insert-item--parameters): Group diary and nonmarking
614         parameters together.
615         (todo-insert-item--apply-args): Adjust to signature of
616         todo-insert-item--basic and incorporate copy parameter.
617         Make small code improvements.
618         (todo-insert-item--next-param): Improve prompt and adjust it to
619         new parameter grouping.  Remove obsolete code.
620         (todo-edit-item--param-key-alist)
621         (todo-edit-item--date-param-key-alist)
622         (todo-edit-done-item--param-key-alist): New defconsts.
623         (todo-edit-item--prompt): New variable.
624         (todo-edit-item--next-key): New function.
625         (todo-key-bindings-t): Bind "e" to todo-edit-item.
626         Remove bindings of deleted commands.
628 2014-05-02  Leo Liu  <sdl.web@gmail.com>
630         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
632 2014-05-01  Glenn Morris  <rgm@gnu.org>
634         * allout-widgets.el (allout-widgets-tally)
635         (allout-decorate-item-guides):
636         * menu-bar.el (menu-bar-positive-p):
637         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
638         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
639         * progmodes/js.el (js--inside-param-list-p)
640         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
641         * progmodes/prolog.el (region-exists-p):
642         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
643         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
644         Doc fixes (replace `iff').
646 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
648         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
650 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
652         * dired.el (dired-initial-position-hook, dired-initial-position):
653         Doc string fixes.
655 2014-04-29  Glenn Morris  <rgm@gnu.org>
657         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
659 2014-04-27  Matthias Dahl  <matthias.dahl@binary-island.eu>
661         * faces.el (face-spec-recalc): Apply X resources only after the
662         defface spec has been applied. Thus, X resources are no longer
663         overriden by the defface spec which also fixes issues on win32 where
664         the toolbar coloring was wrong because it is set through X resources
665         and was (wrongfully) overriden.  (Bug#16694)
667 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
669         * textmodes/rst.el (electric-pair-pairs): Declare.
670         (rst-mode): Set it (bug#17131).
672 2014-04-27  Juri Linkov  <juri@jurta.org>
674         * desktop.el (desktop-value-to-string): Let-bind `print-length'
675         and `print-level' to nil.  (Bug#17351)
677 2014-04-25  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
679         * battery.el (battery-update): Handle the case where battery
680         status is "N/A" (bug#17319).
682 2014-04-24  Eli Zaretskii  <eliz@gnu.org>
684         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
685         Use equal-including-properties to compare help-echo strings (bug#17331).
687 2014-04-24  Leo Liu  <sdl.web@gmail.com>
689         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
690         Fix syntax for @.  (Bug#17325)
692 2014-04-24  Daniel Colascione  <dancol@dancol.org>
694         * emacs-lisp/cl.el (gv): Require gv early to break eager
695         macro-expansion cycles.
697 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
699         * simple.el (region-active-p): Check there's a mark (bug#17324).
701         * simple.el (completion-list-mode-map): Use choose-completion for the
702         mouse binding as well (bug#17302).
703         (completion-list-mode, completion-setup-function): Adjust docstring and
704         echo area message accordingly.
705         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
706         calling convention of choose-completion.
707         * comint.el (comint-dynamic-list-completions):
708         * term.el (term-dynamic-list-completions): Accept choose-completion.
710         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
711         &, |, +, - and * can't be a division (bug#17317).
713 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
715         * term/xterm.el (xterm--version-handler): Don't use modern xterm
716         features on gnome-terminal (bug#16988).
718 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
720         * dired.el (dired-insert-set-properties): Do not consider
721         subdirectory headings and empty lines to be information that
722         `dired-hide-details-mode' should hide.  (Bug#17228)
724 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
726         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
727         Remove test messages.
728         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
729         and `target' twice.
731 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
733         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
734         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
736         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
738 2014-04-21  Michael Albinus  <michael.albinus@gmx.de>
740         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
741         Set "IFS=" when using read builtin, in order to preserve spaces in
742         the file name.  Add test messages for hunting a bug on hydra.
743         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
745 2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
747         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
748         Don't prettify a word within a symbol.
750 2014-04-20  Michael Albinus  <michael.albinus@gmx.de>
752         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
753         possible.
755 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
757         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
758         assignments such as "case=hello" (bug#17297).
760 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
762         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
763         Do not autoload.
764         (tramp-file-name-handler, tramp-completion-file-name-handler):
765         Revert patch from 2014-04-10, it isn't necessary anymore.
766         (tramp-autoload-file-name-handler)
767         (tramp-register-autoload-file-name-handlers): New defuns.
768         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
769         (tramp-register-file-name-handlers): Remove also
770         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
771         Do not autoload its invocation, but eval it after loading of 'tramp.
773         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
775         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
777 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
779         * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
780         was done (bug#17264).
781         * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
782         comment to EOB.
784         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
785         here-documents (bug#17262).
787 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
789         * term/pc-win.el (x-list-fonts, x-get-selection-value):
790         Provide doc strings, as required by snarf-documentation.
792 2014-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
794         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
795         arg of overlays-at.  Use `invisible-p'.
797         * obsolete/lucid.el (extent-at):
798         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
799         overlays-at.
800         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
802 2014-04-14  João Távora  <joaotavora@gmail.com>
804         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
805         links.  (Bug#17217).
807 2014-04-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
809         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
810         Use mapc to loop over a vector.  (Bug#17257).
812 2014-04-13  Michael Albinus  <michael.albinus@gmx.de>
814         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
815         patch, there are new problems with file names containing spaces.
816         Get rid of backticks.  (Bug#17238)
818 2014-04-13  João Távora  <joaotavora@gmail.com>
820         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
821         possible bug.
823 2014-04-13  Eli Zaretskii  <eliz@gnu.org>
825         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
826         (blink-cursor-mode): Mention customization variables and the
827         effect of 'blink-cursor-blinks'.
829 2014-04-12  Barry O'Reilly  <gundaetiapo@gmail.com>
831         * simple.el (undo): Prevent insertion of identity mapping into
832         undo-equiv-table so as undo-only does not inf loop in the presence
833         of consecutive nils in undo list.
835 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
837         * faces.el (make-face): Deprecate optional argument as it is no
838         longer needed/used since the conditional X resources handling
839         has been pushed down to make-face-x-resource-internal itself.
840         (make-empty-face): Don't pass optional argument to make-face.
842 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
844         * international/characters.el <standard-case-table>: Add entries
845         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
846         Set category of Coptic characters be 'g' (Greek).
848 2014-04-12  Leo Liu  <sdl.web@gmail.com>
850         * progmodes/octave.el (completion-table-with-cache): Define if not
851         available.
852         (octave-goto-function-definition)
853         (octave-sync-function-file-names)
854         (octave-find-definition-default-filename): Backquote upattern for
855         compatibility.
857 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
859         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
860         name twice due to backticks.  (Bug#17238)
862 2014-04-11  Glenn Morris  <rgm@gnu.org>
864         * term/w32-win.el (x-win-suspend-error):
865         * term/x-win.el (x-win-suspend-error): Sync docs.
867 2014-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
869         Ediff's overlay priorities cause more trouble than they solve.
870         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
871         (ediff-highest-priority): Remove function (bug#17234).
872         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
873         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
874         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
875         overlay priorities.
877 2014-04-10  Feng Li  <fengli@gmail.com>  (tiny change)
879         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
880         entry; use symbol boundaries to avoid mis-matches.
882 2014-04-10  Michael Albinus  <michael.albinus@gmx.de>
884         * net/tramp.el (tramp-file-name-handler)
885         (tramp-completion-file-name-handler): Avoid recursive loading.
887         * net/tramp-sh.el (tramp-make-copy-program-file-name):
888         Quote result also locally.
890 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
892         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
893         Module methods.  (Bug#17216)
895 2014-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
897         * help.el (describe-bindings): Fix buffer handling (bug#17210).
898         (describe-bindings-internal): Mark obsolete.
900 2014-04-07  João Távora  <joaotavora@gmail.com>
902         * elec-pair.el:
903         (electric-pair--syntax-ppss): When inside comments parse from
904         comment beginning.
905         (electric-pair--balance-info): Fix typo in comment.
906         (electric-pair--in-unterminated-string-p): Delete.
907         (electric-pair--unbalanced-strings-p): New function.
908         (electric-pair-string-bound-function): New var.
909         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
910         according to `electric-pair--in-unterminated-string-p'
912 2014-04-07  João Távora  <joaotavora@gmail.com>
914         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
915         Inhibit quote pairing if point-max is inside an unterminated string.
916         (electric-pair--looking-at-unterminated-string-p): Delete.
917         (electric-pair--in-unterminated-string-p): New function.
919 2014-04-07  Glenn Morris  <rgm@gnu.org>
921         * shell.el (shell-directory-tracker):
922         Go back to just ignoring failures.  (Bug#17159)
924 2014-04-06  João Távora  <joaotavora@gmail.com>
926         Fix `electric-pair-delete-adjacent-pairs' in modes binding
927         backspace. (bug#16981)
928         * elec-pair.el (electric-pair-backward-delete-char): Delete.
929         (electric-pair-backward-delete-char-untabify): Delete.
930         (electric-pair-mode-map): Bind backspace to a menu item filtering
931         a new `electric-pair-delete-pair' command.
932         (electric-pair-delete-pair): New command.
934 2014-04-06  João Távora  <joaotavora@gmail.com>
936         * progmodes/python.el (python-electric-pair-string-delimiter):
937         Fix triple-quoting electricity.  (Bug#17192)
939 2014-04-06  João Távora  <joaotavora@gmail.com>
941         * elec-pair.el (electric-pair-post-self-insert-function):
942         Don't skip whitespace when `electric-pair-text-pairs' and
943         `electric-pair-pairs' were used. syntax to
944         electric-pair--skip-whitespace.  (Bug#17183)
946 2014-04-06  Eli Zaretskii  <eliz@gnu.org>
948         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
949         "<F>".  (Bug#17199)
951 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
953         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
954         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
956 2014-04-05  Glenn Morris  <rgm@gnu.org>
958         * help.el (view-lossage): Doc tweak.
960 2014-04-05  Matthias Dahl  <matthias.dahl@binary-island.eu>
962         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
963         only when inhibit-x-resources is nil, and do that earlier in the
964         function.  Doc fix.  (Bug#16694)
965         (face-spec-choose): Accept additional optional argument, whose
966         value is returned if no matching attributes are found.
967         (face-spec-recalc): Use the new optional argument when calling
968         face-spec-choose.  (Bug#16378)
969         (make-face-x-resource-internal): Do nothing when
970         inhibit-x-resources is non-nil.  Don't touch the default face if
971         reversed video is given--as was done in previous versions of Emacs.
972         (face-set-after-frame-default): Don't call
973         make-face-x-resource-internal here.  (Bug#16434)
975 2014-04-04  Tassilo Horn  <tsdh@gnu.org>
977         * doc-view.el (doc-view-bookmark-jump):
978         Use `bookmark-after-jump-hook' to jump to the right page after the
979         buffer is shown in a window.  (bug#16090)
981 2014-04-04  Eli Zaretskii  <eliz@gnu.org>
983         * international/characters.el (mirroring): Fix last change:
984         instead of loading uni-mirrored.el explicitly, do that implicitly
985         by creating the 'mirroring' uniprop table.  This avoids announcing
986         the loading of uni-mirrored.el.
988 2014-04-04  Glenn Morris  <rgm@gnu.org>
990         * files.el (buffer-stale--default-function)
991         (buffer-stale-function, revert-buffer--default):
992         * autorevert.el (auto-revert-buffers): Doc tweaks.
994 2014-04-03  Eli Zaretskii  <eliz@gnu.org>
996         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
998 2014-04-03  Glenn Morris  <rgm@gnu.org>
1000         * files.el (make-backup-file-name-function)
1001         (make-backup-file-name, make-backup-file-name--default-function)
1002         (make-backup-file-name-1, find-backup-file-name)
1003         (revert-buffer-function, revert-buffer-insert-file-contents-function)
1004         (buffer-stale--default-function, buffer-stale-function)
1005         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1006         (revert-buffer, revert-buffer--default)
1007         (revert-buffer-insert-file-contents--default-function):
1008         Doc fixes related to defaults no longer being nil.
1009         (make-backup-file-name-function): Bump :version.
1010         Restore nil as a valid but deprecated custom type.
1012 2014-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1014         * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1015         used as a variable (bug#17174).
1017 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1019         * progmodes/perl-mode.el (perl-indent-new-calculate):
1020         Handle forward-sexp failure (bug#16985).
1021         (perl-syntax-propertize-function): Add "foreach" and "for" statement
1022         modifiers introducing expressions (bug#17116).
1024 2014-04-02  Glenn Morris  <rgm@gnu.org>
1026         * menu-bar.el (menu-bar-file-menu):
1027         * vc/ediff.el (ediff-current-file):
1028         Update for revert-buffer-function no longer being nil by default.
1030         * simple.el (command-execute): Respect nil disabled-command-function.
1032 2014-04-01  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1034         * simple.el (command-execute): Do not execute the command when it
1035         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
1037 2014-03-29  Juri Linkov  <juri@jurta.org>
1039         * dired-aux.el (dired-compress-file): Don't use string-match-p
1040         because its match data is used afterwards.
1042 2014-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1044         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1045         0 like nil.
1047 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
1049         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1050         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
1052         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1053         Don't propertize `?' or `!' as symbol constituent when after
1054         colon.  (Bug#17097)
1056 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
1058         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1059         which is no longer needed and causes trouble in GTK builds (bug#17046).
1061         * emacs-lisp/package-x.el (package--archive-contents-from-url):
1062         Use url-insert-file-contents; package-handle-response no longer exists.
1064 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
1066         * emacs-lisp/package.el: Fix bug#16733 (again).
1067         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1068         (url-http-target-url): Remove unused declarations.
1069         (package-handle-response): Remove.
1070         (package--with-work-buffer): Use url-insert-file-contents and simplify.
1071         (package--download-one-archive): Use current-buffer instead of
1072         dynamic binding of `buffer'.
1073         (describe-package-1): Do not decode readme-string.
1075 2014-03-25  Barry O'Reilly  <gundaetiapo@gmail.com>
1077         * simple.el (primitive-undo): Correction to 2014-03-24 change.
1079 2014-03-25  Michael Albinus  <michael.albinus@gmx.de>
1081         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1083         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1084         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
1085         `remote-file-name-inhibit-cache' to nil in the second pass.
1086         (tramp-find-executable): Do not call "which" on SunOS.
1087         (tramp-send-command-and-check): Fix docstring.
1088         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1089         check whether source directory has set the sticky bit.
1091 2014-03-24  Barry O'Reilly  <gundaetiapo@gmail.com>
1093         * simple.el (primitive-undo): Only process marker adjustments
1094         validated against their corresponding (TEXT . POS).  Issue warning
1095         for lone marker adjustments in undo history.  (Bug#16818)
1096         (undo-make-selective-list): Add marker adjustments to selective
1097         undo list based on whether their corresponding (TEXT . POS) is in
1098         the region.  Remove variable adjusted-markers, which was unused
1099         and only non nil during undo-make-selective-list.
1100         (undo-elt-in-region): Return nil when passed a marker adjustment
1101         and explain in function doc.
1103 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
1105         * emacs-lisp/package.el (package--add-to-archive-contents):
1106         Include already installed and built-in packages in
1107         `package-archive-contents'.
1108         (package-install): Don't include already installed packages in the
1109         options during interactive invocation.  (Bug#16762)
1111 2014-03-24  Daniel Colascione  <dancol@dancol.org>
1113         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1114         instead of cl-loop search function.
1116 2014-03-24  Juanma Barranquero  <lekktu@gmail.com>
1118         * frameset.el (frameset--initial-params): Fix typo in parameter name.
1120 2014-03-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1122         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1124 2014-03-24  Dmitry Gutov  <dgutov@yandex.ru>
1126         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1127         Match special global variables without curlies, too.
1128         (ruby-font-lock-keywords): Simplify the matcher for special global
1129         variables.  Don't require a non-word character after the variable.
1130         (Bug#17057)
1132 2014-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1134         * simple.el (redisplay-highlight-region-function): Increase priority of
1135         overlay to make sure boundaries are visible (bug#15899).
1137 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
1139         * frameset.el (frameset-restore): Compare display strings with equal.
1141         * frame.el (make-frame): Don't quote display name in error message,
1142         it is already a string.
1144 2014-03-23  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1146         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1147         the password.
1149 2014-03-23  Dmitry Gutov  <dgutov@yandex.ru>
1151         * emacs-lisp/package.el (package-show-package-list): If the buffer
1152         is already displayed in another window, switch to that window.
1154 2014-03-21  Daniel Colascione  <dancol@dancol.org>
1156         * mail/emacsbug.el (report-emacs-bug): Include memory usage
1157         information in bug reports.
1159 2014-03-23  Daniel Colascione  <dancol@dancol.org>
1161         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1162         list to look for keyword arguments instead of `memq', fixing
1163         (Bug#3647) --- unfortunately, only for freshly-compiled code.
1164         Please make bootstrap.
1166 2014-03-23  Richard Stallman  <rms@gnu.org>
1168         * battery.el (battery-linux-sysfs): Search for each field
1169         from the beginning of the buffer.
1171 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
1173         * emacs-lisp/package.el (package-desc): Use the contents of the
1174         quoted form, not its cdr.  (Bug#16873)
1176 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
1178         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1179         benefit of doc.c; change parameter profile to match the X function.
1181 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
1183         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1184         and `tramp-copy-env'.
1186         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1187         (tramp-maybe-open-connection): Handle `tramp-login-env'.
1189 2014-03-21  Glenn Morris  <rgm@gnu.org>
1191         * electric.el (electric-indent-post-self-insert-function): Add doc.
1193 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
1195         * emacs-lisp/package.el (package-compute-transaction):
1196         Use `version-list-<=' to compare the requirement version against
1197         the version of package already to be installed.  Update the error
1198         message.  (Bug#16826)
1200         * progmodes/ruby-mode.el (ruby-smie-rules):
1201         Add indentation rule for ` @ '.  (Bug#17050)
1203 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
1205         * align.el (align-regexp): Remove superfluous backslash.
1207         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1208         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1209         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1210         Fix docstring typos.
1211         (ffap-next): Use C-u in docstring.
1212         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1213         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1214         Remove superfluous backslashes.
1215         (ffap-string-at-point): Reflow docstring.
1217         * server.el (server-host): Reflow docstring.
1218         (server-unload-function): Fix docstring typo.
1219         (server-eval-at): Remove superfluous backslash.
1221         * skeleton.el (skeleton-insert): Remove superfluous backslash.
1222         (skeleton-insert): Doc fix.
1223         (skeleton-insert): Reflow docstring.
1225         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1226         (tty-color-approximate, tty-color-by-index, tty-color-values)
1227         (tty-color-desc): Remove superfluous backslashes.
1229 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1231         * electric.el (electric-newline-and-maybe-indent): New command.
1232         Bind it globally to C-j.
1233         (electric-indent-mode): Don't mess with the global map any more.
1234         Don't drop the post-self-insert-hook is some buffer is still using it
1235         (bug#16770).
1237         * bindings.el (global-map): Remove C-j binding.
1239         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1240         the docstring of functions advised before dumping (bug#16993).
1242 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
1244         * ps-print.el (ps-generate-postscript-with-faces):
1245         Explicitly deactivate the mark (bug#16866).
1246         * simple.el (deactivate-mark): Update region highlight.
1248 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
1250         * emacs-lisp/package.el (describe-package-1):
1251         Decode commentary (bug#16733).
1253 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
1255         * custom.el (defcustom): Doc fix: recommend avoiding destructive
1256         modification of the value argument of :set (bug#16755).
1258 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1260         * simple.el (newline-and-indent): Do autofill (bug#17031).
1262 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
1264         * newcomment.el (comment-normalize-vars): Only add escaping check
1265         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
1266         (comment-beginning): Use `narrow-to-region' instead of moving back
1267         one character.
1268         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1269         (comment-start-skip): Update the docstring.
1271 2014-03-18  Richard Stallman  <rms@gnu.org>
1273         * dired.el (dired-display-file): Force use of other window.
1275 2014-03-18  Daniel Colascione  <dancol@dancol.org>
1277         * startup.el (tty-handle-args): Remove debug message from 2007.
1279 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1281         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1282         (advice--make-interactive-form): Use it to avoid (auto)loading function.
1283         (advice--make-1, advice-add, advice-remove):
1284         Remove braindead :advice-pending hack.
1286 2014-03-17  Glenn Morris  <rgm@gnu.org>
1288         * calendar/calendar.el (calendar-generate-month): Apply weekend
1289         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
1291 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
1293         * net/tramp.el (tramp-action-out-of-band): Read pending output.
1294         (tramp-call-process): Trace also DESTINATION.
1296         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1297         Quote file names when they are local.  Remove superfluous trace.
1299 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
1301         * newcomment.el (comment-beginning): If `comment-start-skip'
1302         doesn't match, move back one char and try again.  (Bug#16971)
1304         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1305         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1306         Set `comment-start-skip' to a simpler value that doesn't try to
1307         check if the semicolon is escaped (this is handled by
1308         `syntax-ppss' now).  (Bug#16971)
1310         * progmodes/scheme.el (scheme-mode-variables): Same.
1312 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
1314         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1315         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1316         current (Bug#16816, Bug#17007).
1317         (with-current-buffer-window): New macro doing the same as
1318         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1319         * help.el (help-print-return-message): Warn in doc-string to not
1320         use this in `with-help-window'.
1321         (describe-bindings-internal): Call `describe-buffer-bindings'
1322         from within help buffer.  See Juanma's scenario in (Bug#16816).
1323         (with-help-window): Update doc-string.
1324         * dired.el (dired-mark-pop-up):
1325         * files.el (save-buffers-kill-emacs):
1326         * register.el (register-preview): Use `with-current-buffer-window'
1327         instead of `with-temp-buffer-window'.
1329 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
1331         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1332         Implement inserting into current buffer, documented in their docstrings.
1333         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1334         (rst-section-tree-point, rst-forward-section, rst-indent)
1335         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1336         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1337         (rst-font-lock-handle-adornment-pre-match-form)
1338         (rst-repeat-last-character): Reflow docstrings.
1339         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1340         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1341         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1342         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1343         Fix docstring typos.
1344         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1345         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1346         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1348 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
1350         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1351         for compatibility with other ports.
1352         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
1353         from the -xrm command line argument, but in the Nextstep port its value
1354         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1356         * progmodes/python.el (defconst, python-syntax-count-quotes)
1357         (python-indent-region, python-indent-shift-right)
1358         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1359         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1360         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1361         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1362         (inferior-python-mode, python-shell-make-comint, run-python-internal)
1363         (python-shell-buffer-substring, python-shell-send-buffer)
1364         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1365         (python-completion-complete-at-point, python-fill-docstring-style)
1366         (python-eldoc-function, python-imenu-format-item-label)
1367         (python-imenu-format-parent-item-label)
1368         (python-imenu-format-parent-item-jump-label)
1369         (python-imenu--build-tree, python-imenu-create-index)
1370         (python-imenu-create-flat-index): Fix docstring typos.
1371         (python-indent-context, python-shell-prompt-regexp, run-python):
1372         Remove superfluous backslashes.
1373         (python-indent-line, python-nav-beginning-of-defun)
1374         (python-shell-get-buffer, python-shell-get-process)
1375         (python-info-current-defun, python-info-current-line-comment-p)
1376         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1377         (python-indent-post-self-insert-function, python-shell-send-file)
1378         (python-shell-completion-get-completions)
1379         (python-shell-completion-complete-or-indent)
1380         (python-eldoc--get-doc-at-point): Reflow docstrings.
1382 2014-03-14  Glenn Morris  <rgm@gnu.org>
1384         * emacs-lisp/package.el (package-menu-mode-map):
1385         Replace use of obsolete function alias.  Tweak menu item text.
1387         * info.el (Info-finder-find-node):
1388         Ignore the `emacs' metapackage.  (Bug#10813)
1390         * finder.el (finder-list-matches): Include unversioned packages
1391         in the result of a keyword search.
1393         * finder.el (finder--builtins-descriptions): New constant.
1394         (finder-compile-keywords): Use finder--builtins-descriptions.
1396 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
1398         * simple.el (blink-matching-paren): Describe the new value,
1399         `jump', enabling the old behavior.
1400         (blink-matching-open): Use that value.  (Bug#17008)
1402 2014-03-14  Glenn Morris  <rgm@gnu.org>
1404         * finder.el (finder-no-scan-regexp): Add leim-list.
1405         (finder-compile-keywords):
1406         Don't skip files with same basename.  (Bug#14010)
1407         * Makefile.in (setwins_finder): New, excluding leim.
1408         (finder-data): Use setwins_finder.
1410         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1411         (help-function-arglist, help-make-usage): Move from here...
1412         * help.el (help-split-fundoc, help-add-fundoc-usage)
1413         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
1414         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1416 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
1418         * net/socks.el (socks, socks-override-functions)
1419         (socks-find-services-entry):
1420         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1421         (hif-find-ifdef-block):
1422         * progmodes/modula2.el (m2-indent): Fix docstring typos.
1424         * net/tls.el (tls-program): Reflow docstring.
1426         * progmodes/pascal.el (pascal-mode-abbrev-table)
1427         (pascal-imenu-generic-expression, pascal-auto-endcomments)
1428         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1429         (pascal-outline-mode): Fix docstring typos.
1430         (pascal-mode): Let define-derived-mode document mode hook.
1431         (pascal-uncomment-area): Reflow.
1432         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1434         * progmodes/opascal.el (opascal-compound-block-indent)
1435         (opascal-case-label-indent): Fix docstring typos.
1436         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1438 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
1440         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1441         Fontify multiple adjacent negation chars.  (Bug#17004)
1443 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
1445         * emacs-lisp/package.el (package--prepare-dependencies):
1446         Accept requirements without explicit version (bug#14941).
1448 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
1450         * register.el (register-separator, copy-to-register): Doc fixes.
1451         (register-preview-default): Remove unnecessary call to concat.
1453         * frameset.el (frameset-restore): When checking for a visible frame,
1454         use the action map instead of calling visible-frame-list.
1456 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
1458         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1460 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
1462         * window.el (fit-frame-to-buffer): Get maximum width from
1463         display's width instead of height.
1465 2014-03-12  Glenn Morris  <rgm@gnu.org>
1467         * desktop.el (desktop-restore-frames)
1468         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1469         (desktop-restore-reuses-frames): Doc tweaks.
1471         * electric.el (electric-indent-mode): Doc fix.
1473 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
1475         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1476         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1477         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1478         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1479         (cvs-dired-use-hook): Fix docstring typos.
1480         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1481         Doc fixes.
1483         * vc/pcvs-defs.el (cvs-auto-remove-handled)
1484         (cvs-auto-remove-directories, cvs-default-ignore-marks)
1485         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1486         (cvs-execute-single-dir): Fix docstring typos.
1488         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1489         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1491         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1493         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1494         Fix docstring typos.
1496 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
1498         * frameset.el (frameset--jump-to-register): Add autoload; it could be
1499         called from jump-to-register after unloading the frameset package.
1501 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1503         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1504         (bug#16975).  Deactivate the mark before setting it to nil.
1505         (activate-mark): Do nothing if region is already active.
1507 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
1509         * frameset.el (frameset--target-display): Remove definition; declare.
1510         (frameset-save, frameset-restore): Let-bind frameset--target-display.
1512 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1514         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1515         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1516         when the advice is pending.
1517         (advice-remove): Remove this marker when not needed any more.
1519 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
1521         * frameset.el: Separate options for reusing frames and cleaning up.
1522         (frameset--reuse-list): Remove definition; declare.
1523         (frameset--action-map): Declare.
1524         (frameset--find-frame-if): Doc fix.
1525         (frameset--restore-frame): Cache frame action.
1526         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1527         how to clean up the frame list after restoring.  Remove cleaning
1528         options from REUSE-FRAMES.  Change all keyword values to symbols.
1529         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1531         * desktop.el (desktop-restore-forces-onscreen)
1532         (desktop-restore-reuses-frames): Use non-keyword values.
1533         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1535 2014-03-10  Glenn Morris  <rgm@gnu.org>
1537         * files.el (find-file): Doc fix: update info node name.
1539         * emacs-lisp/advice.el (ad-add-advice, defadvice):
1540         Doc fix: remove references to deleted info nodes.
1542 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
1544         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1545         Do not add `nil' to the environment, when there's no remote `locale'.
1546         (tramp-find-inline-encoding): Check, that the remote host has
1547         installed perl, before sending scripts.
1549 2014-03-10  Leo Liu  <sdl.web@gmail.com>
1551         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1552         Clear eldoc-last-message.  (Bug#16920)
1554 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1556         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1557         (bug#14430).
1559 2014-03-09  Juri Linkov  <juri@jurta.org>
1561         * ansi-color.el (ansi-color-names-vector): Copy default colors
1562         from `xterm-standard-colors' that look well on the default white
1563         background (and also on the black background) to avoid illegible
1564         color combinations like yellow-on-white and white-on-white.
1565         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1567 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
1569         * frameset.el (frameset-restore): When no frame is visible, do not
1570         generate a list of frames, just make visible the selected one.
1572 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
1574         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1575         it only contains the repository root.  (Bug#16897)
1577 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
1579         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1580         only when `remote-file-name-inhibit-cache' is nil.
1581         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
1583 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
1585         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1586         Fix doc-strings.
1587         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
1588         fit-frame-to-buffer variable.  Fix doc-string.
1589         (fit-window-to-buffer): Set ONLY argument in call of
1590         fit-frame-to-buffer.  Fix doc-string.
1592 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
1594         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1595         (tramp-action-password): Clear password cache if needed.
1596         (tramp-read-passwd): Do not clear password cache.
1598         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1599         cache unless it is the first password request.
1601 2014-03-06  Glenn Morris  <rgm@gnu.org>
1603         * simple.el (newline): Doc tweak.
1605         * emacs-lisp/shadow.el (load-path-shadows-find):
1606         Ignore dir-locals.  (Bug#12357)
1608 2014-03-05  Glenn Morris  <rgm@gnu.org>
1610         * files.el (interpreter-mode-alist):
1611         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
1613 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
1615         * frameset.el (frameset--initial-params): Filter out null entries.
1617 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
1619         * window.el (window-min-height, window-min-width):
1620         Rewrite doc-strings.
1621         (window-body-size): Add PIXELWISE argument to make it consistent
1622         with its callees.
1624 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
1626         * finder.el (finder-mode-map, finder-mode-syntax-table):
1627         Revert part of 2014-02-28 change.
1629 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
1631         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1632         (eww-setup-buffer): Clear next/prev/etc more reliably.
1633         (eww-textarea-map): [tab] doesn't work on tty.
1634         Reported by Mario Lang.
1636         * net/shr.el (shr-map): Ditto.
1638 2014-03-04  Glenn Morris  <rgm@gnu.org>
1640         * minibuffer.el (completion-hilit-commonality):
1641         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1643 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
1645         * hilit-chg.el (hilit-chg-unload-function): New function.
1646         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1647         (hilit-chg-map-changes): Prefer cardinal number to digit.
1648         (hilit-chg-display-changes): Reflow docstring.
1649         (highlight-changes-rotate-faces): Remove superfluous backslash.
1651 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
1653         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1654         `tramp-send-command-and-check'.
1656 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
1658         * hexl.el (hexl-address-region, hexl-ascii-region)
1659         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1660         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1661         (hexl-forward-word, hexl-previous-line, hexl-next-line):
1662         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1663         (hexl-mode): Doc fix.
1664         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1665         (hexl-mode-ruler): Fix typos in docstrings.
1667         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1668         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1669         Remove superfluous backslashes.
1670         (strokes-last-stroke, strokes-global-map, strokes-mode):
1671         Reflow docstrings.
1672         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1673         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1674         (strokes-distance-squared, strokes-global-set-stroke)
1675         (strokes-global-set-stroke-string): Doc fixes.
1676         (strokes-help): Fix typos; reflow docstring.
1678 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
1680         * window.el (window-in-direction): Fix doc-string.
1682 2014-03-04  Glenn Morris  <rgm@gnu.org>
1684         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1685         Explicit error if no grammar.
1686         (smie-config-save): Doc fix.  Fix quote typo.
1688 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1690         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1691         electric-indent-mode-hook if we obey electric-indent-mode.
1692         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1693         decide whether we obey electric-indent-mode.
1694         (c-change-set-fl-decl-start, c-extend-after-change-region):
1695         Silence warnings.
1696         (c-electric-indent-mode-hook): Assume we do want to obey
1697         electric-indent-mode.
1699         * electric.el (electric-indent-mode-has-been-called): Remove.
1700         (electric-indent-mode): Fix accordingly.
1702         * files.el (hack-local-variables): Mention file name in warning.
1704         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1706 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
1708         * bindings.el: Add comment describing why C-d binds to `delete-char'.
1709         * simple.el (delete-forward-char): Mark as interactive-only.
1711 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
1713         * icomplete.el (icomplete-completions):
1714         Follow-up to 2014-03-01 change.
1716         * icomplete.el: Miscellaneous doc fixes.
1717         Use Icomplete everywhere instead of icomplete for consistency.
1718         (icomplete-max-delay-chars): Fix typo.
1719         (icomplete-mode): Use \[].
1720         (icomplete-tidy, icomplete-exhibit): Reflow.
1721         (icomplete-minibuffer-setup-hook, icomplete-completions):
1722         Remove superfluous backlashes.
1724         * ido.el: Miscellaneous doc fixes.
1725         Use Ido everywhere instead of ido or `ido' for consistency.
1726         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1727         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1728         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1729         (ido-separator): Extract obsolescence info from docstring and declare
1730         with make-obsolete-variable.
1731         (ido-minibuffer-setup-hook): Simplify example.
1732         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1733         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1734         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1735         (ido-everywhere): Reflow docstring.
1736         (ido-toggle-vc): Doc fix.
1737         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1738         of long list of keybindings.
1740 2014-03-03  Glenn Morris  <rgm@gnu.org>
1742         * frame.el (display-pixel-height, display-pixel-width)
1743         (display-mm-dimensions-alist, display-mm-height)
1744         (display-mm-width): Doc tweaks.
1746 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
1748         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1749         case of undo in region.
1751 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
1753         * window.el (fit-window-to-buffer): Fix argument in window-size
1754         call when window is horizontally combined.
1756 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
1758         * icomplete.el (icomplete-completions): Use string-width.
1759         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1761 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
1763         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1764         Highlight regexp options.  (Bug#16914)
1766 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
1768         * window.el (window--max-delta-1): Round down when calculating
1769         how many lines/columns we can get from a window.
1771 2014-03-01  Glenn Morris  <rgm@gnu.org>
1773         * isearch.el (search-invisible): Doc fix.
1775         * minibuffer.el (completion-hilit-commonality):
1776         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
1777         * comint.el (comint-dynamic-list-completions): Doc fix.
1778         * comint.el (comint-dynamic-list-completions):
1779         * filecache.el (file-cache-minibuffer-complete):
1780         * tempo.el (tempo-display-completions):
1781         * eshell/em-hist.el (eshell-list-history):
1782         Replace use of obsolete argument of display-completion-list.
1784 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
1786         * icomplete.el (icomplete-completions):
1787         Revert back to using "..." when ?… cannot be displayed.
1789 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
1791         * finder.el (finder-unload-function): New function.
1793 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
1795         * dframe.el (dframe-detach):
1796         * find-dired.el (find-dired, find-name-dired):
1797         * finder.el (finder-mode-map, finder-mode-syntax-table)
1798         (finder-headmark, finder-select, finder-mouse-select):
1799         Fix docstring typos.
1801 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
1803         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1804         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1805         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1806         Fix doc-string based on a suggestion by Nicolas Richard
1807         <theonewiththeevillook@yahoo.fr>.
1808         * help.el (with-help-window): Fix doc-string.
1810 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
1812         * net/shr.el (shr-image-animate): New option.
1813         (shr-put-image): Respect shr-image-animate.
1815 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
1817         * net/tramp-adb.el (tramp-adb-parse-device-names):
1818         Use `accept-process-output'.
1819         (tramp-adb-handle-file-truename): Cache the localname only.
1820         (tramp-adb-handle-make-directory)
1821         (tramp-adb-handle-delete-directory): Flush file properties correctly.
1822         (tramp-adb-handle-set-file-modes): Do not raise an error when file
1823         modes cannot be changed.
1825         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1826         file properties of symlinks.
1828 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
1830         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1831         required/optional fields to match development biblatex.  (Bug#16781)
1833 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
1835         * saveplace.el (toggle-save-place):
1836         Fix argument handling.  (Bug#16673)
1838 2014-02-28  Glenn Morris  <rgm@gnu.org>
1840         * minibuffer.el (completions-first-difference)
1841         (completions-common-part, completion-hilit-commonality): Doc fixes.
1843 2014-02-28  Karl Berry  <karl@gnu.org>
1845         * info.el (Info-mode-map): Add H for describe-mode,
1846         to synchronize with standalone Info.
1848 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
1850         * progmodes/sql.el (sql-interactive-mode):
1851         Avoid setting global comint-input-ring-separator.  (Bug#16814)
1853 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
1855         * net/dbus.el (dbus--init-bus): Declare function.
1856         (dbus-path-local, dbus-interface-local): New defconst.
1857         (dbus-init-bus): Use them.
1858         (dbus-return-values-table): Extend doc.
1859         (dbus-handle-bus-disconnect): Extend error message.
1861 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
1863         * subr.el (y-or-n-p): Fix double space issue in message.
1865 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
1867         * net/tramp.el (tramp-call-process): Improve trace message.
1868         (tramp-handle-insert-file-contents): Trace error case.
1870         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1871         <insert-directory>: Use `tramp-handle-insert-directory'.
1872         (tramp-adb-handle-insert-directory): Remove function.
1873         (tramp-adb-send-command-and-check): New defun, replacing
1874         `tramp-adb-command-exit-status'.  Change all callees.
1875         (tramp-adb-handle-file-attributes)
1876         (tramp-adb-handle-directory-files-and-attributes): Use it.
1877         (tramp-adb-ls-output-name-less-p):
1878         Use `directory-listing-before-filename-regexp'.
1879         (tramp-adb-handle-delete-directory): Flush also file properties of
1880         the truename of directory.
1881         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1882         (tramp-adb-handle-file-local-copy): Make the local copy readable.
1883         (tramp-adb-handle-write-region): Implement APPEND.
1884         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
1885         properties correctly.
1886         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1887         variables.  Check for connected devices only when needed.
1889 2014-02-27  Glenn Morris  <rgm@gnu.org>
1891         * minibuffer.el (completion-table-dynamic)
1892         (completion-table-with-cache): Doc fixes.
1894         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1895         (completing-read-multiple): Doc fixes.
1897 2014-02-27  Daniel Colascione  <dancol@dancol.org>
1899         * minibuffer.el (completion--nth-completion): Fix indentation.
1901         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1902         explicit tramp path is empty.
1904 2014-02-27  Glenn Morris  <rgm@gnu.org>
1906         * emacs-lisp/crm.el (completing-read-multiple):
1907         Empower help-enable-auto-load.
1909 2014-02-26  Glenn Morris  <rgm@gnu.org>
1911         * startup.el (command-line): Don't init the tty in daemon mode.
1913         Avoid calling tty-setup-hook twice, eg if a term file
1914         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
1915         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1916         (tty-create-frame-with-faces): Use it.
1917         * startup.el (command-line): Pass run-hook argument
1918         to tty-run-terminal-initialization.
1920         * dired.el (dired-restore-desktop-buffer): Demote errors;
1921         eg in case a glob match fails.  (Bug#16884)
1923 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
1925         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1926         error from `read-from-string'.  (Bug#16850)
1928         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1929         result of `completing-read' in the interactive form.  (Bug#16854)
1931 2014-02-25  Glenn Morris  <rgm@gnu.org>
1933         * image.el (image-animate, image-animate-timeout):
1934         Stop animating images in dead buffers.  (Bug#16878)
1936         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
1938         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1939         Doc fixes.
1940         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
1941         * term/sun.el (sun-raw-prefix-hooks):
1942         Use tty-setup-hook instead of term-setup-hook.
1943         (terminal-init-sun): Construct message from bytecomp plist.
1944         * term/wyse50.el (enable-arrow-keys): Doc fix.
1946 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
1948         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1949         Fix docstring typos.
1951 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
1953         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1955 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1957         * minibuffer.el (completion--try-word-completion):
1958         Fix error when completing M-x commands (bug#16808).
1960 2014-02-24  Leo Liu  <sdl.web@gmail.com>
1962         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1964 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
1966         * apropos.el (apropos-print): Avoid formatting error when
1967         apropos-do-all and apropos-compact-layout are both t.
1969 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
1971         * apropos.el (apropos-property, apropos-all-words-regexp)
1972         (apropos-true-hit, apropos-variable, apropos-print):
1973         Fix docstring typos, and remove obsolete comment.
1975 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
1977         * net/tramp-sh.el (tramp-sh-handle-file-truename):
1978         Preserve trailing "/".  (Bug#16851)
1980 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
1982         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1983         after `=>' (bug#16811).
1984         (ruby-smie-rules): Handle the inconsistent second element of the
1985         list returned by `smie-indent--parent'.
1986         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1987         method call.
1989 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
1991         * elec-pair.el (electric-pair-text-syntax-table)
1992         (electric-pair-syntax-info, electric-pair--syntax-ppss)
1993         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1994         (electric-pair--looking-at-unterminated-string-p): Doc fix.
1995         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
1997 2014-02-22  Glenn Morris  <rgm@gnu.org>
1999         * imenu.el (imenu--generic-function): Doc fix.
2001         * register.el (frame-configuration-to-register): Make obsolete.
2003 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
2005         * desktop.el (desktop-save-buffer-p): Do not fail when
2006         desktop-files-not-to-save is nil.  Return t for true result
2007         as the doc says.
2009 2014-02-22  Daniel Colascione  <dancol@dancol.org>
2011         * net/secrets.el (secrets-create-item, secrets-search-items):
2012         Check that attribute values are strings, avoiding the construction
2013         of invalid dbus messages.
2015 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
2017         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2018         defun-declarations-alist.
2020 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2022         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2023         (bug#16829).
2025 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
2027         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2028         (whitespace-newline, whitespace-trailing, whitespace-line)
2029         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2030         (whitespace-space-after-tab): Fix typo in docstrings.
2032 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
2034         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2036         * electric.el (electric-indent-functions-without-reindent):
2037         Add `yaml-indent-line'.
2039 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
2041         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2042         It has done nothing for years; should be removed after the release.
2044         * simple.el (choose-completion): Fix docstring typo.
2045         (read-quoted-char-radix): Remove unneeded * in docstring.
2046         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2047         Don't escape parentheses unnecessarily in docstrings.
2049 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
2051         Fix handling of window-min-height/-width (Bug#16738).
2052         * window.el (window--dump-window, window--dump-frame):
2053         New functions.
2054         (window--min-size-1): Account for window dividers.
2055         When window-resize-pixelwise is nil, delay rounding till after the
2056         sum of the window components has been calculated.
2057         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2058         nil make sure at least one text line and two text columns remain
2059         fully visible.
2060         (window-resize): Signal an error when window-resize-apply fails.
2061         (window--resize-child-windows): Fix calculation of by how many
2062         pixels a window can still be shrunk via window-new-normal.
2063         (adjust-window-trailing-edge): Call window--resizable with
2064         correct TRAIL argument.
2066         (with-temp-buffer-window): Don't evaluate BODY within
2067         with-current-buffer (Bug#16816).
2069 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
2071         * net/tramp.el (tramp-check-cached-permissions):
2072         Call `file-attributes' with `suffix' being a symbol but a string.
2074 2014-02-21  Daniel Colascione  <dancol@dancol.org>
2076         * net/dbus.el (dbus-init-bus-1): Declare new subr.
2077         (dbus-init-bus): New function: call into dbus-init-bus-1
2078         and installs a handler for the disconnect signal.
2079         (dbus-call-method): Rewrite to look for result in cons.
2080         (dbus-call-method-handler): Store result in cons.
2081         (dbus-check-event): Recognize events with nil sender as valid.
2082         (dbus-handle-bus-disconnect): New function.  React to bus
2083         disconnection signal by synthesizing dbus error for each
2084         pending synchronous or asynchronous call.
2085         (dbus-notice-synchronous-call-errors): New function.
2086         (dbus-handle-event): Raise errors directly only when `dbus-debug'
2087         is true, not all the time.
2089 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
2091         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2092         Remove obsolescence declarations, these variables do not exist anymore.
2094         * savehist.el (savehist-save-minibuffer-history)
2095         (savehist-additional-variables, savehist-file, savehist-mode-hook)
2096         (savehist-save-hook, savehist-coding-system, savehist-loaded)
2097         (savehist-load, savehist-install, savehist-autosave): Fix typos;
2098         mostly, refer to "Savehist mode" when talking about the mode,
2099         and not the function.
2101         * saveplace.el (save-place): Remove redundant info in docstring.
2102         (save-place-forget-unreadable-files, toggle-save-place)
2103         (save-place-forget-unreadable-files, save-place-dired-hook):
2104         Fix typos and remove unneeded backslashes.
2106 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
2108         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2109         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2111         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2112         <insert-directory>: Use `tramp-handle-insert-directory'.
2113         (tramp-gvfs-handle-insert-directory): Remove function.
2115         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2116         Call `tramp-handle-insert-directory'.
2118 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
2120         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2121         before the start of buffer/region (bug#16799).
2123 2014-02-20  Glenn Morris  <rgm@gnu.org>
2125         * isearch.el (search-invisible): Doc fix.
2127 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
2129         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2130         (bug#16657).
2132 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
2134         * frameset.el (frameset-restore): Delay removing an old frame's
2135         duplicate id until the new frame has been correctly created.
2137 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
2139         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2140         (tramp-check-cached-permissions): Call `file-attributes' if the
2141         cache is empty.
2143         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2144         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2146         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2147         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2148         (tramp-gvfs-maybe-open-connection): Set always connection
2149         properties, even if target is mounted already.
2151         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2152         Set tramp-autoload cookie.
2153         (tramp-get-remote-touch): New defun.
2154         (tramp-sh-handle-set-file-times): Use it.
2155         (tramp-sh-handle-directory-files-and-attributes):
2156         Use `tramp-handle-directory-files-and-attributes' if neither stat
2157         nor perl are available on the remote host.
2159         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2160         "/".  Write long listing only when "l" belongs to the switches.
2162         * net/trampver.el: Update release number.
2164 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
2166         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2168 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
2170         * window.el (window-state-put): Allow WINDOW to refer to an
2171         internal window (Bug#16793).
2173 2014-02-19  Glenn Morris  <rgm@gnu.org>
2175         * textmodes/remember.el: Move provide statement to end.
2176         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2177         (remember-notes): Doc fixes.
2179 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2181         * delsel.el (delete-char): Restore incorrectly erased property
2182         (bug#16795).
2184 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
2186         * frameset.el (frameset--restore-frame): When a frame is being reused
2187         and its root window is not alive, delete all the frame's windows before
2188         restoring the window state.  This works around the issue in bug#16793.
2190 2014-02-18  Glenn Morris  <rgm@gnu.org>
2192         * textmodes/remember.el (remember-data-directory)
2193         (remember-directory-file-name-format, remember-store-in-files)
2194         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2195         (remember-notes-save-and-bury-buffer)
2196         (remember-notes--kill-buffer-query): Doc fixes.
2198         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2200 2014-02-17  Alan Mackenzie  <acm@muc.de>
2202         Connect electric-indent-mode up with CC Mode.  Bug #15478.
2203         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2204         to electric-indent-{,local-}-mode.
2205         (c-basic-common-init): Set electric-indent-inhibit.
2206         Initialise c-electric-flag from electric-indent-mode.
2207         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2208         New hook functions which propagate electric-indent-mode to CC mode.
2210         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2211         hit, toggle electric-indent-local-mode.
2213         * electric.el (electric-indent-mode-has-been-called):
2214         New variable.
2216 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
2218         * frameset.el (frameset-cfg-id): New function.
2219         (frameset--reuse-frame, frameset-restore): Use it.
2220         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2222 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2224         * ido.el (ido-file-internal): Remove unused var `d'.
2225         Use \` for to match BoS.  Fit within 80n columns.
2227 2014-02-17  Daniel Colascione  <dancol@dancol.org>
2229         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2230         dbus-call-method check for completion using a busy-wait loop with
2231         gradual backoff.
2233 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
2235         Sync with Tramp 2.2.9.
2237         * net/trampver.el: Update release number.
2239 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
2241         * ido.el (ido-file-internal): Don't add the name of an existing
2242         directory twice.  (Bug#16747)
2244 2014-02-16  Glenn Morris  <rgm@gnu.org>
2246         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2247         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
2249 2014-02-15  Michael R. Mauger  <michael@mauger.com>
2251         * progmodes/sql.el: Version 3.4
2252         (sql-oracle-options): New default value ("-L").
2253         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2254         (sql-placeholders-filter): Correct placeholder pattern.
2255         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
2256         (sql-login-delay): New variable.
2257         (sql-product-interactive): Use it.
2259 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
2261         * frameset.el (frameset--jump-to-register): Check that buffer is live
2262         (bug#16749).
2264 2014-02-15  Glenn Morris  <rgm@gnu.org>
2266         * info.el (info-initialize): Revert 2014-01-10 change.
2268 2014-02-14  Glenn Morris  <rgm@gnu.org>
2270         * replace.el (map-query-replace-regexp)
2271         (read-regexp-defaults-function, read-regexp): Doc fixes.
2273         * dired.el (dired-read-regexp):
2274         * faces.el (list-faces-display):
2275         * misearch.el (multi-isearch-read-matching-buffers)
2276         (multi-isearch-read-matching-files):
2277         * play/cookie1.el (cookie-apropos):
2278         * progmodes/grep.el (grep-read-regexp): Doc fixes.
2280         * textmodes/remember.el (remember): Use frameset-to-register
2281         rather than frame-configuration-to-register.
2283 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
2285         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2286         incorrect keybinding.
2288 2014-02-13  Daniel Colascione  <dancol@dancol.org>
2290         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2291         when adding overlays so that line numbers from compiler match line
2292         numbers we use.
2294 2014-02-13  Glenn Morris  <rgm@gnu.org>
2296         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
2298         * jit-lock.el (jit-lock-mode): Doc fix.
2300 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
2302         * apropos.el (apropos-read-pattern): When the user passes an empty
2303         string, give a more helpful error message than "Wrong type
2304         argument: stringp, nil".
2306 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2308         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2310 2014-02-13  Glenn Morris  <rgm@gnu.org>
2312         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2314 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2316         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2317         shift-select commands.
2319 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
2321         * progmodes/js.el (js-indent-line): Don't widen.
2322         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2324 2014-02-12  Glenn Morris  <rgm@gnu.org>
2326         * icomplete.el (icomplete): Add info-link to defgroup.
2327         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2328         (icomplete-minibuffer-map, icomplete-mode)
2329         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2331         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2332         (package-menu-filter): Rename from package-menu-filter-interactive.
2333         Doc fix.
2335 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
2337         * frameset.el (frameset--jump-to-register): Select the required
2338         window and buffer before restoring position (bug#16696).
2340 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
2342         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2344 2014-02-10  Glenn Morris  <rgm@gnu.org>
2346         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
2348 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
2350         * w32-common-fns.el (x-get-selection): Doc fix.
2351         * select.el (x-get-selection): Doc fix.  (Bug#15109)
2353         * face-remap.el (face-remap-add-relative)
2354         (face-remap-remove-relative, face-remap-reset-base)
2355         (face-remap-set-base): Call force-mode-line-update to redisplay
2356         the current buffer due to potential change in faces.  (Bug#16709)
2358 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
2360         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2361         script more robustly.
2363 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
2365         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2367         * simple.el (choose-completion): Doc fix (bug#14160).
2369         * subr.el (event-start): Say what a nil EVENT value means.
2371         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2372         (bug#14197).
2374         * progmodes/grep.el (find-program): Doc fix (bug#14289).
2376         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2378         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2380         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2381         predicate function (bug#15455).
2383 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
2385         * ielm.el (inferior-emacs-lisp-mode): Instead of
2386         `comment-use-global-state', set `comment-use-syntax'.
2388 2014-02-10  Glenn Morris  <rgm@gnu.org>
2390         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2392 2014-02-09  Alan Mackenzie  <acm@muc.de>
2394         Fix c-invalidate-state-cache on narrowed buffers.
2395         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2396         Widen when setting and clearing the CPP delimiter properties.
2398 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
2400         * help.el (describe-bindings): Doc fix (bug#9888).
2402         * files.el (save-buffer): Use ARG as the parameter name for
2403         consistency (bug#10346).
2404         (save-buffer): Clarify the 0 argument (bug#10346).
2406         * cus-edit.el (customize-apropos): Fix error string.
2407         (custom-buffer-create): Doc fix (bug#11122).
2408         (custom-sort-items): Doc fix (bug#11121).
2410         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2412         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2413         (icomplete-simple-completing-p): Mention the previous variable.
2415         * font-lock.el (font-lock-value-in-major-mode): Clarify the
2416         meaning of the parameter (bug#12282).
2418         * files.el (find-file-noselect): Clarify prompt when changing
2419         readedness (bug#13261).
2420         (locate-file): Suffixes aren't returned, so don't say that they
2421         are (bug#12674).
2422         (backup-inhibited): Doc clarification (bug#12525).
2424         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2425         before we actually start to delete things (bug#16331).
2427         * subr.el (event-start): Doc fix (bug#14228).
2428         (event-end): Ditto.
2430 2014-02-09  Glenn Morris  <rgm@gnu.org>
2432         * emacs-lisp/warnings.el (lwarn):
2433         Empower help-enable-auto-load.  (Bug#15940)
2435 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
2437         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2438         (Bug#16690)
2440 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
2442         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2443         Insert output at end of buffer.  (Bug#16120)
2445 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
2447         * simple.el (choose-completion-string-functions): Document new
2448         calling convention (bug#14153).
2449         (execute-extended-command): Clarify doc string (bug#13373).
2451         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2453         * find-dired.el (find-name-dired): Doc fix (bug#14290).
2454         (find-grep-dired): Doc fix (bug#14288).
2456 2014-02-08  Juri Linkov  <juri@jurta.org>
2458         * isearch.el (isearch-quote-char): Check character validity
2459         like in `quoted-insert' (bug#16677).
2461 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
2463         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2465         * isearch.el (isearch-hide-immediately): Doc clarification
2466         (bug#14723).
2468         * simple.el (line-move): Document utility function used many
2469         places in the Emacs sources (bug#14843).
2471         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2472         (dired-prev-marked-file): Doc fix (bug#14855).
2473         (dired-up-directory): Doc fix (bug#14848).
2475         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2477         * files.el (file-relative-name): Doc fix (bug#15159).
2479         * fringe.el (fringe-styles): Doc fix (bug#15239).
2481         * isearch.el (isearch-filter-predicate): Documentation typo fix
2482         (bug#15474).
2484         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2486         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2488         * replace.el (replace-match-maybe-edit): Doc clarification
2489         (bug#15632).
2491         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2493         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2495 2014-02-08  Glenn Morris  <rgm@gnu.org>
2497         * help-fns.el (describe-variable):
2498         Check {file,dir}-local-variables-alist, and buffer-file-name,
2499         in the correct buffer.
2501 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
2503         * help-fns.el (describe-variable): Fix the case where
2504         a value is directory-local with no dir-locals file.  (Bug#16635)
2506 2014-02-08  Glenn Morris  <rgm@gnu.org>
2508         * abbrev.el (edit-abbrevs-mode):
2509         Derive from fundamental-mode.  (Bug#16682)
2511 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
2513         * simple.el (quoted-insert): Check character validity (bug#16677).
2515 2014-02-07  Juri Linkov  <juri@jurta.org>
2517         * desktop.el (desktop-read): Claim the lock when the owner is not
2518         the current process.  (Bug#16157)
2520 2014-02-07  Juri Linkov  <juri@jurta.org>
2522         * desktop.el (desktop-buffers-not-to-save): Change default from nil
2523         to "\\` ".  (Bug#16651)
2525 2014-02-07  Juri Linkov  <juri@jurta.org>
2527         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2528         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2529         (desktop-auto-save-cancel-timer): New function with some code from
2530         `desktop-auto-save-set-timer'.
2531         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2532         Instead of setting `desktop-save-mode' to nil, call
2533         `desktop-save-mode' with arg 0.  (Bug#16630)
2535 2014-02-07  Glenn Morris  <rgm@gnu.org>
2537         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2538         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2539         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2541         * obsolete/iswitchb.el: Move to obsolete/.
2542         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2543         since obsolete/ is not scanned for autoloads.
2544         * emacs-lisp/authors.el (authors-valid-file-names):
2545         Add iswitchb.el.
2547         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2548         Disable now non-functional find-file-hook.
2550 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
2552         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2553         instead of ";" in order to avoid additional prompts.  Let heredoc
2554         scripts read from tty.  (Bug#16582)
2555         (tramp-send-command): No special handling of heredocs, it isn't
2556         necessary anymore.
2558 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2560         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2561         with a space (bug#16664).  Limit the symbols considered to the ones
2562         that are bound or fbound (bug#16646).
2564 2014-02-06  Glenn Morris  <rgm@gnu.org>
2566         * epa.el (epa-mail-aliases): Doc fix.
2568 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
2570         * emacs-lisp/lisp.el (lisp-completion-at-point):
2571         Use `completion-table-merge' instead of `completion-table-in-turn'
2572         (bug#16604).
2574         * minibuffer.el (completion-table-merge): New function.
2576 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
2578         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2579         (tramp-sh-handle-set-file-acl)
2580         (tramp-sh-handle-start-file-process)
2581         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2582         (tramp-find-executable, tramp-send-command): Use it.
2584 2014-02-05  Glenn Morris  <rgm@gnu.org>
2586         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
2588 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2590         * progmodes/python.el (python-shell-send-string)
2591         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2593 2014-02-04  Anders Lindgren  <andlind@gmail.com>
2595         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2596         the names (bug#16620).
2598 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
2600         * faces.el (window-divider): New default value.  Rewrite doc-string.
2601         (window-divider-first-pixel, window-divider-last-pixel): New faces.
2603 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
2605         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2606         `protected' and `public' can also be called without arguments.
2608 2014-02-03  Glenn Morris  <rgm@gnu.org>
2610         * register.el (window-configuration-to-register)
2611         (frame-configuration-to-register): Unadvertise unused argument.
2612         * frameset.el (frameset-to-register): Remove unused argument.
2614         * frameset.el (frameset-to-register):
2615         * kmacro.el (kmacro-to-register):
2616         * register.el (increment-register):
2617         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2618         (calc-append-to-register, calc-prepend-to-register):
2619         * play/gametree.el (gametree-layout-to-register)
2620         (gametree-apply-register-layout):
2621         * textmodes/picture.el (picture-clear-rectangle-to-register)
2622         (picture-yank-rectangle-from-register):
2623         * vc/emerge.el (emerge-combine-versions-register):
2624         Use register-read-with-preview to read registers.
2626 2014-02-03  João Távora  <joaotavora@gmail.com>
2628         * elec-pair.el (electric-pair-backward-delete-char): Don't error
2629         when at beginning of (possibly narrowed) buffer.
2631 2014-02-02  Daniel Colascione  <dancol@dancol.org>
2633         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2634         Also try to display local help from just before point.
2636 2014-02-02  Alan Mackenzie  <bug-cc-mode@gnu.org>
2638         c-parse-state.  Don't "append-lower-brace-pair" in certain
2639         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
2640         recognised as a comment.
2642         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2643         as well as normal comment starter.
2644         (c-parse-state-get-strategy): Extra return possibility
2645         'back-and-forward.
2646         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2647         return value list to indicate replacement of a brace-pair cons
2648         with its car.
2649         (c-parse-state-1): With 'back-and-forward, only call
2650         c-append-lower-brace-pair-to state-cache when cons-separated.
2652 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
2654         * term/ns-win.el (ns-suspend-error): New function.
2655         (ns-initialize-window-system): Add ns-suspend-error to
2656         suspend-hook (Bug#16612).
2658 2014-02-02  Daniel Colascione  <dancol@dancol.org>
2660         * progmodes/cc-defs.el (c-find-assignment-for-mode):
2661         Make loading cc-mode silent.
2663 2014-02-02  Daniel Colascione  <dancol@dancol.org>
2665         * comint.el (comint-prompt-read-only): Change doc to suggest
2666         remap keybinding.
2668 2014-02-02  Glenn Morris  <rgm@gnu.org>
2670         * register.el (register-read-with-preview, point-to-register)
2671         (window-configuration-to-register, frame-configuration-to-register)
2672         (jump-to-register, number-to-register, view-register, insert-register)
2673         (copy-to-register, append-to-register, prepend-to-register)
2674         (copy-rectangle-to-register): Doc fixes.
2676 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2678         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2679         * emacs-lisp/find-func.el (find-function-C-source): Idem.
2680         * emacs-lisp/nadvice.el (advice--cd*r): New function.
2681         * help-fns.el (describe-function-1): Use it.
2683 2014-02-02  Glenn Morris  <rgm@gnu.org>
2685         * register.el (register-preview-default): New function,
2686         split from register-preview.
2687         (register-preview-function): Rename from register-preview-functions,
2688         make it not a hook.
2689         (register-preview): Use register-preview-function.
2690         (register-read-with-preview): Error on non-character event.  (Bug#16595)
2692 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
2694         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2695         `:' before binary operators (bug#16609).  Don't check for `:'
2696         before `[' and `(', or their syntax status.  A percent literal
2697         can't end with either.
2698         (ruby-font-lock-keywords): For built-ins that require arguments,
2699         check that they're followed by something that looks like argument
2700         (bug#16610).
2702 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
2704         * subr.el (butlast): Document what an omitted N means (bug#13437).
2705         (nbutlast): Ditto.
2707 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
2709         * net/shr.el (shr-generic): Make into a defsubst to make the stack
2710         depth shallower (bug#16587).
2711         (shr-tag-svg): Respect `shr-inhibit-images'.
2712         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2714 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
2716         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2717         (ruby-smie-grammar): Make "." right-associative.  Make its priority
2718         lower than the ternary and all binary operators.
2719         (ruby-smie-rules): Indent "(" relative to the first non-"."
2720         parent, or the first "." parent at indentation.
2721         Use `ruby-align-chained-calls' for indentation of "." tokens.
2722         (Bug#16593)
2724 2014-01-31  Juri Linkov  <juri@jurta.org>
2726         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2727         from `make-hash-table'.
2729         * textmodes/ispell.el (ispell-init-process): Change message format
2730         to be consistent with other messages.
2732 2014-01-31  Glenn Morris  <rgm@gnu.org>
2734         * delsel.el (delete-selection-mode): Doc fix.
2736         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2737         (trace-function-background): Doc fixes.
2739         * ido.el (ido-use-virtual-buffers): Doc fix.
2740         Reset :version, since the default value has not changed.
2742         * register.el (register-preview-delay, register-read-with-preview):
2743         Doc fixes.
2745         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2746         do not mess with mail-buffer position (fixes 2009-11-03 change).
2747         * progmodes/cc-mode.el (c-submit-bug-report):
2748         Check auto-fill-mode is bound.  (Bug#16592)
2750 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
2752         * startup.el (fancy-splash-image-file): New function,
2753         split from fancy-splash-head.
2754         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2755         so that we are both using the same image.  (Bug#16574)
2757 2014-01-30  Glenn Morris  <rgm@gnu.org>
2759         * simple.el (eval-expression): Doc fix.
2761         * hexl.el (hexl-mode-hook):
2762         * ielm.el (ielm-mode-hook):
2763         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2764         (lisp-interaction-mode-hook):
2765         * progmodes/cfengine.el (cfengine3-documentation-function):
2766         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2768 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2770         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2771         is a symbol (bug#16584).
2773 2014-01-30  Glenn Morris  <rgm@gnu.org>
2775         * help.el (help-for-help-internal): Add "P" to text.
2777 2014-01-29  Glenn Morris  <rgm@gnu.org>
2779         * simple.el (just-one-space, cycle-spacing): Doc fixes.
2781 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
2783         * window.el (fit-frame-to-buffer): Fix calculations for margins and
2784         height constraints.
2786 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
2788         * progmodes/hideif.el: Extend to full CPP expression syntax.
2789         (hif-token-alist): Add missing tokens.
2790         (hif-token-regexp): Add support for float/octal/hex immediates.
2791         (hif-string-literal-regexp): New const.
2792         (hif-tokenize): Recognize strings and float/octal/hex immediates.
2793         (hif-exprlist): New function.
2794         (hif-parse-if-exp): Use it.
2795         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2796         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2797         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2798         (hif-logxor, hif-comma): New functions.
2800 2014-01-28  Glenn Morris  <rgm@gnu.org>
2802         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2804         * indent.el (tab-stop-list): Doc fix.  Add :version.
2806         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2807         (cvs-append-to-ignore): Add compatibility alias.
2809 2014-01-27  Glenn Morris  <rgm@gnu.org>
2811         * dired.el (dired-hide-details-mode): Don't autoload it,
2812         since it cannot be used outside Dired buffers anyway.
2814         * emulation/cua-base.el (cua-mode): Doc fix.
2816         * dired.el (dired-hide-details-hide-symlink-targets)
2817         (dired-hide-details-hide-information-lines)
2818         (dired-hide-details-mode): Doc fixes.
2820         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2821         * strokes.el (strokes-file): Doc fix.  Bump :version.
2822         (strokes-help): Doc fix.
2823         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2824         * emulation/viper.el (viper): Doc fix for custom group.
2825         (top-level): Remove oh-so-no-longer-relevant text about vip.
2826         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2828         * ido.el (ido-save-directory-list-file):
2829         * saveplace.el (save-place-file):
2830         * calendar/timeclock.el (timeclock-file):
2831         * net/quickurl.el (quickurl-url-file):
2832         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2833         * progmodes/idlwave.el (idlwave-config-directory):
2834         * textmodes/remember.el (remember-data-file):
2835         Bump :version.
2837 2014-01-26  Glenn Morris  <rgm@gnu.org>
2839         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2840         Doc fix.  Make obsolete.
2841         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2843         * sort.el (delete-duplicate-lines): Doc fix.
2845 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2847         * progmodes/ada-mode.el (ada):
2848         * woman.el (woman): Link to info manual and Commentary section.
2850         * progmodes/flymake.el (flymake):
2851         * nxml/nxml-mode.el (nxml):
2852         * net/eww.el (eww):
2853         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2854         * htmlfontify.el (htmlfontify):
2855         * ses.el (ses):
2856         * epa.el (epa):
2857         * ido.el (ido): Link to info manual.
2859 2014-01-25  Leo Liu  <sdl.web@gmail.com>
2861         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2863 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
2865         * net/shr.el (shr-tag-img): Prefer the title over the alt text
2866         (bug#16537).
2868 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
2870         * net/eww.el (eww-download-callback):
2871         Fix reference to eww-download-directory.
2873         * emacs-lisp/bytecomp.el (byte-compile-file):
2874         Remove unused local variable `file-name'.
2876 2014-01-24  Glenn Morris  <rgm@gnu.org>
2878         * woman.el (woman-default-faces, woman-monochrome-faces):
2879         Fix obsolescence specification.
2881         * subr.el (with-demoted-errors): Doc fix.
2883 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2885         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2886         (cl--macroexp-fboundp): New function.
2887         (cl--make-type-test): Use it.
2889 2014-01-23  Glenn Morris  <rgm@gnu.org>
2891         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2892         * simple.el (eval-expression): Doc fixes.
2894 2014-01-22  Glenn Morris  <rgm@gnu.org>
2896         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2898 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2900         * emacs-lisp/package.el: Write files silently.
2901         (package-autoload-ensure-default-file, package--write-file-no-coding)
2902         (package-generate-description-file, package--download-one-archive)
2903         (package-install-from-archive): Tell `write-region' to stay quiet.
2904         (package-menu-mode, package-menu--print-info): Omit the Archive column
2905         if there's only one archive.
2906         (package-all-keywords, package--has-keyword-p): Remove dead code.
2908 2014-01-22  Glenn Morris  <rgm@gnu.org>
2910         * version.el (emacs-bzr-version-bzr): Fix typo.
2912         * version.el (emacs-repository-get-version):
2913         Check either .bzr or .git, but not both.
2914         Make the git case actually use the DIR argument, and return nil
2915         rather than the empty string.
2916         Avoid error if .git exists but the git executable is not found.
2918 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
2920         Fixes in window size functions around Bug#16430 and Bug#16470.
2921         * window.el (window-total-size, window-size): New argument ROUND.
2922         (window--min-delta-1, window-min-delta, window--max-delta-1):
2923         Be more conservative when calculating the numbers of lines or
2924         columns a window can shrink (Bug#16430).
2925         (fit-window-to-buffer): Simplify code.
2926         * term.el (term-window-width): Call window-body-width again.
2928 2014-01-22  Glenn Morris  <rgm@gnu.org>
2930         * image.el (image-format-suffixes): Doc fix.
2932         * international/quail.el (quail-define-package): Doc fix.
2934         * emacs-lisp/authors.el (authors-valid-file-names)
2935         (authors-renamed-files-alist): Additions.
2937         * vc/vc-git.el (vc-git-print-log): Remove --follow;
2938         reverts 2014-01-09 change.  (Bug#16422)
2940         * calc/calc-embed.el (thing-at-point-looking-at):
2941         * emacs-lisp/map-ynp.el (x-popup-dialog):
2942         * obsolete/lmenu.el (x-popup-dialog):
2943         * emacs-lisp/package.el (url-recreate-url):
2944         * mail/mailclient.el (clipboard-kill-ring-save):
2945         * subr.el (x-popup-dialog): Update declaration.
2946         * mail/rmail.el (rmail-mime-message-p):
2947         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2949 2014-01-21  Daniel Colascione  <dancol@dancol.org>
2951         * progmodes/sh-script.el (sh--inside-noncommand-expression):
2952         Correctly detect when we're inside an arithmetic expansion form
2953         containing nested parenthesis.
2954         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2955         to detect cases where we shouldn't expand "<<" to a heredoc
2956         skeleton.
2958 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2960         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2961         (eldoc--message-command-p): New function.
2962         (eldoc-display-message-p): Use it.
2963         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2964         message is not automatically erased for us.
2965         (eldoc-print-current-symbol-info): Erase previous message, if any.
2967 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
2969         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2970         specify it's an interactive function.
2972         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2973         Fix regex used for scanning for citation keys which failed for
2974         citations with optional arguments.
2976 2014-01-21  Leo Liu  <sdl.web@gmail.com>
2978         * simple.el (read--expression): Don't enable eldoc-mode.
2980 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2982         * simple.el (move-beginning-of-line): Make sure we don't move forward
2983         (bug#16497).
2985 2014-01-20  Juri Linkov  <juri@jurta.org>
2987         * saveplace.el (toggle-save-place, save-place-to-alist)
2988         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2989         'dired-mode) before checking for dired-directory.  (Bug#16477)
2991 2014-01-20  Juri Linkov  <juri@jurta.org>
2993         * indent.el (indent-line-to): Use backward-to-indentation
2994         instead of back-to-indentation.  (Bug#16461)
2996 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
2998         Revert some of the CANNOT_DUMP fix (Bug#16494).
2999         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3000         but fixing this can wait until after the next release.
3001         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3003 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
3005         * eshell/esh-mode.el (eshell-password-prompt-regexp):
3006         Use `password-word-equivalents'.
3007         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3008         to t.  (Bug#5664, Bug#13124)
3010 2014-01-19  Alan Mackenzie  <acm@muc.de>
3012         Bind open-paren-in-column-0-is-defun-start to nil at some entry
3013         points.
3014         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3015         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3016         * progmodes/cc-mode.el (c-before-change, c-after-change)
3017         (c-font-lock-fontify-region): Bind it here.
3019 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
3021         * term.el (term-window-width): Call window-text-width instead of
3022         window-width (Bug#16470).
3024 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
3026         * simple.el (password-word-equivalents): Remove duplicates.
3027         Sort, to make this easier next time.
3028         Downcase.  Omit ": " after "jelszó".
3030 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
3032         * term/common-win.el (saved-region-selection): Defvar it.
3033         (x-select-text): Set saved-region-selection (Bug#16382).
3035 2014-01-18  Glenn Morris  <rgm@gnu.org>
3037         * emacs-lisp/authors.el (authors-aliases)
3038         (authors-renamed-files-alist): Add some entries.
3040 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
3042         * net/tramp.el (tramp-password-prompt-regexp):
3043         Use `password-word-equivalents' if available.
3044         (tramp-action-password, tramp-process-one-action)
3045         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
3047 2014-01-17  Chong Yidong  <cyd@gnu.org>
3049         * simple.el (password-word-equivalents): New defcustom.
3050         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
3051         to 24.4.
3052         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3053         to t.  (Bug#13124)
3055 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
3057         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3058         (ruby-align-to-stmt-keywords): Change the default value.
3059         Use `ruby-alignable-keywords' to generate the possible customization
3060         choices.
3061         (ruby-smie-rules): Instead of using a hardcoded list of alignable
3062         keywords, check against the value of `ruby-alignable-keywords'
3063         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3065 2014-01-17  Glenn Morris  <rgm@gnu.org>
3067         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3069         Make M-x authors return zero *Authors Errors* from current logs.
3070         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3071         (authors-ignored-files): Add some entries, remove others.
3072         (authors-ambiguous-files, authors-valid-file-names):
3073         Add some entries.
3074         (authors-renamed-files-alist): Add, remove, and adjust entries.
3075         (authors-renamed-files-regexps): Add some entries.
3076         Remove some very broad ones.  Make some entries `lax'.
3077         (authors-lax-changelogs): New constant.
3078         (authors-disambiguate-file-name): Treat top-level specially.
3079         (authors-lax-changelog-p): New function.
3080         (authors-canonical-file-name): Check file as written against
3081         authors-valid-file-names.  Do not special-case etc/.
3082         Handle `lax' logs and authors-renamed-files-regexps elements.
3084 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
3086         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3087         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
3088         callers.
3090 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3092         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3093         Assume we're already in the proper buffer.
3094         Inspired by Anders Lindgren <andlind@gmail.com>.
3095         (follow-post-command-hook): Call it from the right buffer.
3096         (follow-comint-scroll-to-bottom): Adjust call.
3097         (follow-all-followers): Use get-buffer-window-list.
3099 2014-01-15  Daniel Colascione  <dancol@dancol.org>
3101         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3102         `buffer-file-name' in interactive-form so that we don't leave
3103         pathless file names in `file-name-history'.
3105 2014-01-15  Juri Linkov  <juri@jurta.org>
3107         * indent.el (indent-rigidly): Set deactivate-mark to nil
3108         in transient indentation mode.  (Bug#16438)
3110 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
3112         * emacs-lisp/package.el (package-desc-keywords): New function
3113         (Bug#16222).
3114         (describe-package-1, package-all-keywords)
3115         (package--has-keyword-p): Use it.
3117 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3119         * simple.el (define-alternatives): When creating the
3120         COMMAND-alternatives variable, assign COMMAND as its definition
3121         name so that `describe-variable' can relocate it.
3123 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
3125         * font-lock.el (font-lock-keywords): Fix typo in docstring
3126         (bug#16307).
3128 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3130         * ispell.el (ispell-region): Reset `in-comment' for new line
3131         instead of wrongly reset `add-coment' (bug#13577).
3133 2014-01-14  Daiki Ueno  <ueno@gnu.org>
3135         * epa-file.el (epa-file-write-region): Encode the region according
3136         to `buffer-file-format'.  Problem reported at:
3137         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3139 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3141         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3142         so it applies in the right buffer (bug#16410).
3144 2014-01-13  Daniel Colascione  <dancol@dancol.org>
3146         * textmodes/rst.el (rst-define-key): Provide deprecated
3147         keybindings through named functions instead of anonymous ones so
3148         that "??" doesn't appear in describe-mode output.
3150 2014-01-13  Bastien Guerry  <bzg@gnu.org>
3152         * simple.el (define-alternatives): Call the selected command
3153         interactively.  When setting `COMMAND--implementation' for the
3154         first time, tell the user how to chose another implementation.
3155         Enhance the docstring.
3157 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3159         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3160         (log-edit--match-first-line): New function.
3161         (log-edit-font-lock-keywords): Use it.
3162         (log-edit-mode): Make jit-lock-defer-multiline work.
3164 2014-01-13  Bastien Guerry  <bzg@gnu.org>
3166         * rect.el (rectangle-mark-mode): When the region is not active,
3167         display a message saying that the mark as been set and that
3168         rectangle mode is in use.
3169         (rectangle--highlight-for-redisplay): Only put an overlay with a
3170         visible vertical bar when (display-graphic-p) is non-nil.
3171         This partially fixes Bug#16403.
3173 2014-01-13  Juri Linkov  <juri@jurta.org>
3175         * info.el (Info-find-file): Go to DIR before displaying the error
3176         about a nonexistent file if no previous Info file is visited.
3177         Use `user-error' instead of `error' for "Info file %s does not exist".
3178         (Info-find-node-2): In case of a nonexistent node in unwind forms
3179         go to the Top node if there is no previous node to revert to.
3180         (Bug#16405)
3182 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
3184         fit-frame/window-to-buffer code fixes including one for Bug#14096.
3185         * window.el (fit-frame-to-buffer): Fix doc-string.
3186         Respect window-min-height/-width.  Fit pixelwise when
3187         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
3188         when avoiding that frame goes partially off-screen.
3189         (fit-window-to-buffer): Respect window-min-height/-width
3190         (Bug#14096).
3192 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3194         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3195         after an empty line.
3197 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3199         * net/shr.el (shr-render-region): Autoload.
3201 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
3203         * net/eww.el (eww-download-directory): Rename from
3204         `eww-download-path' (Bug#16419).
3206 2014-01-12  Leo Liu  <sdl.web@gmail.com>
3208         * dired-x.el (dired-mode-map): Fix last change.
3210         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3212 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
3214         Spelling fixes.
3215         * emacs-lisp/generic.el (generic--normalize-comments):
3216         Rename from generic--normalise-comments.  All uses changed.
3217         * play/bubbles.el (bubbles--neighborhood-score)
3218         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3219         (bubbles--neighborhood-available)
3220         (bubbles--update-neighborhood-score):
3221         Rename from names with 'neighbourhood'.  All uses changed.
3223 2014-01-12  Leo Liu  <sdl.web@gmail.com>
3225         Re-implement the feature of showing eldoc info after editing.
3226         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3227         (eldoc-edit-message-commands): New function.
3228         (eldoc-print-after-edit): New variable.
3229         (eldoc-pre-command-refresh-echo-area): Emit message only by
3230         eldoc-message-commands.
3231         (eldoc-mode): Restrict eldoc-message-commands to editing commands
3232         if eldoc-print-after-edit is set.  (Bug#16346)
3233         * simple.el (read--expression): Enable eldoc-mode.
3234         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3236 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
3237             Eric S. Raymond  <esr@thyrsus.com>
3239         * version.el (emacs-repository-get-version): Enhance so the
3240         function works correctly in either a Bazaar or Git repo.
3242 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
3244         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3245         Goes with removal of the joke manpages from /etc.
3247 2014-01-10  Kenichi Handa  <handa@gnu.org>
3249         * mail/rmail.el (rmail-get-coding-system):
3250         Check rmail-get-coding-function before "funcall"ing it.
3252 2014-01-10  Glenn Morris  <rgm@gnu.org>
3254         * emacs-lisp/authors.el (authors-fixed-entries):
3255         Update for files that no longer exist.
3257 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
3259         * version.el (emacs-bzr-get-version): Restore compatibilty with
3260         24.3 (Tested).
3262 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
3264         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3265         and Podfile.
3267 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
3269         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3271 2014-01-10  Chong Yidong  <cyd@gnu.org>
3273         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3275 2014-01-10  Anders Lindgren  <andlind@gmail.com>
3277         * follow.el (follow-cache-command-list): Include right-char and
3278         left-char.
3280 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
3282         Spelling fixes.
3283         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3284         * woman.el (woman-mark-horizontal-position):
3285         Rename from woman-mark-horizonal-position.  Use changed.
3287 2014-01-10  Glenn Morris  <rgm@gnu.org>
3289         * info.el (info-initialize): If running uninstalled, ensure our
3290         own info files are always found first, even if INFOPATH is set.
3292         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3294 2014-01-09  David Engster  <deng@randomsample.de>
3296         * emacs-lisp/eieio-custom.el:
3297         * emacs-lisp/eieio-opt.el: Set generated autoload file to
3298         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3299         * emacs-lisp/eieio.el: Regenerate autoloads.
3301 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
3303         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3304         following renames.  (Bug#8756)
3306 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3308         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3309         (bug#16382).
3310         (activate-mark): Add `no-tmm' argument.
3311         (set-mark, push-mark-command): Use it instead of running
3312         activate-mark-hook by hand.
3314 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
3316         In preparation for the move to git, sanitize out some
3317         Bazaar-specific names.
3319         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3321         * version.el (emacs-bzr-version): Name changed to
3322         emacs-repository-version.  Obsolete-variable alias made.
3323         * loadup.el: Follow through on this name change.
3324         * mail/emacsbug.el (report-emacs-bug): Factor out any
3325         assumption about the version control system in use.
3327 2014-01-08  David Engster  <deng@randomsample.de>
3329         * help-fns.el (help-fns-describe-function-functions):
3330         New variable to call functions for augmenting help buffers.
3331         (describe-function-1): Remove explicit calls to
3332         `help-fns--compiler-macro', `help-fns--parent-mode' and
3333         `help-fns--obsolete'.  Put them in above new variable instead, and
3334         call them through `run-hook-with-args'.
3335         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3336         `eieio-describe-class'.  Not meant for interactive use anymore,
3337         but to augment existing help buffers.  Remove optional second
3338         argument.  Create proper button for file location.
3339         Rewrite function to use `insert' instead of `princ' and `prin1' where
3340         possible.
3341         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3342         (eieio-method-def, eieio-class-def): Move further up.
3343         (describe-method, describe-generic, eieio-describe-method):
3344         Remove aliases.
3345         (eieio-help-constructor, eieio-help-generic): Rename from
3346         `eieio-describe-constructor' and `eieio-describe-generic', resp.
3347         Rewrite to use `insert' in the current buffer and use proper help
3348         buttons.
3349         (eieio-help-find-method-definition)
3350         (eieio-help-find-class-definition): Also accept symbols as
3351         arguments.
3352         (eieio-help-mode-augmentation-maybee): Remove.
3353         (eieio-describe-class-sb): Use `describe-function'.
3354         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3355         Add `eieio-help-generic' and `eieio-help-constructor'.
3357 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
3359         Spelling fixes.
3360         * language/china-util.el (hz-ascii-designation):
3361         Rename from hz-ascii-designnation.
3362         (hz-ascii-designation): Rename from hz-ascii-designnation.
3363         All uses changed.
3365 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3367         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3368         package-alist.
3370 2014-01-08  Bastien Guerry  <bzg@gnu.org>
3372         * emacs-lisp/package.el (package-delete):
3373         Correctly delete the package from package-alist.
3375 2014-01-08  Daiki Ueno  <ueno@gnu.org>
3377         * emacs-lisp/package.el (url-recreate-url): Declare.
3378         (url-http-target-url): Declare.
3379         (package-handle-response): Include requested URL in the error message.
3380         (package--check-signature): Don't re-signal errors from
3381         package--with-work-buffer.  Suggested by Stefan Monnier.
3383 2014-01-07  Bastien Guerry  <bzg@gnu.org>
3385         * minibuffer.el (completion--try-word-completion): When both a
3386         hyphen and a space are possible candidates for the character
3387         following a word, display both candidates.  (Bug#15980)
3389 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
3391         * window.el (balance-windows-2): While rounding don't give a
3392         window more than the remainder.  Bug#16351, bug#16383.
3394 2014-01-07  Glenn Morris  <rgm@gnu.org>
3396         * menu-bar.el (menu-bar-help-extra-packages): Remove.
3397         (menu-bar-help-menu): Use view-external-packages instead.
3399 2014-01-07  Bastien Guerry  <bzg@gnu.org>
3401         * emacs-lisp/package.el (package-delete): Also delete the package
3402         name from `package-alist', not its description only.
3404 2014-01-07  Glenn Morris  <rgm@gnu.org>
3406         * help.el (view-external-packages):
3407         * menu-bar.el (menu-bar-help-extra-packages):
3408         Visit efaq.info rather than etc/MORE.STUFF.
3410 2014-01-07  Juri Linkov  <juri@jurta.org>
3412         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3413         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
3415         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3416         that shadows RET.  (Bug#16342)
3418 2014-01-07  Chong Yidong  <cyd@gnu.org>
3420         * isearch.el (isearch-yank-char, isearch-yank-word)
3421         (isearch-yank-line): Doc fix.
3423 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3425         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3426         * emacs-lisp/elint.el (elint-find-builtins):
3427         * emacs-lisp/eldoc.el (eldoc-symbol-function):
3428         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3429         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3430         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3431         * apropos.el (apropos-safe-documentation):
3432         * subr.el (symbol-file): Remove redundant fboundp.
3433         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3435 2014-01-06  Bastien Guerry  <bzg@gnu.org>
3437         * hl-line.el (global-hl-line-overlay): Make a local variable.
3438         (global-hl-line-overlays): New variable to store all overlays.
3439         (global-hl-line-mode): Don't delete overlays from the current
3440         buffer when `global-hl-line-sticky-flag' is non-nil.
3441         (global-hl-line-highlight): Add new overlays to
3442         `global-hl-line-overlays'.
3443         (global-hl-line-unhighlight-all): New function to delete all
3444         overlays when turning off `global-hl-line-mode'.
3445         This fixes Bug#16183.
3447 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3449         * subr.el (set-transient-map): Fix nested case and docstring.
3451 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
3453         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3454         `Texinfo' entry.
3456 2014-01-06  Daniel Colascione  <dancol@dancol.org>
3458         Fix defun navigation in vc log view.
3460         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3461         like `beginning-of-defun'.
3462         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3463         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
3464         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3465         (log-view-extract-comment): Call `log-view-current-entry' directly
3466         instead of relying on broken `log-view-beginning-of-defun' behavior.
3468 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
3470         Spelling fixes.
3471         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3472         * emacs-lisp/debug.el (cancel-debug-on-entry):
3473         * epg.el (epg-error-to-string):
3474         * files.el (recover-file):
3475         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3476         * mail/emacsbug.el (report-emacs-bug-hook):
3477         * mail/sendmail.el (mail-recover):
3478         * ses.el (ses-yank-resize):
3479         * term/ns-win.el (ns-print-buffer):
3480         Spelling fixes in diagnostics, mostly for "canceled" with one L.
3481         * epg.el (epg-key-capability-alist): Rename from misspelled version.
3482         All uses changed.
3483         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3485 2014-01-06  Leo Liu  <sdl.web@gmail.com>
3487         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3488         to avoid shadowing global key.  (Bug#16354)
3490 2014-01-06  Daniel Colascione  <dancol@dancol.org>
3492         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3493         rst-mode.
3495 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
3497         * window.el (balance-windows): Add mising t to fix Bug#16351.
3499 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3501         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3502         (bug#16285).
3503         (shr-insert): If we have a word that's longer than `shr-width',
3504         break after it anyway.  Otherwise we'll do no breaking once we get
3505         such a long word.
3507 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
3509         * net/eww.el (eww): Support single/double quote for search.
3510         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3511         (eww-history-quit): Delete and use quit-window.
3512         (eww-history-kill): Delete, because it doesn't work well and
3513         not necessary.
3514         (eww-history-mode-map): Delete some keys and add easy-menu.
3516 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
3518         Fix misspelling of 'chinese' in rx (Bug#16237).
3519         * emacs-lisp/rx.el (rx-categories): Correct spelling of
3520         chinese-two-byte.
3522         Change subword regexps back to vars (Bug#16296).
3523         * progmodes/subword.el (subword-forward-regexp)
3524         (subword-backward-regexp): Change these back to variables.
3526 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3528         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3529         syntax-begin-function (bug#16247).
3531 2014-01-03  Chong Yidong  <cyd@gnu.org>
3533         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3534         (advice--docstring): Delete variable.
3535         (advice--make-1): Leave the docstring empty.
3536         (advice-add): Use function-documentation for advised docstring.
3538         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3539         Ignore function-documentation property when getting documentation.
3540         (ad-activate-advised-definition): Use function-documentation
3541         generate the docstring.
3542         (ad-make-advised-definition): Don't call
3543         ad-make-advised-definition-docstring.
3544         (ad-make-advised-definition-docstring, ad-advised-definition-p):
3545         Delete functions.
3547         * progmodes/sql.el (sql-help): Use function-documentation instead
3548         of dynamic-docstring-function property.  No need to autoload now.
3549         (sql--help-docstring): New variable.
3550         (sql--make-help-docstring): Use it.
3552 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3554         * ielm.el (ielm-tab): Retarget.
3555         (ielm-map): Use ielm-tab for tab.
3556         (ielm-complete-filename): Use comint-filename-completion.
3557         (ielm-complete-symbol): Remove.
3558         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3559         remove ielm-tab from completion-at-point-functions (bug#16224).
3561         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3562         Beware signals raised by predicates (bug#16201).
3564 2014-01-02  Richard Stallman  <rms@gnu.org>
3566         * dired-aux.el (dired-do-print): Handle printer-name.
3568         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3569         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3570         (rmail-epa-decrypt): Turn off mime processing.
3572         * mail/rmail.el (rmail-make-in-reply-to-field):
3573         Add parens in message-id.
3575         * mail/rmail.el (rmail-get-coding-function): Variable.
3576         (rmail-get-coding-system): Use it.
3578 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
3580         * international/mule-conf.el: Unify the charset indian-is13194.
3581         (indian-is13194): Specify unify-map.
3583 2013-12-31  Leo Liu  <sdl.web@gmail.com>
3585         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
3587 2013-12-30  Daniel Colascione  <dancol@dancol.org>
3589         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3590         of printing a useless when we resume from sleep.
3592         * progmodes/sh-script.el
3593         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3594         in indentation code.  (Bug#16233)
3596 2013-12-28  João Távora  <joaotavora@gmail.com>
3598         * elec-pair.el (electric-pair-post-self-insert-function):
3599         Don't open extra newlines at beginning of buffer.  (Bug#16272)
3601 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
3603         * frame.el (window-system-for-display): Don't allow to create a
3604         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
3606 2013-12-28  Glenn Morris  <rgm@gnu.org>
3608         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3609         Update callers.
3611         * apropos.el (apropos-match-face):
3612         * calculator.el (calculator-displayer):
3613         * dabbrev.el (dabbrev-search-these-buffers-only):
3614         * face-remap.el (buffer-face-mode-face):
3615         * simple.el (yank-handled-properties):
3616         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3617         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3618         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3619         (hashcash-double-spend-database):
3620         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3621         (ruby-deep-indent-paren-style):
3622         * textmodes/flyspell.el (flyspell-auto-correct-binding):
3623         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3624         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3625         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3626         Specify custom types.
3628         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3629         * bookmark.el (bookmark-bmenu-use-header-line):
3630         * doc-view.el (doc-view-scale-internally):
3631         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3632         * register.el (register-preview-delay):
3633         * net/shr.el (shr-bullet):
3634         * progmodes/cfengine.el (cfengine-cf-promises)
3635         (cfengine-parameters-indent):
3636         * progmodes/octave.el (inferior-octave-error-regexp-alist):
3637         * textmodes/reftex-vars.el (reftex-label-regexps):
3638         * vc/log-edit.el (log-edit-setup-add-author): Add version.
3640         * net/tls.el (tls-certtool-program): Fix default value.
3642         * desktop.el (desktop-restore-in-current-display):
3643         * newcomment.el (comment-empty-lines):
3644         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3645         (idlwave-pad-keyword):
3646         * progmodes/tcl.el (tcl-tab-always-indent):
3647         * textmodes/reftex-vars.el (reftex-index-default-tag):
3648         * elec-pair.el (electric-pair-skip-whitespace):
3649         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3651         * emacs-lisp/authors.el (authors-ignored-files)
3652         (authors-valid-file-names, authors-renamed-files-alist): Additions.
3654 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
3656         * shell.el (shell-dynamic-complete-command): Doc fix.
3657         (shell--command-completion-data): Shell completion now matches
3658         executable filenames from the current buffer's directory, on
3659         systems in which this behavior is the default (windows-nt, ms-dos).
3661 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
3663         * net/shr.el (shr-insert): Don't infloop if the width is zero.
3665 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3667         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3668         (bug#16251).
3670         * electric.el: Move all electric-pair-* to elec-pair.el.
3671         * elec-pair.el: New file, split from electric.el.
3673 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
3675         * net/shr.el (shr-find-fill-point): Don't try to fill if the
3676         indentation level is larger than the width, because that will
3677         infloop.
3678         (shr-insert): Fill repeatedly long texts, so that Japanese is
3679         formatted correctly (bug#16263).
3680         (shr-find-fill-point): Off by one error in comparison with the
3681         indentation.
3683 2013-12-26  João Távora  <joaotavora@gmail.com>
3685         * electric.el (electric-pair-mode): More flexible engine for skip-
3686         and inhibit predicates, new options for pairing-related functionality.
3687         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3688         if that keeps or improves their balance in buffers.
3689         (electric-pair-delete-adjacent-pairs): Delete the pair when
3690         backspacing over adjacent matched delimiters.
3691         (electric-pair-open-extra-newline): Open extra newline when
3692         inserting newlines between adjacent matched delimiters.
3693         (electric--sort-post-self-insertion-hook):
3694         Sort post-self-insert-hook according to priority values when
3695         minor-modes are activated.
3696         * simple.el (newline-and-indent): Call newline with interactive
3697         set to t.
3698         (blink-paren-post-self-insert-function): Set priority to 100.
3699         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3700         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3701         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
3702         electric-pair-open-newline-between-pairs to nil.
3704 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3706         * progmodes/python.el: Use lexical-binding.
3707         (python-nav-beginning-of-defun): Stop searching ASAP.
3709 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
3711         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3712         Fix interactive spec.  Doc fix.  (Bug#15754)
3714 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
3716         * emacs-lisp/byte-run.el (eval-when-compile):
3717         * progmodes/cc-defs.el (cc-eval-when-compile):
3718         Fix edebug spec (bug#16184).
3720 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
3722         * net/shr.el (shr-visit-file): Remove debugging function.
3723         (shr-insert): Don't infloop if we can't find a good place to break
3724         the line (bug#16256).
3726 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3728         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3729         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
3730         python-nav-lisp-forward-sexp-safe.
3731         (python-nav--forward-sexp): New argument SAFE allows switching
3732         forward sexp movement behavior for parens.
3733         (python-nav-forward-sexp): Throw errors on unterminated parens
3734         (Bug#16191).
3735         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3736         (python-nav-backward-sexp-safe): New functions.
3737         (python-shell-buffer-substring):
3738         Use `python-nav-forward-sexp-safe'.
3740 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
3742         * net/shr.el (shr-find-fill-point): Don't break lines before a
3743         quotation mark.
3744         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3745         (shr-find-fill-point): Remove the special checks for the quotation
3746         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3748 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
3750         * net/eww.el (eww-form-textarea): Use a different face for
3751         textareas than text input since they have different keymaps
3752         (bug#16142).
3754 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3756         * progmodes/python.el (python-nav-beginning-of-statement):
3757         Speed up (Bug#15295).
3759 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
3761         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3762         the window configuration.
3764 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
3766         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3767         we run on MS-Windows or MS-DOS.
3769 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
3771         * window.el (balance-windows-area): Call window-size instead of
3772         window-height and window-width.  Bug#16241.
3774 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
3776         * net/eww.el (eww-bookmark-quit): Remove.
3777         (eww-bookmark-browse): Restore the window configuration when you
3778         choose a bookmark (bug#16144).
3780 2013-12-24  Daniel Colascione  <dancol@dancol.org>
3782         * icomplete.el: Remove redundant :group arguments to `defcustom'
3783         throughout.
3784         (icomplete-show-matches-on-no-input): New customizable variable.
3785         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3786         we have something to show.
3787         (icomplete-exhibit): Compute completions even if we have no user input.
3789 2013-12-23  Daniel Colascione  <dancol@dancol.org>
3791         * icomplete.el: Move `provide' to end of file.
3793 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
3795         * net/gnutls.el (gnutls-verify-error): Add version tag.
3797 2013-12-23  Chong Yidong  <cyd@gnu.org>
3799         * subr.el (set-transient-map): Rename from
3800         set-temporary-overlay-map.  Doc fix.
3802         * face-remap.el (text-scale-adjust):
3803         * indent.el (indent-rigidly):
3804         * kmacro.el (kmacro-call-macro):
3805         * minibuffer.el (minibuffer-force-complete):
3806         * repeat.el (repeat):
3807         * simple.el (universal-argument--mode):
3808         * calendar/todo-mode.el (todo-insert-item--next-param):
3809         * progmodes/f90.el (f90-abbrev-start): Callers changed.
3811         * indent.el (indent-rigidly): Use substitute-command-keys.
3813 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
3815         * net/eww.el (eww-tag-select): Add text-property to jump to next
3816         select field.
3817         (eww): Add non-supported ftp error.
3819 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
3821         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3822         comments.  Handle electric indent after typing `?' and `!'.
3824 2013-12-22  Chong Yidong  <cyd@gnu.org>
3826         * faces.el (face-spec-recalc): If the theme specs are not
3827         applicable to a frame, fall back on the defface spec.
3828         This prevents themes from obliterating faces on low-color terminals.
3830 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
3832         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3833         after `{'.  We need it after block openers, and it doesn't seem
3834         to hurt after hash openers.
3836 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
3838         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3839         extracted from `ruby-smie-rules'.
3840         (ruby--electric-indent-chars): New variable.
3841         (ruby--electric-indent-p): New function.
3842         (ruby-mode): Use `electric-indent-functions' instead of
3843         `electric-indent-chars'.
3845 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
3847         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3848         docstring.
3849         (ruby-smie-rules): Indent plus one level after `=>'.
3851 2013-12-21  Richard Stallman  <rms@gnu.org>
3853         * simple.el (newline): Doc fix.
3855 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
3857         * net/eww.el (eww-list-histories, eww-list-histories)
3858         (eww-history-browse, eww-history-quit, eww-history-kill)
3859         (eww-history-mode-map, eww-history-mode): New command and
3860         functions to list browser histories.
3861         (eww-form-text): Support text form with disabled
3862         and readonly attributes.
3863         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3865 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3867         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3868         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3869         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3870         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3871         Use `user-error'.
3872         (eww-bookmark-mode-map): Add menu.
3873         (eww-render, eww-mode): Use `setq-local'.
3874         (eww-tool-bar-map): New variable.
3875         (eww-mode): Set `tool-bar-map'.
3876         (eww-view-source): Check for `html-mode' with `fboundp'.
3878 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3880         * net/shr.el (shr--extract-best-source): Don't bug out on audio
3881         elements with text inside.  Also remove debugging.
3883 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
3885         * cus-start.el (all): Add ns-use-srgb-colorspace.
3887 2013-12-21  Chong Yidong  <cyd@gnu.org>
3889         * custom.el (custom-theme-recalc-face): Do nothing if the face is
3890         undefined.  Thus, theme settings for undefined faces do not take
3891         effect until the faces are defined with defface, the same as with
3892         theme variables.
3894         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3895         (face-spec-reset-face): Don't assign extra properties in temacs.
3896         (face-spec-recalc): Apply X resources too.
3898 2013-12-21  Chong Yidong  <cyd@gnu.org>
3900         * faces.el (face-spec-set):
3901         * cus-face.el (custom-theme-set-faces, custom-set-faces):
3902         * custom.el (defface): Doc fixes (Bug#16203).
3904         * indent.el (indent-rigidly-map): Add docstring, and move commands
3905         into named functions.
3906         (indent-rigidly-left, indent-rigidly-right)
3907         (indent-rigidly-left-to-tab-stop)
3908         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
3909         indentation direction based on bidi direction, and accumulate
3910         sequential commands in a single undo boundary.
3911         (indent-rigidly--pop-undo): New utility function.
3913 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
3915         * faces.el (read-face-name): Require crm.el when using crm-separator.
3917 2013-12-20  Daniel Colascione  <dancol@dancol.org>
3919         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3920         so that we don't reflow comments into the shebang line.
3922 2013-12-20  Juri Linkov  <juri@jurta.org>
3924         * saveplace.el (save-place-to-alist): Add `dired-filename' as
3925         a position when `dired-directory' is non-nil.  Check integer
3926         positions with `integerp'.
3927         (toggle-save-place, save-places-to-alist): Add check for
3928         `dired-directory'.
3929         (save-place-find-file-hook): Check integer positions with
3930         `integerp'.
3931         (save-place-dired-hook): Use `dired-goto-file' when
3932         `dired-filename' is found in the assoc list.  Check integer
3933         positions with `integerp'.
3934         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3936         * dired.el (dired-initial-position-hook): Rename back from
3937         `dired-initial-point-hook'.
3938         (dired-initial-position): Rename `dired-initial-point-hook' to
3939         `dired-initial-position-hook'.
3940         (dired-file-name-at-point): Doc fix.  (Bug#15329)
3942 2013-12-20  Juri Linkov  <juri@jurta.org>
3944         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3945         (read-regexp-suggestions): New function.
3946         (read-regexp): Use `read-regexp-defaults-function' to get default values.
3947         Use `read-regexp-suggestions'.  Add non-empty default to history
3948         for empty input.
3949         (occur-read-regexp-defaults-function): Remove function.
3950         (occur-read-primary-args): Use `regexp-history-last' instead of
3951         `occur-read-regexp-defaults-function'.
3953         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3954         (hi-lock-line-face-buffer, hi-lock-face-buffer)
3955         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3956         `hi-lock-read-regexp-defaults-function'.  Doc fix.
3957         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3958         with `find-tag-default-as-symbol-regexp'.  Doc fix.
3959         (hi-lock-read-regexp-defaults): Remove function.
3960         (hi-lock-regexp-okay): Add check for null.
3962         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3963         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
3965         * subr.el (find-tag-default-as-symbol-regexp): New function.
3966         (find-tag-default-as-regexp): Move symbol regexp formatting to
3967         `find-tag-default-as-symbol-regexp'.
3969 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
3971         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3972         (Bug#14179)
3974 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
3976         * calendar/todo-mode.el: New implementation of item insertion
3977         commands and key bindings.
3978         (todo-key-prompt): New face.
3979         (todo-insert-item): New command.
3980         (todo-insert-item--parameters): New defconst, replacing defvar
3981         todo-insertion-commands-args-genlist.
3982         (todo-insert-item--param-key-alist): New defconst, replacing
3983         defvar todo-insertion-commands-arg-key-list.
3984         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3985         (todo-insert-item--argsleft, todo-insert-item--apply-args)
3986         (todo-insert-item--next-param): New functions.
3987         (todo-insert-item--args, todo-insert-item--argleft)
3988         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3989         New variables.
3990         (todo-key-bindings-t): Change binding of "i" from
3991         todo-insertion-map to todo-insert-item.
3992         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3993         (todo-insertion-command-name, todo-insertion-commands-names)
3994         (todo-define-insertion-command, todo-insertion-commands)
3995         (todo-insertion-key-bindings, todo-insertion-map): Remove.
3997 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
3999         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4000         (todo-toggle-item-highlighting): Use eval-and-compile instead of
4001         eval-when-compile.
4002         (todo-move-category): Allow choosing a non-existing todo file to
4003         move the category to, and create that file.
4004         (todo-default-priority): New user option.
4005         (todo-set-item-priority): Use it.
4006         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4007         (desktop-restore-file-buffer): Declare.
4008         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4009         (todo-modes-set-2): Locally set desktop-save-buffer to
4010         todo-desktop-save-buffer.
4011         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4012         (auto-mode-alist): Add autoload cookie.
4014 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
4016         * emacs-lisp/subr-x.el: Renamed from helpers.el.
4017         helpers.el was a poor choice of name.
4018         (string-remove-prefix): New function.
4019         (string-remove-suffix): New function.
4021 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
4023         Fix assignment for new window total sizes.
4024         * window.el (window--pixel-to-size): Remove function.
4025         (window--pixel-to-total-1, window--pixel-to-total):
4026         Fix calculation of new total sizes.
4028 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
4030         * comint.el (comint-output-filter): Fix rear-nonsticky property
4031         placement (Bug#16010).
4033 2013-12-20  Chong Yidong  <cyd@gnu.org>
4035         * faces.el (read-color): Minor fix for completion function.
4037 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
4039         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4040         New option.  (Bug#16182)
4041         (ruby-smie--indent-to-stmt-p): Use it.
4042         (ruby-smie-rules): Revert the logic in the handling of `when'.
4043         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4044         (ruby-deep-arglist, ruby-deep-indent-paren)
4045         (ruby-deep-indent-paren-style): Update docstrings to note that the
4046         vars don't have any effect with SMIE.
4048 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
4050         * calc/calc.el (calc-enter, calc-pop): Use the variable
4051         `calc-context-sensitive-enter'.
4053 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4055         * net/shr.el (shr-insert): Protect against infloops in degenerate
4056         tables.
4058 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4060         * progmodes/octave.el (octave): Add link to manual and octave
4061         homepage.
4062         (octave-mode-menu): Link to octave-mode manual.
4064 2013-12-20  Leo Liu  <sdl.web@gmail.com>
4066         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4067         insertion using skeleton-end-newline.  (Bug#16138)
4069 2013-12-20  Juri Linkov  <juri@jurta.org>
4071         * replace.el (occur-engine): Use `add-face-text-property'
4072         to add the face property to matches and titles.  (Bug#14645)
4074         * hi-lock.el (hi-green): Use lighter color "light green" closer to
4075         the palette of other hi-lock colors.
4076         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4078 2013-12-19  Juri Linkov  <juri@jurta.org>
4080         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4081         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
4082         (minibuffer-history-symbol): Move variable declaration closer to
4083         its usage.
4085         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4086         (Bug#14785)
4088 2013-12-19  Juri Linkov  <juri@jurta.org>
4090         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4091         New function.
4092         (log-edit-hook): Add it to :options.  (Bug#16170)
4094 2013-12-19  Juri Linkov  <juri@jurta.org>
4096         * simple.el (eval-expression-print-format): Don't check for
4097         command names and the last command.  Always display additional
4098         formats of the integer result in the echo area, and insert them
4099         to the current buffer only with a zero prefix arg.
4100         Display character when char-displayable-p is non-nil.
4101         (eval-expression): With a zero prefix arg, set `print-length' and
4102         `print-level' to nil, and insert the integer values from
4103         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
4105         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4106         `eval-last-sexp-arg-internal'.  Doc fix.
4107         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4108         `eval-last-sexp-print-value'.  Doc fix.
4109         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4110         Set `print-length' and `print-level' to nil when arg is zero.
4111         (eval-last-sexp): Doc fix.
4112         (eval-defun-2): Print the integer values from
4113         `eval-expression-print-format' at the end.
4115         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4116         values from `eval-expression-print-format' at the end.
4118         * ielm.el (ielm-eval-input): Print the integer
4119         values from `eval-expression-print-format' at the end.
4121 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
4123         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4124         2013-12-11T19:01:44Z!tzz@lifelogs.com.
4126 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4128         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
4129         (hl-line-highlight, global-hl-line-highlight): Use it.
4130         (hl-line-overlay): Use defvar-local.
4132 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
4134         * term/ns-win.el: Require dnd.
4135         (global-map): Remove drag items.
4136         (ns-insert-text, ns-set-foreground-at-mouse)
4137         (ns-set-background-at-mouse):
4138         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4139         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4140         New functions.
4142 2013-12-19  Glenn Morris  <rgm@gnu.org>
4144         * emacs-lisp/ert.el (ert-select-tests):
4145         Fix string/symbol mixup.  (Bug#16121)
4147 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
4149         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4150         keywords to their parent.
4152 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
4154         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4155         first arg to be a string (fixed dead code), or an operator symbol.
4156         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4157         operator symbols.
4158         (ruby-smie-rules): Remove parent token check in the `.' clause, it
4159         did nothing.  Don't respond to `(:after ".")', it will be called
4160         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
4161         change anything.  Only return indentation for binary operators
4162         when they are hanging.  De-dent opening paren when its parent is
4163         `.', otherwise it looks bad when the dot is not at bol or eol
4164         (bug#16182).
4166 2013-12-19  Juri Linkov  <juri@jurta.org>
4168         * replace.el (query-replace-read-args): Split a non-negative arg
4169         and a negative arg into separate elements.
4170         (query-replace, query-replace-regexp, replace-string)
4171         (replace-regexp): Add arg `backward'.  Doc fix.
4172         (replace-match-maybe-edit): When new arg `backward' is non-nil,
4173         move point to the beginning of the match.
4174         (replace-search, replace-highlight): Use new arg `backward'
4175         to set the value of `isearch-forward'.
4176         (perform-replace): Add arg `backward' and use it to perform
4177         replacement backward.  (Bug#14979)
4179         * isearch.el (isearch-query-replace): Use a negative prefix arg
4180         to call `perform-replace' with a non-nil arg `backward'.
4182 2013-12-18  Juri Linkov  <juri@jurta.org>
4184         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4185         to the default list.  Move `log-edit-show-files' to the end.
4186         Add more available functions to options.
4187         (log-edit): Move default specific settings to
4188         `log-edit-insert-message-template'.  Don't move point.
4189         (log-edit-insert-message-template): New function.
4190         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4191         (Bug#16170)
4193 2013-12-18  Juri Linkov  <juri@jurta.org>
4195         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4196         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
4198 2013-12-18  Leo Liu  <sdl.web@gmail.com>
4200         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4201         (Bug#16186)
4203 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
4205         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4206         formats for displaying file sizes when the -s switch is given.
4207         Instead, compute a separate format for displaying the size in
4208         blocks, which is displayed in addition to the "regular" size.
4209         When -h is given in addition to -s, produce size in blocks in
4210         human-readable form as well.  (Bug#16179)
4212 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
4214         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4215         Reference tables with ~\ref{...} instead of only \ref{...}.
4217 2013-12-18  Chong Yidong  <cyd@gnu.org>
4219         * cus-edit.el (custom-magic-alist): Fix "themed" description
4220         (Bug#14348).
4222         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4223         is non-nil, do not create a new entry in the symbol's theme-value
4224         or theme-face property; update theme-settings only (Bug#14664).
4225         (custom-available-themes): Doc fix.
4227         * cus-theme.el (custom-new-theme-mode-map): Add bindings
4228         (Bug#15674).
4230         * replace.el (occur-engine): Avoid infloop (Bug#7593).
4232 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
4234         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4235         (Bug#13914).
4237 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
4239         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4241 2013-12-18  Glenn Morris  <rgm@gnu.org>
4243         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4244         * cus-start.el (load-prefer-newer): New option.
4246 2013-12-18  Le Wang  <l26wang@gmail.com>
4248         * comint.el (comint-previous-matching-input-from-input):
4249         Retain point (Bug#13404).
4251 2013-12-18  Chong Yidong  <cyd@gnu.org>
4253         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4255 2013-12-18  Glenn Morris  <rgm@gnu.org>
4257         * mail/emacsbug.el (report-emacs-bug):
4258         Only mention enable-multibyte-characters if non-standard.
4260 2013-12-17  Juri Linkov  <juri@jurta.org>
4262         * arc-mode.el (archive-extract-by-file): Check if directory exists
4263         before deletion to not show irrelevant errors if it doesn't exist.
4265 2013-12-17  Juri Linkov  <juri@jurta.org>
4267         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4268         (Bug#14751)
4270         * net/eww.el (browse-web): Add alias to `eww'.
4271         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4272         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
4274         * net/browse-url.el (browse-url-browser-function): Move `eww'
4275         closer to similar functions.
4277         * startup.el (fancy-startup-screen, fancy-about-screen):
4278         Set browse-url-browser-function to eww-browse-url locally.
4279         (Bug#14751)
4281 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4283         * window.el (window--pixel-to-total): Remove unused `mini' var.
4284         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4285         (split-window): Remove unused `new' var.
4286         (window--display-buffer): Remove unused `frame' and `delta' vars.
4287         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4288         and display-width'.
4290 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
4292         * dired.el (dired-mark-pop-up):
4293         * register.el (register-preview): Don't bind
4294         split-height-threshold here since it's now done in
4295         display-buffer-below-selected.
4297 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
4299         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4300         xterm-rgb-convert-to-16bit.
4301         (rxvt-register-default-colors): Standardize with
4302         xterm-register-default-colors (Bug#14078).
4304 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
4306         * simple.el (kill-region): Pass mark first, then point, so that
4307         kill-append works right (Bug#12819).
4308         (copy-region-as-kill, kill-ring-save): Likewise.
4310 2013-12-17  Leo Liu  <sdl.web@gmail.com>
4312         * net/rcirc.el (rcirc-add-face):
4313         * eshell/em-prompt.el (eshell-emit-prompt):
4314         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4315         (Bug#16167)
4317 2013-12-17  Chong Yidong  <cyd@gnu.org>
4319         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4320         Suggested by Xue Fuqiao.
4322 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
4324         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4326 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4328         * net/shr.el (shr-insert-document): Remove unused var
4329         `shr-preliminary-table-render'.
4330         (shr-rescale-image): Remove unused arg `force'.
4331         (shr-put-image): Update calls accordingly.
4332         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4334 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
4336         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4337         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4338         :close-all, to see which indentation method to use (Bug#16116).
4339         (smie-rules-function): Document the method :close-all.
4341 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4343         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4345         * net/eww.el (eww-display-html): If we can't find the anchor we're
4346         looking for, then go to point-min.
4348 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
4350         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4351         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4352         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4353         Expand dir too, in case it's relative.
4355 2013-12-16  Juri Linkov  <juri@jurta.org>
4357         * desktop.el (desktop-auto-save-timeout): Change default to
4358         `auto-save-timeout'.  Doc fix.
4359         (desktop-save): Skip the timestamp in desktop-saved-frameset
4360         when checking for auto-save changes.
4361         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4362         `desktop-auto-save' is called repeatedly by the idle timer.
4363         (desktop-auto-save-set-timer): Replace `run-with-timer' with
4364         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
4365         (Bug#15331)
4367 2013-12-16  Juri Linkov  <juri@jurta.org>
4369         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4370         (Bug#16035)
4371         (isearch-pre-command-hook): Check `this-command' for symbolp.
4373 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4375         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4377 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
4379         * progmodes/cfengine.el (cfengine3--current-word): Remove.
4380         (cfengine3--current-function): Bring in the current-function
4381         functionality from `cfengine3--current-word'.
4382         (cfengine3-completion-function): Bring in the
4383         bounds-of-current-word functionality from
4384         `cfengine3--current-word'.
4386 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
4388         * window.el (display-buffer-below-selected):
4389         Bind split-height-threshold to 0 as suggested by Juri Linkov.
4391 2013-12-16  Leo Liu  <sdl.web@gmail.com>
4393         * progmodes/compile.el (compile-goto-error): Do not push-mark.
4394         Remove NOMSG arg and all uses changed.
4396 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4398         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4399         (cua--deactivate-rectangle): Don't deactivate the mark.
4400         (cua-set-rectangle-mark): Don't set mark-active since
4401         cua--activate-rectangle already does it for us.
4402         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4403         non-rectangular region.
4405         * emulation/cua-base.el (cua-repeat-replace-region):
4406         Use with-current-buffer.
4408         * net/gnutls.el: Use cl-lib.
4409         (gnutls-negotiate): `mapcan' -> cl-mapcan.
4411 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
4413         * emacs-lisp/package.el (package-built-in-p): Support both
4414         built-in and the package.el converted package descriptions.
4415         (package-show-package-list): Allow keywords.
4416         (package-keyword-button-action): Use it instead of
4417         `finder-list-matches'.
4418         (package-menu-filter-interactive): Interactive filtering (by
4419         keyword) function.
4420         (package-menu--generate): Support keywords and change keymappings
4421         and headers when they are given.
4422         (package--has-keyword-p): Helper function.
4423         (package-menu--refresh): Use it.
4424         (package--mapc): Helper function.
4425         (package-all-keywords): Use it.
4426         (package-menu-mode-map): Set up menu items and keybindings to
4427         provide a filtering UI.
4429 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
4431         * net/gnutls.el (gnutls-verify-error): New defcustom to control
4432         the behavior when a certificate fails validation.  Defaults to
4433         old behavior: never abort, just warn.
4434         (gnutls-negotiate): Use it.
4436 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
4438         * window.el (display-buffer-below-selected): Never split window
4439         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
4441 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
4443         * emacs-lisp/package.el (package--prepare-dependencies): New function.
4444         (package-buffer-info): Use it (bug#15108).
4446 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4448         * icomplete.el (icomplete-completions): Make sure the prefix is already
4449         displayed elsewhere before hiding it (bug#16219).
4451 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
4453         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4454         open-paren tokens when preceded by a open-paren, too.
4455         (ruby-smie-rules): Handle virtual indentation after open-paren
4456         tokens specially.  If there is code between it and eol, return the
4457         column where is starts (Bug#16118).
4459 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
4461         * progmodes/cfengine.el: Fix `add-hook' doc.
4462         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4463         (cfengine3--current-word): Fix parameters.
4464         (cfengine3-make-syntax-cache): Simplify further.
4465         (cfengine3-completion-function, cfengine3--current-function):
4466         Use `assq' for symbols.
4467         (cfengine3--current-function): Fix `cfengine3--current-word' call.
4469 2013-12-13  Glenn Morris  <rgm@gnu.org>
4471         * loadup.el (load-path): Warn if site-load or site-init changes it.
4472         No more need to reset it when bootstrapping.
4474 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
4476         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4477         locations for cf-promises.
4478         (cfengine-mode-syntax-functions-regex): New caching variable.
4479         (cfengine3-fallback-syntax): Fallback syntax for cases where
4480         cf-promises doesn't run.
4481         (cfengine3--current-word): Reimplement using
4482         `cfengine-mode-syntax-functions-regex'.
4483         (cfengine3-completion-function, cfengine3--current-function):
4484         Use `cfengine3-make-syntax-cache' directly.
4485         (cfengine3-clear-syntax-cache): New function.
4486         (cfengine3-make-syntax-cache): Simplify and create
4487         `cfengine-mode-syntax-functions-regex' on demand.
4488         (cfengine3-format-function-docstring): Don't call
4489         `cfengine3-make-syntax-cache' explicitly.
4491 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
4493         Fix windmove-find-other-window broken after pixelwise resizing
4494         (Bug#16017).
4495         * windmove.el (windmove-other-window-loc): Revert change from
4496         2013-12-04.
4497         (windmove-find-other-window): Call window-in-direction.
4498         * window.el (window-in-direction): New arguments SIGN, WRAP and
4499         MINI to emulate original windmove-find-other-window behavior.
4501 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
4503         * simple.el (blink-matching--overlay): New variable.
4504         (blink-matching-open): Instead of moving point, highlight the
4505         matching paren with an overlay
4506         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4508         * faces.el (paren-showing-faces, show-paren-match)
4509         (show-paren-mismatch): Move from paren.el.
4511 2013-12-13  Leo Liu  <sdl.web@gmail.com>
4513         * indent.el (indent-region): Disable progress reporter in
4514         minibuffer.  (Bug#16108)
4516         * bindings.el (visual-order-cursor-movement): Fix version.
4518 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4520         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4521         Also match after beginning of line.
4522         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4523         files.  Thanks to Russell Sim.  (Bug#15378)
4525 2013-12-13  Juri Linkov  <juri@jurta.org>
4527         * simple.el <Keypad support>: Remove key bindings duplicated
4528         with bindings.el.  (Bug#14397)
4530 2013-12-13  Juri Linkov  <juri@jurta.org>
4532         * comint.el (comint-mode-map): Replace `delete-char' with
4533         `delete-forward-char'.  (Bug#16109)
4535 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4537         * progmodes/python.el (python-indent-calculate-indentation):
4538         Fix de-denters cornercase.  (Bug#15731)
4540 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4542         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4543         (advice--make): Pay attention to `depth'.
4544         (advice--make-1): Don't autoload commands eagerly.
4545         * emacs-lisp/elp.el (elp-instrument-function):
4546         * emacs-lisp/trace.el (trace-function-internal):
4547         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4549         * iswitchb.el (iswitchb-mode): Don't belittle ido.
4551 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
4553         * term/w32-win.el (w32-handle-dropped-file):
4554         * startup.el (normal-top-level):
4555         * net/browse-url.el (browse-url-file-url):
4556         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4557         decode file names using 'utf-8' rather than
4558         file-name-coding-system.
4560 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4562         * progmodes/python.el (python-indent-context)
4563         (python-indent-calculate-indentation): Fix auto-identation
4564         behavior for comment blocks.  (Bug#15916)
4566 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
4568         * progmodes/python.el (python-indent-calculate-indentation):
4569         When determining indentation, don't treat "return", "pass", etc., as
4570         operators when they are just string constituents.  (Bug#15812)
4572 2013-12-12  Juri Linkov  <juri@jurta.org>
4574         * uniquify.el (uniquify-buffer-name-style): Change default to
4575         `post-forward-angle-brackets'.
4577         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4578         `uniquify'.  Change default to `post-forward-angle-brackets'.
4580 2013-12-11  Glenn Morris  <rgm@gnu.org>
4582         * emacs-lisp/package.el (finder-list-matches):
4583         Autoload rather than falsely declaring.
4585 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
4587         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4588         (eww-mode-map): Use them.
4590 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
4592         * window.el (display-buffer-in-side-window): Fix doc-string
4593         (Bug#16115).
4595 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
4597         * vc/vc-git.el: Silence byte-compiler warnings.
4598         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4599         (log-edit-set-header): Declare.
4601 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
4603         * Makefile.in (custom-deps, finder-data): Run output file names
4604         through unmsys--file-name.  (Bug#16099)
4606 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4608         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4609         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4611         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4612         instead of deleting the selection "by hand" (bug#16098).
4613         Rely on insert-for-yank to yank rectangles.
4614         (cua-highlight-region-shift-only): Mark obsolete.
4615         (cua-mode): Don't enable/disable transient-mark-mode,
4616         shift-select-mode (cua-mode works both with and without them), and
4617         pc-selection-mode (obsolete).
4618         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4619         (cua--deactivate-rectangle): Deactivate it.
4621         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4622         (delete-selection-helper): Make sure yank starts at the top of the
4623         deleted region.
4624         (minibuffer-keyboard-quit): Use region-active-p.
4626         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4628         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4629         to `delete' (bug#16109).
4631 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4633         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4634         info manual and show keybindings and set `:group' keyword.
4636 2013-12-11  Juri Linkov  <juri@jurta.org>
4638         * delsel.el (delete-active-region): Let-bind `this-command'
4639         to prevent `kill-region' from changing its original value.
4640         (delete-selection-helper): Handle `overwrite-mode' for the type
4641         `kill' exactly the same way as for the type `t'.
4642         (insert-char, quoted-insert, reindent-then-newline-and-indent):
4643         Support more commands.  (Bug#13312)
4645 2013-12-11  Juri Linkov  <juri@jurta.org>
4647         * bindings.el: Map kp keys to non-kp keys systematically
4648         with basic modifiers control, meta and shift.  (Bug#14397)
4650 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
4652         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4653         "Close browser" menu items.  Fix wrong function of "List
4654         bookmarks".
4656 2013-12-11  Juri Linkov  <juri@jurta.org>
4658         * misearch.el (multi-isearch-buffers): Set the value of
4659         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
4660         arg of isearch-forward to t.
4661         (multi-isearch-buffers-regexp): Set the value of
4662         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
4663         arg of isearch-forward-regexp to t.
4664         (multi-isearch-files): Set the value of
4665         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
4666         arg of isearch-forward to t.
4667         (multi-isearch-files-regexp): Set the value of
4668         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
4669         arg of isearch-forward-regexp to t.  (Bug#16035)
4671         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4672         arg of isearch-forward to t.
4673         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4674         arg of isearch-forward-regexp to t.
4675         (dired-isearch-filter-filenames): Remove unnecessary check for
4676         `dired-isearch-filenames'.
4678         * comint.el (comint-history-isearch-backward):
4679         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4680         (comint-history-isearch-backward-regexp):
4681         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4683 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
4685         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4686         unmsys--file-name.  (Bug#16099)
4688 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
4690         * emacs-lisp/package.el (package-keyword-button-action):
4691         Remove finder.el require dependency.
4693 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
4695         * emacs-lisp/package.el: Require finder.el.
4696         (describe-package-1): Add keyword buttons.
4697         (package-make-button): New convenience function.
4698         (package-keyword-button-action): Keyword button action using
4699         `finder-list-matches'.
4701 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
4703         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4704         last commit.
4706 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
4708         * autorevert.el (auto-revert-notify-add-watch): Do not handle
4709         symlinked files.
4711 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
4713         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4714         after the end of a percent literal.
4716 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
4718         * progmodes/ruby-mode.el (ruby-forward-string): Document.
4719         Handle caret-delimited strings (Bug#16079).
4721 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
4723         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4724         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4725         `ruby-parse-partial' (Bug#16078).
4727 2013-12-09  Leo Liu  <sdl.web@gmail.com>
4729         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
4731 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
4733         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4734         (js-switch-indent-offset): New option.
4735         (js--proper-indentation): Use it.  And handle the case when
4736         "default" is actually a key in an object literal.
4737         (js--same-line): New function.
4738         (js--multi-line-declaration-indentation): Use it.
4739         (js--indent-in-array-comp, js--array-comp-indentation):
4740         New functions.
4741         (js--proper-indentation): Use them, to handle array comprehension
4742         continuations.
4744 2013-12-08  Leo Liu  <sdl.web@gmail.com>
4746         * progmodes/flymake.el (flymake-highlight-line): Re-write.
4747         (flymake-make-overlay): Remove arg MOUSE-FACE.
4748         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4750 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4752         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4753         New function.
4754         (redisplay-highlight-region-function): Use it.
4756         * emulation/cua-base.el (cua--explicit-region-start)
4757         (cua--last-region-shifted): Remove.
4758         (cua--deactivate): Use deactivate-mark.
4759         (cua--pre-command-handler-1): Don't handle shift-selection.
4760         (cua--post-command-handler-1): Don't change transient-mark-mode.
4761         (cua--select-keymaps): Use region-active-p rather than
4762         cua--explicit-region-start or cua--last-region-shifted.
4763         (cua-mode): Enable shift-select-mode.
4765 2013-12-08  Leo Liu  <sdl.web@gmail.com>
4767         * progmodes/flymake.el (flymake-popup-current-error-menu):
4768         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
4769         (flymake-posn-at-point-as-event, flymake-popup-menu)
4770         (flymake-make-emacs-menu): Remove.  (Bug#16077)
4772 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4774         * rect.el (rectangle-mark-mode): Activate mark even if
4775         transient-mark-mode is off (bug#16066).
4776         (rectangle--highlight-for-redisplay): Fix boundary condition when point
4777         is > mark and at bolp.
4779         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4780         (region-extract-function): Use it.
4781         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4782         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4783         Delete functions.
4784         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4785         kill-ring-save, kill-region, delete-char, delete-forward-char.
4786         Ignore self-insert-iso.
4788         * emulation/cua-gmrk.el (cua--init-global-mark):
4789         Ignore `self-insert-iso'.
4791         * emulation/cua-base.el (cua--prefix-copy-handler)
4792         (cua--prefix-cut-handler): Rely on region-extract-function rather than
4793         checking cua--rectangle.
4794         (cua-delete-region): Use region-extract-function.
4795         (cua-replace-region): Delete function.
4796         (cua-copy-region, cua-cut-region): Obey region-extract-function.
4797         (cua--pre-command-handler-1): Don't do the delete-selection thing.
4798         (cua--self-insert-char-p): Ignore `self-insert-iso'.
4799         (cua--init-keymaps): Don't remap delete-selection commands.
4800         (cua-mode): Use delete-selection-mode instead of rolling our own
4801         (bug#16085).
4803         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4804         Obey region-extract-function.
4806         Make registers and delete-selection-mode work on rectangles.
4807         * register.el (describe-register-1): Don't modify the register's value.
4808         (copy-to-register): Obey region-extract-function.
4809         * delsel.el (delete-active-region): Obey region-extract-function.
4811 2013-12-08  Leo Liu  <sdl.web@gmail.com>
4813         * progmodes/flymake.el (flymake, flymake-error-bitmap)
4814         (flymake-warning-bitmap, flymake-fringe-indicator-position)
4815         (flymake-compilation-prevents-syntax-check)
4816         (flymake-start-syntax-check-on-newline)
4817         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4818         (flymake-start-syntax-check-on-find-file, flymake-log-level)
4819         (flymake-xml-program, flymake-master-file-dirs)
4820         (flymake-master-file-count-limit)
4821         (flymake-allowed-file-name-masks): Relocate.
4822         (flymake-makehash, flymake-float-time)
4823         (flymake-replace-regexp-in-string, flymake-split-string)
4824         (flymake-get-temp-dir): Remove.
4825         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4826         (flymake-current-row, flymake-selected-frame)
4827         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4828         related functions.  (Bug#16077)
4830 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
4832         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4834 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
4836         * help-fns.el (describe-function-1): Use new advice-* functions
4837         rather than old ad-* functions.  Fix function type description and
4838         source links for advised functions and subrs.
4840 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4842         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4844 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
4846         * progmodes/compile.el (compilation-start):
4847         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4849         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4850         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
4852 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
4854         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4855         Touch up the last change.
4857 2013-12-06  Leo Liu  <sdl.web@gmail.com>
4859         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4860         (inferior-octave-startup): Always use "octave> " for prompt.
4861         (octave-goto-function-definition)
4862         (octave-sync-function-file-names)
4863         (octave-find-definition-default-filename): Remove redundant backquotes.
4865 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
4867         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4868         syntax for `?'.
4869         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4870         where appropriate already.
4871         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4872         end of method names (Bug#15874).
4874 2013-12-06  Juri Linkov  <juri@jurta.org>
4876         * isearch.el (isearch--saved-overriding-local-map):
4877         New internal variable.
4878         (isearch-mode): Set it to the initial value of
4879         `overriding-terminal-local-map'.
4880         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4881         with `isearch--saved-overriding-local-map'.  (Bug#16035)
4883 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
4885         * progmodes/octave.el (inferior-octave-completion-table):
4886         Turn back into function, use `completion-table-with-cache'
4887         (Bug#11906).  Update all references.
4889         * minibuffer.el (completion-table-with-cache): New function.
4891 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
4893         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4895 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
4897         * net/eww.el (eww-current-source): New variable to store page
4898         source.
4899         (eww-display-html, eww-mode, eww-save-history)
4900         (eww-restore-history): Use it.
4901         (eww-view-source): New command to view page source.
4902         Opportunistically uses `html-mode' to highlight the buffer.
4903         (eww-mode-map): Install it.
4905 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
4907         * net/dbus.el (dbus-unregister-service)
4908         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4909         Fix docstring.
4910         (dbus-unregister-service): Skip :serial entries in
4911         `dbus-registered-objects-table'.
4912         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4914 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
4916         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4917         around keywords with extra `split-string' argument.
4919 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
4921         * windmove.el (windmove-other-window-loc): Handle navigation
4922         between windows (excluding the minibuffer window - Bug#16017).
4924 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
4926         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4927         in D-Bus type syntax.
4928         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4929         preserve unibyte strings.  (Bug#16048)
4931 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4933         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4934         Call force-mode-line-update is the proper buffer (bug#16042).
4936 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
4938         * vc/log-edit.el (log-edit-add-new-comment): Rename to
4939         `log-edit-remember-comment', make argument optional.  Adjust all
4940         callers.
4941         (log-edit-mode): Add `log-edit-remember-comment' to
4942         `kill-buffer-hook' locally.
4943         (log-edit-kill-buffer): Don't remember comment explicitly since
4944         the buffer is killed anyway.
4946 2013-12-04  Juri Linkov  <juri@jurta.org>
4948         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4949         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
4951 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
4953         * notifications.el (notifications-close-notification): Call the
4954         D-Bus method with ID being a `:uint32'.  (Bug#16030)
4956 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
4958         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4960 2013-12-03  Juri Linkov  <juri@jurta.org>
4962         * progmodes/compile.el (compilation-start): Rename window alist
4963         entry `no-display-ok' to `allow-no-window'.
4965         * simple.el (shell-command): Add window alist entry
4966         `allow-no-window' to `display-buffer'.
4967         (async-shell-command): Doc fix.
4969         * window.el (display-buffer-no-window): New action function.
4970         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
4972 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
4974         * vc/log-edit.el (log-edit-set-header): Extract from
4975         `log-edit-toggle-header'.
4976         (log-edit-extract-headers): Separate the summary, when extracted
4977         from header, from the rest of the message with an empty line.
4979         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4980         line, if present, to the Summary header.
4982 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4984         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4985         in current-buffer (bug#16029).
4987 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
4989         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4990         (debugger-mode-map): Bind it.
4991         (debugger--backtrace-base): New function.
4992         (debugger-eval-expression): Use it.
4993         (debugger-frame-number): Skip local vars when present.
4994         (debugger--locals-visible-p, debugger--insert-locals)
4995         (debugger--show-locals, debugger--hide-locals): New functions.
4997 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
4999         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5000         "LC_ALL".
5001         (tramp-get-remote-locale): New defun.
5002         (tramp-open-connection-setup-interactive-shell): Use it.
5004 2013-12-02  Leo Liu  <sdl.web@gmail.com>
5006         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
5008         * progmodes/sh-script.el (sh-shell-process):
5009         * progmodes/octave.el (inferior-octave-process-live-p):
5010         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5011         (gdb-inferior-io-sentinel):
5012         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5014 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
5016         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5017         `save-selected-window' to `log-edit-hide-buf'.  This makes
5018         `log-edit-show-files' idempotent.
5019         (log-edit-show-files): Mark the new window as dedicated.
5021 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
5023         * vc/log-edit.el (log-edit-mode-map): Add binding for
5024         `log-edit-kill-biffer'.
5025         (log-edit-hide-buf): Add a FIXME comment.
5026         (log-edit-add-new-comment): New function, extracted from
5027         `log-edit-done'.
5028         (log-edit-done, log-edit-add-to-changelog): Use it.
5029         (log-edit-kill-buffer): New command.
5031 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5033         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5034         instead of killing the buffer.
5036 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5038         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5040 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5042         * net/eww.el (eww-form-checkbox-selected-symbol)
5043         (eww-form-checkbox-symbol): New customizable variable.
5044         (eww-form-checkbox, eww-toggle-checkbox):
5045         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5047         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5048         (shr--get-media-pref, shr--extract-best-source): New function.
5049         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5050         no :src tag was specified.
5052         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5053         (eww-render): Handle `eww-use-external-browser-for-content-type'.
5054         Use \\` to match beginning of string instead of ^.
5055         (eww-browse-with-external-browser): Provide optional URL parameter.
5056         (eww-render): Set `eww-current-title' back to "".
5058         * net/shr.el (shr-tag-video): Display content for video if no
5059         poster is available.
5060         (shr-tag-audio): Add support for <audio> tag.
5062         * net/eww.el (eww-text-input-types): New const.
5063         (eww-process-text-input): Treat input types in
5064         `eww-text-input-types' as text.
5066         * net/shr.el (shr-tag-table): Fix comment typo.
5068 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5070         * net/eww.el (eww-follow-link): New command to avoid reloading
5071         pages when we follow #target links (bug#15243).
5072         (eww-quit): Special mode buffers shouldn't query before exiting.
5074 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
5076         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5077         forms.
5079 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5081         * net/eww.el (eww-restore-history): Update the window title after
5082         moving in the history.
5083         (eww-current-dom): New variable used to save the current DOM.
5085 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
5087         * vc/log-edit.el (log-edit-mode-map): Add binding for
5088         `log-edit-beginning-of-line'.
5089         (log-edit-setup-add-author): New user option.
5090         (log-edit-beginning-of-line): New command.
5091         (log-edit): Move major mode call above the contents setup so that
5092         the local variable values are already applied.
5093         (log-edit): Only insert "Author: " when
5094         `log-edit-setup-add-author' is non-nil.
5095         (log-edit): When SETUP is non-nil, position point after ": "
5096         instead of point-min.
5098 2013-12-01  Glenn Morris  <rgm@gnu.org>
5100         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5102 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
5104         * startup.el (fancy-splash-frame): On MS-Windows, trigger
5105         redisplay to make sure the initial frame gets a chance to become
5106         visible.  (Bug#16014)
5108 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
5110         Support resizing frames and windows pixelwise.
5111         * cus-start.el (frame-resize-pixelwise)
5112         (window-resize-pixelwise): New entries.
5113         * emacs-lisp/debug.el (debug): Use window-total-height instead
5114         of window-total-size.
5115         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5116         * help.el (describe-bindings-internal): Use help-buffer as
5117         argument for with-help-window.
5118         (temp-buffer-max-width): New option.
5119         (resize-temp-buffer-window, help-window-setup)
5120         (with-help-window): Rewrite.
5121         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
5122         dragging dividers.
5123         * window.el (frame-char-size, window-min-pixel-height)
5124         (window-safe-min-pixel-height, window-safe-min-pixel-width)
5125         (window-min-pixel-width, window-safe-min-pixel-size)
5126         (window-combination-p, window-safe-min-size)
5127         (window-resizable-p, window--size-to-pixel)
5128         (window--pixel-to-size, window--resize-apply-p): New functions.
5129         (window-safe-min-height): Fix doc-string.
5130         (window-size, window-min-size, window--min-size-1)
5131         (window-sizable, window-sizable-p, window--min-delta-1)
5132         (window-min-delta, window--max-delta-1, window-max-delta)
5133         (window--resizable, window--resizable-p, window-resizable)
5134         (window-full-height-p, window-full-width-p, window-at-side-p)
5135         (window--in-direction-2, window-in-direction)
5136         (window--resize-reset-1, window--resize-mini-window)
5137         (window-resize, window-resize-no-error)
5138         (window--resize-child-windows-normal)
5139         (window--resize-child-windows, window--resize-siblings)
5140         (window--resize-this-window, window--resize-root-window)
5141         (window--resize-root-window-vertically)
5142         (adjust-window-trailing-edge, enlarge-window, shrink-window)
5143         (maximize-window, minimize-window, delete-window)
5144         (quit-restore-window, window-split-min-size, split-window)
5145         (balance-windows-2, balance-windows)
5146         (balance-windows-area-adjust, balance-windows-area)
5147         (window--state-get-1, window-state-get, window--state-put-1)
5148         (window--state-put-2, window-state-put)
5149         (display-buffer-record-window, window--display-buffer):
5150         Make functions handle pixelwise sizing of windows.
5151         (display-buffer--action-function-custom-type)
5152         (display-buffer-fallback-action):
5153         Add display-buffer-in-previous-window.
5154         (display-buffer-use-some-window): Resize window to height it had
5155         before.
5156         (fit-window-to-buffer-horizontally): New option.
5157         (fit-frame-to-buffer): Describe new values.
5158         (fit-frame-to-buffer-bottom-margin): Replace with
5159         fit-frame-to-buffer-margins.
5160         (window--sanitize-margin): New function.
5161         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5162         using window-text-pixel-size.
5164 2013-11-30  Glenn Morris  <rgm@gnu.org>
5166         * emacs-lisp/bytecomp.el (byte-compile-form):
5167         Make the `interactive-only' warning like the `obsolete' one.
5168         * comint.el (comint-run):
5169         * files.el (insert-file-literally, insert-file):
5170         * replace.el (replace-string, replace-regexp):
5171         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5172         (goto-line, insert-buffer, next-line, previous-line):
5173         Tweak `interactive-only' spec.
5175         Stop keeping (most) generated cedet grammar files in the repository.
5176         * Makefile.in (semantic): New.
5177         (compile-main): Depend on semantic.
5179 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5181         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5182         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5184         * uniquify.el (uniquify-buffer-name-style): Change default.
5186         * loadup.el: Preload "uniquify".
5188         * time.el (display-time-update): Update all mode lines (bug#15999).
5190         * electric.el (electric-indent-mode): Enable by default.
5191         * loadup.el: Preload "electric".
5193 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
5195         * emacs-lisp/helpers.el (string-empty-p): New function.
5196         (string-blank-p): New function.
5198 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
5200         * imenu.el (imenu--index-alist): Add missing dot to the docstring
5201         (Bug#14029).
5203 2013-11-29  Andreas Politz  <politza@fh-trier.de>
5204         * imenu.el (imenu--subalist-p): Don't error on non-conses and
5205         allow non-lambda lists as functions.
5206         (imenu--in-alist): Don't recurse into non-subalists.
5207         (imenu): Don't pass function itself as an argument (Bug#14029).
5209 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5211         * progmodes/python.el (python-mode-map): Remove binding for ":".
5212         (python-indent-electric-colon): Remove command.
5213         (python-indent-post-self-insert-function): Integrate the previous code
5214         of python-indent-electric-colon.  Make it conditional on
5215         electric-indent-mode.
5216         (python-mode): Add ?: to electric-indent-chars.
5217         Move python-indent-post-self-insert-function to the end of
5218         post-self-insert-hook.
5220 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5222         * doc-view.el (doc-view-goto-page): Update mode-line.
5224         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5226 2013-11-27  Glenn Morris  <rgm@gnu.org>
5228         * international/charprop.el, international/uni-bidi.el:
5229         * international/uni-category.el, international/uni-combining.el:
5230         * international/uni-comment.el, international/uni-decimal.el:
5231         * international/uni-decomposition.el, international/uni-digit.el:
5232         * international/uni-lowercase.el, international/uni-mirrored.el:
5233         * international/uni-name.el, international/uni-numeric.el:
5234         * international/uni-old-name.el, international/uni-titlecase.el:
5235         * international/uni-uppercase.el:
5236         Remove generated files from VCS repository.
5238 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
5240         * filenotify.el (file-notify-add-watch): Don't special-case
5241         w32notify when computing the directory to watch.
5243 2013-11-27  Glenn Morris  <rgm@gnu.org>
5245         Make bootstrap without generated uni-*.el files possible again.
5246         * loadup.el: Update command-line-args checking for unidata-gen.
5247         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5248         * composite.el, international/characters.el:
5249         Handle unicode tables being undefined.
5251         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5252         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5253         (compile-main): Depend on leim rule.
5254         (leim): New rule.
5255         * loadup.el: Move leim-list.el to leim/ subdirectory.
5256         * startup.el (normal-top-level): No more leim directory.
5257         * international/ja-dic-cnv.el (skkdic-convert):
5258         Disable version-control and autoloads in output files.
5259         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5260         Disable version-control and autoloads in output files.
5261         * leim/quail: Move here from ../leim.
5262         * leim/quail/hangul.el (hangul-input-method-activate):
5263         Add autoload cookie.
5264         (generated-autoload-load-name): Set file-local value.
5265         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5266         (generated-autoload-load-name): Set file-local value.
5268 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
5270         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5271         (eww-add-bookmark): Ask confirmation when add to bookmarks.
5272         (eww-quit): Ask confirmation before quitting eww.
5274 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
5276         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5277         reading output from Diff on MS-Windows and MS-DOS.
5279 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
5281         * emacs-lisp/helpers.el (string-reverse): New function.
5283 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
5285         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5286         names on MS Windows, like "/[::1]:".
5288         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5289         SWITCHES.
5291 2013-11-26  Glenn Morris  <rgm@gnu.org>
5293         * progmodes/python.el (python-indent-guess-indent-offset):
5294         Avoid corner-case error.  (Bug#15975)
5296         Preload leim-list.el.  (Bug#4789)
5297         * loadup.el: Load leim-list.el when found.
5298         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5300 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
5302         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5304         * emacs-lisp/helpers.el (string-join): New function.
5306 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
5308         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5309         Mark as obsolete and replace it with a symbol property.
5310         (byte-compile-form): Use new 'interactive-only property.
5311         * comint.el, files.el, replace.el, simple.el:
5312         Apply new 'interactive-only properly.
5314 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
5316         * window.el (display-buffer-at-bottom): Make sure that
5317         split-window-sensibly creates the new window on bottom
5318         (Bug#15961).
5320 2013-11-23  David Kastrup  <dak@gnu.org>
5322         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5323         on the conflict markers when available.
5324         (smerge--get-marker): New function.
5325         (smerge-end-re, smerge-base-re): Add subgroup.
5327 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5329         * frame.el (handle-focus-in, handle-focus-out): Add missing
5330         interactive spec.
5332 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
5334         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5335         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5337 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5339         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
5340         (gomoku--last-pos): New var.
5341         (gomoku--intangible-chars): New const.
5342         (gomoku--intangible): New function.
5343         (gomoku-mode): Use it.  Derive from special-mode.
5344         (gomoku-move-up): Adjust line count.
5345         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5346         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5347         Simplify accordingly.
5349         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5350         Remove blink-cursor code.
5351         (blink-cursor-timer-function, blink-cursor-suspend):
5352         Don't special-case GUIs.
5353         (blink-cursor-mode): Use focus-in/out-hook.
5355 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
5357         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5358         work when annotation is invisible (Bug#13886).
5360 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
5362         * json.el (json-alist-p): Only return non-nil if the alist has
5363         simple keys (Bug#13518).
5365 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
5367         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5368         when control-statement is the first statement in a buffer (Bug#15956).
5370 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
5372         * imenu.el (imenu-generic-skip-comments-and-strings):
5373         New option (Bug#15560).
5374         (imenu--generic-function): Use it.
5376 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
5378         * minibuffer.el (completion--in-region-1): Scroll the correct window.
5379         (Bug#13898)
5381 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
5383         * emacs-lisp/helpers.el: Add some string helpers.
5384         (string-trim-left): Removes leading whitespace.
5385         (string-trim-right): Removes trailing whitespace.
5386         (string-trim): Removes leading and trailing whitespace.
5388         * subr.el (string-suffix-p): New function.
5390 2013-11-23  Glenn Morris  <rgm@gnu.org>
5392         * progmodes/python.el (python-shell-send-file):
5393         Add option to delete file when done.  (Bug#15647)
5394         (python-shell-send-string, python-shell-send-region): Use it.
5396 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
5398         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5399         to set buffer-read-only to t, never to nil.  (Bug#15938)
5401         * textmodes/tex-mode.el (latex-noindent-environments):
5402         Add safe-local-variable property.  (Bug#15936)
5404 2013-11-23  Glenn Morris  <rgm@gnu.org>
5406         * textmodes/enriched.el (enriched-mode): Doc fix.
5407         * emacs-lisp/authors.el (authors-renamed-files-alist):
5408         Add enriched.doc -> enriched.txt.
5410         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5412 2013-11-22  Leo Liu  <sdl.web@gmail.com>
5414         * progmodes/octave.el (inferior-octave-startup): Spit out error
5415         message.
5417 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
5419         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5420         Improve docstring.
5421         Add :version.
5422         (ruby-encoding-magic-comment-style): Add :version.
5424 2013-11-22  Leo Liu  <sdl.web@gmail.com>
5426         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5427         (Bug#15076)
5428         (octave-help-mode): Adapt to change to help-mode-finish to use
5429         derived-mode-p on 2013-09-17.
5430         (inferior-octave-prompt): Also match octave-gui.
5431         (octave-kill-process): Don't ask twice.  (Bug#10564)
5433 2013-11-22  Leo Liu  <sdl.web@gmail.com>
5435         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5436         (inferior-octave-startup, inferior-octave-check-process)
5437         (inferior-octave-track-window-width-change)
5438         (octave-completion-at-point, octave-eldoc-function): Use it.
5439         (octave-kill-process): Provide confirmation.  (Bug#10564)
5441 2013-11-21  Leo Liu  <sdl.web@gmail.com>
5443         * progmodes/octave.el (octave-mode, inferior-octave-mode):
5444         Fix obsolete variable comment-use-global-state.
5446 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5448         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5449         Add `octave-source-file'.
5450         (octave-source-file): New function.  (Bug#15935)
5452 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
5454         * net/eww.el (eww-local-regex): New variable.
5455         (eww): Use it to detect localhost and similar.
5457 2013-11-21  Leo Liu  <sdl.web@gmail.com>
5459         Add completion for command `ag'.
5460         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5461         (pcomplete/ag): New function.
5462         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
5464 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5466         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5467         (bug#14646).
5468         (make-obsolete): Remove interactive spec.
5470 2013-11-21  Glenn Morris  <rgm@gnu.org>
5472         * startup.el (command-line-1): Use path-separator with -L.
5474 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
5476         * emacs-lisp/package.el (describe-package-1): Add package archive
5477         to shown fields.
5479 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
5481         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5482         Change default to "# encoding: %s" to differentiate it from the
5483         default Ruby encoding comment template.
5485 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
5487         * ses.el (ses-mode): Doc fix.  (Bug#14748)
5489 2013-11-20  Leo Liu  <sdl.web@gmail.com>
5491         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
5493 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
5495         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5496         when rebase or bisect are in progress.
5498 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
5500         * filenotify.el (file-notify-add-watch): Doc fix.
5502 2013-11-19  Leo Liu  <sdl.web@gmail.com>
5504         * obsolete/rcompile.el: Mark obsolete.
5506         * progmodes/compile.el (compilation-start)
5507         (compilation-goto-locus, compilation-find-file):
5508         Pass no-display-ok and handle nil value from display-buffer.
5509         (Bug#13594)
5511         * window.el (display-buffer-alist, display-buffer): Document the
5512         new parameter no-display-ok.  Return either a window or nil
5513         but never a non-window value.
5515 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5517         * electric.el (electric-indent-mode-map): Remove.
5518         (electric-indent-mode): Change the global-map instead (bug#15915).
5520         * textmodes/text-mode.el (paragraph-indent-minor-mode):
5521         Use add-function.
5523 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5525         * emacs-lisp/nadvice.el (remove-function): Align with
5526         add-function's behavior.
5528         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5529         (gdb--string-regexp): New constant.
5530         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5531         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5532         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5533         submatch 1.
5534         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5535         Adjust use accordingly.
5536         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5538 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
5540         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5541         interpolation curlies (Bug#15914).
5543 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
5545         * calc/calc.el (calc-context-sensitive-enter): New variable.
5546         (calc-enter): Use `calc-context-sensitive-enter'.
5548 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
5550         * progmodes/cfengine.el: Version bump.
5551         (cfengine-cf-promises): New defcustom to locate cf-promises.
5552         (cfengine3-vartypes): Add new "data" type.
5553         (cfengine3--current-word): New function to get current name-like
5554         word or its bounds.
5555         (cfengine3--current-function): New function to look up a CFEngine
5556         function's definition.
5557         (cfengine3-format-function-docstring): New function.
5558         (cfengine3-make-syntax-cache): New function.
5559         (cfengine3-documentation-function): New function: ElDoc glue.
5560         (cfengine3-completion-function): New function: completion glue.
5561         (cfengine3-mode): Set `compile-command',
5562         `eldoc-documentation-function', and add to
5563         `completion-at-point-functions'.
5565 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
5567         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5568         `tramp-current-connection'.
5570 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
5572         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5573         nil/self/true/false with "end of symbol".
5575 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
5577         * subr.el (version-regexp-alist): Fix a typo.
5579 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
5581         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5582         "en_US.utf8" and "LC_CTYPE" to "".
5583         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5584         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5586 2013-11-15  Leo Liu  <sdl.web@gmail.com>
5588         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
5590 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5592         * progmodes/gud.el (ctl-x-map):
5593         Remove C-x SPC binding.  (Bug#12342)
5594         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5596 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
5598         * subr.el (version-regexp-alist):
5599         Recognize hg, svn and darcs versions as snapshot versions.
5601         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5602         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5603         (ruby--encoding-comment-required-p): Extract from
5604         `ruby-mode-set-encoding'.
5605         (ruby-mode-set-encoding): Add the ability to always insert an
5606         utf-8 encoding comment.  Fix and simplify coding comment update
5607         logic.
5609 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
5611         * net/tramp-gvfs.el (top): Run init code only when
5612         `tramp-gvfs-enabled' is not nil.
5613         (tramp-gvfs-enabled): Check also :system bus.
5615 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5617         Sync with upstream verilog-mode revision 78e66ba.
5618         * progmodes/verilog-mode.el (verilog-end-of-defun)
5619         (verilog-type-completion, verilog-get-list): Remove unused funcs.
5620         (verilog-get-end-of-defun): Remove unused argument.
5621         (verilog-comment-depth): Remove unused local `e'.
5622         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5623         Don't pass arg to verilog-get-end-of-defun.
5625 2013-11-14  Glenn Morris  <rgm@gnu.org>
5627         * obsolete/assoc.el (aget): Prefix dynamic variable.
5629         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5631 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5633         * widget.el, hfy-cmap.el: Remove bogus package version number.
5635 2013-11-13  Glenn Morris  <rgm@gnu.org>
5637         * replace.el (replace-eval-replacement):
5638         Try to give more helpful error message.  (Bug#15836)
5640         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5641         (archive-7z-update): Avoid custom type mismatches.
5643         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5645 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
5647         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5648         address can be empty.
5650         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5651         Accept nil SWITCHES.
5652         (tramp-gvfs-handle-write-region): Implement APPEND.
5654 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
5656         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5657         binary "|" operator and closing block args delimiter.
5658         Remove FIXME comment referring to Ruby 1.8-only syntax.
5659         (ruby-smie--implicit-semi-p): Not after "|" operator.
5660         (ruby-smie--closing-pipe-p): New function.
5661         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5662         (ruby-smie-rules): Indent after "|".
5664 2013-11-12  Glenn Morris  <rgm@gnu.org>
5666         * ps-print.el (ps-face-attribute-list):
5667         Handle anonymous faces.  (Bug#15827)
5669 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
5671         * window.el (display-buffer-other-frame): Fix doc-string.
5672         (Bug#15868)
5674 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5676         * subr.el (force-mode-line-update): Delete, move to buffer.c.
5678 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
5680         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5681         (tramp-sh-handle-file-local-copy): Don't write a message when
5682         saving temporary files.
5684         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5685         both directories are remote.
5686         (tramp-smb-handle-directory-files): Do not return double entries.
5687         Do not expand full file names.
5688         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5689         (tramp-smb-handle-write-region): Implement APPEND.
5690         (tramp-smb-get-stat-capability): Fix a stupid bug.
5692 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5694         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5696 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
5698         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5699         throwing error over malformed let/let* (bug#15814).
5701 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5703         * iswitchb.el (iswitchb-mode): Mark obsolete.
5705 2013-11-11  Glenn Morris  <rgm@gnu.org>
5707         * international/uni-bidi.el, international/uni-category.el:
5708         * international/uni-name.el, international/uni-numeric.el:
5709         Regenerate for Unicode 6.3.0.
5711 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
5713         * net/tramp.el (tramp-methods):
5714         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5715         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5717 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
5719         * progmodes/sh-script.el (sh-font-lock-keywords-var):
5720         Force highlighting text after Summary keyword in doc face for rpm.
5722 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
5724         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5725         available and the word has no wildcards, append one to the grep pattern.
5726         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5727         (ispell-complete-word): Call `ispell-lookup-words' with the value
5728         independent of `ispell-look-p'.
5730 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
5732         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5733         Not after "||".
5734         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5735         their parent.
5737 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5739         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
5740         (ruby-font-lock-keywords): Use backquote.
5742 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
5744         * progmodes/ruby-mode.el (ruby-smie--forward-token)
5745         (ruby-smie--backward-token): Only consider full-string matches.
5747 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
5749         * faces.el (describe-face): Add distant-foreground.
5751 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
5753         * progmodes/ruby-mode.el: Improve encoding comment handling.
5754         (ruby-encoding-magic-comment-style): New option.
5755         (ruby-custom-encoding-magic-comment-template): New option.
5756         (ruby--insert-coding-comment, ruby--detect-encoding):
5757         New functions extracted from `ruby-mode-set-encoding'.
5758         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5759         to control the style of the auto-inserted encoding comment.
5761 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
5763         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5764         Use `smie-backward-sexp' with token argument.
5766 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
5768         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5769         Remove instrumentation code.
5771 2013-11-08  Glenn Morris  <rgm@gnu.org>
5773         * progmodes/autoconf.el (autoconf-mode):
5774         Tweak comment-start-skip.  (Bug#15822)
5776 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5778         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5779         at bobp (bug#15826).
5780         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5782 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
5784         * man.el (Man-start-calling): New macro, extracted from
5785         Man-getpage-in-background.
5786         (Man-getpage-in-background): Use it.
5787         (Man-update-manpage): New command.
5788         (Man-mode-map): Bind it.
5790 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
5792         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5793         of "and", "or", "&&" and "||".
5794         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5795         argument.  Prohibit opening curly brace because it could only be a
5796         block opener in that position.
5797         (ruby-smie--forward-token, ruby-smie--backward-token):
5798         Separate "|" from "&" or "*" going after it.  That can happen in block
5799         arguments.
5800         (ruby-smie--indent-to-stmt): New function, seeks the end of
5801         previous statement or beginning of buffer.
5802         (ruby-smie-rules): Use it.
5803         (ruby-smie-rules): Check if there's a ":" before a curly block
5804         opener candidate; if there is, it's a hash.
5806 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5808         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5809         (cl--block-wrapper): Fix last accidental change.
5811 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
5813         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5814         Instrument, in order to hunt failure on hydra.
5816 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
5818         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5819         malformed bindings form (bug#15814).
5821 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
5823         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5824         "." compared to " @ ".  This incidentally fixes some indentation
5825         examples with "do".
5826         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5827         (ruby-smie-grammar): New tokens: "and" and "or".
5828         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5829         Exclude "and" and "or".  Remove "do" in order to work around token
5830         priorities.
5831         (ruby-smie-rules): Add all infix tokens.  Handle the case of
5832         beginning-of-buffer.
5834 2013-11-06  Glenn Morris  <rgm@gnu.org>
5836         * Makefile.in (setwins_almost, setwins_for_subdirs):
5837         Avoid accidental matches.
5839 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5841         * menu-bar.el (popup-menu): Use key-binding.
5843 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
5845         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5846         menus, support also the menus produced by minor modes.
5847         (Bug#15817)
5849 2013-11-06  Leo Liu  <sdl.web@gmail.com>
5851         * thingatpt.el (thing-at-point-looking-at): Add optional arg
5852         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
5854 2013-11-06  Glenn Morris  <rgm@gnu.org>
5856         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5857         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5858         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5860 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5862         * electric.el (electric-indent-just-newline): New command.
5863         (electric-indent-mode-map): New keymap.
5864         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5865         Re-add :group which weren't redundant.
5867         * electric.el (electric-indent-local-mode): New minor mode.
5868         (electric-indent-functions-without-reindent): New var.
5869         (electric-indent-post-self-insert-function): Use it.
5870         * emacs-lisp/gv.el (buffer-local-value): Add setter.
5872 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
5874         * international/quail.el (quail-help): Be more explicit about the
5875         meaning of the labels shown on the keys.  (Bug#15800)
5877         * startup.el (normal-top-level): Load the subdirs.el files before
5878         setting the locale environment.  (Bug#15805)
5880 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5882         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5883         via arguments so as to get the right ones (bug#15418).
5885         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5887 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
5889         Fix problems found while writing a test suite.
5891         * net/tramp-compat.el (tramp-compat-load): New defun.
5892         * net/tramp.el (tramp-handle-load): Use it.
5894         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5895         "(numberp ok-if-already-exists)" correctly.
5897 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
5899         * international/characters.el (glyphless-char-display-control):
5900         Add usage note.
5902 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
5904         * progmodes/python.el (python-mode):
5905         * progmodes/scheme.el (scheme-mode):
5906         * progmodes/prolog.el (prolog-mode):
5907         * progmodes/ruby-mode.el (ruby-mode):
5908         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5909         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
5911 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5913         * rect.el (rectangle--highlight-for-redisplay):
5914         * emacs-lisp/smie.el (smie--next-indent-change):
5915         Use buffer-chars-modified-tick.
5917         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5919         * electric.el (electric-indent-post-self-insert-function):
5920         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5922 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
5924         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5926 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
5928         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5929         (bug#15786).
5931 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5933         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
5935         * progmodes/python.el: Fix up last change.
5936         (python-shell--save-temp-file): New function.
5937         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
5938         `string' comes from the current buffer.
5939         (python-shell-send-string-no-output): Remove `msg' arg.
5940         (python--use-fake-loc): New var.
5941         (python-shell-buffer-substring): Obey it.  Try to compensate for the
5942         extra coding line added by python-shell--save-temp-file.
5943         (python-shell-send-region): Use python-shell--save-temp-file and
5944         python-shell-send-file directly.  Add `nomain' argument.
5945         (python-shell-send-buffer): Use python-shell-send-region.
5946         (python-electric-pair-string-delimiter): New function.
5947         (python-mode): Use it.
5949 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
5951         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5952         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5953         environment and decoding all of the default-directory's to here
5954         from command-line.
5955         (command-line): Decode also argv[0].
5957         * loadup.el: Error out if default-directory is a multibyte string
5958         when we are dumping.
5960         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
5962 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
5964         * emacs-lisp/package.el (package-menu-mode)
5965         (package-menu--print-info, package-menu--archive-predicate):
5966         Add Archive column to package list.
5968 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
5970         Fix problems found while writing a test suite.
5972         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5973         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5974         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5975         to nil when running original file name handler.  Otherwise,
5976         there are problems with constructs like "$$FOO".
5978         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5979         for `localname'.
5981 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
5983         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5985         * subr.el (version<, version<=, version=):
5986         Update docstrings with information for snapshot versions.
5988         * helpers.el: New library for misc helper functions.
5989         (hash-table-keys): New function returning a list of hash keys.
5990         (hash-table-values): New function returning a list of hash values.
5992 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
5994         * progmodes/ruby-mode.el (ruby-smie--forward-token)
5995         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5997 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
5999         * textmodes/fill.el (fill-single-char-nobreak-p): New function
6000         checking whether point is after a 1-letter word.
6002 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6004         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6005         Don't infloop when expanding region over `multiline' syntax-type that
6006         begins a line (bug#15778).
6008 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6010         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6011         Make it into a proper minor mode.
6012         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6013         (rectangle-mark-mode-map): New keymap.
6014         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6016 2013-11-04  Glenn Morris  <rgm@gnu.org>
6018         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6020 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6022         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6023         (ruby-smie-rules): Use smie-rule-parent instead.
6025         * emacs-lisp/smie.el (smie-rule-parent): Always call
6026         smie-indent-virtual rather than only for hanging tokens.
6027         (smie--next-indent-change): New helper command.
6029 2013-11-03  Glenn Morris  <rgm@gnu.org>
6031         * Makefile.in (abs_srcdir): Remove.
6032         (emacs): Unset EMACSLOADPATH.
6034 2013-11-02  Glenn Morris  <rgm@gnu.org>
6036         * Makefile.in (EMACS): Use a relative filename.
6037         (abs_top_builddir): Remove.
6038         (custom-deps, finder-data, autoloads): Use --chdir.
6040         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6042         Use relative filenames in TAGS files.
6043         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6044         (lisptagsfiles4, TAGS): Use relative file names.
6045         (TAGS-LISP): Remove.
6046         (maintainer-clean): No more TAGS-LISP file.
6048         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6049         (lisptagsfiles4): Use absolute filenames again.
6050         (TAGS, TAGS-LISP): Not everything needs to run in one line.
6051         Remove all *loaddefs files, not just the first.  Remove esh-groups.
6052         (maintainer-clean): Delete TAGS, TAGS-LISP.
6054 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
6056         * emacs-lisp/package.el (package-version-join):
6057         Recognize snapshot versions.
6059 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
6061         * subr.el (version-regexp-alist): Add support for snapshot versions.
6063 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
6065         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6066         New function, replacement for `smie-rule-parent' for when we want to
6067         skip over our direct parent if it's an assignment token..
6068         (ruby-smie-rules): Use it.
6070 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
6072         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6073         unconditionally.  Remove now unnecessary forward declarations.
6074         Remove XEmacs-specific setup.
6075         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6076         (ruby-font-lock-syntactic-keywords)
6077         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6078         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6079         (ruby-here-doc-end-syntax): Remove.
6080         (ruby-mode): Don't check whether `syntax-propertize-rules' is
6081         defined as function.
6083 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
6085         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6087 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
6089         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6090         table and abbrev table, `define-derived-mode' does that for us
6091         anyway.
6093 2013-11-01  Glenn Morris  <rgm@gnu.org>
6095         * Makefile.in: Remove manual mh-e dependencies (writing .elc
6096         files is atomic for some time, so no parallel compilation issues).
6098 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
6100         * faces.el (face-x-resources): Add :distant-foreground.
6101         (region): Use :distant-foreground for gtk and ns.
6103 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
6105         Allow multiple bibliographies when BibLaTeX is used rather than
6106         BibTeX.
6107         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6108         (reftex-locate-bibliography-files): Us it.
6110 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
6112         * image.el (image-type-header-regexps): Fix the 'pbm' part to
6113         allow comments in pbm files.
6115         * term/w32-win.el (dynamic-library-alist): Support newer versions
6116         of libjpeg starting with v7: look only for the DLL from the
6117         version against which Emacs was built.
6118         Support versions of libpng beyond 1.4.x.
6119         Support libtiff v4.x.
6121 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
6123         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6124         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6125         Add property :safe.
6126         (ruby-deep-arglist): Add property :type.
6128 2013-10-31  Glenn Morris  <rgm@gnu.org>
6130         * Makefile.in (custom-deps, finder-data): No need to setq the target
6131         variables, we are in the right directory and the defaults work fine.
6133 2013-10-30  Glenn Morris  <rgm@gnu.org>
6135         * Makefile.in (autoloads): Do not use abs_lisp.
6137         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6138         `newline' does not respect `standard-output', so use `princ'.
6140 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
6142         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
6143         * buff-menu.el (Buffer-menu--unmark): New function.
6144         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6146 2013-10-30  Glenn Morris  <rgm@gnu.org>
6148         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6150         * emacs-lisp/package.el (lm-homepage): Declare.
6152         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6153         Fix doc typos.
6155         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6157         * Makefile.in (finder-data, autoloads, update-subdirs)
6158         (compile-main, compile-clean, compile-always, bootstrap-clean):
6159         Check return value of cd.
6160         (compile-calc): Remove.
6162 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6164         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6166         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6167         (byte-compile-and-folded): New function.
6168         (=, <, >, <=, >=): Use it.
6170         * dos-w32.el (minibuffer-history-case-insensitive-variables)
6171         (path-separator, null-device, buffer-file-coding-system)
6172         (lpr-headers-switches): Check system-type before modifying them.
6173         (find-buffer-file-type-coding-system): Mark obsolete.
6174         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6175         find-file-not-found-set-buffer-file-coding-system.
6176         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6177         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6178         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6179         (w32-direct-print-region-helper, w32-direct-print-region-function)
6180         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6181         * startup.el (normal-top-level-add-subdirs-to-load-path):
6182         * ps-print.el (ps-print-region-function):
6183         * lpr.el (print-region-function): Use new name.
6185         * subr.el (custom-declare-variable-early): Remove function.
6186         (custom-declare-variable-list): Remove var.
6187         (error, user-error): Remove `while' loop.
6188         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6189         (user-emacs-directory-warning, locate-user-emacs-file):
6190         Move to files.el.
6191         * simple.el (read-quoted-char-radix, read-quoted-char):
6192         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6193         Move from subr.el.
6194         * custom.el (custom-declare-variable-list): Don't process
6195         custom-declare-variable-list.
6197         * progmodes/python.el (python-shell-get-buffer): New function.
6198         (python-shell-get-process): Use it.
6199         (python-shell-send-string): Always use utf-8 and add a cookie to tell
6200         Python which encoding was used.  Don't split-string since we only care
6201         about the first line.  Return the temp-file, if applicable.
6202         (python-shell-send-region): Tell compile.el how to turn locations in
6203         the temp-file into locations in the source buffer.
6205 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6207         * subr.el (undefined): Add missing behavior from the C code for
6208         unbound keys.
6210         * rect.el: Use lexical-binding.  Add new rectangular region support.
6211         (rectangle-mark): New command.
6212         (rectangle--region): New var.
6213         (deactivate-mark-hook): Reset rectangle--region.
6214         (rectangle--extract-region, rectangle--insert-for-yank)
6215         (rectangle--highlight-for-redisplay)
6216         (rectangle--unhighlight-for-redisplay): New functions.
6217         (region-extract-function, redisplay-unhighlight-region-function)
6218         (redisplay-highlight-region-function): Use them to handle
6219         rectangular region.
6220         * simple.el (region-extract-function): New var.
6221         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6222         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6223         (kill-region): Replace obsolete `yank-handler' arg with `region'.
6224         (copy-region-as-kill, kill-ring-save): Add `region' argument.
6225         (redisplay-unhighlight-region-function)
6226         (redisplay-highlight-region-function): New vars.
6227         (redisplay--update-region-highlight): New function.
6228         (pre-redisplay-function): Use it.
6229         (exchange-point-and-mark): Don't deactivate the mark before
6230         reactivate-it anyway.
6231         * comint.el (comint-kill-region): Remove yank-handler argument.
6232         * delsel.el (delete-backward-char, backward-delete-char-untabify)
6233         (delete-char): Remove property, since it's now part of their
6234         default behavior.
6235         (self-insert-iso): Remove property since this command doesn't exist.
6237         * emacs-lisp/package.el (package--download-one-archive)
6238         (describe-package-1): Don't query the user about final newline.
6240 2013-10-29  Daniel Colascione  <dancol@dancol.org>
6242         * net/tramp.el (tramp-methods): Document new functionality.
6243         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6244         tramp-hostname-checker if method provides one instead of scanning
6245         argument list for "%h" to decide hostname acceptability.
6247 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
6249         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6250         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6251         Handle COPY-CONTENTS.  (Bug#15737)
6253 2013-10-28  Daiki Ueno  <ueno@gnu.org>
6255         * epa-file.el
6256         (epa-file-cache-passphrase-for-symmetric-encryption):
6257         Document that this option has no effect with GnuPG 2.0 (bug#15552).
6259 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
6261         * image.el (defimage, image-load-path): Doc fixes.
6263 2013-10-27  Alan Mackenzie  <acm@muc.de>
6265         Indent statements in macros following "##" correctly.
6266         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6267         Modify the "#" arm of a cond form to handle "#" and "##" operators.
6269 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
6271         * linum.el (linum-update-window): Fix boundary test (bug#13446).
6273 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
6275         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6276         after `=' is probably a new expression.
6278 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6280         * man.el (man-imenu-title): New option.
6281         (Man-mode-map): Add menu.  (Bug#15722)
6282         (Man-mode): Add imenu to menu.
6284 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
6286         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6287         specific in what the first arg can be: a non-keyword word,
6288         string/regexp/percent literal opener, opening paren, or unary
6289         operator followed directly by word.
6291 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6293         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6294         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6295         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6296         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6297         Remove vars, they do not apply any more.
6298         (prolog-mode-abbrev-table): Remove redundant declaration.
6299         (prolog-upper-case-string, prolog-lower-case-string): Remove.
6300         (prolog-use-smie): Remove.
6301         (prolog-smie-rules): Add indentation rule for the if-then-else layout
6302         supported by prolog-electric-if-then-else-flag.
6303         (prolog-mode-variables, prolog-menu): Use setq-local.
6304         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6305         Remove binding to `Backspace' since this key doesn't exist anyway.
6306         Remove bindings for electric self-inserting keys.
6307         (prog-mode): Assume it's defined.
6308         (prolog-post-self-insert): New function.
6309         (prolog-mode): Use it.
6310         (prolog-indent-line, prolog-indent-level)
6311         (prolog-find-indent-of-matching-paren)
6312         (prolog-indentation-level-of-line, prolog-goto-comment-column)
6313         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6314         (prolog-goto-next-paren, prolog-in-string-or-comment)
6315         (prolog-tokenize, prolog-inside-mline-comment)
6316         (prolog-find-start-of-mline-comment): Remove functions.
6317         (prolog-find-unmatched-paren, prolog-clause-end)
6318         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6319         (prolog-electric--if-then-else): Rename from
6320         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6321         (prolog-tokenize-searchkey): Remove const.
6322         (prolog-clause-info): Use forward-sexp.
6323         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6324         (prolog-electric-if-then-else): Remove commands.
6325         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6326         for use in post-self-insert-hook.
6327         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6328         for use in post-self-insert-hook.
6329         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6330         for use in post-self-insert-hook.
6331         (prolog-electric--underscore): Rename from prolog-electric--underscore;
6332         adapt it for use in post-self-insert-hook.
6334 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
6336         * emacs-lisp/ert.el (ert-run-tests-interactively):
6337         Use `completing-read'.  (Bug#9756)
6339 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
6341         * simple.el (line-move): Call line-move-1 instead of
6342         line-move-visual when the current window hscroll is zero, but
6343         temporary-goal-column indicates we will need to hscroll as result
6344         of the movement.  (Bug#15712)
6346 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
6348         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6349         capitalization.  Use :visible instead of :active.
6350         Fix `ruby-indent-exp' reference.  Add menu items for the generic
6351         commands that are used with SMIE.
6352         (ruby-do-end-to-brace): Insert space after `{'.
6354 2013-10-25  John Anthony  <john@jo.hnanthony.com>
6356         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
6358         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
6360 2013-10-25  Glenn Morris  <rgm@gnu.org>
6362         * vc/vc.el (vc-print-log): Don't use a working revision unless
6363         one was explicitly specified.  (Bug#15322)
6365 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6367         * subr.el (add-to-list): Preserve return value in compiler-macro
6368         (bug#15692).
6370 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6372         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6373         result.  Ask user to retry using '-all' flag.  (Bug#15701)
6375 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6377         * emacs-lisp/smie.el: New smie-config system.
6378         (smie-config): New defcustom.
6379         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6380         (smie-config-guess, smie-config-save): New commands.
6381         (smie-config--mode-local, smie-config--buffer-local)
6382         (smie-config--trace, smie-config--modefuns): New vars.
6383         (smie-config--advice, smie-config--mode-hook)
6384         (smie-config--setter, smie-config-local, smie-config--get-trace)
6385         (smie-config--guess-value, smie-config--guess): New functions.
6386         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6387         text properties.  Treat "string fence" syntax like string syntax.
6389         * progmodes/sh-script.el (sh-use-smie): Change default.
6390         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6391         (sh-var-value): Simplify by CSE.
6392         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6393         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6394         is used.
6395         (sh-guess-basic-offset): Use cl-incf.
6396         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6398 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
6400         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6401         (bug#15699).
6403 2013-10-24  Glenn Morris  <rgm@gnu.org>
6405         * Makefile.in (abs_top_srcdir): Remove.
6406         (update-subdirs): Use relative path to update-subdirs.
6408 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
6410         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6411         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6412         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6413         Call unmsys--file-name before expand-file-name, not after it.
6415 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
6417         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6418         (ert-test-skipped): New error.
6419         (ert-skip, ert-stats-skipped): New defuns.
6420         (ert--skip-unless): New macro.
6421         (ert-test-skipped): New struct.
6422         (ert--run-test-debugger, ert-test-result-type-p)
6423         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6424         (ert--stats-set-test-and-result, ert-char-for-test-result)
6425         (ert-string-for-test-result, ert-run-tests-batch)
6426         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6427         Handle skipped tests.  (Bug#9803)
6429 2013-10-24  Glenn Morris  <rgm@gnu.org>
6431         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6433         * Makefile.in (abs_top_srcdir): New, set by configure.
6434         (update-subdirs): Correct build-aux location.
6436 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
6438         * vc/vc.el (vc-print-root-log): Always set `default-directory'
6439         value, whether we could auto-deduce `backend', or not.
6441         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6442         with parameters" example.  Simplify the "is it block or is it
6443         hash" check, but also make it more thorough.
6445 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
6447         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
6449 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6451         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6452         { if it is hanging.
6454         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6455         :before ";".
6457 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
6459         * progmodes/compile.el (compilation-directory-matcher)
6460         (compilation-page-delimiter):
6461         Support GNU Make-4.0 directory quoting.  (Bug#15678)
6463 2013-10-23  Leo Liu  <sdl.web@gmail.com>
6465         * ido.el (ido-tidy): Handle read-only text.
6467 2013-10-23  Glenn Morris  <rgm@gnu.org>
6469         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6470         (emacs, compile, compile-always):
6471         Quote entities that might contain whitespace.
6472         (custom-deps, finder-data, autoloads): Use abs_lisp.
6473         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6474         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6475         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6477 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
6479         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6480         Use `following-char'.
6482 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6484         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6485         * progmodes/ruby-mode.el (ruby-smie-rules):
6486         Remove corresponding workaround.  Fix indentation rule of ";" so it
6487         also applies when ";" is the parent.
6489 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
6491         * frame.el (display-screens, display-pixel-height)
6492         (display-pixel-width, display-mm-width, display-backing-store)
6493         (display-save-under, display-planes, display-color-cells)
6494         (display-visual-class, display-monitor-attributes-list):
6495         Mention the optional ‘display’ argument in doc strings.
6497 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
6499         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6500         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
6502 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
6504         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6505         TODO.  Add "." after " @ ".
6506         (ruby-smie--at-dot-call): New function.  Checks if point at method
6507         call with explicit target.
6508         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6509         to the method name tokens when it precedes them.
6510         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6511         (ruby-smie-rules): Add rule for indentation before and after "."
6512         token.
6514 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6516         * textmodes/remember.el (remember-diary-extract-entries):
6517         Avoid add-to-list.
6519         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6520         an instruction.
6522 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
6524         * progmodes/ruby-mode.el (ruby-smie-grammar):
6525         Add (almost) all infix operators.
6526         (ruby-smie--implicit-semi-p): Add new operator chars.
6528         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6529         `smie-down-list'.
6530         (ruby-smie--args-separator-p): Check that there's no newline
6531         between method call and its arguments.
6533 2013-10-20  Alan Mackenzie  <acm@muc.de>
6535         Allow comma separated lists after Java "implements".
6537         * progmodes/cc-engine.el (c-backward-over-enum-header):
6538         Parse commas.
6539         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6540         from a "disallowed" list in enum fontification.
6542 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
6544         * startup.el (default-frame-background-mode): Remove unused defvar.
6546         * progmodes/verilog-mode.el (verilog-mode): Don't set
6547         comment-indent-function globally.
6549 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
6551         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6552         Move Info menu item creation to ns-win.el.
6554         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6555         in menu bar.
6557         * menu-bar.el: Move GNUstep specific menus...
6559         * term/ns-win.el (ns-initialize-window-system): ... to here.
6561 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6563         * simple.el (newline): Only run post-self-insert-hook when
6564         called interactively.
6566 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
6568         * icomplete.el (icomplete-with-completion-tables): Add :version.
6570 2013-10-19  Alan Mackenzie  <acm@muc.de>
6572         Fix fontification bugs with constructors and const.
6574         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6575         CASE 2) Remove the check for the absence of a suffix construct
6576         after a function declaration with only types (no identifiers) in
6577         the parentheses.  Also, accept a function declaration with just a
6578         type inside the parentheses, if this type can be positively
6579         recognised as such, or if a prefix keyword like "explicit" nails
6580         down the construct as a declaration.
6582 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
6584         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6585         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
6586         the problem whereby selecting a menu item that leads to a
6587         minibuffer prompt moves the cursor out of the minibuffer window,
6588         making it hard to type at the prompt.  Suggested by Stefan Monnier
6589         <monnier@iro.umontreal.ca>.
6591 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
6593         * menu-bar.el: Don't make Services menu.
6595 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6597         * ffap.el: Handle "/usr/include/c++/<version>" directories.
6598         (ffap-alist): Use ffap-c++-mode for c++-mode.
6599         (ffap-c++-path): New variable.
6600         (ffap-c++-mode): New function.
6602 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
6604         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
6606 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
6608         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6609         introduced on 2013-09-08, which results in an infinite loop
6610         requesting a password.
6612 2013-10-18  Glenn Morris  <rgm@gnu.org>
6614         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6616 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
6618         Sync with upstream verilog-mode revision 1a6ecec7.
6619         * progmodes/verilog-mode.el (verilog-mode-version): Update.
6620         (verilog-mode-release-date): Remove.
6621         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6622         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6623         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6624         (verilog-auto-tieoff-ignore-regexp)
6625         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6626         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6627         (verilog-signals-with, verilog-dir-cache-preserving)
6628         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6629         Doc fixes.
6630         (verilog-case-fold): New option, to control case folding in
6631         regexp searches, bug597.
6632         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6633         (verilog-string-match-fold, verilog-in-paren-count)
6634         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6635         (verilog-at-close-struct-p): New functions.
6636         (verilog-beg-block-re-ordered, verilog-extended-case-re)
6637         (verilog-forward-sexp, verilog-set-auto-endcomments)
6638         (verilog-leap-to-case-head): Handle "unique0" case.
6639         (verilog-in-constraint-re): New constant.
6640         (verilog-keywords, verilog-type-font-keywords):
6641         Add some SystemVerilog 1800-2012 keywords.
6642         (verilog-label-be): Remove unimplemented argument, bug669.
6643         (verilog-batch-execute-func): When batch expanding clear
6644         create-lockfiles to prevent spurious user locks when a file ends
6645         up not changing.
6646         (verilog-calculate-indent, verilog-calc-1)
6647         (verilog-at-close-constraint-p, verilog-at-constraint-p)
6648         (verilog-do-indent): Fix indentation of nested constraints
6649         and structures.
6650         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6651         (verilog-auto-inst-param): Use verilog-string-match-fold.
6652         (verilog-read-inst-module-matcher):
6653         Fix AUTOINST on gate primitives with #1.
6654         (verilog-read-decls): Fix double-declaring user-defined typed signals.
6655         Reads all user-defined typed variables.
6656         (verilog-read-defines): Fix reading definitions inside comments, bug647.
6657         (verilog-signals-matching-regexp)
6658         (verilog-signals-not-matching-regexp, verilog-auto):
6659         Respect verilog-case-fold.
6660         (verilog-diff-report): Fix line count.
6661         (verilog-auto-assign-modport): Remove unused local `modi'.
6662         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6663         better handle multidimensional arrays.
6664         Fix packed array ports misadding bit index in AUTOINST, bug637.
6665         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6666         to not double-declare existing outputs and inputs, respectively.
6667         (verilog-template-map): Bind U to verilog-sk-uvm-component.
6668         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6669         (verilog-sk-uvm-component): New skeleton.
6670         (verilog-submit-bug-report): Add verilog-case-fold,
6671         remove verilog-mode-release-date.
6673 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
6675         * subr.el (sit-for): Call (input-pending-p t) so as to behave
6676         as before.
6678 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
6680         * textmodes/remember.el (remember): Set buffer-offer-save in
6681         remember buffers (bug#13566).
6683 2013-10-18  Daniel Colascione  <dancol@dancol.org>
6685         When evaluating forms in ielm, direct standard output to ielm
6686         buffer.  Add new ielm-return-for-effect command.  Remove trailing
6687         whitespace throughout.
6689         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6690         (ielm-return-for-effect): New command.
6691         (ielm-send-input): Accept optional `for-effect' parameter.
6692         (ielm-eval-input): Accept optional `for-effect' parameter.
6693         Bind `standard-output' to stream we create using
6694         `ielm-standard-output-impl'.  Suppress printing result when
6695         `for-effect'.
6696         (ielm-standard-output-impl): New function.
6697         (inferior-emacs-lisp-mode): Explain new features in documentation.
6699 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
6701         Code cleanup.
6703         * net/tramp.el (tramp-debug-message): Do not check for connection
6704         buffer.
6705         (tramp-message): Use "vector" connection property.
6707         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6708         (tramp-equal-remote, tramp-eshell-directory-change)
6709         * net/tramp-adb.el (tramp-adb-handle-copy-file)
6710         (tramp-adb-handle-rename-file)
6711         * net/tramp-cmds.el (tramp-list-remote-buffers)
6712         (tramp-cleanup-connection, tramp-cleanup-this-connection)
6713         * net/tramp-compat.el (tramp-compat-process-running-p)
6714         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6715         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6716         (tramp-gvfs-handle-rename-file)
6717         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6718         (tramp-set-file-uid-gid)
6719         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6720         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6721         of `file-remote-p'.
6723         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6724         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6725         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6726         (tramp-gw-open-network-stream): Suppress unrelated traces.
6728         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6729         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6730         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6731         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6732         connection property.
6734         * net/tramp-cache.el (top): Suppress traces when reading
6735         persistency file.
6737         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6738         Refactor common code.  Improve debug message.
6739         (tramp-maybe-open-connection)
6740         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6741         connection buffer too early.
6743         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6744         from `tramp-smb-actions-with-acl'.
6745         (tramp-smb-actions-set-acl): New defconst.
6746         (tramp-smb-handle-copy-directory)
6747         (tramp-smb-action-get-acl): New defun, renamed from
6748         `tramp-smb-action-with-acl'.
6749         (tramp-smb-action-set-acl): New defun.
6750         (tramp-smb-handle-set-file-acl): Rewrite.
6752 2013-10-17  Glenn Morris  <rgm@gnu.org>
6754         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
6756 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6758         * skeleton.el (skeleton-newline): Remove.
6759         (skeleton-internal-1): Use (insert "\n") instead.
6761         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6762         let-bindings.
6764         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6765         forward-sexp-function while we redo its job (bug#15613).
6767 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
6769         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6770         represented by lists.
6772 2013-10-16  Glenn Morris  <rgm@gnu.org>
6774         * tmm.el (tmm--history): New dynamic variable.
6775         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
6777 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
6779         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6780         (tramp-smb-errors): Add error messages.
6781         (tramp-smb-actions-with-acl): New defconst.
6782         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6783         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6784         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6785         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6786         (tramp-smb-get-stat-capability): Fix tests.
6788 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
6790         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6791         (bug#15580).
6793 2013-10-16  Glenn Morris  <rgm@gnu.org>
6795         * ansi-color.el (ansi-color-drop-regexp):
6796         Add 1J, 1K, 2K.  (Bug#15617)
6798         * files.el (hack-local-variables--warned-lexical): New.
6799         (hack-local-variables):
6800         Warn about misplaced lexical-binding.  (Bug#15616)
6802         * net/eww.el (eww-render): Always set eww-current-url,
6803         and update header line.  (Bug#15622)
6804         (eww-display-html): ... Rather than just doing it here.
6806 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
6808         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6809         menu navigations commands.
6811 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
6813         * progmodes/subword.el (subword-capitalize): Be careful when
6814         the search for [[:alpha:]] fails (bug#15580).
6816 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
6818         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6819         to commands that scroll the menu.
6821 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
6823         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6824         Handle methods ending with `?' and `!'.
6826 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
6828         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6829         `japanese-cp932' to `cp932' to fix the problem where saving a
6830         source file written in Shift_JIS twice would end up having
6831         `coding: japanese-cp932' which Ruby could not recognize.
6832         (ruby-mode-set-encoding): Add support for encodings mapped to nil
6833         in `ruby-encoding-map'.
6834         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6835         doesn't need to be explicitly declared in magic comment.
6836         (ruby-encoding-map): Add type declaration for better customize UI.
6838 2013-10-13  Glenn Morris  <rgm@gnu.org>
6840         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6841         Occur buffers are read-only.  http://bugs.debian.org/720775
6843         * emacs-lisp/authors.el (authors-fixed-entries):
6844         Comment out old alpha stuff.
6846 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
6848         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6849         to `after-save-hook' instead of `before-save-hook'.
6850         (ruby-mode-set-encoding): Use the value of coding system used to
6851         write the file.  Call `basic-save-buffer-1' after modifying the
6852         buffer.
6854 2013-10-13  Alan Mackenzie  <acm@muc.de>
6856         Fix indentation/fontification of Java enum with
6857         "implements"/generic.
6859         * progmodes/cc-engine.el (c-backward-over-enum-header):
6860         Extracted from the three other places and enhanced to handle generics.
6861         (c-inside-bracelist-p): Uses new function above.
6862         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6863         function above.
6864         (c-font-lock-enum-tail): Uses new function above.
6866 2013-10-13  Kenichi Handa  <handa@gnu.org>
6868         * international/mule-cmds.el (select-safe-coding-system): Remove a
6869         superfluous condition in chekcing whether a coding system is safe
6870         or not.
6872 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
6874         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
6876 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
6878         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
6880 2013-10-13  Glenn Morris  <rgm@gnu.org>
6882         * menu-bar.el (menu-bar-update-buffers):
6883         Unify Buffers menu prompt string.  (Bug#15576)
6885         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
6887         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6888         Add some entries.
6889         (authors-fixed-entries): Use accented form of name.
6891 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6893         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
6894         method calls (bug#15594).
6895         (ruby-smie--args-separator-p): New function.
6896         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6897         recognize paren-free method calls.
6899         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6900         internals of universal-argument.
6902 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
6904         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
6905         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6906         dropped menu on second mouse click on the menu bar.
6908 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6910         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6911         (explicit-shell-file-name): Declare.
6912         (sh--vars-before-point, sh--cmd-completion-table): New functions.
6913         (sh-completion-at-point-function): New function.
6914         (sh-mode): Use it.
6915         (sh-smie--keyword-p): Remove unused argument.
6916         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6917         vars.
6918         (sh-set-shell): Always setup SMIE, even if we use the
6919         old indentation code.
6921 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
6923         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6924         cases of ? and =.
6925         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
6926         predicate would return nil are almost non-existent.
6927         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6929         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6930         cache also after commands that modify the buffer but don't move
6931         point.
6933 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6935         * env.el (substitute-env-in-file-name): New function.
6936         (substitute-env-vars): Extend the meaning of the optional arg.
6938 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
6940         * term/w32-win.el (dynamic-library-alist): Define separate lists
6941         of GIF DLLs for versions before and after 5.0.0 of giflib.
6942         (Bug#15531)
6944 2013-10-10  João Távora  <joaotavora@gmail.com>
6946         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6947         not locked, use last revision and current source as
6948         defaults.  (Bug#15569)
6950 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
6952         * menu-bar.el (menu-bar-open): Don't use popup-menu if
6953         menu-bar is hidden.
6955 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
6957         * window.el (pop-to-buffer-same-window): Fix doc-string.
6958         (Bug#15492)
6960 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6962         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6964 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
6966         * calendar/icalendar.el (icalendar-import-file):
6967         Fix interactive spec.  (Bug#15482)
6969 2013-10-10  Glenn Morris  <rgm@gnu.org>
6971         * desktop.el (desktop-save): Default to saving in .emacs.d,
6972         since PWD is no longer in desktop-path by default.  (Bug#15319)
6974         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6975         now that text mode has a menu with the same entry.
6976         (menu-bar-text-mode-auto-fill): Remove now unused func.
6977         * textmodes/text-mode.el (text-mode-map):
6978         Use auto-fill help text from menu-bar.el.
6980 2013-10-10  John Anthony  <john@jo.hnanthony.com>
6982         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
6984 2013-10-09  Juri Linkov  <juri@jurta.org>
6986         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6987         instead of this-command-keys.  Add universal-argument-more and
6988         universal-argument-minus to the list of prefix commands.  (Bug#15568)
6990 2013-10-09  Glenn Morris  <rgm@gnu.org>
6992         * vc/vc-svn.el (vc-svn-create-repo):
6993         Expand paths in file://... url.  (Bug#15446)
6995         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6996         Add some entries.
6997         (authors): Remove unused local variables.
6999 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7001         * profiler.el: Create a more coherent calltree from partial backtraces.
7002         (profiler-format): Hide the tail with `invisible' so that C-s can still
7003         find the hidden elements.
7004         (profiler-calltree-depth): Don't recurse so enthusiastically.
7005         (profiler-function-equal): New hash-table-test.
7006         (profiler-calltree-build-unified): New function.
7007         (profiler-calltree-build): Use it.
7008         (profiler-report-make-name-part): Indent the calltree less.
7009         (profiler-report-mode): Add visibility specs for profiler-format.
7010         (profiler-report-expand-entry, profiler-report-toggle-entry):
7011         Expand the whole subtree when provided with a prefix arg.
7013 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
7015         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7016         iuwu-mod token.
7017         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7018         hanging iuwu-mod token.
7019         (ruby-smie--forward-token): Do not include a dot after a token in
7020         that token.
7021         (ruby-smie--backward-token): Likewise.
7023 2013-10-08  Juri Linkov  <juri@jurta.org>
7025         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7026         to isearch-other-control-char.
7027         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7028         and isearch-post-command-hook to post-command-hook.
7029         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7030         and isearch-post-command-hook from post-command-hook.
7031         (isearch-unread-key-sequence)
7032         (isearch-reread-key-sequence-naturally)
7033         (isearch-lookup-scroll-key, isearch-other-control-char)
7034         (isearch-other-meta-char): Remove functions.
7035         (isearch-pre-command-hook, isearch-post-command-hook):
7036         New functions based on isearch-other-meta-char rewritten
7037         relying on the new behavior of overriding-terminal-local-map
7038         that does not replace the local keymaps any more.  (Bug#15200)
7040 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
7042         Support menus on text-mode terminals.
7043         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7044         functionality.
7046         * tooltip.el (tooltip-mode): Don't error out on TTYs.
7048         * menu-bar.el (popup-menu, popup-menu-normalize-position):
7049         Move here from mouse.el.
7050         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7051         and arrow keys.
7052         (tty-menu-navigation-map): New map for TTY menu navigation.
7054         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7056         * frame.el (display-mouse-p): Report text-mode mouse as available
7057         on w32.
7058         (display-popup-menus-p): Report availability if mouse is
7059         available; don't condition on window-system.
7061         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7062         (tty-menu-selected-face): New faces.
7064 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7066         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7067         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7068         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7069         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7070         New constants.
7071         (lisp-mode-variables): New `elisp' argument.
7072         (emacs-lisp-mode): Use it.
7073         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7074         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7076         * indent.el: Use lexical-binding.
7077         (indent-region): Add progress reporter.
7078         (tab-stop-list): Make it implicitly extend to infinity by repeating the
7079         last step.
7080         (indent--next-tab-stop): New function to implement this behavior.
7081         (tab-to-tab-stop, move-to-tab-stop): Use it.
7083 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
7085         * indent.el (indent-rigidly--current-indentation): New function.
7086         (indent-rigidly-map): New var.
7087         (indent-rigidly): Use it to provide interactive mode (bug#8196).
7089 2013-10-08  Bastien Guerry  <bzg@gnu.org>
7091         * register.el (insert-register): Fix 2013-10-07 change.
7093 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7095         * progmodes/perl-mode.el: Use lexical-binding.
7096         Remove redundant :group args.
7097         (perl-nochange): Change default to be closer to other major modes's
7098         standard behavior.
7099         (perl-indent-line): Don't consider text on current line as a
7100         valid beginning of function from which to indent.
7102         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7103         with more than one argument (bug#15538).
7105         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7107         * vc/pcvs.el: Use lexical-binding.
7108         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7109         environment of `eval'.
7110         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7111         than a list of expressions.  Adjust callers.
7112         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7114 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
7116         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7117         case of the dot in a chained method call being on the following line.
7119 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7121         * electric.el (electric-indent-inhibit): New var.
7122         (electric-indent-post-self-insert-function): Use it.
7123         * progmodes/python.el (python-mode): Set it.
7125         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7126         open braces.
7128         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7130         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7131         (css-mode): Use electric-indent-chars.
7133         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7134         (font-lock-beg, font-lock-end): Move before first use.
7135         (nxml-mode): Use syntax-propertize-function.
7136         (nxml-after-change, nxml-after-change1): Adjust accordingly.
7137         (nxml-extend-after-change-region): Remove.
7138         * nxml/xmltok.el: Use lexical-binding.
7139         (xmltok-save): Use `declare'.
7140         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7141         * nxml/nxml-util.el: Use lexical-binding.
7142         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7143         Use `declare'.
7144         * nxml/nxml-ns.el: Use lexical-binding.
7145         (nxml-ns-save): Use `declare'.
7146         (nxml-ns-prefixes-for): Avoid add-to-list.
7147         * nxml/rng-match.el: Use lexical-binding.
7148         (rng--ipattern): Use cl-defstruct.
7149         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7150         (rng-cons-group-after, rng-subst-group-after)
7151         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7152         Use closures instead of `(lambda...).
7154 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
7156         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7157         of BEG and END.
7159         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7160         Use `tramp-handle-insert-file-contents'.
7161         (tramp-gvfs-handle-insert-file-contents): Remove function.
7163         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7164         Use `save-restriction' in order to keep markers.
7166         * net/trampver.el: Update release number.
7168 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7170         * progmodes/compile.el (compilation-parse-errors):
7171         Use compilation--put-prop.
7172         (compilation--ensure-parse): Check compilation-multiline.
7174         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7176         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7177         lexical-binding.
7179         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7181         * progmodes/ruby-mode.el: Fix recently added tests.
7182         (ruby-smie-grammar): Add - and +.
7183         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7184         (ruby-smie--backward-id): New functions.
7185         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7186         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
7187         any more.
7189 2013-10-07  Leo Liu  <sdl.web@gmail.com>
7191         * register.el (register-preview-delay)
7192         (register-preview-functions): New variables.
7193         (register-read-with-preview, register-preview)
7194         (register-describe-oneline): New functions.
7195         (point-to-register, window-configuration-to-register)
7196         (frame-configuration-to-register, jump-to-register)
7197         (number-to-register, view-register, insert-register)
7198         (copy-to-register, append-to-register, prepend-to-register)
7199         (copy-rectangle-to-register): Use register-read-with-preview to
7200         read register.  (Bug#15525)
7202 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
7204         * net/network-stream.el (network-stream-open-starttls): Don't add
7205         --insecure if it's already present, because that gnutls-cli
7206         rejects getting that parameter twice.
7208 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
7210         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7211         keyword, too.
7213 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
7215         * newcomment.el (comment-use-global-state): Change default value
7216         to t, mark obsolete (Bug#15251).
7217         (comment-beginning): In addition to `comment-to-syntax', check the
7218         value of `comment-use-global-state'.
7220 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7222         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7223         (ruby-comment-column): Follow the global default, by default.
7224         (ruby-smie-grammar): Add assignment syntax.
7225         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7226         open-paren, a comma, or a \.
7227         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7228         and line continuations.
7229         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7230         followed by implicit semi-colons.  Add rule for string concatenation
7231         and for indentation at BOB.
7232         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7234         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7235         calling next-sexp, since next-token may have skipped chars which
7236         next-sexp doesn't know should be skipped!
7238 2013-10-05  Leo Liu  <sdl.web@gmail.com>
7240         * progmodes/octave.el (octave-send-region):
7241         Call compilation-forget-errors.
7243 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
7245         * vc/vc-svn.el (vc-svn-find-admin-dir):
7246         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7247         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7248         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7249         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7251 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7253         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7255 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7257         * subr.el (read-passwd): Hide chars even when called within a context
7258         where after-change-functions is disabled (bug#15501).
7259         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7260         until we removed ourself from overriding-terminal-local-map.
7262 2013-10-04  Leo Liu  <sdl.web@gmail.com>
7264         * progmodes/octave.el (inferior-octave-mode):
7265         Call compilation-forget-errors.
7267 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
7269         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7271 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
7273         * net/secrets.el (secrets-create-collection): Add optional
7274         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
7275         dbus-call-method argument.  (Bug#15516)
7277 2013-10-04  Leo Liu  <sdl.web@gmail.com>
7279         * progmodes/octave.el (inferior-octave-error-regexp-alist)
7280         (inferior-octave-compilation-font-lock-keywords): New variables.
7281         (compilation-error-regexp-alist)
7282         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7283         (inferior-octave-mode): Use compilation-shell-minor-mode.
7285 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
7287         * minibuffer.el (completion--replace): Be careful that `end' might be
7288         a marker.
7290 2013-10-03  Daiki Ueno  <ueno@gnu.org>
7292         Add support for package signature checking.
7293         * emacs-lisp/package.el (url-http-file-exists-p)
7294         (epg-make-context, epg-context-set-home-directory)
7295         (epg-verify-string, epg-context-result-for)
7296         (epg-signature-status, epg-signature-to-string)
7297         (epg-check-configuration, epg-configuration)
7298         (epg-import-keys-from-file): Declare.
7299         (package-check-signature): New user option.
7300         (package-unsigned-archives): New user option.
7301         (package-desc): Add `signed' field.
7302         (package-load-descriptor): Set `signed' field if .signed file exists.
7303         (package--archive-file-exists-p): New function.
7304         (package--check-signature): New function.
7305         (package-install-from-archive): Check package signature.
7306         (package--download-one-archive): Check archive signature.
7307         (package-delete): Remove .signed file.
7308         (package-import-keyring): New command.
7309         (package-refresh-contents): Import default keyring.
7310         (package-desc-status): Add "unsigned" status.
7311         (describe-package-1, package-menu--print-info)
7312         (package-menu-mark-delete, package-menu--find-upgrades)
7313         (package-menu--status-predicate): Support "unsigned" status.
7315 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7317         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7318         the new compilation scheme using the new byte-codes.
7320         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7321         (byte-pophandler): New byte codes.
7322         (byte-goto-ops): Adjust accordingly.
7323         (byte-compile--use-old-handlers): New var.
7324         (byte-compile-catch): Use new byte codes depending on
7325         byte-compile--use-old-handlers.
7326         (byte-compile-condition-case--old): Rename from
7327         byte-compile-condition-case.
7328         (byte-compile-condition-case--new): New function.
7329         (byte-compile-condition-case): New function that dispatches depending
7330         on byte-compile--use-old-handlers.
7331         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7332         when we can.
7334         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7335         Optimize under `condition-case' and `catch' if
7336         byte-compile--use-old-handlers is nil.
7337         (disassemble-offset): Handle new bytecodes.
7339 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7341         * subr.el (error): Use `declare'.
7342         (decode-char, encode-char): Use advertised-calling-convention instead
7343         of the docstring to discourage use of the `restriction' arg.
7345 2013-10-03  Daiki Ueno  <ueno@gnu.org>
7347         * epg.el (epg-verify-file): Add a comment saying that it does not
7348         notify verification error as a return value nor a signal.
7349         (epg-verify-string): Ditto.
7351 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
7353         * progmodes/compile.el (compilation-start): Try globbing the arg to
7354         `cd' (bug#15417).
7356 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
7358         Sync with Tramp 2.2.8.
7360         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7361         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7362         * net/trampver.el: Update release number.
7364 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
7366         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7367         and default-process-coding-system for darwin only.
7369 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7371         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7373 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
7375         * vc/vc-git.el (vc-git-grep): Disable pager.
7377 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
7379         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7380         Use :url instead of :homepage, as per
7381         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7383         * newcomment.el (comment-beginning): When `comment-use-syntax' is
7384         non-nil, use `syntax-ppss' (Bug#15251).
7386 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7388         * progmodes/octave.el (inferior-octave-startup-file):
7389         Prefer ~/.emacs.d/init_octave.m.
7391 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
7393         * emacs-lisp/package.el (package-desc-from-define):
7394         Accept additional arguments as plist, convert them to an alist and store
7395         them in the `extras' slot.
7396         (package-generate-description-file): Convert extras alist back to
7397         plist and append to the `define-package' form arguments.
7398         (package--alist-to-plist): New function.
7399         (package--ac-desc): Add `extras' slot.
7400         (package--add-to-archive-contents): Check if the archive-contents
7401         vector is long enough, and if it is, pass its `extras' slot value
7402         to `package-desc-create'.
7403         (package-buffer-info): Call `lm-homepage', pass the returned value
7404         to `package-desc-from-define'.
7405         (describe-package-1): Render the homepage button (Bug#13291).
7407         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7408         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7410 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
7412         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7413         and default-process-coding-system to utf-8-unix (Bug#15402).
7415 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
7417         * subr.el (looking-back): Do not recommend using looking-back.
7419 2013-09-28  Alan Mackenzie  <acm@muc.de>
7421         Fix indentation/fontification of Java enum with "implements".
7423         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7424         regexp which matches "implements", etc., in Java.
7425         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7426         specifier clauses coming after "enum".
7427         * progmodes/cc-fonts.el (c-font-lock-declarations)
7428         (c-font-lock-enum-tail): Check for extra specifier clauses coming
7429         after "enum".
7431 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
7433         * faces.el (region): Change ns_selection_color to
7434         ns_selection_fg_color, add ns_selection_bg_color.
7436 2013-09-28  Leo Liu  <sdl.web@gmail.com>
7438         * progmodes/octave.el (inferior-octave-completion-table)
7439         (inferior-octave-completion-at-point): Minor tweaks.
7441         * textmodes/ispell.el (ispell-lookup-words): Rename from
7442         lookup-words.  (Bug#15460)
7443         (lookup-words): Obsolete.
7444         (ispell-complete-word, ispell-command-loop): All uses changed.
7446 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7448         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7449         (octave-mode-menu): Add octave-send-buffer.
7450         (octave-send-buffer): New function.
7452 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7454         * progmodes/octave.el (octave-mode-map): Add key binding for
7455         octave-lookfor.
7456         (octave-mode-menu): Add octave-lookfor.
7457         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7458         octave-lookfor.
7459         (octave-lookfor): New function.
7461 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7463         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7464         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7465         its convention.
7466         (cl--loop-set-iterator-function): New function.
7467         (cl-loop): Adjust accordingly, so as not to use cl-subst.
7468         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7469         Bind `it' with `let' instead of substituting it with `cl-subst'.
7470         (cl--unused-var-p): New function.
7471         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7472         Eliminate some unused variable warnings (bug#15326).
7474 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
7476         * doc-view.el (doc-view-scale-reset): Rename from
7477         `doc-view-reset-zoom-level'.
7478         (doc-view-scale-adjust): New command.
7479         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7480         `doc-view-scale-adjust'.
7482 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
7484         * doc-view.el (doc-view-reset-zoom-level): New command.
7485         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7486         zoom commands (bug#15466).
7488 2013-09-26  Kenichi Handa  <handa@gnu.org>
7490         * international/quail.el (quail-help): Make it not a command.
7492 2013-09-26  Leo Liu  <sdl.web@gmail.com>
7494         * minibuffer.el (completion-all-sorted-completions): Make args
7495         optional as they are.
7497 2013-09-25  Daniel Colascione  <dancol@dancol.org>
7499         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7500         specs are and that they're not evaluated.
7502 2013-09-24  Sam Steingold  <sds@gnu.org>
7504         * midnight.el (clean-buffer-list-kill-regexps)
7505         (clean-buffer-list-kill-buffer-names): Update for the new Man
7506         buffer naming which includes the object name.
7508 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7510         * eshell/esh-cmd.el (eshell--sep-terms): New var.
7511         (eshell-parse-command, eshell-parse-pipeline): Use it since
7512         eshell-separate-commands requires a dynamic scoped var.
7513         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7515 2013-09-23  Leo Liu  <sdl.web@gmail.com>
7517         * autoinsert.el (auto-insert-alist): Make the value of
7518         lexical-binding match its file setting.
7520 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
7522         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7524         * autoarg.el (autoarg-kp-digit-argument):
7525         * electric.el (Electric-command-loop):
7526         * kmacro.el (kmacro-step-edit-insert):
7527         Do not set universal-argument-num-events.
7529 2013-09-22  Leo Liu  <sdl.web@gmail.com>
7531         * files.el (interpreter-mode-alist): Add octave.
7533 2013-09-21  Alan Mackenzie  <acm@muc.de>
7535         C++: fontify identifier in declaration following "public:" correctly.
7536         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7537         to match "public", etc.
7538         (c-decl-prefix-re): Add ":" into the C++ value.
7539         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7540         bit.  Add a check for a ":" preceded by "public", etc.
7542 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
7544         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7545         recognized by GDB 7.5 and later.
7547 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
7549         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7551 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7553         * subr.el (internal--call-interactively): New const.
7554         (called-interactively-p): Use it (bug#3984).
7556 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
7558         * vc/pcvs.el (cvs-mode-ignore):
7559         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7560         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7562 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7564         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
7565         (eshell-ls-orig-insert-directory): Remove.
7566         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
7567         (eshell-ls-use-in-dired): Use advice-add/remove.
7568         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7569         Add `orig-fun' arg for use in :around advice.
7570         Make it check (redundantly) eshell-ls-use-in-dired.
7572 2013-09-19  Glenn Morris  <rgm@gnu.org>
7574         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7576         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7578         * emacs-lisp/eieio.el (class-parent): Undo previous change.
7580 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
7582         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7583         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7584         (tramp-get-remote-python): New defuns.
7585         (tramp-get-remote-uid-with-perl)
7586         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
7587         contributed by yary <not.com@gmail.com> (tiny change).
7588         (tramp-get-remote-uid-with-python)
7589         (tramp-get-remote-gid-with-python): New defuns.  Python code
7590         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7591         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7593 2013-09-19  Glenn Morris  <rgm@gnu.org>
7595         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7597         * eshell/em-unix.el (eshell-remove-entries):
7598         Rename argument to avoid name-clash with global `top-level'.
7600         * eshell/esh-proc.el (eshell-kill-process-function):
7601         Remove eshell-reset-after-proc from eshell-kill-hook if present.
7602         (eshell-reset-after-proc): Remove unused arg `proc'.
7604         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7605         (directory-files-and-attributes): Mark unused arg.
7607         * eshell/em-unix.el (eshell-remove-entries):
7608         Remove unused arg `path'.  Update callers.
7610         * eshell/em-hist.el (eshell-hist-parse-arguments):
7611         Remove unused arg `silent'.  Update callers.
7613         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7614         Fix (f)boundp mix-up.
7616         * eshell/em-smart.el (eshell-smart-scroll-window)
7617         (eshell-disable-after-change):
7618         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7620 2013-09-18  Alan Mackenzie  <acm@muc.de>
7622         Fix fontification of type when followed by "const".
7623         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7624         "known" types from fontification.
7626 2013-09-18  Glenn Morris  <rgm@gnu.org>
7628         * emacs-lisp/chart.el (x-display-color-cells): Declare.
7629         (chart-face-list): Drop Emacsen without display-color-p.
7631         * net/eww.el (libxml-parse-html-region): Declare.
7632         (eww-display-html): Explicit error if no libxml2 support.
7634         * doc-view.el (doc-view-mode): Silence --without-x compilation.
7636         * image.el (image-type-from-buffer, image-multi-frame-p):
7637         Remove --without-x warning/error.
7639         * mouse.el (mouse-yank-primary):
7640         * term.el (term-mouse-paste):
7641         Reorder to silence --without-x compilation.
7643         * mpc.el (doc-view-mode): Silence --without-x compilation.
7645         * mail/rmailmm.el (rmail-mime-set-bulk-data):
7646         Silence --without-x compilation.
7648         * progmodes/gud.el (gud-find-file, gud-mode):
7649         Silence --without-x compilation.
7650         (tooltip-mode): Declare.
7652         * wdired.el (dired-backup-overwrite): Remove declaration.
7653         (wdired-mode-map): Add doc string.
7655         * custom.el (x-get-resource): Declare.
7657         * eshell/em-glob.el (ange-cache):
7658         * eshell/em-unix.el (ange-cache): Declare.
7660         * faces.el (x-display-list, x-open-connection, x-get-resource):
7661         Declare.
7663         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7664         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7665         Declare.
7667         * frame.el (x-display-grayscale-p, x-display-name): Declare.
7669         * net/gnutls.el (gnutls-log-level): Declare.
7671         * net/shr.el (image-size, image-animate): Declare.
7673         * simple.el (font-info): Declare.
7675         * subr.el (x-popup-dialog): Declare.
7677         * term/common-win.el (x-select-enable-primary)
7678         (x-last-selected-text-primary, x-last-selected-text-clipboard):
7679         Declare.
7681         * term/ns-win.el (x-handle-args): Declare.
7683         * term/x-win.el (x-select-enable-clipboard): Declare.
7685         * term/w32-win.el (create-default-fontset): Declare.
7687         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7688         Declare.
7690         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7691         (fit-frame-to-buffer): Explicit error if --without-x.
7692         (mouse-autoselect-window-select): Silence compiler.
7694         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7696         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7697         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7698         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7699         * eshell/esh-util.el (eshell-sublist):
7700         Remove unused local variables.
7702         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7704         * textmodes/two-column.el: Make 2C-split work for --without-x.
7705         (scroll-bar-columns): Autoload.
7706         (top-level): Require fringe when compiling.
7708 2013-09-18  Leo Liu  <sdl.web@gmail.com>
7710         * subr.el (add-hook): Robustify to handle closure as well.
7712 2013-09-17  Glenn Morris  <rgm@gnu.org>
7714         * simple.el (messages-buffer-mode-map): Unbind "g".
7716 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7718         * help-mode.el (help-mode-finish): Use derived-mode-p.
7719         Remove obsolete highlighting.
7721         * play/life.el (life-mode): Use define-derived-mode.  Derive from
7722         special-mode.
7723         (life): Let-bind inhibit-read-only.
7724         (life-setup): Avoid `setq'.  Use `life-mode'.
7726         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7727         which should not be needed any more.
7728         (package-menu-refresh, package-menu-describe-package): Use user-error.
7730         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7731         (eshell-post-rewrite-command-hook): Make obsolete.
7732         (eshell-parse-command): Simplify.
7733         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7734         (eshell--cmd): Declare.
7735         (eshell-parse-pipeline): Remove unused var `final-p'.
7736         Pass a dynvar to eshell-post-rewrite-command-hook.
7737         Implement the new eshell-post-rewrite-command-function.
7738         (eshell-invoke-directly): Remove unused arg `input'.
7739         * eshell/esh-io.el (eshell-io-initialize):
7740         Use eshell-post-rewrite-command-function (bug#15399).
7741         (eshell--apply-redirections): Rename from eshell-apply-redirections;
7742         adjust to new calling convention.
7743         (eshell-create-handles): Rename args to avoid clashing with dynvar
7744         `standard-output'.
7746 2013-09-17  Glenn Morris  <rgm@gnu.org>
7748         * simple.el (messages-buffer-mode): New major mode.
7749         (messages-buffer): New function.
7750         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7751         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7752         (ert-run-test): Use `messages-buffer' function.
7753         (ert--force-message-log-buffer-truncation): Ignore read-only.
7754         * help.el (view-echo-area-messages): Use `messages-buffer' function.
7755         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7757 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7759         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7761         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7763 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7765         * icomplete.el (icomplete-in-buffer): New var.
7766         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7767         vars and replace them with functions.
7768         (icomplete-minibuffer-setup): Adjust accordingly.
7769         (icomplete--completion-table, icomplete--completion-predicate)
7770         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7771         New functions.
7772         (icomplete-forward-completions, icomplete-backward-completions)
7773         (icomplete-simple-completing-p, icomplete-exhibit)
7774         (icomplete-completions): Use them.
7775         (icomplete--in-region-buffer): New var.
7776         (icomplete--in-region-setup): New function.
7777         (icomplete-mode): Use it.
7779         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7780         (bug#15379).
7781         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7782         return args and options.
7783         (eshell-eval-using-options): Use the new return value of
7784         eshell--do-opts to set the options's vars in their scope.
7785         (eshell--set-option): Rename from eshell-set-option.
7786         Add arg `opt-vals'.
7787         (eshell--process-option): Rename from eshell-process-option.
7788         Add arg `opt-vals'.
7789         (eshell--process-args): Use an `opt-vals' alist to store the options's
7790         values during their processing and return them additionally to the
7791         remaining args.
7793 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
7795         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7796         continuation character an operator, as far as indentation is
7797         concerned (Bug#15369).
7799 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
7801         * window.el (window--state-put-2): Don't process buffer state
7802         when buffer doesn't exist any more (Bug#15382).
7804 2013-09-15  Glenn Morris  <rgm@gnu.org>
7806         * eshell/em-unix.el (eshell/rm):
7807         Make -f ignore missing files.  (Bug#15373)
7809         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
7810         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7811         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7813 2013-09-14  Glenn Morris  <rgm@gnu.org>
7815         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7817 2013-09-13  Glenn Morris  <rgm@gnu.org>
7819         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7820         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
7822 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
7824         * frame.el (x-focus-frame): Mark as declared in frame.c.
7826 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7828         * ls-lisp.el: Use advice-add.
7829         (original-insert-directory): Remove.
7830         (ls-lisp--insert-directory): Rename from insert-directory; add
7831         `orig-fun' argument.
7832         (insert-directory): Advise.
7834 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
7836         * term.el (term-emulate-terminal): Decode the command string
7837         before passing it to term-command-hook.  (Bug#15337)
7839 2013-09-13  Glenn Morris  <rgm@gnu.org>
7841         * eshell/esh-util.el (ange-cache): Move declaration earlier.
7843         * eshell/esh-ext.el (eshell-search-path): Declare.
7845         * eshell/em-prompt.el (eshell/pwd): Autoload it.
7846         Otherwise an error occurs if eshell-dirs module not loaded.
7848         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7850 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
7852         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7853         `tramp-check-proper-host'.  Check for a valid method name.
7855         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7856         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7857         * net/tramp-sh.el (tramp-maybe-open-connection):
7858         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7860         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7861         also for hash values.
7863 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7865         * term/ns-win.el (parameters): Don't declare as dynamic.
7866         (before-make-frame-hook): Don't add ineffective function.
7868         * eshell/*.el: Use lexical-binding (bug#15231).
7870 2013-09-12  Kenichi Handa  <handa@gnu.org>
7872         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7874 2013-09-12  Glenn Morris  <rgm@gnu.org>
7876         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7877         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7879         * subr.el (do-after-load-evaluation): Also give compiler warnings
7880         when obsolete files are used (except by obsolete files).
7882         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7883         in the status output, assume `filename' is the first.  (Bug#15322)
7885         * vc/vc.el (vc-deduce-fileset): Doc fix.
7887         * calc/calc-help.el (Info-goto-node):
7888         * progmodes/cperl-mode.el (Info-find-node):
7889         * vc/ediff.el (Info-goto-node): Update declarations.
7891         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7893         * vc/vc-bzr.el (vc-compilation-mode): Declare.
7894         (vc-bzr-pull): Require vc-dispatcher.
7895         * vc/vc-git.el (vc-compilation-mode): Declare.
7896         (vc-git-pull): Require vc-dispatcher.
7898         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7900         * progmodes/octave.el (help-button-action): Declare.
7902         * shell.el (shell-directory-tracker): Output error as a message
7903         rather than just returning it as a string.
7904         (shell-process-pushd): Remove useless use of message.
7906         * dframe.el (dframe-timer-fn):
7907         * files.el (dir-locals-read-from-file):
7908         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7909         (mpc-format):
7910         * reveal.el (reveal-post-command):
7911         * saveplace.el (load-save-place-alist-from-file):
7912         * shell.el (shell-resync-dirs):
7913         * w32-common-fns.el (x-get-selection-value):
7914         * emacs-lisp/copyright.el (copyright-find-copyright):
7915         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7916         * emulation/tpu-edt.el (tpu-copy-keyfile):
7917         * play/bubbles.el (bubbles--mark-neighbourhood):
7918         * progmodes/executable.el
7919         (executable-make-buffer-file-executable-if-script-p):
7920         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7922 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7924         Cleanup Eshell to rely less on dynamic scoping.
7925         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7926         last-value, and ext-command here.  Bind `args' closer to `body'.
7927         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7928         (eshell--args): Declare new dynamic var.
7929         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
7930         last-value, and ext-command.  Pass `args' to `body'.
7931         (eshell-process-args): Bind eshell--args.
7932         (eshell-set-option): Use eshell--args.
7933         * eshell/eshell.el (eshell): Use derived-mode-p.
7934         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7935         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7936         (eshell-glob-function): Declare.
7937         * eshell/esh-util.el: Require cl-lib.
7938         (eshell-read-hosts-file): Avoid add-to-list.
7939         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7940         `err'.
7941         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7942         Declare.
7943         (eshell/diff): Remove unused var `err'.
7944         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7945         `killflag'.
7946         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7947         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7948         first use.
7949         * eshell/em-glob.el (eshell-glob-matches, message-shown):
7950         Move declaration before first use.
7951         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7952         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7953         rely on cl-return.
7955 2013-09-12  Glenn Morris  <rgm@gnu.org>
7957         * term/ns-win.el (global-map): Remove binding for ispell-next,
7958         deleted 1999-05-29.  (Bug#15357)
7960 2013-09-11  Glenn Morris  <rgm@gnu.org>
7962         * echistory.el (electric-command-history): Remove call to deleted func.
7964         * play/landmark.el (landmark-mode): Fix typos.
7966         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7967         Check cvs-sort-ignore-file is bound.
7969         * savehist.el: No need for cl when compiling on Emacs.
7971 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7973         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7974         (bug#15338).
7975         (eshell-self-insert-command, eshell-send-invisible):
7976         Remove unused argument.
7977         (eshell-handle-control-codes): Remove unused var `orig'.
7978         Avoid delete-backward-char.
7980         * files.el (set-auto-mode): Simplify a bit further.
7982 2013-09-11  Glenn Morris  <rgm@gnu.org>
7984         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7985         (set-auto-mode): Don't regexp-quote elements.
7986         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7987         * progmodes/cc-mode.el (interpreter-mode-alist):
7988         * progmodes/ruby-mode.el (interpreter-mode-alist):
7989         Revert previous change.
7991 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7993         * play/snake.el (snake-mode):
7994         * play/mpuz.el (mpuz-mode):
7995         * play/landmark.el (lm-mode):
7996         * play/blackbox.el (blackbox-mode):
7997         * play/5x5.el (5x5-mode):
7998         * obsolete/options.el (Edit-options-mode):
7999         * net/quickurl.el (quickurl-list-mode):
8000         * net/newst-treeview.el (newsticker-treeview-mode):
8001         * mail/rmailsum.el (rmail-summary-mode):
8002         * mail/mspools.el (mspools-mode):
8003         * locate.el (locate-mode):
8004         * ibuffer.el (ibuffer-mode):
8005         * emulation/ws-mode.el (wordstar-mode):
8006         * emacs-lisp/debug.el (debugger-mode):
8007         * array.el (array-mode):
8008         * net/eudc.el (eudc-mode): Use define-derived-mode.
8009         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8010         Move initialization into declaration.
8011         (mairix-searches-mode): Use define-derived-mode.
8012         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8013         (eudc-edit-hotlist): Use dolist.
8014         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8015         (Man-mode): Use define-derived-mode.
8016         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8017         (Info-edit-mode): Use define-derived-mode.
8018         (Info-cease-edit): Use Info-mode.
8019         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8020         into declaration.
8021         (eshell-mode): Use define-derived-mode.
8022         * chistory.el (command-history-mode-map): Rename from
8023         command-history-map.
8024         (command-history-mode): Use define-derived-mode.
8025         (Command-history-setup): Remove function.
8026         * calc/calc.el (calc-trail-mode-map): New var.
8027         (calc-trail-mode): Use define-derived-mode.
8028         (calc-trail-buffer): Set calc-main-buffer manually.
8029         * bookmark.el (bookmark-insert-annotation): New function.
8030         (bookmark-edit-annotation): Use it.
8031         (bookmark-edit-annotation-mode): Make it a proper major mode.
8032         (bookmark-send-edited-annotation): Use derived-mode-p.
8033         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8034         closer to its ideal place.  Use \' to match EOS.
8036         * profiler.el (profiler-calltree-find): Use function-equal.
8038 2013-09-10  Glenn Morris  <rgm@gnu.org>
8040         * files.el (interpreter-mode-alist): Convert to regexps.
8041         (set-auto-mode): Adapt for this.  (Bug#15306)
8042         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8043         Comment out unused variable.
8044         * progmodes/cc-mode.el (interpreter-mode-alist):
8045         * progmodes/python.el (interpreter-mode-alist):
8046         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8047         * progmodes/sh-script.el (sh-set-shell):
8048         No longer use interpreter-mode-alist to get list of shells.
8050         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8052 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8054         * simple.el: Use set-temporary-overlay-map for universal-argument.
8055         (universal-argument-map): Don't use default-bindings (bug#15317).
8056         Bind switch-frame explicitly.  Replace universal-argument-minus with
8057         a conditional binding.
8058         (universal-argument-num-events, saved-overriding-map): Remove.
8059         (restore-overriding-map): Remove.
8060         (universal-argument--mode): Rename from save&set-overriding-map,
8061         and rewrite.
8062         (universal-argument, universal-argument-more, negative-argument)
8063         (digit-argument): Adjust accordingly.
8064         (universal-argument-minus): Remove.
8065         (universal-argument-other-key): Remove.
8067         * subr.el (with-demoted-errors): Add `format' argument.
8069 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
8071         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
8072         `tramp-cleanup-connection'.
8074         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8075         parameters KEEP-DEBUG and KEEP-PASSWORD.
8077         * net/tramp.el (tramp-file-name-handler):
8078         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8079         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8080         (tramp-maybe-open-connection):
8081         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8082         Use `tramp-cleanup-connection'.
8084         * net/tramp-sh.el (tramp-maybe-open-connection):
8085         Catch 'uname-changed inside the progress reporter.
8087 2013-09-10  Glenn Morris  <rgm@gnu.org>
8089         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
8091         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8092         returns "alternate access method" in mode (eg "-rw-r--r--.").
8094 2013-09-08  Glenn Morris  <rgm@gnu.org>
8096         * saveplace.el (load-save-place-alist-from-file):
8097         Demote errors.  (Bug#15305)
8099 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
8101         Improve compatibility with older Emacsen, and XEmacs.
8103         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8104         only if it is bound.  It isn't for XEmacs.
8105         (with-tramp-progress-reporter): Do not let-bind `result'.
8106         This yields to scoping errors in XEmacs.
8107         (tramp-handle-make-auto-save-file-name): New function, moved from
8108         tramp-sh.el.
8110         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8111         for `make-auto-save-file-name'.
8112         (tramp-adb--gnu-switches-to-ash):
8113         Use `tramp-compat-replace-regexp-in-string'.
8115         * net/tramp-cache.el (tramp-cache-print): Call
8116         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
8118         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8119         bound.  It isn't for XEmacs.
8121         * net/tramp-compat.el (tramp-compat-copy-file):
8122         Catch `wrong-number-of-arguments' error.
8123         (tramp-compat-replace-regexp-in-string): New defun.
8125         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8126         for `make-auto-save-file-name'.
8127         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8128         `copy-file'.
8129         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8130         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8131         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8133         * net/tramp-gw.el (tramp-gw-open-network-stream):
8134         Use `tramp-compat-replace-regexp-in-string'.
8136         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8137         Call `tramp-handle-make-auto-save-file-name'.
8138         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8139         (tramp-sh-file-gvfs-monitor-dir-process-filter)
8140         (tramp-sh-file-inotifywait-process-filter):
8141         Use `tramp-compat-replace-regexp-in-string'.
8142         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8144         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8145         for `make-auto-save-file-name'.
8146         (tramp-smb-handle-copy-directory):
8147         Call `tramp-compat-replace-regexp-in-string'.
8148         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8149         (tramp-smb-handle-copy-file): Improve error message.
8150         (tramp-smb-handle-rename-file): Rename directly only in case
8151         `newname' does not exist yet.  This is a restriction of smbclient.
8152         (tramp-smb-maybe-open-connection): Rerun the function only when
8153         `auth-sources' is non-nil.
8155 2013-09-08  Kenichi Handa  <handa@gnu.org>
8157         * international/characters.el: Set category "^" (Combining) for
8158         more characters.
8160 2013-09-07  Alan Mackenzie  <acm@muc.de>
8162         Correctly fontify Java class constructors.
8163         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8164         in Java Mode.
8165         (c-recognize-typeless-decls): Set the Java value to t.
8166         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8167         While handling a "(", add a check for, effectively, Java, and handle a
8168         "typeless" declaration there.
8170 2013-09-07  Roland Winkler  <winkler@gnu.org>
8172         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8173         field subtitle for entry type book.
8175 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8177         * minibuffer.el: Make minibuffer-complete call completion-in-region
8178         rather than other way around.
8179         (completion--some, completion-pcm--find-all-completions):
8180         Don't delay signals when debugging.
8181         (minibuffer-completion-contents): Beware fields within the
8182         minibuffer contents.
8183         (completion-all-sorted-completions): Use defvar-local.
8184         (completion--do-completion, completion--cache-all-sorted-completions)
8185         (completion-all-sorted-completions, minibuffer-force-complete):
8186         Add args `beg' and `end'.
8187         (completion--in-region-1): New fun, extracted from minibuffer-complete.
8188         (minibuffer-complete): Use completion-in-region.
8189         (completion-complete-and-exit): New fun, extracted from
8190         minibuffer-complete-and-exit.
8191         (minibuffer-complete-and-exit): Use it.
8192         (completion--complete-and-exit): Rename from
8193         minibuffer--complete-and-exit.
8194         (completion-in-region--single-word): New function, extracted from
8195         minibuffer-complete-word.
8196         (minibuffer-complete-word): Use it.
8197         (display-completion-list): Make `common-substring' argument obsolete.
8198         (completion--in-region): Call completion--in-region-1 instead of
8199         minibuffer-complete.
8200         (completion-help-at-point): Pass boundaries to
8201         minibuffer-completion-help as args rather than via an overlay.
8202         (completion-pcm--string->pattern): Use `any-delim'.
8203         (completion-pcm--optimize-pattern): New function.
8204         (completion-pcm--pattern->regex): Handle `any-delim'.
8205         * icomplete.el (icomplete-forward-completions)
8206         (icomplete-backward-completions, icomplete-completions):
8207         Adjust calls to completion-all-sorted-completions and
8208         completion--cache-all-sorted-completions.
8209         (icomplete-with-completion-tables): Default to t.
8210         * emacs-lisp/crm.el (crm--current-element): Rename from
8211         crm--select-current-element.  Don't put an overlay but return the
8212         boundaries instead.
8213         (crm--completion-command): Take two new args to bind to the boundaries.
8214         (crm-completion-help): Adjust accordingly.
8215         (crm-complete): Use completion-in-region.
8216         (crm-complete-word): Use completion-in-region--single-word.
8217         (crm-complete-and-exit): Use completion-complete-and-exit.
8219 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8221         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8222         than dynamically.
8224 2013-09-06  Juri Linkov  <juri@jurta.org>
8226         * info.el (Info-display-images-node): When image file doesn't exist
8227         display text version of the image if it's provided in the Info file.
8228         Otherwise, display the location of missing image from SRC attribute.
8229         Add help-echo text property from ALT attribute.  (Bug#15279)
8231 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8233         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8234         (edit-abbrevs-mode): Use define-derived-mode.
8236         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8237         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8238         that it's defined.
8239         (epa-key-list-mode, epa-key-mode, epa-info-mode):
8240         Use define-derived-mode.
8242         * epg.el (epg-start-encrypt): Minor CSE simplification.
8244 2013-09-06  William Xu  <william.xwl@gmail.com>
8246         * arc-mode.el: Add support for 7za (bug#15264).
8247         (archive-7z-program): New var.
8248         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8249         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8250         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8252 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
8254         Remove URL syntax.
8256         * net/tramp.el (tramp-syntax, tramp-prefix-format)
8257         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8258         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8259         (tramp-postfix-host-format, tramp-file-name-regexp)
8260         (tramp-completion-file-name-regexp)
8261         (tramp-completion-dissect-file-name)
8262         (tramp-handle-substitute-in-file-name): Remove 'url case.
8263         (tramp-file-name-regexp-url)
8264         (tramp-completion-file-name-regexp-url): Remove constants.
8266 2013-09-06  Glenn Morris  <rgm@gnu.org>
8268         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
8270 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
8272         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8273         keywords" below "here-doc beginnings" (Bug#15270).
8275 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8277         * subr.el (pop): Use `car-safe'.
8278         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8279         to detect unused `pop' return value.
8281         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8282         var `block-regexp'.
8283         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8284         (python-fill-string): Remove unused var `marker'.
8285         (python-skeleton-add-menu-items): Remove unused var `items'.
8287         * international/mule-cmds.el: Require CL.
8288         (find-coding-systems-for-charsets): Avoid add-to-list.
8289         (sanitize-coding-system-list): New function, extracted from
8290         select-safe-coding-system-interactively.
8291         (select-safe-coding-system-interactively): Use it.
8292         (read-input-method-name): Accept symbols for `default'.
8294         * emacs-lisp/advice.el (defadvice): Add indent rule.
8296 2013-09-05  Daniel Hackney  <dan@haxney.org>
8298         * dired-x.el:
8299         * net/ange-ftp.el:
8300         * net/browse-url.el:
8301         * net/dbus.el:
8302         * net/eudc.el:
8303         * net/eudcb-ldap.el:
8304         * net/eww.el:
8305         * net/imap.el:
8306         * printing.el:
8307         * vc/ediff-diff.el:
8308         * vc/ediff-init.el:
8309         * vc/ediff-merg.el:
8310         * vc/ediff-mult.el:
8311         * vc/ediff-util.el:
8312         * vc/ediff-wind.el:
8313         * vc/ediff.el:
8314         * vc/emerge.el:
8315         * vc/pcvs.el:
8316         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8317         byte compiler.  Remove some unused let-bound variables.
8319 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8321         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8322         a "ref-cell", since it gets better optimized (bug#14883).
8324 2013-09-05  Glenn Morris  <rgm@gnu.org>
8326         * progmodes/cc-awk.el (c-forward-sws): Declare.
8328 2013-09-04  Glenn Morris  <rgm@gnu.org>
8330         * generic-x.el [rul-generic-mode]: Require cc-mode.
8331         (c++-mode-syntax-table): Declare.
8332         (rul-generic-mode-syntax-table): Init in the defvar.
8334 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8336         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8337         (vc-do-command, vc-set-async-update):
8338         * vc/vc-mtn.el (vc-mtn-dir-status):
8339         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8340         (vc-hg-pull, vc-hg-merge-branch):
8341         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8342         (vc-git-merge-branch):
8343         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8344         (vc-cvs-dir-status-files):
8345         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8346         (vc-bzr-dir-status-files):
8347         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8348         * vc/vc-annotate.el: Use lexical-binding.
8349         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8350         (vc-sentinel-movepoint): Declare.
8351         (vc-annotate): Don't use `goto-line'.
8352         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8353         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8354         (vc-sentinel-movepoint): Declare.
8355         * vc/vc-svn.el: Use lexical-binding.
8356         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8357         * vc/vc-sccs.el:
8358         * vc/vc-rcs.el: Use lexical-binding.
8360         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8361         `deleted'.  Don't drop errors silently.
8363         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8365 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
8367         * vc/vc.el (vc-ignore): Rewrite.
8368         (vc-default-ignore): New function.
8369         (vc-default-ignore-completion-table): Use find-ignore-file.
8371         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8372         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8373         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8374         Remove.  Most code moved to vc.el.
8376 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8378         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8379         * net/tramp-smb.el (tramp-smb-get-file-entries):
8380         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8381         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8383         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8384         Update call to it.
8385         (eww-change-select): Remove unused var `properties'.
8386         (eww-make-unique-file-name): Remove unused var `base'.
8388         * finder.el (finder-compile-keywords): Don't mess with windows.
8390         * calculator.el (calculator-funcall): Fix typo in last change.
8392         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8394         * emacs-lisp/package.el (package-activate-1): Don't let a missing
8395         <pkg>-autoloads.el file stop us.
8397         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8398         warnings, and factor out common code.
8400 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
8402         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8403         two-character operators and whether the character preceding them
8404         changes their meaning (Bug#15208).
8406 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8408         Format code sent to Python shell for robustness.
8409         * progmodes/python.el (python-shell-buffer-substring):
8410         New function.
8411         (python-shell-send-region, python-shell-send-buffer): Use it.
8413 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
8415         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8416         * net/tramp.el (tramp-user-error): ... here.
8417         (tramp-find-method, tramp-check-proper-host)
8418         (tramp-dissect-file-name, tramp-debug-message)
8419         (tramp-handle-shell-command):
8420         * net/tramp-adb.el (tramp-adb-handle-shell-command):
8421         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8423         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8425 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
8427         * avoid.el (mouse-avoidance-point-position)
8428         (mouse-avoidance-too-close-p): Handle case where posn-at-point
8429         returns nil.
8431 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8433         * progmodes/python.el (python-shell-completion-get-completions):
8434         Drop use of deleted `comint-last-prompt-overlay'.
8435         (python-nav-if-name-main): New command.
8437 2013-09-01  Glenn Morris  <rgm@gnu.org>
8439         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8440         Avoid leading space in $wins.  Otherwise the sed command used by
8441         eg compile-main ends up containing "/*.el".  (Bug#15170)
8443         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
8445 2013-08-30  Glenn Morris  <rgm@gnu.org>
8447         * emacs-lisp/bytecomp.el (byte-recompile-directory):
8448         Fix is-this-a-directory logic.  (Bug#15220)
8450 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8452         * textmodes/css-mode.el: Use SMIE.
8453         (css-smie-grammar): New var.
8454         (css-smie--forward-token, css-smie--backward-token)
8455         (css-smie-rules): New functions.
8456         (css-mode): Use them.
8457         (css-navigation-syntax-table): Remove var.
8458         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8459         (css-indent-calculate, css-indent-line): Remove functions.
8461         Misc changes to reduce use of `(lambda...); and other cleanups.
8462         * cus-edit.el: Use lexical-binding.
8463         (customize-push-and-save, customize-apropos)
8464         (custom-buffer-create-internal): Use closures.
8465         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8466         * progmodes/ada-xref.el: Use setq.
8467         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8468         * dframe.el: Use lexical-binding.
8469         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
8470         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8471         * descr-text.el: Use lexical-binding.
8472         (describe-text-widget, describe-text-sexp, describe-property-list):
8473         Use closures.
8474         * comint.el (comint-history-isearch-push-state): Use a closure.
8475         * calculator.el: Use lexical-binding.
8476         (calculator-number-to-string): Make it work with lexical-binding.
8477         (calculator-funcall): Same and use cl-letf.
8479         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8480         (lisp--company-doc-string, lisp--company-location): New functions.
8481         (lisp-completion-at-point): Use them to improve Company support.
8483         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8484         params of lambda expressions.
8485         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8486         (ruby-smie--opening-pipe-p): New function.
8487         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8488         symbols and matched |...| for formal params.
8489         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8490         from being treated as hanging.  Handle "rescue".
8492 2013-08-29  Glenn Morris  <rgm@gnu.org>
8494         * progmodes/cc-engine.el (c-pull-open-brace):
8495         Move definition before use.
8497 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8499         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8500         are immutable.  Don't use `unsafe' any more.
8501         (cl--defsubst-expand): Don't substitute at the same time as keeping
8502         a residual unused let-binding.  Don't use `unsafe' any more.
8504 2013-08-29  Glenn Morris  <rgm@gnu.org>
8506         * calendar/cal-china.el (calendar-chinese-year-cache):
8507         Recenter on 2015.
8509         * nxml/nxml-util.el (nxml-debug-clear-inside):
8510         Use cl-loop rather than loop.
8512         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8514         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8516 2013-08-28  Glenn Morris  <rgm@gnu.org>
8518         * progmodes/antlr-mode.el: No need to require cc-mode twice.
8520         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8522         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8524 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8526         * simple.el (repeat-complex-command--called-interactively-skip):
8527         New function.
8528         (repeat-complex-command): Use it (bug#14136).
8530         * progmodes/cc-mode.el: Minor cleanup of var declarations.
8531         (c-define-abbrev-table): Add `doc' argument.
8532         (c-mode-abbrev-table, c++-mode-abbrev-table)
8533         (objc-mode-abbrev-table, java-mode-abbrev-table)
8534         (idl-mode-abbrev-table, pike-mode-abbrev-table)
8535         (awk-mode-abbrev-table): Use it.
8536         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8537         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8538         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8539         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8540         Move initialization into the declaration; and remove any
8541         autoload cookie.
8543         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8544         and dynamic let binding.
8546         * vc/smerge-mode.el: Remove redundant :group args.
8548         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8549         to load-path.
8551 2013-08-28  Juri Linkov  <juri@jurta.org>
8553         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8554         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8555         (isearch-other-meta-char): Handle an undefined shifted printing
8556         character by downshifting it.  (Bug#15200)
8558 2013-08-28  Juri Linkov  <juri@jurta.org>
8560         * isearch.el (isearch-search): Change regexp error message for
8561         non-regexp searches.  (Bug#15166)
8563 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
8565         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8566         for portability to hosts where /bin/sh has problems.
8568 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8570         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8572 2013-08-27  Juri Linkov  <juri@jurta.org>
8574         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8575         in the keyboard macro.  (Bug#15126)
8577 2013-08-27  Juri Linkov  <juri@jurta.org>
8579         * isearch.el (isearch-quote-char): Comment out converting unibyte
8580         to multibyte, thus syncing with its `quoted-insert' counterpart.
8581         (Bug#15166)
8583 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
8585         * window.el (display-buffer-use-some-window): Add missing
8586         argument in call of get-largest-window (Bug#15185).
8587         Reported by Stephen Leake.
8589 2013-08-27  Glenn Morris  <rgm@gnu.org>
8591         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8593 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8595         * progmodes/python.el (python-font-lock-keywords): Don't return nil
8596         from a matcher-function unless there's no more matches (bug#15161).
8598 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
8600         * minibuffer.el: Revert change from 2013-08-20.
8602         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8603         with text property `tramp-default', if appropriate.
8604         (tramp-check-proper-host): New defun.
8605         (tramp-dissect-file-name): Do not check hostname.  Revert change
8606         of 2013-03-18.
8607         (tramp-backtrace): Make VEC-OR-PROC optional.
8609         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8610         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8611         * net/tramp-sh.el (tramp-maybe-open-connection):
8612         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8613         Apply `tramp-check-proper-host'.
8615 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
8617         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8618         lambda expression in order to have `describe-variable' display it.
8620 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
8622         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8623         BUF can be optional.  (Bug#15186)
8625 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
8627         * progmodes/flymake.el (flymake-get-real-file-name-function):
8628         Fix broken customization.  (Bug#15184)
8630 2013-08-25  Alan Mackenzie  <acm@muc.de>
8632         Improve indentation of bracelists defined by macros (without "=").
8634         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8635         expansion begins with "{", regard it as bracelist when it doesn't
8636         contain a ";".
8638         Parse C++ inher-intro when there's a template split over 2 lines.
8640         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8641         rigorously the search for "class" etc. followed by ":".
8643         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8644         random languages a regexp which never matches rather than nil.
8646         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8648         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8649         (c-awk-regexp-one-line-possibly-open-char-list-re)
8650         (c-awk-one-line-possibly-open-regexp-re)
8651         (c-awk-one-line-non-syn-ws*-re): Remove.
8652         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8653         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8654         (c-awk-space*-unclosed-regexp-/-re): New constants.
8655         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8656         aren't regexp delimiters.
8658         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8659         handling for a rare situation in AWK Mode involving unterminated
8660         strings/regexps.
8662 2013-08-23  Glenn Morris  <rgm@gnu.org>
8664         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8666         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8668         * files.el (create-file-buffer): If the result would begin with
8669         spaces, prepend a "|" instead of removing them.  (Bug#15162)
8671 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8673         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8674         text-properties (bug#15155).
8676         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8677         exist any more.
8678         (calc-keypad-redraw): Remove unused var `pad'.
8679         (calc-keypad-press): Remove unused var `menu'.
8681 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
8683         * window.el (display-buffer-pop-up-frame):
8684         Call pop-up-frame-function with BUFFER current so `make-frame' will
8685         use it as the new frame's buffer (Bug#15133).
8687 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8689         * calendar/timeclock.el: Minor cleanups.
8690         (timeclock-ask-before-exiting, timeclock-use-display-time):
8691         Use `symbol'.
8692         (timeclock-modeline-display): Define as alias before the
8693         actual definition.
8694         (timeclock-mode-line-display): Use define-minor-mode.
8695         (timeclock-day-list-template): Make it a function, add an argument.
8696         (timeclock-day-list-required, timeclock-day-list-length)
8697         (timeclock-day-list-debt, timeclock-day-list-span)
8698         (timeclock-day-list-break): Adjust calls accordingly.
8700 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8702         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8703         Use read--expression so that completion works again.
8705 2013-08-21  Sam Steingold  <sds@gnu.org>
8707         Add rudimentary inferior shell interaction
8708         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8709         (sh-set-shell): Reset it.
8710         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8711         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8713 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8715         * align.el: Use lexical-binding.
8716         (align-region): Simplify accordingly.
8718 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
8720         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8722         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8723         `non-essential' up.
8725 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
8727         * net/tramp.el:
8728         * net/tramp-adb.el:
8729         * net/tramp-cmds.el:
8730         * net/tramp-ftp.el:
8731         * net/tramp-gvfs.el:
8732         * net/tramp-gw.el:
8733         * net/tramp-sh.el: Don't wrap external variable declarations by
8734         `eval-when-compile'.
8736 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8738         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8739         now that Emacs supports ImageMagick animations.
8741 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
8743         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8744         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8746 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
8748         * window.el (mouse-autoselect-window-select): Do autoselect when
8749         mouse pointer is on margin.
8751 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
8753         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
8755 2013-08-16  Glenn Morris  <rgm@gnu.org>
8757         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8758         Handle "Remote Directory" response of some clients.  (Bug#15058)
8760         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8761         Tweak warning.  (Bug#14926)
8763         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8764         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
8766         * image-mode.el (image-mode-map): Add menu items to reverse,
8767         increase, decrease, reset animation speed.
8768         (image--set-speed, image-increase-speed, image-decrease-speed)
8769         (image-reverse-speed, image-reset-speed): New functions.
8770         (image-mode-map): Add bindings for speed commands.
8772         * image.el (image-animate-get-speed, image-animate-set-speed):
8773         New functions.
8774         (image-animate-timeout): Respect image :speed property.
8776 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8778         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8779         previous line (bug#15101).
8780         (debugger-eval-expression, debugger-record-expression):
8781         Use read--expression (bug#15102).
8783 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
8785         Remove byte compiler warnings, visible when compiling with
8786         `byte-compile-force-lexical-warnings' set to t.
8788         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8789         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8790         (tramp-handle-unhandled-file-name-directory)
8791         (tramp-handle-file-notify-add-watch, tramp-action-login)
8792         (tramp-action-succeed, tramp-action-permission-denied)
8793         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8794         arguments with "_".
8796         * net/tramp-adb.el (tramp-adb-parse-device-names)
8797         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8798         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8799         (tramp-adb-handle-file-truename): Remove unused arguments.
8801         * net/tramp-cache.el (tramp-flush-directory-property)
8802         (tramp-flush-connection-property, tramp-list-connections)
8803         (tramp-parse-connection-properties): Prefix unused arguments with "_".
8805         * net/tramp-compat.el (tramp-compat-make-temp-file):
8806         Rename FILENAME to F.
8808         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8809         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8810         (tramp-zeroconf-parse-workstation-device-names)
8811         (tramp-zeroconf-parse-webdav-device-names)
8812         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8814         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8815         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8817         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8818         arguments.
8819         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8820         (tramp-sh-handle-insert-file-contents-literally)
8821         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8822         with "_".
8823         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8824         Remove unused variables.
8826         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8827         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8828         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8830         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8831         Make them a defconst.
8832         (tramp-uuencode-region): Remove unused variable.
8834 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
8836         * frameset.el (frameset--prop-setter): New function.
8837         (frameset-prop): Add gv-setter declaration.
8838         (frameset-filter-minibuffer): Deal with the case that the minibuffer
8839         parameter was already set in FILTERED.  Doc fix.
8840         (frameset--record-minibuffer-relationships): Allow saving a
8841         minibufferless frame without its corresponding minibuffer frame.
8842         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8843         frame, if the frame id matches.
8844         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8845         frames before orphaned ones.
8846         (frameset-restore): Warn about orphaned windows, instead of error out.
8848 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
8850         * window.el (window-make-atom): Don't overwrite parameter
8851         already present.
8852         (display-buffer-in-atom-window): Handle special case where we
8853         split an already atomic window.
8854         (window--major-non-side-window, display-buffer-in-side-window)
8855         (window--side-check): Ignore minibuffer window when walking
8856         window tree.
8857         (window-deletable-p): Return 'frame only if no other frame uses
8858         our minibuffer window.
8859         (record-window-buffer): Run buffer-list-update-hook.
8860         (split-window): Make sure window--check-frame won't destroy an
8861         existing atomic window in case the new window gets nested
8862         inside.
8863         (display-buffer-at-bottom): Ignore minibuffer window when
8864         walking window tree.  Don't split a side window.
8865         (pop-to-buffer): Don't set-buffer here, the select-window call
8866         should do that.
8867         (mouse-autoselect-window-select): Autoselect only if we are in the
8868         text portion of the window.
8870 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8872         * net/shr.el (shr-parse-image-data): New function to grab both the
8873         data itself and the Content-Type.
8874         (shr-put-image): Use it.
8876         * net/eww.el (eww-display-image): Ditto.
8878         * image.el (image-content-type-suffixes): New variable.
8880 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8882         * progmodes/python.el (python-imenu--build-tree)
8883         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8885 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
8887         * simple.el (backward-word): Mention the optional argument.
8889 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8891         * frameset.el (frameset--make): Rename constructor from make-frameset.
8892         (frameset-p, frameset-valid-p): Don't autoload.
8893         (frameset-valid-p): Use normal accessors.
8895 2013-08-13  Glenn Morris  <rgm@gnu.org>
8897         * progmodes/compile.el (compile-command): Tweak example in doc.
8898         * obsolete/scribe.el (scribe-mode):
8899         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
8901         * mail/feedmail.el (feedmail-confirm-outgoing)
8902         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8904         * cus-start.el (truncate-partial-width-windows): Fix type.
8906         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8908         * net/shr.el (shr-table-horizontal-line): Fix custom type.
8910 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8912         * emacs-lisp/timer.el (timer--time-setter): New function.
8913         (timer--time): Use it as gv-setter.
8915         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8916         setter is not a symbol.
8918 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
8920         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8921         if sending fails.  This makes debugging easier.
8923 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
8925         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8926         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8927         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8929 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
8931         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8933 2013-08-12  Glenn Morris  <rgm@gnu.org>
8935         * format.el (format-annotate-function):
8936         Handle read-only text properties in the source.  (Bug#14887)
8938 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8940         * net/eww.el (eww-display-html): Ignore coding system errors.
8941         One web site uses "utf-8lias" as the coding system.
8943 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
8945         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8947 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
8949         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8950         (tutorial--detailed-help): Remove unused local variables.
8951         (tutorial--save-tutorial-to): Use ignore-errors.
8952         (help-with-tutorial): Use looking-at-p.
8954         * view.el (view-buffer-other-window, view-buffer-other-frame):
8955         Mark unused arguments.
8957         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8958         (woman-select-symbol-fonts, woman, woman-find-file)
8959         (woman-insert-file-contents, woman-non-underline-faces):
8960         Use string-match-p.
8961         (woman1-unquote): Move declaration.
8963         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8964         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
8965         argument.  Remove unused local variable.
8966         (xml-parse-elem-type): Use string-match-p.
8967         (xml-substitute-numeric-entities): Use ignore-errors.
8969         * calculator.el (calculator): Mark unused argument.
8970         (calculator-paste, calculator-quit, calculator-integer-p):
8971         Use ignore-errors.
8972         (calculator-string-to-number, calculator-decimal, calculator-exp)
8973         (calculator-op-or-exp): Use string-match-p.
8975         * dired.el (dired-buffer-more-recently-used-p): Declare.
8976         (dired-insert-set-properties, dired-insert-old-subdirs):
8977         Use ignore-errors.
8979         * dired-aux.el (dired-compress): Use ignore-errors.
8980         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8981         (dired-do-async-shell-command, dired-do-shell-command)
8982         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8983         (dired-insert-subdir-validate): Use string-match-p.
8984         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8985         (dired-add-entry): Use string-match-p, looking-at-p.
8986         (dired-insert-subdir-newpos): Remove unused local variable.
8988         * filenotify.el (file-notify-callback): Remove unused local variable.
8990         * filesets.el (filesets-error): Mark unused argument.
8991         (filesets-which-command-p, filesets-filter-dir-names)
8992         (filesets-directory-files, filesets-get-external-viewer)
8993         (filesets-ingroup-get-data): Use string-match-p.
8995         * find-file.el (ff-other-file-name, ff-other-file-name)
8996         (ff-find-the-other-file, ff-cc-hh-converter):
8997         Remove unused local variables.
8998         (ff-get-file-name): Use string-match-p.
8999         (ff-all-dirs-under): Use ignore-errors.
9001         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9002         (follow-select-if-visible): Remove unused local variable.
9004         * forms.el (read-file-filter): Move declaration.
9005         (forms--make-format, forms--make-parser, forms-insert-record):
9006         Quote function with #'.
9007         (forms--update): Use string-match-p.  Quote function with #'.
9009         * help-mode.el (help-dir-local-var-def): Mark unused argument.
9010         (help-make-xrefs): Use looking-at-p.
9011         (help-xref-on-pp): Use looking-at-p, ignore-errors.
9013         * ibuffer.el (ibuffer-ext-visible-p): Declare.
9014         (ibuffer-confirm-operation-on): Use string-match-p.
9016         * msb.el (msb-item-handler, msb-dired-item-handler):
9017         Mark unused arguments.
9019         * ses.el (ses-decode-cell-symbol)
9020         (ses-kill-override): Remove unused local variable.
9021         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9022         (ses-load): Use ignore-errors, looking-at-p.
9023         (ses-jump-safe): Use ignore-errors.
9024         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9026         * tabify.el (untabify, tabify): Mark unused arguments.
9028         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9029         Mark unused argument.
9030         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9031         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9033         * emacs-lisp/timer.el (timer--time): Define setter with
9034         gv-define-setter to avoid deprecation warning.
9036         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9037         (*record-cmpl-statistics-p*): Remove (was commented out).
9038         (cmpl-statistics-block): Remove (body was commented out).
9039         All callers changed.
9040         (add-completions-from-buffer, load-completions-from-file):
9041         Remove unused variables.
9043 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
9045         * filecache.el (file-cache-delete-file-list):
9046         Print message only when told so.
9047         (file-cache-files-matching): Use #' in mapconcat argument.
9049         * ffap.el (ffap-url-at-point): Fix reference to variable
9050         thing-at-point-default-mail-uri-scheme.
9052 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9054         * subr.el (define-error): New function.
9055         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9056         error-file-not-found and define with define-error.
9057         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9058         and define with define-error.
9059         * userlock.el (file-locked, file-supersession):
9060         * simple.el (mark-inactive):
9061         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9062         * progmodes/ada-mode.el (ada-mode-errors):
9063         * play/life.el (life-extinct):
9064         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9065         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9066         * nxml/rng-util.el (rng-error):
9067         * nxml/rng-uri.el (rng-uri-error):
9068         * nxml/rng-match.el (rng-compile-error):
9069         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9070         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9071         * nxml/nxml-rap.el (nxml-scan-error):
9072         * nxml/nxml-outln.el (nxml-outline-error):
9073         * net/soap-client.el (soap-error):
9074         * net/gnutls.el (gnutls-error):
9075         * net/ange-ftp.el (ftp-error):
9076         * mpc.el (mpc-proc-error):
9077         * json.el (json-error, json-readtable-error, json-unknown-keyword)
9078         (json-number-format, json-string-escape, json-string-format)
9079         (json-key-format, json-object-format):
9080         * jka-compr.el (compression-error):
9081         * international/quail.el (quail-error):
9082         * international/kkc.el (kkc-error):
9083         * emacs-lisp/ert.el (ert-test-failed):
9084         * calc/calc.el (calc-error, inexact-result, math-overflow)
9085         (math-underflow):
9086         * bookmark.el (bookmark-error-no-filename):
9087         * epg.el (epg-error): Define with define-error.
9089         * time.el (display-time-event-handler)
9090         (display-time-next-load-average): Don't call sit-for since it seems
9091         unnecessary (bug#15045).
9093         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9094         Use #' instead of ' to quote functions.
9095         (checkdoc-output-mode): Use setq-local.
9096         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9097         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9098         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9099         (checkdoc-ispell, checkdoc-ispell-current-buffer)
9100         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9101         (checkdoc-ispell-message-text, checkdoc-ispell-start)
9102         (checkdoc-ispell-continue, checkdoc-ispell-comments)
9103         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9105         * ido.el (ido-completion-help): Fix up compiler warning.
9107 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
9109         * frameset.el (frameset-p): Add autoload cookie.
9110         (frameset--jump-to-register): New function, based on code moved from
9111         register.el.
9112         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
9114         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9115         (frameset-restore, frameset-save, frameset-session-filter-alist):
9116         Remove declarations.
9117         (register-alist): Doc fix.
9118         (frameset-to-register): Move to frameset.el.
9119         (jump-to-register, describe-register-1): Remove frameset-specific code.
9121 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
9123         * allout-widgets.el (allout-widgets-pre-command-business)
9124         (allout-widgets-post-command-business)
9125         (allout-widgets-after-change-handler)
9126         (allout-decorate-item-and-context, allout-set-boundary-marker)
9127         (allout-body-modification-handler)
9128         (allout-graphics-modification-handler): Mark ignored arguments.
9129         (allout-widgets-post-command-business)
9130         (allout-widgets-exposure-change-processor)
9131         (allout-widgets-exposure-undo-processor)
9132         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9133         (allout-parse-item-at-point, allout-decorate-item-guides)
9134         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9135         * allout.el (epa-passphrase-callback-function): Declare.
9136         (allout-overlay-insert-in-front-handler)
9137         (allout-overlay-interior-modification-handler)
9138         (allout-isearch-end-handler, allout-chart-siblings)
9139         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9140         (allout-yank-processing, allout-process-exposed)
9141         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9142         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9143         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9144         (lisp-indent-defform): Mark ignored arguments.
9145         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
9146         (calculate-lisp-indent): Remove unused variables.
9147         * international/characters.el (indian-2-column, arabic-2-column)
9148         (tibetan): Mark ignored arguments.
9149         (use-cjk-char-width-table): Mark ignored arguments.
9150         Remove unused variables.
9151         * international/fontset.el (build-default-fontset-data)
9152         (x-compose-font-name, create-fontset-from-fontset-spec):
9153         Mark ignored arguments.
9154         (fontset-plain-name): Remove unused variables.
9155         * international/mule.el (charset-id, charset-bytes, generic-char-p)
9156         (keyboard-coding-system): Mark ignored arguments.
9157         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
9158         * help.el (resize-temp-buffer-window):
9159         * window.el (display-buffer-in-major-side-window)
9160         (display-buffer-in-side-window, display-buffer-in-previous-window):
9161         Remove unused variables.
9162         * isearch.el (isearch-forward-symbol):
9163         * version.el (emacs-bzr-version-bzr):
9164         * international/mule-cmds.el (current-language-environment):
9165         * term/common-win.el (x-handle-iconic, x-handle-geometry)
9166         (x-handle-display):
9167         * term/pc-win.el (x-list-fonts, x-display-planes)
9168         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9169         (x-server-version, x-display-screens, x-display-mm-height)
9170         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9171         (x-selection-owner-p, x-own-selection-internal)
9172         (x-disown-selection-internal, x-get-selection-internal)
9173         (msdos-initialize-window-system):
9174         * term/tty-colors.el (tty-color-alist, tty-color-clear):
9175         * term/x-win.el (x-handle-no-bitmap-icon):
9176         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9177         (vc-default-find-file-hook, vc-default-extra-menu):
9178         Mark ignored arguments.
9180 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9182         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9183         break-condition in the context of the debugged code (bug#12685).
9185 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
9187         * comint.el:
9188         Do not use an overlay to highlight the last prompt.  (Bug#14744)
9189         (comint-mode): Make comint-last-prompt buffer local.
9190         (comint-last-prompt): New variable.
9191         (comint-last-prompt-overlay): Remove.  Superseded by
9192         comint-last-prompt.
9193         (comint-snapshot-last-prompt, comint-output-filter):
9194         Use comint-last-prompt.
9196 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
9198         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
9199         (frameset-save): Check validity of the resulting frameset.
9201 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
9203         * ido.el (ido-record-command): Add doc string.
9205 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
9207         * frameset.el (frameset): Do not disable creation of the default
9208         frameset-p predicate.  Doc fix.
9209         (frameset-valid-p): New function, copied from the old predicate-p.
9210         Add additional checks.
9211         (frameset-restore): Check with frameset-valid-p.
9212         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9213         (frameset-name, frameset-description, frameset-properties)
9214         (frameset-states): Add docstring.
9215         (frameset-session-filter-alist, frameset-persistent-filter-alist)
9216         (frameset-filter-alist): Doc fixes.
9218 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
9220         * frameset.el (frameset-p, frameset-prop): Doc fixes.
9222 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9224         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9225         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9226         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9227         (byte-compile-normal-call): Remove obsolescence check.
9229 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
9231         * frameset.el (frameset-restore): Doc fix.
9233         * register.el (frameset-frame-id, frameset-frame-with-id)
9234         (frameset-p, frameset-restore, frameset-save): Declare.
9235         (register-alist): Document framesets.
9236         (frameset-session-filter-alist): Declare.
9237         (frameset-to-register): New function.
9238         (jump-to-register): Implement jumping to framesets.  Doc fix.
9239         (describe-register-1): Describe framesets.
9241         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9243 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
9245         * desktop.el (desktop-save-frameset): Use new frameset-save args.
9246         Use lexical-binding.
9248         * frameset.el (frameset): Use type vector, not list (incompatible
9249         change).  Do not declare a new constructor, use the default one.
9250         Upgrade suggested properties `app', `name' and `desc' to slots `app',
9251         `name' and `description', respectively, and add read-only slot
9252         `timestamp'.  Doc fixes.
9253         (frameset-copy, frameset-persistent-filter-alist)
9254         (frameset-filter-alist, frameset-switch-to-gui-p)
9255         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9256         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9257         (frameset-filter-iconified, frameset-keep-original-display-p):
9258         Doc fixes.
9259         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9260         Rename from frameset-filter-(save|restore)-param.  All callers changed.
9261         Doc fix.
9262         (frameset-p): Adapt to change to vector and be more thorough.
9263         Change arg name to OBJECT.  Doc fix.
9264         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
9265         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9266         All callers changed.
9267         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9268         All callers changed.
9269         (frameset--record-minibuffer-relationships): Rename from
9270         frameset--process-minibuffer-frames.  All callers changed.
9271         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9272         Use new default constructor (again).  Doc fix.
9273         (frameset--find-frame-if): Rename from `frameset--find-frame'.
9274         All callers changed.
9275         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9276         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9277         Doc fix.
9278         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9279         PARAMETERS and WINDOW-STATE, respectively.
9280         (frameset-restore): Add new keyword argument PREDICATE.
9281         Reset frameset--target-display to nil.  Doc fix.
9283 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9285         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9286         (bat-mode): Use it.
9287         (bat-mode-syntax-table): Mark \n as end-of-comment.
9288         (bat-font-lock-keywords): Remove comment rule.
9290         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
9291         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
9293         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9294         (byte-compile-callargs-warn): Use `push'.
9295         (byte-compile-arglist-warn): Ignore higher-order "calls".
9296         (byte-compile-file-form-autoload): Use `pcase'.
9297         (byte-compile-function-form): If quoting a symbol, check that it exists.
9299 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
9301         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9302         and add a few popular commands found in batch files.
9303         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9304         (dos-mode): Doc fixes.
9306 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9308         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9309         (dos-mode): Use setq-local.  Add space after "rem".
9310         (dos-mode-syntax-table): Don't use "w" for symbol chars.
9311         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9313 2013-08-07  Arni Magnusson  <arnima@hafro.is>
9315         * progmodes/dos.el: New file.
9316         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9317         dos-mode.
9319 2013-08-06  Glenn Morris  <rgm@gnu.org>
9321         * calendar/calendar.el: Add new faces, and day-header-array.
9322         (calendar-weekday-header, calendar-weekend-header)
9323         (calendar-month-header): New faces.
9324         (calendar-day-header-construct): New function.
9325         (calendar-day-header-width): Also :set calendar-day-header-array.
9326         (calendar-american-month-header, calendar-european-month-header)
9327         (calendar-iso-month-header): Use calendar- faces.
9328         (calendar-generate-month):
9329         Use calendar-day-header-array for day headers; apply faces to them.
9330         (calendar-mode): Check calendar-font-lock-keywords non-nil.
9331         (calendar-abbrev-construct): Add optional maxlen argument.
9332         (calendar-day-name-array): Doc fix.
9333         (calendar-day-name-array, calendar-abbrev-length)
9334         (calendar-day-abbrev-array):
9335         Also :set calendar-day-header-array, and maybe redraw.
9336         (calendar-day-header-array): New option.  (Bug#15007)
9337         (calendar-font-lock-keywords): Set to nil and make obsolete.
9338         (calendar-day-name): Add option to use header array.
9340 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9342         * net/shr.el (shr-render-td): Remove debugging.
9343         (shr-render-td): Make width computation consistent by defaulting
9344         all zero-width columns to 10 characters.  This may not be optimal,
9345         but it's at least consistent.
9346         (shr-make-table-1): Redo last change to fix the real problem in
9347         colspan handling.
9349 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
9351         * files.el (cache-long-line-scans):
9352         Make obsolete alias to `cache-long-scans'.
9354 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
9356         * frameset.el (frameset, frameset-filter-alist)
9357         (frameset-filter-params, frameset-save, frameset--reuse-frame)
9358         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9359         (frameset-compute-pos): Rename from frameset--compute-pos,
9360         and add docstring.
9361         (frameset-move-onscreen): Use frameset-compute-pos.
9362         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9364         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9365         Fix typos in docstrings.
9367 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
9369         * frame.el (get-other-frame): Tiny cleanup.
9371 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
9373         * vc/vc.el (vc-default-ignore-completion-table):
9374         Silence byte-compiler warning.
9376         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9377         slot, which can indeed be nil.
9378         (frameset-live-filter-alist, frameset-persistent-filter-alist):
9379         Move entry for `left' from persistent to live filter alist.
9380         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9381         Doc fixes.
9382         (frameset-filter-params): When restoring a frame, copy items added to
9383         `filtered', to avoid unwittingly modifying the original parameters.
9384         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
9385         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9387         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9388         to use looking-at-p instead of looking-at.  (Bug#15028)
9390 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9392         Revert introduction of isearch-filter-predicates (bug#14714).
9393         Rely on add-function instead.
9394         * isearch.el (isearch-filter-predicates): Rename it back to
9395         isearch-filter-predicate.
9396         (isearch-message-prefix): Use advice-function-mapc and advice
9397         properties to get the isearch-message-prefix.
9398         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9399         instead of run-hook-with-args-until-failure.
9400         (isearch-filter-visible): Not obsolete any more.
9401         * loadup.el: Preload nadvice.
9402         * replace.el (perform-replace): Revert to funcall
9403         instead of run-hook-with-args-until-failure.
9404         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9405         * dired-aux.el (dired-isearch-filenames-mode): Rename from
9406         dired-isearch-filenames-toggle; make it into a proper minor mode.
9407         Use add/remove-function.
9408         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9409         Call the minor-mode rather than add/remove-hook.
9410         (dired-isearch-filter-filenames):
9411         Remove isearch-message-prefix property.
9412         * info.el (Info--search-loop): New function, extracted from Info-search.
9413         Funcall isearch-filter-predicate instead of
9414         run-hook-with-args-until-failure isearch-filter-predicates.
9415         (Info-search): Use it.
9416         (Info-mode): Use isearch-filter-predicate instead of
9417         isearch-filter-predicates.
9419 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
9421         Do not call to `selected-window' where it is assumed by default.
9422         Affected functions are `window-minibuffer-p', `window-dedicated-p',
9423         `window-hscroll', `window-width', `window-height', `window-buffer',
9424         `window-frame', `window-start', `window-point', `next-window'
9425         and `window-display-table'.
9426         * abbrev.el (abbrev--default-expand):
9427         * bs.el (bs--show-with-configuration):
9428         * buff-menu.el (Buffer-menu-mouse-select):
9429         * calc/calc.el (calc):
9430         * calendar/calendar.el (calendar-generate-window):
9431         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9432         (diary-make-entry):
9433         * comint.el (send-invisible, comint-dynamic-complete-filename)
9434         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9435         * completion.el (complete):
9436         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9437         * disp-table.el (describe-current-display-table):
9438         * doc-view.el (doc-view-insert-image):
9439         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9440         * ehelp.el (with-electric-help):
9441         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9442         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9443         * emacs-lisp/helper.el (Helper-help-scroller):
9444         * emulation/cua-base.el (cua--post-command-handler-1):
9445         * eshell/esh-mode.el (eshell-output-filter):
9446         * ffap.el (ffap-gnus-wrapper):
9447         * help-macro.el (make-help-screen):
9448         * hilit-chg.el (highlight-compare-buffers):
9449         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9450         * hl-line.el (global-hl-line-highlight):
9451         * icomplete.el (icomplete-simple-completing-p):
9452         * isearch.el (isearch-done):
9453         * jit-lock.el (jit-lock-stealth-fontify):
9454         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9455         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9456         * mpc.el (mpc-tagbrowser, mpc):
9457         * net/rcirc.el (rcirc-any-buffer):
9458         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9459         * play/landmark.el (landmark-max-width, landmark-max-height):
9460         * play/zone.el (zone):
9461         * progmodes/compile.el (compilation-goto-locus):
9462         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9463         * progmodes/etags.el (find-tag-other-window):
9464         * progmodes/fortran.el (fortran-column-ruler):
9465         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9466         * progmodes/verilog-mode.el (verilog-point-text):
9467         * reposition.el (reposition-window):
9468         * rot13.el (toggle-rot13-mode):
9469         * server.el (server-switch-buffer):
9470         * shell.el (shell-dynamic-complete-command)
9471         (shell-dynamic-complete-environment-variable):
9472         * simple.el (insert-buffer, set-selective-display)
9473         (delete-completion-window):
9474         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9475         (speedbar-recenter):
9476         * startup.el (fancy-splash-head):
9477         * textmodes/ispell.el (ispell-command-loop):
9478         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9479         * tutorial.el (help-with-tutorial):
9480         * vc/add-log.el (add-change-log-entry):
9481         * vc/compare-w.el (compare-windows):
9482         * vc/ediff-help.el (ediff-indent-help-message):
9483         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9484         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9485         (ediff-setup-control-frame):
9486         * vc/emerge.el (emerge-position-region):
9487         * vc/pcvs-util.el (cvs-bury-buffer):
9488         * window.el (walk-windows, mouse-autoselect-window-select):
9489         * winner.el (winner-set-conf, winner-undo): Related users changed.
9491 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
9493         * frameset.el (frameset--set-id): Doc fix.
9494         (frameset-frame-id, frameset-frame-id-equal-p)
9495         (frameset-locate-frame-id): New functions.
9496         (frameset--process-minibuffer-frames, frameset--reuse-frame)
9497         (frameset-restore): Use them.
9499 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
9501         Do not call to `selected-frame' where it is assumed by default.
9502         Affected functions are `raise-frame', `redraw-frame',
9503         `frame-first-window', `frame-terminal' and `delete-frame'.
9504         * calendar/appt.el (appt-disp-window):
9505         * epg.el (epg-wait-for-completion):
9506         * follow.el (follow-delete-other-windows-and-split)
9507         (follow-avoid-tail-recenter):
9508         * international/mule.el (set-terminal-coding-system):
9509         * mail/rmail.el (rmail-mail-return):
9510         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9511         * progmodes/f90.el (f90-add-imenu-menu):
9512         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9513         * server.el (server-switch-buffer):
9514         * simple.el (delete-completion-window):
9515         * talk.el (talk):
9516         * term/xterm.el (terminal-init-xterm-modify-other-keys)
9517         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9518         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9519         * vc/ediff.el (ediff-documentation): Related users changed.
9520         * frame.el (selected-terminal): Remove the leftover.
9522 2013-08-05  Glenn Morris  <rgm@gnu.org>
9524         * calendar/calendar.el (calendar-generate-month):
9525         Fix for calendar-column-width != 1 + calendar-day-digit-width.
9526         (calendar-generate-month, calendar-font-lock-keywords):
9527         Fix for calendar-day-header-width > length of any day name.
9529 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
9531         * desktop.el (desktop-clear): Use new name of sort predicate.
9533         * frameset.el (frameset): Add docstring.  Move :version property to its
9534         own `version' slot.
9535         (frameset-copy): Rename from copy-frameset.
9536         (frameset-p): Check more thoroughly.
9537         (frameset-prop): Do not check for :version, which is no longer a prop.
9538         (frameset-live-filter-alist, frameset-persistent-filter-alist):
9539         Use new :never value instead of t.
9540         (frameset-filter-alist): Expand and clarify docstring.
9541         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9542         (frameset-filter-minibuffer, frameset-filter-save-param)
9543         (frameset-filter-restore-param, frameset-filter-iconified):
9544         Add pointer to docstring of frameset-filter-alist.
9545         (frameset-filter-params): Rename filter values to be more meaningful:
9546         :never instead of t, and reverse the meanings of :save and :restore.
9547         (frameset--process-minibuffer-frames): Clarify error message.
9548         (frameset-save): Avoid unnecessary and confusing call to framep.
9549         Use new BOA constructor for framesets.
9550         (frameset--reuse-list): Doc fix.
9551         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
9552         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9553         (frameset-minibufferless-first-p): Doc fix.
9554         Rename from frameset-sort-frames-for-deletion.
9555         (frameset-restore): Doc fixes.  Use new function names.
9556         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9558 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
9560         * desktop.el (desktop-restore-forces-onscreen)
9561         (desktop-restore-reuses-frames): Document :keyword constant values.
9562         (desktop-filter-parameters-alist): Remove, now identical to
9563         frameset-filter-alist.
9564         (desktop--filter-tty*): Remove, moved to frameset.el.
9565         (desktop-save-frameset, desktop-restore-frameset):
9566         Do not pass :filters argument.
9568         * frameset.el (frameset-live-filter-alist)
9569         (frameset-persistent-filter-alist): New variables.
9570         (frameset-filter-alist): Use them.  Add autoload cookie.
9571         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9572         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9573         `frameset--id' (it's supposed to be internal to frameset.el).
9574         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
9575         (frameset--initial-params): New function.
9576         (frameset--get-frame): Use it.  Doc fix.
9577         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9578         Accept :all, not 'all.
9579         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9580         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
9581         with fbound symbols.  Fix frame id matching, and remove matching ids if
9582         the frame being restored is deleted.  Obey :delete.
9584 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9586         * subr.el (macrop): New function.
9587         (text-clone--maintaining): New var.
9588         (text-clone--maintain): Rename from text-clone-maintain.  Use it
9589         instead of inhibit-modification-hooks.
9591         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9592         a proxy, so as handle autoloads and redefinitions of the target.
9593         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9595         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9596         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
9597         (pcase--mutually-exclusive-p): New function.
9598         (pcase--split-consp): Use it.
9599         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
9600         mutually exclusive with the current predicate.
9602         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9603         (edebug-macrop): Remove.  Use `macrop' instead.
9604         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
9605         (ad-macro-p):
9606         * eshell/esh-cmd.el (eshell-macrop):
9607         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
9609 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9611         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9612         (advice-mapc): New function, using it.
9613         (advice-function-member-p): New function.
9614         (advice--normalize): Store the cdr in advice--saved-rewrite since
9615         that's the part that will be changed.
9616         (advice--symbol-function): New function.
9617         (advice-remove): Handle removal before the function is defined.
9618         Adjust to new advice--saved-rewrite.
9619         (advice-member-p): Use advice-function-member-p and
9620         advice--symbol-function.
9622 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
9624         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9625         (frameset-filter-minibuffer): Doc fix.
9626         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
9627         (frameset--set-id, frameset--process-minibuffer-frames)
9628         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9629         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9631         * desktop.el (desktop-clear): Only delete frames when called
9632         interactively and desktop-restore-frames is non-nil.  Doc fix.
9633         (desktop-read): Set desktop-saved-frameset to nil.
9635 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
9637         * vc/vc.el (vc-ignore): Rewrite.
9638         (vc-default-ignore-completion-table, vc--read-lines)
9639         (vc--add-line, vc--remove-regexp): New functions.
9641         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9642         (vc-svn-ignore-completion-table): New function.
9644         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9645         (vc-hg-ignore-completion-table)
9646         (vc-hg-find-ignore-file): New functions.
9648         * vc/vc-git.el (vc-git-ignore): Rewrite.
9649         (vc-git-ignore-completion-table)
9650         (vc-git-find-ignore-file): New functions.
9652         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9654         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9655         (vc-bzr-ignore-completion-table)
9656         (vc-bzr-find-ignore-file): New functions.
9658 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
9660         * frameset.el (frameset-prop): New function and setter.
9661         (frameset-save): Do not modify frame list passed by the caller.
9663 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9665         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9667 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9669         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9670         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9672         * custom.el (custom-initialize-default, custom-initialize-set)
9673         (custom-initialize-reset, custom-initialize-changed): Affect the
9674         toplevel-default-value (bug#6275, bug#14586).
9675         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9676         for bug#6275.
9678 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
9680         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9681         Add cl-def* expressions.
9683         * frameset.el (frameset-filter-params): Fix order of arguments.
9685 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
9687         Move code related to saving frames to frameset.el.
9688         * desktop.el: Require frameset.
9689         (desktop-restore-frames): Doc fix.
9690         (desktop-restore-reuses-frames): Rename from
9691         desktop-restoring-reuses-frames.
9692         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9693         (desktop-clear): Clear frames too.
9694         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9695         (desktop--filter-tty*, desktop-save, desktop-read):
9696         Use frameset functions.
9697         (desktop-before-saving-frames-functions, desktop--filter-*-color)
9698         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9699         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9700         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9701         (desktop--process-minibuffer-frames, desktop-save-frames)
9702         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9703         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9704         (desktop--sort-states, desktop-restoring-frames-p)
9705         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
9706         (desktop-restoring-frameset-p, desktop-restore-frameset)
9707         (desktop--check-dont-save, desktop-save-frameset): New functions.
9708         (desktop--app-id): New constant.
9709         (desktop-first-buffer, desktop-buffer-ok-count)
9710         (desktop-buffer-fail-count): Move before first use.
9711         * frameset.el: New file.
9713 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9715         * files.el: Use lexical-binding.
9716         (dir-locals-read-from-file): Remove unused `err' variable.
9717         (hack-dir-local-variables--warned-coding): New var.
9718         (hack-dir-local-variables): Use it to avoid repeated warnings.
9719         (make-backup-file-name--default-function): New function.
9720         (make-backup-file-name-function): Use it as default.
9721         (buffer-stale--default-function): New function.
9722         (buffer-stale-function): Use it as default.
9723         (revert-buffer-insert-file-contents--default-function): New function.
9724         (revert-buffer-insert-file-contents-function): Use it as default.
9725         (insert-directory): Avoid add-to-list.
9727         * autorevert.el (auto-revert-handler): Simplify.
9728         Use buffer-stale--default-function.
9730 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
9732         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9734         * whitespace.el (whitespace-ensure-local-variables): New function.
9735         (whitespace-cleanup-region): Call it.
9736         (whitespace-turn-on): Call it.
9738 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
9740         Complete file name handlers.
9742         * net/tramp.el (tramp-handle-set-visited-file-modtime)
9743         (tramp-handle-verify-visited-file-modtime)
9744         (tramp-handle-file-notify-rm-watch): New functions.
9745         (tramp-call-process): Do not bind `default-directory'.
9747         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9748         Order alphabetically.
9749         <access-file, add-name-to-file, dired-call-process>:
9750         <dired-compress-file, file-acl, file-notify-rm-watch>:
9751         <file-ownership-preserved-p, file-selinux-context>:
9752         <make-directory-internal, make-symbolic-link, set-file-acl>:
9753         <set-file-selinux-context, set-visited-file-modtime>:
9754         <verify-visited-file-modtime>: Add handler.
9755         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9757         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9758         <file-notify-add-watch, file-notify-rm-watch>:
9759         <set-file-times, set-visited-file-modtime>:
9760         <verify-visited-file-modtime>: Add handler.
9761         (with-tramp-gvfs-error-message)
9762         (tramp-gvfs-handle-set-visited-file-modtime)
9763         (tramp-gvfs-fuse-file-name): Remove.
9764         (tramp-gvfs-handle-file-notify-add-watch)
9765         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9766         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9768         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9769         Order alphabetically.
9770         <file-notify-rm-watch>: Use default Tramp handler.
9771         <executable-find>: Remove private handler.
9772         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9773         `default-directory'.
9774         (tramp-sh-handle-executable-find)
9775         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9776         (tramp-sh-file-gvfs-monitor-dir-process-filter)
9777         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9778         Do not use `format' in `tramp-message'.
9780         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9781         <file-notify-rm-watch, set-visited-file-modtime>:
9782         <verify-visited-file-modtime>: Add handler.
9783         (tramp-smb-call-winexe): Do not bind `default-directory'.
9785 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
9787         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9789 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
9791         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9792         use it.
9793         (log-view-diff-changeset): Same.
9794         (log-view-diff-common): Call backend command `previous-revision'
9795         to find out the previous revision, in both cases.  Swap the
9796         variables `to' and `fr', so that `fr' usually refers to the
9797         earlier revision (Bug#14989).
9799 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
9801         * ibuf-ext.el (ibuffer-filter-by-filename):
9802         Make it work with dired buffers too.
9804 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
9806         * emacs-lisp/re-builder.el (reb-color-display-p):
9807         * files.el (save-buffers-kill-terminal):
9808         * net/browse-url.el (browse-url):
9809         * server.el (server-save-buffers-kill-terminal):
9810         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9811         Prefer nil to selected-frame for the first arg of frame-parameter.
9813 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
9815         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9817 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
9819         * minibuffer.el (completion--twq-all): Try and preserve each
9820         completion's case choice (bug#14907).
9822 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9824         * net/network-stream.el (open-network-stream): Mention the new
9825         :nogreeting parameter.
9826         (network-stream-open-starttls): Use the :nogreeting parameter
9827         (bug#14938).
9829         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9831         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9832         more natural than popping.
9834         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9835         (shr-urlify): Highlight under mouse.
9837 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
9839         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9841         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9843         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
9844         buffer for output.
9846         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
9847         point-min==1.  Fix search string.  Fix parentheses missing.
9849         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
9850         assume point-min==1.  Fix search string.  Fix parentheses missing.
9852         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9854         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
9855         buffer for output.
9857 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
9859         * frame.el (frame-notice-user-settings): Avoid inflooping when the
9860         initial frame is minibuffer-less.  (Bug#14841)
9862 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
9864         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9865         option.
9867         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9868         (tramp-maybe-open-connection): Use it.
9870 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
9872         * desktop.el (desktop--make-frame): Include `minibuffer' in the
9873         minimal set of parameters passed when creating a frame, because
9874         the minibuffer status of a frame cannot be changed later.
9876 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
9878         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9879         replace-regexp-in-string and inadvertent omissions in previous change.
9880         (todo-filter-items): Ensure only file names are comma-separated in
9881         name of filtered items buffer.
9883 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
9885         * desktop.el: Optionally force offscreen frames back onscreen.
9886         (desktop-restoring-reuses-frames): New option.
9887         (desktop--compute-pos, desktop--move-onscreen): New functions.
9888         (desktop--make-frame): Use desktop--move-onscreen.
9890 2013-07-27  Alan Mackenzie  <acm@muc.de>
9892         Fontify a Java generic method as a function.
9893         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9894         value to t.
9896 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
9898         * calendar/todo-mode.el: Add command to rename todo files.
9899         (todo-rename-file): New command.
9900         (todo-key-bindings-t): Add key binding for it.  Change the
9901         bindings of todo-filter-regexp-items(-multifile) to use `x'
9902         instead of `r', since the latter is better suited to the new
9903         renaming command.
9905 2013-07-27  Alan Mackenzie  <acm@muc.de>
9907         Make Java try-with-resources statement parse properly.
9908         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9909         (c-block-stmt-1-2-key): New language constants/variables.
9910         * progmodes/cc-engine.el (c-beginning-of-statement-1)
9911         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9912         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
9913         with c-block-stmt-1-2-key.
9915 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
9917         * desktop.el (desktop--make-frame): Apply most frame parameters after
9918         creating the frame to force (partially or totally) offscreen frames to
9919         be restored as such.
9921 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
9923         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9924         (Bug#14948)
9926 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9928         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9929         `base' arg of backtrace-frame.
9931 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
9933         * simple.el (list-processes): Doc fix.
9935 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
9937         * desktop.el (desktop--select-frame):
9938         Try harder to reuse existing frames.
9940 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9942         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9943         (edebug-eval): Use backtrace-eval.
9944         (edebug--display, edebug--recursive-edit): Don't let-bind the
9945         edebug-outer-* vars that keep track of variables we locally let-bind.
9946         (edebug-outside-excursion): Don't restore outside values of locally
9947         let-bound vars.
9948         (edebug--display): Use user-error.
9949         (cl-lexical-debug, cl-debug-env): Remove.
9951 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
9953         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9954         are restored to be sure that they are visible before deleting any
9955         remaining ones.
9957 2013-07-26  Matthias Meulien  <orontee@gmail.com>
9959         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9960         vc-print-root-log.  (Bug#14948)
9962 2013-07-26  Richard Stallman  <rms@gnu.org>
9964         Add aliases for encrypting mail.
9965         * epa.el (epa-mail-aliases): New option.
9966         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9967         Bind inhibit-read-only so read-only text doesn't ruin everything.
9968         (epa-mail-default-recipients): New subroutine broken out.
9969         Handle epa-mail-aliases.
9971 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9973         Add support for lexical variables to the debugger's `e' command.
9974         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9975         vars, except for debugger-outer-match-data.
9976         (debugger-frame-number): Move check for "on a function call" from
9977         callers into it.  Add `skip-base' argument.
9978         (debugger-frame, debugger-frame-clear): Simplify accordingly.
9979         (debugger-env-macro): Only reset the state stored in non-variables,
9980         i.e. current-buffer and match-data.
9981         (debugger-eval-expression): Rewrite using backtrace-eval.
9982         * subr.el (internal--called-interactively-p--get-frame): Remove.
9983         (called-interactively-p):
9984         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9985         `base' arg of backtrace-frame instead.
9987 2013-07-26  Glenn Morris  <rgm@gnu.org>
9989         * align.el (align-regexp): Doc fix.  (Bug#14857)
9990         (align-region): Explicit error if subexpression missing/does not match.
9992         * simple.el (global-visual-line-mode):
9993         Do not duplicate the mode lighter.  (Bug#14858)
9995 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
9997         * window.el (display-buffer): In display-buffer bind
9998         split-window-keep-point to t, bug#14829.
10000 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
10002         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10003         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10004         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10005         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10006         Change accordingly.
10007         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10008         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10010 2013-07-25  Glenn Morris  <rgm@gnu.org>
10012         * dired-x.el (dired-mark-extension): Convert comment to doc string.
10014 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
10016         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10017         parameter to modify-frame-parameters if the value has not changed;
10018         this is a workaround for bug#14949.
10019         (desktop--make-frame): On cl-delete-if call, check parameter name,
10020         not full parameter.
10022 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
10024         * vc/vc.el (vc-ignore): New function.
10026         * vc/vc-svn.el (vc-svn-ignore): New function.
10028         * vc/vc-hg.el (vc-hg-ignore): New function.
10030         * vc/vc-git.el (vc-git-ignore): New function.
10032         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10033         (vc-dir-ignore): New function.
10035         * vc/vc-cvs.el (vc-cvs-ignore): New function.
10036         (cvs-append-to-ignore): Move here from pcvs.el.
10038         * vc/vc-bzr.el (vc-bzr-ignore): New function.
10040         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10042 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
10044         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10045         (desktop-restore-frames): Warn when deleting an existing frame failed.
10047 2013-07-24  Glenn Morris  <rgm@gnu.org>
10049         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
10051 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
10053         * filenotify.el (file-notify-supported-p):
10054         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10055         Remove functions.
10057         * autorevert.el (auto-revert-use-notify)
10058         (auto-revert-notify-add-watch):
10059         * net/tramp.el (tramp-file-name-for-operation):
10060         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10061         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10062         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10063         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10064         Remove `file-notify-supported-p' entry.
10066 2013-07-24  Glenn Morris  <rgm@gnu.org>
10068         * printing.el: Replace all uses of deleted ps-windows-system,
10069         ps-lp-system, ps-flatten-list with lpr- versions.
10071 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10073         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10074         checked with memq (bug#14935).
10076         * files.el (revert-buffer-function): Use a non-nil default.
10077         (revert-buffer-preserve-modes): Declare var to
10078         provide access to the `preserve-modes' argument.
10079         (revert-buffer): Let-bind it.
10080         (revert-buffer--default): New function, extracted from revert-buffer.
10082 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10084         * lpr.el: Signal print errors more prominently.
10085         (print-region-function): Don't default to nil.
10086         (lpr-print-region): New function, extracted from print-region-1.
10087         Check lpr's return value and signal an error in case of problem.
10088         (print-region-1): Use it.
10089         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
10090         versions instead.
10091         (ps-printer-name): Default to nil.
10092         (ps-printer-name-option): Default to lpr-printer-switch.
10093         (ps-print-region-function): Don't default to nil.
10094         (ps-postscript-code-directory): Simplify default.
10095         (ps-do-despool): Use lpr-print-region to properly check the outcome.
10096         (ps-string-list, ps-eval-switch, ps-flatten-list)
10097         (ps-flatten-list-1): Remove.
10098         (ps-multibyte-buffer): Avoid setq.
10099         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10100         (print-region-function, ps-print-region-function): Don't set them here.
10102 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
10104         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10105         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10106         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10107         (ido-decorations): Doc fix.
10109         * ansi-color.el: Fix old URL.
10111 2013-07-23  Michael R. Mauger  <michael@mauger.com>
10113         * progmodes/sql.el: Version 3.3
10114         (sql-product-alist): Improve oracle :prompt-cont-regexp.
10115         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10116         (sql-interactive-remove-continuation-prompt): Rewrite, use
10117         functions above.  Fix continuation prompt and complete output line
10118         handling.
10119         (sql-redirect-one, sql-execute): Use `read-only-mode' on
10120         redirected output buffer.
10121         (sql-mode): Restore deleted code (Bug#13591).
10123 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
10125         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10127 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
10129         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10131         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10132         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10133         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10135 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
10137         * desktop.el (desktop-clear): Simplify; remove useless checks
10138         against invalid buffer names.
10139         (desktop-list*): Use cl-list*.
10140         (desktop-buffer-info, desktop-create-buffer): Simplify.
10142 2013-07-23  Leo Liu  <sdl.web@gmail.com>
10144         * bookmark.el (bookmark-make-record): Restore NAME as a default
10145         value.  (Bug#14933)
10147 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10149         * emacs-lisp/autoload.el (autoload--setup-output): New function,
10150         extracted from autoload--insert-text.
10151         (autoload--insert-text): Remove.
10152         (autoload--print-cookie-text): New function, extracted from
10153         autoload--insert-cookie-text.
10154         (autoload--insert-cookie-text): Remove.
10155         (autoload-generate-file-autoloads): Adjust calls accordingly.
10157         * winner.el (winner-hook-installed-p): Remove.
10158         (winner-mode): Simplify accordingly.
10160         * subr.el (add-to-list): Fix compiler-macro when `append' is
10161         not constant.  Don't use `cl-member' for the base case.
10163         * progmodes/subword.el: Fix boundary case (bug#13758).
10164         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
10165         own group.
10166         (subword-backward-regexp): Make it a constant.
10167         (subword-forward-internal): Don't treat a trailing capital as the
10168         beginning of a word.
10170 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
10172         * emacs-lisp/package.el (package-menu-mode): Don't modify the
10173         global value of tabulated-list-revert-hook (bug#14930).
10175 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
10177         * desktop.el: Require 'cl-lib.
10178         (desktop-before-saving-frames-functions): New hook.
10179         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10180         for frames being saved.  Rename from desktop--save-minibuffer-frames.
10181         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10182         Do not save frames with non-nil `desktop-dont-save' parameter.
10183         Filter out deleted frames.
10184         (desktop--find-frame): Use cl-find-if.
10185         (desktop--select-frame): Use cl-(first|second|third) to access values
10186         of desktop-mini.
10187         (desktop--make-frame): Use cl-delete-if.
10188         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10189         (desktop-restore-frames): Use cl-(first|second|third) to access values
10190         of desktop-mini.  Look for visible frame at the end, not while
10191         restoring frames.
10193         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10194         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10195         Use string-match-p, looking-at-p (bug#14927).
10197 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
10199         * desktop.el (desktop-saved-frame-states):
10200         Rename from desktop--saved-states; all users changed.
10201         (desktop-save-frames): Rename from desktop--save-frames.
10202         Do not save state to desktop file.
10203         (desktop-save): Save desktop-saved-frame-states to desktop file
10204         and reset to nil.
10205         (desktop-restoring-frames-p): New function.
10206         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
10207         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
10208         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
10210         * desktop.el: Correctly restore iconified frames.
10211         (desktop--filter-iconified-position): New function.
10212         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10214 2013-07-20  Glenn Morris  <rgm@gnu.org>
10216         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10217         Let `message' do the formatting.
10218         (def-gdb-preempt-display-buffer): Add explicit format.
10220         * image-dired.el (image-dired-track-original-file):
10221         Use with-current-buffer.
10222         (image-dired-track-thumbnail): Use with-current-buffer.
10223         Avoid changing point of wrong window.
10225         * image-dired.el (image-dired-track-original-file):
10226         Avoid changing point of wrong window.  (Bug#14909)
10228 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
10230         * progmodes/gdb-mi.el (gdb-done-or-error):
10231         Guard against "%" in gdb output.  (Bug#14127)
10233 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
10235         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10236         (Bug#14826)
10238         * international/mule.el (coding-system-iso-2022-flags): Fix last
10239         change.
10241 2013-07-20  Kenichi Handa  <handa@gnu.org>
10243         * international/mule.el (coding-system-iso-2022-flags):
10244         Add `8-bit-level-4'.  (Bug#8522)
10246 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10248         * net/shr.el (shr-mouse-browse-url): New command and keystroke
10249         (bug#14815).
10251         * net/eww.el (eww-process-text-input): Allow inputting when the
10252         point is at the start of the line, as the properties aren't
10253         front-sticky.
10255         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10256         degenerate widths.
10258 2013-07-19  Richard Stallman  <rms@gnu.org>
10260         * epa.el (epa-popup-info-window): Doc fix.
10262         * subr.el (split-string): New arg TRIM.
10264 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
10266         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10267         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10269 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
10271         * filenotify.el (file-notify--library): Rename from
10272         `file-notify-support'.  Do not autoload.  Adapt all uses.
10273         (file-notify-supported-p): New defun.
10275         * autorevert.el (auto-revert-use-notify):
10276         Use `file-notify-supported-p' instead of `file-notify-support'.
10277         Adapt docstring.
10278         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10280         * net/tramp.el (tramp-file-name-for-operation):
10281         Add `file-notify-supported-p'.
10283         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10284         New defun.
10285         (tramp-sh-file-name-handler-alist): Add it as handler for
10286         `file-notify-supported-p '.
10288         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10289         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10290         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10291         Add `ignore' as handler for `file-notify-*' functions.
10293 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
10295         * simple.el (line-move-partial, line-move): Don't start vscroll or
10296         scroll-up if the current line is not taller than the window.
10297         (Bug#14881)
10299 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
10301         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10302         highlight question marks in the method names as strings.
10303         (ruby-block-beg-keywords): Inline.
10304         (ruby-font-lock-keyword-beg-re): Extract from
10305         `ruby-font-lock-keywords'.
10307 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
10309         * frame.el (blink-cursor-blinks): New defcustom.
10310         (blink-cursor-blinks-done): New defvar.
10311         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10312         (blink-cursor-timer-function): Check if number of blinks has been
10313         done on X and NS.
10314         (blink-cursor-suspend, blink-cursor-check): New defuns.
10316 2013-07-15  Glenn Morris  <rgm@gnu.org>
10318         * edmacro.el (edmacro-format-keys): Fix previous change.
10320 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
10322         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10323         The hack didn't work outside English locales anyway.
10325 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
10327         * simple.el (define-alternatives): Rename from alternatives-define,
10328         per RMS' suggestion.
10330 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
10332         * desktop.el (desktop-restore-frames): Change default to t.
10333         (desktop-restore-in-current-display): Now offer more options.
10334         (desktop-restoring-reuses-frames): New customization option.
10335         (desktop--saved-states): Doc fix.
10336         (desktop-filter-parameters-alist): New variable, renamed and expanded
10337         from desktop--excluded-frame-parameters.
10338         (desktop--target-display): New variable.
10339         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10340         (desktop--filter-tty*, desktop--filter-*-color)
10341         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10342         (desktop--filter-save-desktop-parm)
10343         (desktop-restore-in-original-display-p): New functions.
10344         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10345         (desktop--save-minibuffer-frames): New function, inspired by a similar
10346         function from Martin Rudalics.
10347         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10348         (desktop--restore-in-this-display-p): Remove.
10349         (desktop--find-frame): Rename from desktop--find-frame-in-display
10350         and add predicate argument.
10351         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10352         (desktop--reuse-list): New variable.
10353         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10354         New functions.
10355         (desktop--restore-frames): Add support for "minibuffer-special" frames.
10357 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
10359         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10361 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
10363         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10364         Highlight conversion methods on Kernel.
10366 2013-07-13  Alan Mackenzie  <acm@muc.de>
10368         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10369         and comment it out.  This out-commenting enables certain C++
10370         declarations to be parsed correctly.
10372 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
10374         * international/mule.el (define-coding-system): Doc fix.
10376         * simple.el (default-font-height): Don't call font-info if the
10377         frame's default font didn't change since the frame was created.
10378         (Bug#14838)
10380 2013-07-13  Leo Liu  <sdl.web@gmail.com>
10382         * ido.el (ido-read-file-name): Guard against non-symbol value.
10384 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
10386         * progmodes/python.el (python-imenu--build-tree): Fix corner case
10387         in nested defuns.
10389 2013-07-13  Leo Liu  <sdl.web@gmail.com>
10391         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10392         ido-set-matches call.  (Bug#6852)
10394 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
10396         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10397         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10398         Ruby 2.0.
10399         (ruby-font-lock-keywords): Distinguish calls to functions with
10400         module-like names from module references.  Highlight character
10401         literals.
10403 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
10405         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10406         (gdb-send): Handle continued commands.  (Bug#14847)
10408 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
10410         * desktop.el (desktop--v2s): Remove unused local variable.
10411         (desktop-save-buffer): Make defvar-local; adjust docstring.
10412         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10413         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10415 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
10417         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10419 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
10421         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10422         (Bug#14842)
10424 2013-07-12  Glenn Morris  <rgm@gnu.org>
10426         * doc-view.el: Require cl-lib at runtime too.
10427         (doc-view-remove-if): Remove.
10428         (doc-view-search-next-match, doc-view-search-previous-match):
10429         Use cl-remove-if.
10431         * edmacro.el: Require cl-lib at runtime too.
10432         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10433         (edmacro-mismatch, edmacro-subseq): Remove.
10435         * shadowfile.el: Require cl-lib.
10436         (shadow-remove-if): Remove.
10437         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10438         Use cl-remove-if.
10440         * wid-edit.el: Require cl-lib.
10441         (widget-choose): Use cl-remove-if.
10442         (widget-remove-if): Remove.
10444         * progmodes/ebrowse.el: Require cl-lib at runtime too.
10445         (ebrowse-delete-if-not): Remove.
10446         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10447         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10448         Use cl-delete-if-not.
10450 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
10452         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10453         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10455 2013-07-12  Leo Liu  <sdl.web@gmail.com>
10457         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
10459 2013-07-11  Glenn Morris  <rgm@gnu.org>
10461         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10462         (edebug-gensym-index, edebug-gensym):
10463         Remove reimplementation of cl-gensym.
10464         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10466         * thumbs.el: Require cl-lib at run-time too.
10467         (thumbs-gensym-counter, thumbs-gensym):
10468         Remove reimplementation of cl-gensym.
10469         (thumbs-temp-file): Use cl-gensym.
10471         * emacs-lisp/ert.el: Require cl-lib at runtime too.
10472         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10473         (ert--intersection, ert--set-difference, ert--set-difference-eq)
10474         (ert--union, ert--gensym-counter, ert--gensym-counter)
10475         (ert--coerce-to-vector, ert--remove*, ert--string-position)
10476         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10477         (ert-make-test-unbound, ert--expand-should-1)
10478         (ert--expand-should, ert--should-error-handle-error)
10479         (should-error, ert--explain-equal-rec)
10480         (ert--plist-difference-explanation, ert-select-tests)
10481         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10482         Use cl-lib functions rather than reimplementations.
10484 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
10486         * net/tramp.el (tramp-methods): Extend docstring.
10487         (tramp-connection-timeout): New defcustom.
10488         (tramp-error-with-buffer): Reset timestamp only when appropriate.
10489         (with-tramp-progress-reporter): Simplify.
10490         (tramp-process-actions): Improve messages.
10492         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10493         * net/tramp-sh.el (tramp-maybe-open-connection):
10494         Use `tramp-connection-timeout'.
10495         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10496         (Bug#14808)
10498 2013-07-11  Leo Liu  <sdl.web@gmail.com>
10500         * ido.el (ido-read-file-name): Conform to the requirements of
10501         read-file-name.  (Bug#11861)
10502         (ido-read-directory-name): Conform to the requirements of
10503         read-directory-name.
10505 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
10507         * subr.el (delay-warning): New function.
10509 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
10511         * simple.el (default-line-height): New function.
10512         (line-move-partial, line-move): Use it instead of computing the
10513         line height inline.
10514         (line-move-partial): Always compute ROWH.  If the last line is
10515         partially-visible, but its text is completely visible, allow
10516         cursor to enter such a partially-visible line.
10518 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
10520         Improve error messages.  (Bug#14808)
10522         * net/tramp.el (tramp-current-connection): New defvar, moved from
10523         tramp-sh.el.
10524         (tramp-message-show-progress-reporter-message): Remove, not
10525         needed anymore.
10526         (tramp-error-with-buffer): Show message in minibuffer.
10527         Discard input before waiting.  Reset connection timestamp.
10528         (with-tramp-progress-reporter): Improve messages.
10529         (tramp-process-actions): Use progress reporter.  Delete process in
10530         case of error.  Improve messages.
10532         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10533         Call `tramp-error-with-buffer' with vector and buffer.
10534         (tramp-current-connection): Remove.
10535         (tramp-maybe-open-connection): The car of
10536         `tramp-current-connection' are the first 3 slots of the vector.
10538 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
10540         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10541         inside continued strings.
10543 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
10545         Timestamp fixes for undo (Bug#14824).
10546         * files.el (clear-visited-file-modtime): Move here from fileio.c.
10548 2013-07-10  Leo Liu  <sdl.web@gmail.com>
10550         * files.el (require-final-newline): Allow safe local value.
10551         (Bug#14834)
10553 2013-07-09  Leo Liu  <sdl.web@gmail.com>
10555         * ido.el (ido-read-directory-name): Handle fallback.
10556         (ido-read-file-name): Update DIR to ido-current-directory.
10557         (Bug#1516)
10558         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
10560 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
10562         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10563         "autoload".  Remove "warn lower camel case" section, previously
10564         commented out.  Highlight negation char.  Do not highlight the
10565         target in singleton method definitions.
10567 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10569         * faces.el (tty-setup-hook): Declare the hook.
10571         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10572         and detect when a guard/pred depends on local vars (bug#14773).
10573         (pcase--u1): Adjust caller.
10575 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
10577         * simple.el (line-move-partial, line-move): Account for
10578         line-spacing.
10579         (line-move-partial): Avoid setting vscroll when the last
10580         partially-visible line in window is of default height.
10582 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10584         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10585         been used a while.
10587 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
10589         * subr.el (read-quoted-char): Remove unused local variable `char'.
10591 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
10593         * ediff.el (ediff-version): Version update.
10594         (ediff-files-command, ediff3-files-command, ediff-merge-command)
10595         (ediff-merge-with-ancestor-command, ediff-directories-command)
10596         (ediff-directories3-command, ediff-merge-directories-command)
10597         (ediff-merge-directories-with-ancestor-command): New functions.
10598         All are command-line interfaces to ediff: to facilitate calling
10599         Emacs with the appropriate ediff functions invoked.
10601         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10602         (viper-save-kill-buffer): Check if buffer is modified.
10604         * viper.el (viper-version): Version update.
10605         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10607 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10609         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10610         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10611         (viper-intercept-ESC-key): Simplify.
10612         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10613         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10614         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10615         (viper-setup-ESC-to-escape): New functions.
10616         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10617         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
10619 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
10621         * simple.el (default-font-height, window-screen-lines):
10622         New functions.
10623         (line-move, line-move-partial): Use them instead of
10624         frame-char-height and window-text-height.  This makes scrolling
10625         text smoother when the buffer's default face uses a font that is
10626         different from the frame's default font.
10628 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
10630         * files.el (write-file): Do not display confirm dialog for NS,
10631         it does its own dialog, which can't be canceled (Bug#14578).
10633 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
10635         * simple.el (line-move-partial): Adjust the row returned by
10636         posn-at-point for the current window-vscroll.  (Bug#14567)
10638 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
10640         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10641         (tramp-sh-file-inotifywait-process-filter): Handle file names with
10642         spaces.
10644 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
10646         * window.el (window-state-put-stale-windows): New variable.
10647         (window--state-put-2): Save list of windows without matching buffer.
10648         (window-state-put): Remove "bufferless" windows if possible.
10650 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
10652         * simple.el (alternatives-define): Remove leftover :group keyword.
10653         Tweak docstring.
10655 2013-07-06  Leo Liu  <sdl.web@gmail.com>
10657         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10658         (ido-enable-virtual-buffers): New variable.
10659         (ido-buffer-internal, ido-toggle-virtual-buffers)
10660         (ido-make-buffer-list): Use it.
10661         (ido-exhibit): Support turning on and off virtual buffers
10662         automatically.
10664 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
10666         * simple.el (alternatives-define): New macro.
10668 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10670         * subr.el (read-quoted-char): Use read-key.
10671         (sit-for): Let read-event decode tty input (bug#14782).
10673 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
10675         * calendar/todo-mode.el: Add handling of file deletion, both by
10676         mode command and externally.  Fix various related bugs.
10677         Clarify Commentary and improve some documentation strings and code.
10678         (todo-delete-file): New command.
10679         (todo-check-file): New function.
10680         (todo-show): Handle external deletion of the file we're trying to
10681         show (bug#14688).  Replace called-interactively-p by an optional
10682         prefix argument to avoid problematic interaction with catch form
10683         when byte compiled (bug#14702).
10684         (todo-quit): Handle external deletion of the archive's todo file.
10685         Make sure the buffer that was visiting the archive file is still
10686         live before trying to bury it.
10687         (todo-category-completions): Handle external deletion of any
10688         category completion files.
10689         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10690         of todo files, in case of external deletion.
10691         (todo-add-file): Replace unnecessary setq by let-binding.
10692         (todo-find-archive): Check whether there are any archives.
10693         Replace unnecessary setq by let-binding.
10694         (todo-archive-done-item): Use find-file-noselect to get the
10695         archive buffer whether or not the archive already exists.
10696         Remove superfluous code.  Use file size instead of buffer-file-name to
10697         check if the archive is new; if it is, update list of archives.
10698         (todo-default-todo-file): Allow nil to be a valid value for when
10699         there are no todo files.
10700         (todo-reevaluate-default-file-defcustom): Use corrected definition
10701         of todo-default-todo-file.
10702         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10703         (todo-delete-category, todo-show-categories-table)
10704         (todo-category-number): Clarify comment.
10705         (todo-filter-items): Clarify documentation string.
10706         (todo-show-current-file, todo-display-as-todo-file)
10707         (todo-reset-and-enable-done-separator): Tweak documentation string.
10708         (todo-done-separator): Make separator length window-width, since
10709         bug#2749 is now fixed.
10711 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
10713         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10714         Support both "gvfs-monitor-dir" and "inotifywait".
10715         (tramp-sh-file-inotifywait-process-filter): Rename from
10716         `tramp-sh-file-notify-process-filter'.
10717         (tramp-sh-file-gvfs-monitor-dir-process-filter)
10718         (tramp-get-remote-gvfs-monitor-dir): New defuns.
10720 2013-07-05  Leo Liu  <sdl.web@gmail.com>
10722         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10724 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10726         * frame.el (display-pixel-height, display-pixel-width)
10727         (display-mm-height, display-mm-width): Mention behavior on
10728         multi-monitor setups in docstrings.
10729         (w32-display-monitor-attributes-list): Declare function.
10730         (display-monitor-attributes-list): Use it.
10732 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
10734         * filenotify.el: New package.
10736         * autorevert.el (top): Require filenotify.el.
10737         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
10738         instead.
10739         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10740         (auto-revert-notify-handler): Use `file-notify-*' functions.
10742         * subr.el (file-notify-handle-event): Move function to filenotify.el.
10744         * net/tramp.el (tramp-file-name-for-operation):
10745         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10747         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10748         for `file-notify-add-watch' and `file-notify-rm-watch'.
10749         (tramp-process-sentinel): Improve trace.
10750         (tramp-sh-handle-file-notify-add-watch)
10751         (tramp-sh-file-notify-process-filter)
10752         (tramp-sh-handle-file-notify-rm-watch)
10753         (tramp-get-remote-inotifywait): New defuns.
10755 2013-07-03  Juri Linkov  <juri@jurta.org>
10757         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10758         call of `occur-read-primary-args' to interactive spec.
10760         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10761         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
10763 2013-07-03  Matthias Meulien  <orontee@gmail.com>
10765         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10766         `Buffer-menu-multi-occur'.  Add it to the menu.
10767         (Buffer-menu-mode): Document it in docstring.
10768         (Buffer-menu-multi-occur): New command.  (Bug#14673)
10770 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
10772         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10773         keywords and built-ins.
10775 2013-07-03  Glenn Morris  <rgm@gnu.org>
10777         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
10779         Make info-xref checks case-sensitive by default
10780         * info.el (Info-find-node, Info-find-in-tag-table)
10781         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10782         Add option for exact case matching of nodes.
10783         * info-xref.el (info-xref): New custom group.
10784         (info-xref-case-fold): New option.
10785         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10787 2013-07-03  Leo Liu  <sdl.web@gmail.com>
10789         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10791 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
10793         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10794         middle of block statement initially, lower the depth.  Remove
10795         FIXME comment, not longer valid.  Remove middle of block statement
10796         detection, no need to do that anymore since we've been using
10797         `ruby-parse-region' here.
10799 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
10801         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10803 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
10805         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10807 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
10809         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10810         (desktop-restore-in-current-display): New customization option.
10811         (desktop--excluded-frame-parameters): Add `font'.
10812         (desktop--save-frames): Rename from desktop--save-windows.
10813         (desktop--restore-in-this-display-p): New function.
10814         (desktop--make-full-frame): Remove unwanted width/height from
10815         full(width|height) frames.
10816         (desktop--restore-frames): Rename from desktop--restore-windows.
10817         Obey desktop-restore-current-display.  Do not delete old frames or
10818         select a new frame unless we were able to restore at least one frame.
10820 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
10822         * files.el (find-file-noselect): Simplify conditional expression.
10824         * textmodes/remember.el (remember-append-to-file):
10825         Don't mix `find-buffer-visiting' and `get-file-buffer'.
10827         Add `remember-notes' function to store random notes across Emacs
10828         restarts.
10829         * textmodes/remember.el (remember-data-file): Add :set callback to
10830         affect notes buffer (if any).
10831         (remember-notes): New command.
10832         (remember-notes-buffer-name, bury-remember-notes-on-kill):
10833         New defcustoms for the `remember-notes' function.
10834         (remember-notes-save-and-bury-buffer): New command.
10835         (remember-notes-mode-map): New variable.
10836         (remember-mode): New minor mode.
10837         (remember-notes--kill-buffer-query): New function.
10838         * startup.el (initial-buffer-choice): Add notes to custom type.
10840 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
10842         * bindings.el (right-char, left-char): Don't call sit-for, this is
10843         no longer needed.  Use arithmetic comparison only for numerical
10844         arguments.
10846         * international/mule-cmds.el (select-safe-coding-system):
10847         Handle the case of FROM being a string correctly.  (Bug#14755)
10849 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10851         * net/shr.el (shr-make-table-1): Add a sanity check that allows
10852         progression on degenerate tables.
10853         (shr-rescale-image): ImageMagick animated images currently don't work.
10855 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
10857         Some fixes and improvements for desktop frame restoration.
10858         It is still experimental and disabled by default.
10859         * desktop.el (desktop--save-windows): Put the selected frame at
10860         the head of the list.
10861         (desktop--make-full-frame): New function.
10862         (desktop--restore-windows): Try to re-select the frame that was
10863         selected upon saving.  Do not abort if some frames fail to restore,
10864         just show an error message and continue.  Set up maximized frames
10865         so they have default non-maximized dimensions.
10867 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
10869         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10870         Don't start heredoc inside a string or comment.
10872 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
10874         * bindings.el (visual-order-cursor-movement): New defcustom.
10875         (right-char, left-char): Provide visual-order cursor motion by
10876         calling move-point-visually.  Update the doc strings.
10878 2013-06-28  Kenichi Handa  <handa@gnu.org>
10880         * international/mule.el (define-coding-system): New coding system
10881         properties :inhibit-null-byte-detection,
10882         :inhibit-iso-escape-detection, and :prefer-utf-8.
10883         (set-buffer-file-coding-system): If :charset-list property of
10884         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10885         appropriate for setting.
10887         * international/mule-cmds.el (select-safe-coding-system):
10888         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10889         multibyte characters, return utf-8 (or one of its siblings).
10891         * international/mule-conf.el (prefer-utf-8): New coding system.
10892         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10893         files.
10895 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
10897         * net/shr.el (shr-render-region): New function.
10899         * net/eww.el: Autoload `eww-browse-url'.
10901 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
10903         * emacs-lisp/package-x.el (package-upload-buffer-internal):
10904         Adapt to `package-desc-version' being a list.
10905         Use `package--ac-desc-version' to retrieve version from a package
10906         archive element.
10908 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
10910         New experimental feature to save&restore window and frame setup.
10911         * desktop.el (desktop-save-windows): New defcustom.
10912         (desktop--saved-states): New var.
10913         (desktop--excluded-frame-parameters): New defconst.
10914         (desktop--filter-frame-parms, desktop--find-frame-in-display)
10915         (desktop--restore-windows, desktop--save-windows): New functions.
10916         (desktop-save): Call `desktop--save-windows'.
10917         (desktop-read): Call `desktop--restore-windows'.
10919 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10921         * net/shr.el (add-face-text-property): Remove compat definition.
10923 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
10925         * info.el (Info-try-follow-nearest-node): Move search for footnote
10926         above search for node name to prevent missing a footnote (bug#14717).
10928 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
10930         * obsolete/otodo-mode.el: Add obsolescence info to file header.
10932 2013-06-27  Leo Liu  <sdl.web@gmail.com>
10934         * net/eww.el (eww-read-bookmarks): Check file size.
10936 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10938         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10939         advice--pending if newdef is nil or an autoload (bug#13820).
10940         (advice-mapc): New function.
10942 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10944         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10945         probably.
10946         (eww-mode-map): Add a menu bar.
10947         (eww-add-bookmark): New command.
10948         (eww-bookmark-mode): New mode and commands.
10949         (eww-add-bookmark): Remove newlines from the title.
10950         (eww-bookmark-browse): Don't bug out if it's the only window.
10952 2013-06-26  Glenn Morris  <rgm@gnu.org>
10954         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10955         (hfy-size): Handle ttys.  (Bug#14668)
10957         * info-xref.el: Update for Texinfo 5 change in *note format.
10958         (info-xref-node-re, info-xref-note-re): New constants.
10959         (info-xref-check-buffer): Use info-xref-note-re.
10961 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10963         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10965         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10966         nil terminate the loop (bug#14718).
10968 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10970         * net/eww.el: Rework history traversal.  When going forward/back,
10971         put these actions into the history, too, so that they can be
10972         replayed.
10973         (eww-render): Move the history reset to the correct buffer.
10975 2013-06-25  Juri Linkov  <juri@jurta.org>
10977         * files-x.el (modify-dir-local-variable): Change the header comment
10978         in the file with directory local variables.  (Bug#14692)
10980         * files-x.el (read-file-local-variable-value): Add `default'.
10981         (Bug#14710)
10983 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10985         * net/eww.el (eww-make-unique-file-name): Create a unique file
10986         name before saving to entering `y' accidentally asynchronously.
10988 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
10990         * net/eww.el (eww-download): New command and keystroke.
10992 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10994         * net/eww.el (eww-copy-page-url): Change name of command.
10996         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10997         be more consistent with Info and dired.
10999         * net/eww.el (eww-mode-map): Ditto.
11001 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11003         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
11004         packages from archives.
11005         (package-archive-contents): Change format; include obsolete packages.
11006         (package-desc): Use `dir' to mark builtin packages.
11007         (package--from-builtin): Set the `dir' field to `builtin'.
11008         (generated-autoload-file, version-control): Declare.
11009         (package-compute-transaction): Change first arg and return value to be
11010         lists of package-descs.  Adjust to new package-archive-contents format.
11011         (package--add-to-archive-contents): Adjust to new
11012         package-archive-contents format.
11013         (package-download-transaction): Arg is now a list of package-descs.
11014         (package-install): If `pkg' is a package name, pass it as
11015         a requirement, so it is subject to the usual (e.g. disabled) checks.
11016         (describe-package): Accept package-desc as well.
11017         (describe-package-1): Describe a specific package-desc.  Add links to
11018         other package-descs for the same package name.
11019         (package-menu-describe-package): Pass the actual package-desc.
11020         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11021         works correctly.
11022         (package-desc-status): New function.
11023         (package-menu--refresh): New function, extracted
11024         from package-menu--generate.
11025         (package-menu--generate): Use it.
11026         (package-delete): Update package-alist.
11027         (package-menu-execute): Don't call package-initialize.
11029         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11030         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11031         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11032         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11033         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11034         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11036 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
11038         * window.el (window--state-get-1): Workaround for bug#14527.
11039         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11041 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11043         * net/eww.el (eww-back-url): Implement the history by stashing all
11044         the data into a list.
11045         (eww-forward-url): Allow going forward in the history, too.
11047 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11049         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11050         for values and use read--expression for expressions (bug#14710).
11051         (read-file-local-variable): Avoid setq.
11052         (read-file-local-variable-mode): Use minor-mode-list.
11054 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11056         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11057         for DOI URLs.
11059 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11061         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11062         Update imenu-support when dialect changes.
11064 2013-06-25  Leo Liu  <sdl.web@gmail.com>
11066         * ido.el (ido-read-internal): Allow forward slash on windows.
11068 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11070         * net/eww.el (eww): Start of strings is \\`, not ^.
11072 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
11074         * net/shr.el (shr-browse-url): Fix interactive spec.
11076         * net/eww.el (eww): Add a trailing slash to domain names.
11078 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
11080         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11082 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11084         * net/shr.el (shr-browse-url): Use an external browser if given a
11085         prefix.
11087         * net/eww.el (eww-external-browser): Move to shr.
11089 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
11091         * net/eww.el (eww): Work more correctly for file: URLs.
11092         (eww-detect-charset): Allow quoted charsets.
11093         (eww-yank-page-url): New command and keystroke.
11095 2013-06-24  Daiki Ueno  <ueno@gnu.org>
11097         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11098         file name of gpg executable.
11099         (epg-context-program): New function.
11100         (epg-context-home-directory): New function.
11101         (epg-context-set-program): New function.
11102         (epg-context-set-home-directory): New function.
11103         (epg--start): Use `epg-context-program' instead of
11104         'epg-gpg-program'.
11105         (epg--list-keys-1): Likewise.
11107 2013-06-24  Leo Liu  <sdl.web@gmail.com>
11109         * ido.el (ido-read-internal): Fix bug#14620.
11111 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
11113         * faces.el (face-documentation): Simplify.
11114         (read-face-attribute, tty-find-type, x-resolve-font-name):
11115         Use `string-match-p'.
11116         (list-faces-display): Use `string-match-p'.  Simplify.
11117         (face-spec-recalc): Check face to avoid face alias loops.
11118         (read-color): Use `string-match-p' and non-capturing parenthesis.
11120 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11122         * net/shr.el (shr-rescale-image): Use the new
11123         :max-width/:max-height functionality.
11125 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
11127         * net/eww.el (eww-search-prefix): New variable.
11128         (eww): Use it.
11129         (eww-external-browser): New variable.
11130         (eww-mode-map): New keystroke.
11131         (eww-browse-with-external-browser): New command.
11133         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11135 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
11137         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11138         Don't skip aligning the next header field when padding is 0;
11139         otherwise, field width is not respected unless the title is as
11140         wide as the field.
11142 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11144         * emacs-lisp/package.el (package-el-version): Remove.
11145         (package-process-define-package): Fix inf-loop.
11146         (package-install): Allow symbols as arguments again.
11148 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
11150         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11151         add some more keyword-like methods.
11152         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11154 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
11156         * bs.el (bs-buffer-show-mark): Make defvar-local.
11157         (bs-mode): Use setq-local.
11159         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11160         (emacs-lock--try-unlocking): Make defvar-local.
11162 2013-06-22  Glenn Morris  <rgm@gnu.org>
11164         * play/cookie1.el (cookie-apropos): Minor simplification.
11166         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11168 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
11170         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11171         `regexp-opt', it breaks the build during dumping.
11173 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
11175         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11176         Highlight keyword-like methods on Kernel and Module with
11177         font-lock-builtin-face.
11178         (auto-mode-alist): Consolidate different entries into one regexp
11179         and add more *file-s.
11181 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
11183         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11185         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11186         (diary-entry): Use it in the action of this button type instead of
11187         diary-goto-entry.
11189         * calendar/todo-mode.el: New version.
11190         (todo-add-category): Append new category to end of file and give
11191         it the highest number, instead of putting it at the beginning and
11192         giving it 0.  Incorporate noninteractive functionality.
11193         (todo-forward-category): Adapt to 1-based category numbering.
11194         Allow skipping over archived categories.
11195         (todo-backward-category): Derive from todo-forward-category.
11196         (todo-backward-item, todo-forward-item): Make noninteractive and
11197         delegate interactive part to new commands.  Make sensitive to done items.
11198         (todo-categories): Make value an alist of category names and
11199         vectors of item counts.
11200         (todo-category-beg): Make a defconst.
11201         (todo-category-number): Use 1 instead of 0 as initial value.
11202         (todo-category-select): Make sensitive to overlays, optional item
11203         highlighting and done items.
11204         (todo-delete-item): Make sensitive to overlays and marked and done items.
11205         (todo-edit-item): Make sensitive to overlays and editing of
11206         date/time header optional.  Add format checks.
11207         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
11208         no-op if point is not on an item.  Advertise using todo-edit-quit.
11209         (todo-edit-mode): Make sensitive to new format, font-locking, and
11210         multiple todo files.
11211         (todo-insert-item, todo-insert-item-here): Derive from
11212         todo-basic-insert-item and extend functionality.
11213         (todo-item-end, todo-item-start): Make sensitive to done items.
11214         (todo-item-string): Don't return text properties.  Restore point.
11215         (todo-jump-to-category): Make sensitive to multiple todo files and
11216         todo archives.  Use extended category completion.
11217         (todo-lower-item, todo-raise-item): Rename to *-priority and
11218         derive from todo-set-item-priority.
11219         (todo-mode): Derive from special-mode.  Make sensitive to new
11220         format, font-locking and multiple todo files.  Make read-only.
11221         (todo-mode-map): Don't suppress digit keys, so they can supply
11222         prefix arguments.  Add many new key bindings.
11223         (todo-prefix): Insert as an overlay instead of file text.
11224         Change semantics from diary date expression to purely visual mark.
11225         (todo-print): Rename to todo-print-buffer.  Make buffer display
11226         features printable.  Remove option to restrict number of items
11227         printed.  Add option to print to file.
11228         (todo-print-function): Rename to todo-print-buffer-function.
11229         (todo-quit): Extend to handle exiting new todo modes.
11230         (todo-remove-item): Make sensitive to overlays.
11231         (todo-save): Extend to buffers of filtered items.
11232         (todo-show): Make sensitive to done items, multiple todo files and
11233         new todo modes.  Offer to convert legacy todo file before creating
11234         first new todo file.
11235         (todo-show-priorities): Rename to todo-top-priorities.
11236         Change semantics of value 0.
11237         (todo-top-priorities): Rename to todo-filter-top-priorities,
11238         derive from todo-filter-items and extend functionality.
11239         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11240         and extend functionality to other types of filtered items.
11241         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11242         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11243         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11244         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11245         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11246         (todo-edit-mode-hook, todo-entry-prefix-function)
11247         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11248         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11249         (todo-initials, todo-insert-threshold, todo-item-string-start)
11250         (todo-line-string, todo-menu, todo-mode-hook)
11251         (todo-more-important-p, todo-previous-answer, todo-previous-line)
11252         (todo-print-priorities, todo-remove-separator)
11253         (todo-save-top-priorities-too, todo-string-count-lines)
11254         (todo-string-multiline-p, todo-time-string-format)
11255         (todo-tmp-buffer-name): Remove.
11256         (todo-add-file, todo-archive-done-item, todo-choose-archive)
11257         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11258         (todo-edit-category-diary-inclusion)
11259         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11260         (todo-edit-file, todo-edit-item-date-day)
11261         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11262         (todo-edit-item-date-month, todo-edit-item-date-to-today)
11263         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11264         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11265         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11266         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11267         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11268         (todo-filter-top-priorities-multifile, todo-find-archive)
11269         (todo-find-filtered-items-file, todo-go-to-source-item)
11270         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11271         (todo-jump-to-archive-category, todo-lower-category)
11272         (todo-mark-category, todo-marked-item-p, todo-merge-category)
11273         (todo-move-category, todo-move-item, todo-next-button)
11274         (todo-next-item, todo-padded-string, todo-powerset)
11275         (todo-previous-button, todo-previous-item)
11276         (todo-print-buffer-to-file, todo-raise-category)
11277         (todo-rename-category, todo-repair-categories-sexp, todo-search)
11278         (todo-set-category-number, todo-set-item-priority)
11279         (todo-set-top-priorities-in-category)
11280         (todo-set-top-priorities-in-file, todo-show-categories-table)
11281         (todo-sort-categories-alphabetically-or-numerically)
11282         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11283         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11284         (todo-toggle-item-header, todo-toggle-item-highlighting)
11285         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11286         (todo-toggle-view-done-items, todo-toggle-view-done-only)
11287         (todo-unarchive-items, todo-unmark-category): New commands.
11288         (todo-absolute-file-name, todo-add-to-buffer-list)
11289         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11290         (todo-basic-insert-item, todo-category-completions)
11291         (todo-category-number, todo-category-string-matcher-1)
11292         (todo-category-string-matcher-2, todo-check-filtered-items-file)
11293         (todo-check-format, todo-clear-matches)
11294         (todo-comment-string-matcher, todo-convert-legacy-date-time)
11295         (todo-current-category, todo-date-string-matcher)
11296         (todo-define-insertion-command, todo-diary-expired-matcher)
11297         (todo-diary-goto-entry, todo-diary-item-p)
11298         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11299         (todo-display-categories, todo-display-sorted, todo-done-item-p)
11300         (todo-done-item-section-p, todo-done-separator)
11301         (todo-done-string-matcher, todo-files, todo-filter-items)
11302         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11303         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11304         (todo-insert-category-line, todo-insert-item-from-calendar)
11305         (todo-insert-sort-button, todo-insert-with-overlays)
11306         (todo-insertion-command-name, todo-insertion-key-bindings)
11307         (todo-label-to-key, todo-longest-category-name-length)
11308         (todo-make-categories-list, todo-mode-external-set)
11309         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11310         (todo-modes-set-3, todo-multiple-filter-files)
11311         (todo-nondiary-marker-matcher, todo-prefix-overlays)
11312         (todo-read-category, todo-read-date, todo-read-dayname)
11313         (todo-read-file-name, todo-read-time)
11314         (todo-reevaluate-category-completions-files-defcustom)
11315         (todo-reevaluate-default-file-defcustom)
11316         (todo-reevaluate-filelist-defcustoms)
11317         (todo-reevaluate-filter-files-defcustom)
11318         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11319         (todo-reset-done-separator, todo-reset-done-separator-string)
11320         (todo-reset-done-string, todo-reset-global-current-todo-file)
11321         (todo-reset-highlight-item, todo-reset-nondiary-marker)
11322         (todo-reset-prefix, todo-set-categories)
11323         (todo-set-date-from-calendar, todo-set-show-current-file)
11324         (todo-set-top-priorities, todo-short-file-name)
11325         (todo-show-current-file, todo-sort, todo-time-string-matcher)
11326         (todo-total-item-counts, todo-update-buffer-list)
11327         (todo-update-categories-display, todo-update-categories-sexp)
11328         (todo-update-count, todo-validate-name, todo-y-or-n-p):
11329         New functions.
11330         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11331         New major modes.
11332         (todo-categories, todo-display, todo-edit, todo-faces)
11333         (todo-filtered): New defgroups.
11334         (todo-archived-only, todo-button, todo-category-string, todo-date)
11335         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11336         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11337         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11338         (todo-add-item-if-new-category, todo-always-add-time-string)
11339         (todo-categories-align, todo-categories-archived-label)
11340         (todo-categories-category-label, todo-categories-diary-label)
11341         (todo-categories-done-label, todo-categories-number-separator)
11342         (todo-categories-todo-label, todo-categories-totals-label)
11343         (todo-category-completions-files, todo-completion-ignore-case)
11344         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11345         (todo-done-separator-string, todo-done-string)
11346         (todo-files-function, todo-filter-done-items, todo-filter-files)
11347         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11348         (todo-initial-category, todo-initial-file, todo-item-mark)
11349         (todo-legacy-date-time-regexp, todo-mode-line-function)
11350         (todo-nondiary-marker, todo-number-prefix)
11351         (todo-print-buffer-function, todo-show-current-file)
11352         (todo-show-done-only, todo-show-first, todo-show-with-done)
11353         (todo-skip-archived-categories, todo-top-priorities-overrides)
11354         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11355         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11356         New defcustoms.
11357         (todo-category-done, todo-date-pattern, todo-date-string-start)
11358         (todo-diary-items-buffer, todo-done-string-start)
11359         (todo-filtered-items-buffer, todo-item-start)
11360         (todo-month-abbrev-array, todo-month-name-array)
11361         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11362         (todo-top-priorities-buffer): New defconsts.
11363         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11364         (todo-categories-with-marks, todo-category-string-face)
11365         (todo-comment-face, todo-comment-string, todo-current-todo-file)
11366         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11367         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11368         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11369         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11370         (todo-font-lock-keywords, todo-global-current-todo-file)
11371         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11372         (todo-insertion-commands-args)
11373         (todo-insertion-commands-args-genlist)
11374         (todo-insertion-commands-names, todo-insertion-map)
11375         (todo-key-bindings-t, todo-key-bindings-t+a)
11376         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11377         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11378         (todo-nondiary-face, todo-print-buffer, todo-time-face)
11379         (todo-visited): New variables.
11381 2013-06-21  Glenn Morris  <rgm@gnu.org>
11383         * play/cookie1.el (cookie-apropos): Add optional display argument.
11384         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11385         (psychoanalyze-pinhead): Use cookie-doctor.
11387 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
11389         * emacs-lisp/package.el (tar-get-file-descriptor)
11390         (tar--extract): Declare.
11392 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
11394         Extend flymake's warning predicate to be a function (bug#14217).
11395         * progmodes/flymake.el (flymake-warning-predicate): New.
11396         (flymake-parse-line): Use it.
11397         (flymake-warning-re): Make obsolete alias to
11398         `flymake-warning-predicate'.
11400 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11402         * emacs-lisp/package.el (package-alist): Include obsolete packages.
11403         (package-obsolete-list): Remove.
11404         (package-activate): Remove min-version argument.  Add `force' argument.
11405         Adjust to new package-alist format.
11406         (package-mark-obsolete): Remove.
11407         (package-unpack): Force reload of the package's autoloads.
11408         (package-installed-p): Check builtins if the installed package is not
11409         recent enough.
11410         (package-initialize): Don't reset package-obsolete-list.
11411         Don't specify which package version to activate.
11412         (package-process-define-package, describe-package-1)
11413         (package-menu--generate): Adjust to new package-alist format.
11415 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
11417         * allout-widgets.el (allout-widgets-mode-off)
11418         (allout-widgets-mode-on, allout-widgets-pre-command-business)
11419         (allout-widgets-post-command-business)
11420         (allout-widgets-after-copy-or-kill-function)
11421         (allout-widgets-after-undo-function, allout-test-range-overlaps)
11422         (allout-decorate-item-and-context)
11423         (allout-graphics-modification-handler): Fix typos in docstrings.
11424         (allout-get-or-create-parent-widget): Use `looking-at-p'.
11426         * cmuscheme.el (scheme-start-file): Doc fix.
11427         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11428         (scheme-input-filter): Use `string-match-p'.
11430         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11432         * dired-x.el: Use Dired consistently in docstrings.
11434         * dired.el: Use Dired consistently in docstrings.
11435         (dired-readin, dired-mode): Use `setq-local'.
11436         (dired-switches-alist): Make defvar-local.
11437         (dired-buffers-for-dir): Use `zerop'.
11438         (dired-safe-switches-p, dired-switches-escape-p)
11439         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11440         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11441         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11442         (dired-goto-next-nontrivial-file): Use `string-match-p'.
11443         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11444         (dired-toggle-marks, dired-mark-files-containing-regexp)
11445         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11446         (dired-flag-auto-save-files, dired-flag-backup-files):
11447         Use `looking-at-p'.
11448         (dired-mark-files-regexp, dired-build-subdir-alist):
11449         Use `string-match-p', `looking-at-p'.
11451         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11452         (direct-print-region-helper): Use `string-match-p'.
11454 2013-06-21  Leo Liu  <sdl.web@gmail.com>
11456         * comint.el (comint-redirect-results-list-from-process):
11457         Fix infinite loop.
11459 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11461         * net/eww.el (eww-update-header-line-format): Quote % characters.
11463 2013-06-21  Glenn Morris  <rgm@gnu.org>
11465         * play/cookie1.el (cookie): New custom group.
11466         (cookie-file): New option.
11467         (cookie-check-file): New function.
11468         (cookie): Make it interactive.  Make start and end messages optional.
11469         Interactively, display the result.  Default to cookie-file.
11470         (cookie-insert): Default to cookie-file.
11471         (cookie-snarf): Make start and end messages optional.
11472         Default to cookie-file.  Use with-temp-buffer.
11473         (cookie-read): Rename from read-cookie.
11474         Make start and end messages optional.  Default to cookie-file.
11475         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
11476         Do not autoload it.
11477         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11478         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11480 2013-06-21  Leo Liu  <sdl.web@gmail.com>
11482         * progmodes/octave.el (octave-mode): Backward compatibility fix.
11484 2013-06-21  Glenn Morris  <rgm@gnu.org>
11486         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11488 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11489             Daniel Hackney  <dan@haxney.org>
11491         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11492         Consolidate the single-file vs tarball code.
11493         (package-desc-suffix): New function.
11494         (package-desc-full-name): Don't bother inlining it.
11495         (package-load-descriptor): Return the new package-desc.
11496         (package-mark-obsolete): Remove unused arg `package'.
11497         (package-unpack): Make it work for single files as well.
11498         Make it update package-alist.
11499         (package--make-autoloads-and-stuff): Rename from
11500         package--make-autoloads-and-compile.  Don't compile any more.
11501         (package--compile): New function.
11502         (package-generate-description-file): New function, extracted from
11503         package-unpack-single.
11504         (package-unpack-single): Remove.
11505         (package--with-work-buffer): Add indentation and debugging info.
11506         (package-download-single): Remove.
11507         (package-install-from-archive): Rename from package-download-tar, make
11508         it take a pkg-desc, and make it work for single files as well.
11509         (package-download-transaction): Simplify.
11510         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
11511         external tar program.
11512         (package-install-from-buffer): Remove `pkg-desc' argument.
11513         Use package-tar-file-info for tar-mode buffers.
11514         (package-install-file): Simplify accordingly.
11515         (package-archive-base): Change to take a pkg-desc.
11516         * tar-mode.el (tar--check-descriptor): New function, extracted from
11517         tar-get-descriptor.
11518         (tar-get-descriptor): Use it.
11519         (tar-get-file-descriptor): New function.
11520         (tar--extract): New function, extracted from tar-extract.
11521         (tar--extract): Use it.
11522         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11523         case the summary uses non-ascii.  Adjust to new calling convention of
11524         package-tar-file-info.
11526 2013-06-21  Leo Liu  <sdl.web@gmail.com>
11528         * comint.el (comint-redirect-results-list-from-process):
11529         Fix random delay.  (Bug#14681)
11531 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
11533         * profiler.el (profiler-format-number): Use log, not log10.
11535 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
11537         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11539 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11541         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11542         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11543         yet available.
11544         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11545         (AUTOGENEL): ... here.
11546         * emacs-lisp/cl-macs.el (cl--sublis): New function.
11547         (cl--defsubst-expand): Use it.
11549 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
11551         * subr.el (log10): Move here from C code, and declare as obsolete.
11552         All uses of (log10 X) replaced with (log X 10).
11554 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
11556         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11557         Declare with `defvar-local'.
11558         (tabulated-list-use-header-line, tabulated-list-entries)
11559         (tabulated-list-padding, tabulated-list-printer)
11560         (tabulated-list-sort-key): Declare with `defvar-local'.
11561         (tabulated-list-init-header, tabulated-list-print-fake-header):
11562         Use `setq-local'.
11564 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
11566         * arc-mode.el (archive-mode): Add `archive-write-file' to
11567         `write-contents-functions' also for remote files.  (Bug#14652)
11569 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
11571         * cus-edit.el (custom-commands): Fix typos.
11572         (custom-display): Fix tooltip text.
11573         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11574         Fix typos in docstrings.
11575         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11576         (custom-unlispify-menu-entry, custom-magic-value-create)
11577         (custom-add-see-also, custom-group-value-create): Use ?\s.
11578         (custom-guess-type, customize-apropos, editable-field)
11579         (custom-face-value-create): Use `string-match-p'.
11580         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11582         * custom.el (custom-load-symbol): Use `string-match-p'.
11584         * ansi-color.el: Convert to lexical binding.
11585         (ansi-colors): Fix URL.
11586         (ansi-color-context, ansi-color-context-region): Use defvar-local.
11587         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11588         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11590 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11592         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11594         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11596 2013-06-19  Tom Tromey  <tromey@redhat.com>
11598         * net/eww.el (eww-top-url): Remove.
11599         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11600         (eww-render): Set new variables.  Don't set eww-top-url.
11601         (eww-handle-link): Handle "prev", "home", and "contents".
11602         Downcase the rel text.
11603         (eww-top-url): Choose best top URL.
11605 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11607         * net/eww.el: Rewrite to implement form elements "by hand" instead of
11608         relying in widget.el.  Using widget.el leads to too many
11609         user interface inconsistencies.
11610         (eww-self-insert): Implement entering commands in text fields.
11611         (eww-process-text-input): New function to make text input field editing
11612         work.
11613         (eww-submit): Rewrite to use the new-style form methods.
11614         (eww-select-display): Display the correct selected item.
11615         (eww-change-select): Implement changing the select value.
11616         (eww-toggle-checkbox): Implement radio/checkboxes.
11617         (eww-update-field): Fix compilation error.
11618         (eww-tag-textarea): Implement <textarea>.
11620         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11621         we don't shadow mode-specific bindings.
11623         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11624         nothing to push.
11626         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11628 2013-06-19  Glenn Morris  <rgm@gnu.org>
11630         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11632 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
11634         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11635         not needed.
11637         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11639 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11641         * net/browse-url.el (browse-url-browser-function):
11642         `eww-browse-url' has the right calling signature, `eww' does not.
11644 2013-06-19  Glenn Morris  <rgm@gnu.org>
11646         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11647         Only eval autoloaded macros.
11648         (byte-compile-autoload): Only give the macro warning for macros.
11650         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11651         (ps-underlined-faces): Declare.
11653         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11654         (speedbar-add-supported-extension): Declare.
11656         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11657         Don't include a date stamp in the header of the generated file;
11658         it leads to needless differences between output files.
11660 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
11662         * net/secrets.el (secrets-struct-secret-content-type):
11663         Replace check of introspection data by a test call of "CreateItem".
11664         Some servers do not offer introspection.
11666 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11668         * electric.el (electric-pair-mode): Improve interaction with
11669         electric-layout-mode.
11670         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11671         (electric-pair-syntax): Use text-mode-syntax-table in comments
11672         and strings.
11673         (electric-pair--insert): New function.
11674         (electric-pair-post-self-insert-function): Use it and
11675         electric--after-char-pos.
11677 2013-06-19  Leo Liu  <sdl.web@gmail.com>
11679         * progmodes/octave.el (octave-help): Fix regexp.
11681 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11683         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11684         (shr-table-horizontal-line): Allow nil as a value, and change the
11685         default.
11686         (shr-insert-table-ruler): Respect the nil value.
11688 2013-06-18  Tom Tromey  <tromey@barimba>
11690         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11691         New defvars.
11692         (eww-open-file): New defun.
11693         (eww-render): Initialize new variables.
11694         (eww-display-html): Handle "link" and "a".
11695         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11696         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
11697         (eww-back-url): Rename from eww-previous-url.
11698         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11699         New defuns.
11701 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
11703         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11704         Distinguish ternary operator tokens from slash symbol and slash
11705         char literal.
11707 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
11709         Convert symbol prettification into minor mode and global minor mode.
11711         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11712         `prog-prettify-symbols', and make a local defvar instead of defcustom.
11713         (prettify-symbols--keywords): Rename from
11714         `prog-prettify-symbols-alist' and make a local defvar.
11715         (prettify-symbols--compose-symbol): Rename from
11716         `prog--prettify-font-lock-compose-symbol'.
11717         (prettify-symbols--make-keywords): Rename from
11718         `prog-prettify-font-lock-symbols-keywords' and simplify.
11719         (prog-prettify-install): Remove.
11720         (prettify-symbols-mode): New minor mode, based on
11721         `prog-prettify-install'.
11722         (turn-on-prettify-symbols-mode): New function.
11723         (global-prettify-symbols-mode): New globalized minor mode.
11725         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11726         * progmodes/cfengine.el (cfengine3-mode):
11727         * progmodes/perl-mode.el (perl-mode): Don't call
11728         `prog-prettify-install'; set `prettify-symbols-alist' instead.
11730 2013-06-18  Juri Linkov  <juri@jurta.org>
11732         * files-x.el (modify-file-local-variable-message): New function.
11733         (modify-file-local-variable)
11734         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11735         and call `modify-file-local-variable-message' when it's non-nil.
11736         (add-file-local-variable, delete-file-local-variable)
11737         (add-file-local-variable-prop-line)
11738         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11739         and use it.  (Bug#9820)
11741 2013-06-18  Juri Linkov  <juri@jurta.org>
11743         * emulation/vi.el (vi-shell-op):
11744         * emulation/vip.el (vip-execute-com, ex-command):
11745         * emulation/viper-cmd.el (viper-exec-bang):
11746         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11747         the call of `shell-command-on-region'.  (Bug#14637)
11749         * simple.el (shell-command-on-region): Doc fix.
11751 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11753         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11754         (bug#14633).
11756 2013-06-18  Glenn Morris  <rgm@gnu.org>
11758         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11760         * newcomment.el (comment-search-forward, comment-search-backward):
11761         Doc fix.  (Bug#14376)
11763 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
11765         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11766         (buffer-face-mode-invoke): Doc fix.
11768 2013-06-18  Matthias Meulien  <orontee@gmail.com>
11770         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11771         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11773 2013-06-18  Glenn Morris  <rgm@gnu.org>
11775         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11776         Replace obsolete function generic-make-keywords with its expansion.
11778         * progmodes/python.el (ffap-alist): Declare.
11780         * textmodes/reftex.el (bibtex-mode-map): Declare.
11782 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11784         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11785         (package-unpack, package-unpack-single): Return the pkg-dir.
11786         (package-download-transaction): Use it to update package-alist.
11788 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11790         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11791         possible choice.
11793 2013-06-17  Juri Linkov  <juri@jurta.org>
11795         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11797 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
11799         * emacs-lisp/package.el (package-load-descriptor):
11800         Remove `with-syntax-table' call, `read' doesn't need it.
11801         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11803 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
11805         * startup.el (command-line): Expand package name returned by
11806         `package--description-file' (bug#14639).
11808 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
11810         * emacs-lisp/package.el (package-load-descriptor): Do not call
11811         `emacs-lisp-mode', just use its syntax table.
11813 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
11815         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11816         `font-lock-extra-managed-props' if any prettifying keyword is added.
11817         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11818         (prog-mode): Use `setq-local'.
11820 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11822         * international/characters.el (standard-case-table): Set syntax of ?»
11823         and ?« to punctuation.
11825 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
11827         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11828         Save relevant match data before calling `syntax-ppss' (bug#14595).
11830 2013-06-15  Juri Linkov  <juri@jurta.org>
11832         * files-x.el (modify-file-local-variable-prop-line): Add local
11833         variables to the end of the existing comment on the first line.
11834         Use `file-auto-mode-skip' to skip interpreter magic line,
11835         and also skip XML declaration.
11837 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11839         * startup.el (package--builtin-versions): New var.
11840         (package-subdirectory-regexp): Remove.
11841         (package--description-file): Hard code its value instead.
11843         * emacs-lisp/package.el: Don't activate packages older than builtin.
11844         (package-obsolete-list): Rename from package-obsolete-alist, and make
11845         it into a simple list of package-desc.
11846         (package-strip-version): Remove.
11847         (package-built-in-p): Use package--builtin-versions.
11848         (package-mark-obsolete): Simplify.
11849         (package-process-define-package): Mark it obsolete if older than the
11850         builtin version.
11851         (package-handle-response): Use line-end-position.
11852         (package-read-archive-contents, package--download-one-archive):
11853         Simplify.
11854         (package--add-to-archive-contents): Skip if older than the builtin or
11855         installed version.
11856         (package-menu-describe-package): Fix last change.
11857         (package-list-unversioned): New var.
11858         (package-menu--generate): Use it.
11860         * emacs-lisp/autoload.el: Manage package--builtin-versions.
11861         (autoload--insert-text, autoload--insert-cookie-text): New functions.
11862         (autoload-builtin-package-versions): New variable.
11863         (autoload-generate-file-autoloads): Use them.
11864         Remove the list of autoloaded functions/macros from the
11865         (autoload...) comments.
11867         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11869 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
11871         * simple.el (line-move-partial): Don't jump to the next screen
11872         line as soon as it becomes visible.  Instead, continue enlarging
11873         the vscroll until the portion of a tall screen line that's left on
11874         display is about the height of the frame's default font.
11875         (Bug#14567)
11877 2013-06-15  Glenn Morris  <rgm@gnu.org>
11879         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11880         compilation-error-regexp-alist void, or local while let-bound.
11882         * progmodes/make-mode.el (makefile-mode-syntax-table):
11883         Treat "=" as punctuation.  (Bug#14614)
11885 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
11887         * help-fns.el (describe-variable):
11888         Add extra line for permanent-local variables.
11890 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
11892         * progmodes/scheme.el (scheme-font-lock-keywords-2):
11893         Add export, import, library.  (Bug#9164)
11894         (library): Set indent function.
11896 2013-06-14  Glenn Morris  <rgm@gnu.org>
11898         * term/xterm.el (xterm--query):
11899         Stop after first matching handler.  (Bug#14615)
11901 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
11903         Add support for dired in saveplace.
11904         * dired.el (dired-initial-position-hook): New variable.
11905         (dired-initial-position): Call hook to place cursor position.
11906         * saveplace.el (save-place-to-alist): Add dired position.
11907         (save-place-dired-hook): New function.
11909 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11911         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11912         through a symbol rather than letrec.
11914         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
11915         (package-desc): Add `dir' field.
11916         (package-desc-full-name): New function.
11917         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
11918         (package-maybe-load-descriptor): Remove.
11919         (package-load-all-descriptors): Just call package-load-descriptor.
11920         (package--disabled-p): New function.
11921         (package-desc-vers, package-desc-doc): Remove aliases.
11922         (package--dir): Remove function.
11923         (package-activate): Check if a package is disabled.
11924         (package-process-define-package): New function, extracted from
11925         define-package.
11926         (define-package): Turn into a place holder.
11927         (package-unpack-single, package-tar-file-info):
11928         Use package--description-file.
11929         (package-compute-transaction): Use package--disabled-p.
11930         (package-download-transaction): Don't call
11931         package-maybe-load-descriptor since they're all loaded anyway.
11932         (package-install): Change argument to be a pkg-desc.
11933         (package-delete): Use a single pkg-desc argument.
11934         (describe-package-1): Use package-desc-dir instead of package--dir.
11935         Use package-desc property instead of package-symbol.
11936         (package-install-button-action): Adjust accordingly.
11937         (package--push): Rewrite.
11938         (package-menu--print-info): Adjust accordingly.  Change the ID format
11939         to be a pkg-desc.
11940         (package-menu-describe-package, package-menu-get-status)
11941         (package-menu--find-upgrades, package-menu-mark-upgrades)
11942         (package-menu-execute, package-menu--name-predicate):
11943         Adjust accordingly.
11944         * startup.el (package--description-file): New function.
11945         (command-line): Use it.
11946         * emacs-lisp/package-x.el (package-upload-buffer-internal):
11947         Use package-desc-version.
11949         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11950         (byte-compile-preprocess): Use it.
11951         (byte-compile-file-form-defalias): Try a bit harder to use macros we
11952         can't quite recognize.
11953         (byte-compile-add-to-list): Remove.
11954         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11955         (cconv-closure-convert): Add assertion.
11957         * emacs-lisp/map-ynp.el: Use lexical-binding.
11958         (map-y-or-n-p): Remove unused vars `tail' and `object'.
11959         Factor out some repeated code.
11961 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11963         * subr.el (with-eval-after-load): New macro.
11964         (eval-after-load): Allow form to be a function.
11965         take advantage of lexical-binding.
11966         (do-after-load-evaluation): Use dolist and adjust to new format.
11967         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11969 2013-06-13  Juri Linkov  <juri@jurta.org>
11971         * replace.el (perform-replace): Display "symbol " and other search
11972         modes from `isearch-message-prefix' in the *Help* buffer.
11974         * isearch.el (isearch-query-replace): Add " symbol" and other
11975         possible search modes from `isearch-message-prefix' to the prompt.
11976         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11977         when reading a regexp to collect.
11979 2013-06-13  Juri Linkov  <juri@jurta.org>
11981         * isearch.el (word-search-regexp): Match whitespace if the search
11982         string begins or ends in whitespace.  The LAX arg is applied to
11983         both ends of the search string.  Use `regexp-quote' and explicit
11984         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
11985         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11986         boundaries are replaced with symbol boundaries, and characters
11987         between symbols match non-word non-symbol syntax.  (Bug#14602)
11989 2013-06-13  Juri Linkov  <juri@jurta.org>
11991         * isearch.el (isearch-del-char): Don't exceed the length of
11992         `isearch-string' by the prefix arg.  (Bug#14563)
11994 2013-06-13  Juri Linkov  <juri@jurta.org>
11996         * isearch.el (isearch-yank-word, isearch-yank-line)
11997         (isearch-char-by-name, isearch-quote-char)
11998         (isearch-printing-char, isearch-process-search-char):
11999         Add optional count prefix arg.  (Bug#14563)
12001         * international/isearch-x.el
12002         (isearch-process-search-multibyte-characters):
12003         Add optional count prefix arg.
12005 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12007         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12008         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12009         lexical-binding.
12011 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
12013         * subr.el (set-temporary-overlay-map): Add on-exit argument.
12015 2013-06-13  Glenn Morris  <rgm@gnu.org>
12017         * startup.el (tty-handle-args):
12018         Don't just discard "--" and anything after.  (Bug#14608)
12020         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12022 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
12024         Implement changes in Secret Service API.  Make it backward compatible.
12025         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12026         (secrets-create-item): Use it.  Prefix properties with interface.
12028 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
12030         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
12031         (term-emulate-terminal): Respect term-suppress-hard-newline.
12033 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
12035         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12036         Only remove a `thumb-file' overlay.  (Bug#14548)
12038 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
12040         * mail/reporter.el (reporter-submit-bug-report):
12041         Handle missing package-name.  (Bug#14600)
12043 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
12045         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12046         (reftex-citation-prompt, reftex-default-bibliography)
12047         (reftex-bib-or-thebib, reftex-get-bibfile-list)
12048         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12049         (reftex-bib-sort-author, reftex-bib-sort-year)
12050         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12051         (reftex-extract-bib-entries-from-thebibliography)
12052         (reftex-get-bibkey-default, reftex-get-bib-names)
12053         (reftex-parse-bibtex-entry, reftex-get-bib-field)
12054         (reftex-format-bib-entry, reftex-parse-bibitem)
12055         (reftex-format-bibitem, reftex-do-citation)
12056         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12057         (reftex-restrict-bib-matches, reftex-extract-bib-file)
12058         (reftex-insert-bib-matches, reftex-format-citation)
12059         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12060         (reftex-create-bibtex-file): Add docstrings, mostly by converting
12061         existing comments into docstrings.
12063 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
12065         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12067 2013-06-12  Andreas Schwab  <schwab@suse.de>
12069         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12070         for auto-save files.
12072 2013-06-12  Glenn Morris  <rgm@gnu.org>
12074         * ido.el (ido-delete-ignored-files): Remove.
12075         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12076         Go back to calling ido-ignore-item-p directly.
12078 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
12080         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12082         * ido.el (ido-delete-ignored-files): New function,
12083         split from ido-make-file-list-1.
12084         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
12085         (ido-make-file-list-1): Use ido-delete-ignored-files.
12087 2013-06-12  Leo Liu  <sdl.web@gmail.com>
12089         * progmodes/octave.el (inferior-octave-startup)
12090         (inferior-octave-completion-table)
12091         (inferior-octave-track-window-width-change)
12092         (octave-eldoc-function-signatures, octave-help)
12093         (octave-find-definition): Use single quoted strings.
12094         (inferior-octave-startup-args): Change default value.
12095         (inferior-octave-startup): Do not hard code "-i" and
12096         "--no-line-editing".
12097         (inferior-octave-resync-dirs): Add optional arg NOERROR.
12098         (inferior-octave-directory-tracker): Use it.
12099         (octave-goto-function-definition): Robustify.
12100         (octave-help): Support highlighting operators in 'See also'.
12101         (octave-find-definition): Find subfunctions only in Octave mode.
12103 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12105         * help-fns.el (help-fns--compiler-macro): If the handler function is
12106         named, then put a link to it.
12107         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12108         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12109         (cl-typep): Use it.
12110         (cl-eval-when): Simplify debug spec.
12111         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
12112         compiler-macro function instead of setting `compiler-macro-file'.
12114 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
12116         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12117         * vc/vc-hooks.el (vc-stay-local): Doc fix.
12119 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12120             Daniel Hackney  <dan@haxney.org>
12122         First part of Daniel Hackney's patch to package.el.
12123         * emacs-lisp/package.el: Use defstruct.
12124         (package-desc): New, main struct.
12125         (package--bi-desc, package--ac-desc): New structs, used to describe the
12126         format in external files.
12127         (package-desc-vers): Replace with package-desc-version accessor.
12128         (package-desc-doc): Replace with package-desc-summary accessor.
12129         (package-activate-1): Remove `package' arg since the pkg-vec now
12130         includes the name.
12131         (define-package): Use package-desc-from-define.
12132         (package-unpack-single): Change file-name arg to be a symbol.
12133         (package--add-to-archive-contents): Use package-desc-create and new
12134         accessor functions to package--ac-desc.
12135         (package-buffer-info, package-tar-file-info): Return a package-desc.
12136         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
12137         arg to be a package-desc.
12138         (package-install-file): Adjust accordingly.  Use \' to match EOS.
12139         (package--from-builtin): New function.
12140         (describe-package-1, package-menu--generate): Use it.
12141         (package--make-autoloads-and-compile): Change name arg to be a symbol.
12142         (package-generate-autoloads): Idem and return the name of the file.
12143         * emacs-lisp/package-x.el (package-upload-buffer-internal):
12144         Change pkg-info arg to be a package-desc.
12145         Use package-make-ac-desc.
12146         (package-upload-file): Use \' to match EOS.
12147         * finder.el (finder-compile-keywords): Use package-make-builtin.
12149 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12151         * vc/vc.el (vc-deduce-fileset): Change error message.
12152         (vc-read-backend): New function.
12153         (vc-next-action): Use it.
12155         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12157         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12158         (prolog-font-lock-keywords): Use regexp-opt instead.
12159         Don't manually highlight strings.
12160         (prolog-mode-variables): Simplify comment-start-skip.
12161         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
12163         * emacs-lisp/generic.el (generic--normalise-comments)
12164         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12165         (generic-mode-set-comments): Use them.
12166         (generic-bracket-support): Use setq-local.
12167         (generic-make-keywords-list): Declare obsolete.
12169 2013-06-11  Glenn Morris  <rgm@gnu.org>
12171         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12172         Prettify after setting font-lock-defaults.  (Bug#14574)
12174 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
12176         * replace.el (query-replace, occur-read-regexp-defaults-function)
12177         (replace-search):
12178         * subr.el (declare-function, number-sequence, local-set-key)
12179         (substitute-key-definition, locate-user-emacs-file)
12180         (with-silent-modifications, split-string, eval-after-load):
12181         Fix typos, remove unneeded backslashes and reflow some docstrings.
12183 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12185         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12186         default for Elisp files.
12188 2013-06-11  Glenn Morris  <rgm@gnu.org>
12190         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12191         although define-derived-mode was doing this anyway.  (Bug#14583)
12193 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
12195         * allout.el (allout-encryption-plaintext-sanitization-regexps):
12196         Fix make-variable-buffer-local call to refer to the correct variable.
12198 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
12200         * eshell/em-term.el (eshell-visual-commands)
12201         (eshell-visual-subcommands, eshell-visual-options):
12202         Add summary line to docstrings.  Add cross-references.
12204 2013-06-10  Glenn Morris  <rgm@gnu.org>
12206         * epa.el (epa-read-file-name): New function.  (Bug#14510)
12207         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
12209 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
12211         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12212         output redirection to be ignored with visual commands.
12214 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
12216         * eshell/em-term.el (eshell-visual-command-p): New function.
12217         (eshell-term-initialize): Move long lambda to separate function
12218         eshell-visual-command-p.
12219         * eshell/em-dirs.el (eshell-dirs-initialize):
12220         * eshell/em-script.el (eshell-script-initialize):
12221         Add missing #' to lambda.
12223 2013-06-08  Leo Liu  <sdl.web@gmail.com>
12225         * progmodes/octave.el (octave-add-log-current-defun): New function.
12226         (octave-mode): Set add-log-current-defun-function.
12227         (octave-goto-function-definition): Do not move point if not found.
12228         (octave-find-definition): Enhance to try subfunctions first.
12230 2013-06-08  Glenn Morris  <rgm@gnu.org>
12232         * emacs-lisp/bytecomp.el (byte-compile-char-before)
12233         (byte-compile-backward-char, byte-compile-backward-word):
12234         Improve previous change, to handle non-explicit nil.
12236 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12238         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12239         (smie--opener/closer-at-point): New function.
12240         (smie--matching-block-data): Use it.  Don't match from right after an
12241         opener or right before a closer.  Obey smie-blink-matching-inners.
12242         Don't signal a mismatch for repeated inners like "switch..case..case".
12244 2013-06-07  Leo Liu  <sdl.web@gmail.com>
12246         * progmodes/octave.el (octave-mode): Set comment-use-global-state
12247         to t.  (Bug#14303)
12248         (octave-function-header-regexp): Fix.  (Bug#14570)
12249         (octave-help-mode-finish-hook, octave-help-mode-finish):
12250         Remove.  Just use temp-buffer-show-hook.
12252         * newcomment.el (comment-search-backward): Revert last change.
12253         (Bug#14434)
12255         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12257 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
12259         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12260         through xargs, to avoid failure due to MS-Windows limitations on
12261         command-line length.
12263 2013-06-06  Glenn Morris  <rgm@gnu.org>
12265         * font-lock.el (lisp-font-lock-keywords-2):
12266         Treat user-error like error.
12268         * emacs-lisp/bytecomp.el (byte-compile-char-before)
12269         (byte-compile-backward-char, byte-compile-backward-word):
12270         Handle explicit nil arguments.  (Bug#14565)
12272 2013-06-05  Alan Mackenzie  <acm@muc.de>
12274         * isearch.el (isearch-allow-prefix): New user option.
12275         (isearch-other-meta-char): Don't exit isearch when a prefix
12276         argument is typed whilst `isearch-allow-prefix' is non-nil.
12277         (Bug#9706)
12279 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12281         * autorevert.el (auto-revert-notify-handler): Use memq.
12282         Hide assertion failure.
12284         * skeleton.el: Use cl-lib.
12285         (skeleton-further-elements): Use defvar-local.
12286         (skeleton-insert): Use cl-progv.
12288 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
12290         * progmodes/prog-mode.el (prog-prettify-symbols)
12291         (prog-prettify-install): Update docstrings.
12293 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12295         * simple.el: Move all the prog-mode code to prog-mode.el.
12296         * progmodes/prog-mode.el: New file.
12297         * loadup.el: Add prog-mode.el.
12299 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
12301         * simple.el (prog-prettify-symbols): Add version.
12302         (prog-prettify-install): Add convenience function to prettify symbols.
12304         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12305         (perl--augmented-font-lock-keywords-1)
12306         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12307         variables and use it.
12309         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12310         (cfengine3-mode): Remove unneeded variable and use it.
12312         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12313         (lisp--augmented-font-lock-keywords-1)
12314         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12315         Remove unneeded variables and use it.
12317 2013-06-05  João Távora  <joaotavora@gmail.com>
12319         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12320         to point when opening the connection.  (Bug#14380)
12322 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12324         * subr.el (load-history-regexp, load-history-filename-element)
12325         (eval-after-load, after-load-functions, do-after-load-evaluation)
12326         (eval-next-after-load, display-delayed-warnings)
12327         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12328         definition of save-match-data.
12329         (overriding-local-map): Remove accidental obsolescence declaration.
12331         * emacs-lisp/edebug.el (edebug-result): Move before first use.
12333 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
12335         Generalize symbol prettify support to prog-mode and implement it
12336         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12337         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12338         (prog--prettify-font-lock-compose-symbol)
12339         (prog-prettify-font-lock-symbols-keywords): New variables and
12340         functions to support symbol prettification.
12341         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12342         (lisp--augmented-font-lock-keywords-1)
12343         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12344         (lisp--prettify-symbols-alist): Implement prettify of lambda.
12345         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12346         (cfengine3--prettify-symbols-alist, cfengine3-mode):
12347         Implement prettify of -> => :: strings.
12348         * progmodes/perl-mode.el (perl-prettify-symbols)
12349         (perl--font-lock-compose-symbol)
12350         (perl--font-lock-symbols-keywords): Move to prog-mode.
12351         (perl--prettify-symbols-alist): Prettify -> => :: strings.
12352         (perl-font-lock-keywords-1)
12353         (perl-font-lock-keywords-2): Remove explicit prettify support.
12354         (perl--augmented-font-lock-keywords)
12355         (perl--augmented-font-lock-keywords-1)
12356         (perl--augmented-font-lock-keywords-2, perl-mode):
12357         Implement prettify support.
12359 2013-06-05  Leo Liu  <sdl.web@gmail.com>
12361         Re-implement SMIE matching block highlight using
12362         show-paren-data-function.  (Bug#14395)
12363         * emacs-lisp/smie.el (smie-matching-block-highlight)
12364         (smie--highlight-matching-block-overlay)
12365         (smie--highlight-matching-block-lastpos)
12366         (smie-highlight-matching-block)
12367         (smie-highlight-matching-block-mode): Remove.
12368         (smie--matching-block-data-cache): New variable.
12369         (smie--matching-block-data): New function.
12370         (smie-setup): Use smie--matching-block-data for
12371         show-paren-data-function.
12373         * progmodes/octave.el (octave-mode-menu): Fix.
12374         (octave-find-definition): Skip garbage lines.
12376 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12378         Fix compilation error with simultaneous dynamic+lexical scoping.
12379         Add warning when a defvar appears after the first let-binding.
12380         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12381         (byte-compile-close-variables): Initialize it.
12382         (byte-compile--declare-var): New function.
12383         (byte-compile-file-form-defvar)
12384         (byte-compile-file-form-define-abbrev-table)
12385         (byte-compile-file-form-custom-declare-variable): Use it.
12386         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
12387         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12388         (byte-compile-bind): Handle dynamic bindings that shadow
12389         lexical bindings.
12390         (byte-compile-unbind): Make arg non-optional.
12391         (byte-compile-let): Simplify.
12392         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12393         (cconv--analyse-function, cconv-analyse-form): Populate it.
12394         Protect byte-compile-bound-variables to limit the scope of defvars.
12395         (cconv-analyse-form): Add missing rule for (defvar <foo>).
12396         Remove unneeded rule for `declare'.
12398         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12399         so as to avoid depending on cl-adjoin at run-time.
12400         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12402         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12403         (macroexp--warn-and-return): Use it.
12405 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12407         * subr.el: Convert to lexical binding.
12408         (overriding-local-map): Make obsolete.
12409         (add-to-list): Doc fix.  Add compiler macro.
12410         (read-key): Swap values of local maps.
12412 2013-06-05  Leo Liu  <sdl.web@gmail.com>
12414         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12416 2013-06-04  Leo Liu  <sdl.web@gmail.com>
12418         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12419         (compilation-auto-jump): Suppress the "Mark set" message to give
12420         way to exit message.
12422 2013-06-04  Alan Mackenzie  <acm@muc.de>
12424         Remove faulty optimisation from indentation calculation.
12425         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12426         search limit based on 2000 characters back from indent-point.
12428 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
12430         * eshell/em-term.el (cl-lib): Require `cl-lib'.
12432 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12434         * emacs-lisp/lisp.el: Use lexical-binding.
12435         (lisp--local-variables-1, lisp--local-variables): New functions.
12436         (lisp--local-variables-completion-table): New var.
12437         (lisp-completion-at-point): Use it complete let-bound vars.
12439         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12440         eagerly (bug#14422).
12442 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
12444         * autorevert.el (auto-revert-notify-enabled)
12445         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12446         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12447         (auto-revert-notify-handler): Handle also gfilenotify.
12449         * subr.el (file-notify-handle-event): New defun.  Replacing ...
12450         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12451         Remove.
12453 2013-06-03  Juri Linkov  <juri@jurta.org>
12455         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12456         `M-s h .'.  (Bug#14427)
12458         * hi-lock.el (highlight-symbol-at-point): New alias for the new
12459         command `hi-lock-face-symbol-at-point'.
12460         (hi-lock-face-symbol-at-point): New command.
12461         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12462         (hi-lock-menu): Add `highlight-symbol-at-point'.
12463         (hi-lock-mode): Doc fix.
12465         * isearch.el (isearch-forward-symbol-at-point): New command.
12466         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12467         (isearch-highlight-regexp): Add a regexp which matches
12468         words/symbols for word/symbol mode.
12470         * subr.el (find-tag-default-bounds): New function with the body
12471         mostly moved from `find-tag-default'.
12472         (find-tag-default): Move most code to `find-tag-default-bounds',
12473         call it and apply `buffer-substring-no-properties' afterwards.
12475 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
12477         * eshell/em-term.el (eshell-term-initialize):
12478         Use `cl-intersection' rather than `intersection'.
12480 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
12482         * vc/log-view.el: Doc fix.
12483         (log-view-mode-map): Copy keymap from `special-mode-map'.
12485 2013-06-02  Eric Ludlam  <zappo@gnu.org>
12487         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12488         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12489         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12490         (eieio-unbound, eieio-default-superclass)
12491         (eieio--define-field-accessors, method-static, method-before)
12492         (method-primary, method-after, method-num-lists)
12493         (method-generic-before, method-generic-primary)
12494         (method-generic-after, method-num-slots)
12495         (eieio-specialized-key-to-generic-key)
12496         (eieio--check-type, class-v, class-p)
12497         (eieio-class-name, define-obsolete-function-alias)
12498         (eieio-class-parents-fast, eieio-class-children-fast)
12499         (same-class-fast-p, class-constructor, generic-p)
12500         (generic-primary-only-p, generic-primary-only-one-p)
12501         (class-option-assoc, class-option, eieio-object-p)
12502         (class-abstract-p, class-method-invocation-order)
12503         (eieio-defclass-autoload-map, eieio-defclass-autoload)
12504         (eieio-class-un-autoload, eieio-defclass)
12505         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12506         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12507         (eieio--defgeneric-init-form, eieio-defgeneric-form)
12508         (eieio-defgeneric-reset-generic-form)
12509         (eieio-defgeneric-form-primary-only)
12510         (eieio-defgeneric-reset-generic-form-primary-only)
12511         (eieio-defgeneric-form-primary-only-one)
12512         (eieio-defgeneric-reset-generic-form-primary-only-one)
12513         (eieio-unbind-method-implementations)
12514         (eieio--defmethod, eieio--typep)
12515         (eieio-perform-slot-validation, eieio-validate-slot-value)
12516         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12517         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12518         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12519         (eieio-slot-name-index, eieio-class-slot-name-index)
12520         (eieio-set-defaults, eieio-initarg-to-attribute)
12521         (eieio-attribute-to-initarg, eieio-c3-candidate)
12522         (eieio-c3-merge-lists, eieio-class-precedence-c3)
12523         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12524         (eieio-class-precedence-list, eieio-generic-call-methodname)
12525         (eieio-generic-call-arglst, eieio-generic-call-key)
12526         (eieio-generic-call-next-method-list)
12527         (eieio-pre-method-execution-functions, eieio-generic-call)
12528         (eieio-generic-call-primary-only, eieiomt-method-list)
12529         (eieiomt-optimizing-obarray, eieiomt-install)
12530         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12531         (eieio-generic-form, eieio-defmethod, make-obsolete)
12532         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12533         (defclass): Remove `eval-and-compile' from macro.
12534         (call-next-method, shared-initialize): Instead of using
12535         `scoped-class' variable, use new eieio--scoped-class, and
12536         eieio--with-scoped-class.
12537         (initialize-instance): Rename local variable 'scoped-class' to
12538         'this-class' to remove ambiguitity from old global.
12540         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
12541         eieio.el.
12542         (eieio--scoped-class-stack): New variable.
12543         (eieio--scoped-class): New fcn.
12544         (eieio--with-scoped-class): New scoping macro.
12545         (eieio-defclass): Use pushnew instead of add-to-list.
12546         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12547         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12548         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12549         `scoped-class' variable, use new eieio--scoped-class, and
12550         eieio--with-scoped-class.
12552         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12554 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
12556         * eshell/esh-ext.el (eshell-external-command): Pass args to
12557         `eshell-find-interpreter'.
12558         (eshell-find-interpreter): Add new second parameter ARGS.
12560         * eshell/em-script.el (eshell-script-initialize): Add second arg
12561         to the function added as MATCH to `eshell-interpreter-alist'.
12563         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12564         the function added as MATCH to `eshell-interpreter-alist'.
12566         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12567         (eshell-visual-options): New defcustom.
12568         (eshell-escape-control-x): Adapt docstring.
12569         (eshell-term-initialize): Test `eshell-visual-subcommands' and
12570         `eshell-visual-options' in addition to `eshell-visual-commands'.
12571         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12573 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
12575         * progmodes/python.el (python-indent-block-enders): Add break,
12576         continue and raise keywords.
12578 2013-06-01  Glenn Morris  <rgm@gnu.org>
12580         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12582         Plain (f)boundp silences compilation warnings since Emacs 22.1.
12583         * progmodes/cc-cmds.el (delete-forward-p):
12584         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12585         * progmodes/cc-engine.el (buffer-syntactic-context):
12586         * progmodes/cc-fonts.el (face-property-instance):
12587         * progmodes/cc-mode.el (set-keymap-parents):
12588         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12589         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12590         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12591         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12592         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12594         * progmodes/cc-vars.el (other): Emacs has this widget since
12595         at least 21.1, so don't (re)define it.
12597         * eshell/em-cmpl.el (eshell-cmpl-initialize):
12598         Replace the obsolete alias pcomplete-arg-quote-list.
12600 2013-06-01  Leo Liu  <sdl.web@gmail.com>
12602         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12603         punctuation syntax.
12604         (inferior-octave-minimal-columns)
12605         (inferior-octave-last-column-width): New variables.
12606         (inferior-octave-track-window-width-change): New function.
12607         (inferior-octave-mode): Adjust column width so that Octave output,
12608         for example from 'ls', can fit into the window nicely.
12610 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
12612         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12613         Highlight expansions inside regexp literals.
12615 2013-05-31  Glenn Morris  <rgm@gnu.org>
12617         * obsolete/sym-comp.el (symbol-complete):
12618         Replace obsolete completion-annotate-function.
12620         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12622 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
12624         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12625         New function, checks if point is inside a literal that allows
12626         expression expansion.
12627         (ruby-syntax-propertize-expansion): Use it.
12628         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12629         around the body.
12631 2013-05-30  Juri Linkov  <juri@jurta.org>
12633         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12634         to "\M-si".
12635         (isearch-invisible): New variable.
12636         (isearch-forward): Doc fix.
12637         (isearch-mode): Set `isearch-invisible'
12638         to the value of `search-invisible'.
12639         (isearch-toggle-case-fold): Doc fix.
12640         (isearch-toggle-invisible): New command.
12641         (isearch-query-replace): Let-bind `search-invisible'
12642         to the value of `isearch-invisible'.
12643         (isearch-search): Use `isearch-invisible' instead of
12644         `search-invisible'.  Let-bind `search-invisible'
12645         to the value of `isearch-invisible'.  (Bug#11378)
12647 2013-05-30  Juri Linkov  <juri@jurta.org>
12649         * replace.el (perform-replace): Avoid `isearch-range-invisible'
12650         call when `query-flag' is nil and `search-invisible' is non-nil.
12651         (Bug#11746)
12653 2013-05-30  Glenn Morris  <rgm@gnu.org>
12655         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12657         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12658         (cc-require): Suppress spurious "noruntime" warnings.
12659         (cc-require-when-compile): Use fboundp, for sake of compiler.
12661         * progmodes/cc-mode.el: Move load of cc-vars before that of
12662         cc-langs (which in turn loads cc-vars), to quieten compiler.
12664 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12666         * paren.el: Simplify the code.
12667         (show-paren-mode): Always start the timer.
12668         (show-paren--idle-timer): Rename from show-paren-idle-timer.
12669         (show-paren--overlay, show-paren--overlay-1): Rename from
12670         show-paren-overlay and show-paren-overlay-1, and initialize to an
12671         overlay rather than to nil.
12672         (show-paren-function): Misc cleanup and simplifications.
12674 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12676         * paren.el (show-paren-data-function): New hook.
12677         (show-paren--default): New function, extracted from show-paren-function.
12678         (show-paren-function): Use show-paren-data-function.
12680 2013-05-30  Glenn Morris  <rgm@gnu.org>
12682         * ielm.el (ielm-map, ielm-complete-symbol):
12683         Use completion-at-point rather than obsolete functions.
12684         (inferior-emacs-lisp-mode): Doc fix.
12685         Set completion-at-point-functions, rather than
12686         comint-dynamic-complete-functions.
12688         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12689         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12690         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12692         * image.el (image-animated-p): Tweak definition.
12694         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12695         (rlogin-process-connection-type): Tweak default.  Add set-after.
12696         (rlogin-host): Doc fix.
12697         (rlogin): Tweak prompt.
12698         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12700         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12701         * progmodes/tcl.el (inferior-tcl-mode-map):
12702         Use completion-at-point rather than obsolete alias.
12704         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12706         * minibuffer.el (read-file-name-completion-ignore-case):
12707         Move before completion--in-region, for eager macro expansion.
12709 2013-05-29  Juri Linkov  <juri@jurta.org>
12711         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12712         for total count of matching lines.  Add `global-matches' for total
12713         count of matches.  Rename `matches' to `lines' for count of
12714         matching lines.  Add `matches' for count of matches.
12715         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
12716         to `prev-line' for line number of prev match endpt.
12717         Increment `matches' for every match.  Print the number of
12718         matching lines in the header.
12719         (occur-context-lines): Rename `lines' to `curr-line'.
12720         Rename `prev-lines' to `prev-line'.  (Bug#14017)
12722 2013-05-29  Juri Linkov  <juri@jurta.org>
12724         * replace.el (perform-replace): Add `skip-read-only-count',
12725         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12726         Increment them for corresponding conditions and report the number
12727         of skipped occurrences in the final message.  (Bug#11746)
12728         (query-replace, query-replace-regexp, query-replace-regexp-eval)
12729         (replace-string, replace-regexp): Doc fix.
12731 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12733         * emacs-lisp/trace.el (trace--read-args): Provide a default.
12735         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12736         prog-mode-map (bug#14504).
12738 2013-05-29  Leo Liu  <sdl.web@gmail.com>
12740         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12741         (octave-help): Small simplification.
12743         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12744         off the highlight first.
12746 2013-05-29  Glenn Morris  <rgm@gnu.org>
12748         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12749         Handle idlwave-last-system-routine-info-cons-cell being nil.
12751         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12752         (idlwave-write-paths): Simplify via with-temp-buffer.
12754         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12755         * emulation/cua-rect.el: Also load cua-base at run time.
12757         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12758         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12759         (cperl-imenu-on-info): Require imenu.
12761 2013-05-28  Alan Mackenzie  <acm@muc.de>
12763         Handle "capitalised keywords" correctly.
12764         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12766 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
12768         * eshell/em-unix.el: Add -r option to cp.
12770 2013-05-28  Glenn Morris  <rgm@gnu.org>
12772         * vc/vc-arch.el (vc-exec-after): Declare.
12773         (vc-switches): Autoload.
12774         * vc/vc-bzr.el: No need to require vc when compiling.
12775         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12776         (vc-resynch-buffer, vc-dir-refresh): Declare.
12777         (vc-setup-buffer, vc-switches): Autoload.
12778         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12779         (vc-resynch-buffer): Declare.
12780         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12781         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12782         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12783         (grep-read-regexp, grep-read-files, grep-expand-template)
12784         (vc-dir-refresh): Declare.
12785         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12786         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12787         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12788         * vc/vc-mtn.el (vc-exec-after): Declare.
12789         (vc-switches): Autoload.
12790         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12791         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12792         (vc-file-tree-walk): Declare.
12793         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12794         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12795         (vc-tag-precondition, vc-rename-master): Autoload.
12796         * vc/vc-svn.el (vc-exec-after): Declare.
12797         (vc-switches, vc-setup-buffer): Autoload.
12798         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12799         Autoload.
12800         (vc-resynch-buffer): Declare.
12802         * obsolete/fast-lock.el (byte-compile-warnings):
12803         Don't warn about obsolete features in this obsolete file.
12805         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12806         Move definition before use.
12808         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12809         (dun-unix-verbs): Remove dun-zippy.
12810         (dun-zippy): Remove function.
12812         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12814 2013-05-27  Juri Linkov  <juri@jurta.org>
12816         * replace.el (replace-search): New function with code moved out
12817         from `perform-replace'.
12818         (replace-highlight, replace-dehighlight): Move function definitions
12819         up closer to `replace-search'.  (Bug#11746)
12821 2013-05-27  Juri Linkov  <juri@jurta.org>
12823         * replace.el (perform-replace): Ignore invisible matches.
12824         In addition to checking `query-replace-skip-read-only', also
12825         filter out matches by calling `run-hook-with-args-until-failure'
12826         on `isearch-filter-predicates', and also check `search-invisible'
12827         for t or call `isearch-range-invisible'.
12828         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
12830 2013-05-27  Juri Linkov  <juri@jurta.org>
12832         * isearch.el (isearch-filter-predicates): Rename from
12833         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
12834         (isearch-message-prefix): Display text from the property
12835         `isearch-message-prefix' of the currently active filters.
12836         (isearch-search): Don't compare `isearch-filter-predicate' with
12837         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
12838         on `isearch-filter-predicates'.  Also check `search-invisible' for t
12839         or call `isearch-range-invisible'.
12840         (isearch-filter-visible): Make obsolete.
12841         (isearch-lazy-highlight-search):
12842         Call `run-hook-with-args-until-failure' on
12843         `isearch-filter-predicates' and use `isearch-range-invisible'.
12845         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12846         `isearch-filter-predicates' instead of `funcall'ing
12847         `isearch-filter-predicate'.
12848         (Info-mode): Set `Info-isearch-filter' to
12849         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12851         * dired-aux.el (dired-isearch-filter-predicate-orig):
12852         Remove variable.
12853         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12854         (dired-isearch-filenames-end): Add and remove
12855         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12856         instead of changing the value of `isearch-filter-predicate'.
12857         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12858         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12859         Put property `isearch-message-prefix' to "filename " on
12860         `dired-isearch-filter-filenames'.
12862         * wdired.el (wdired-change-to-wdired-mode):
12863         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12864         locally instead of changing `isearch-filter-predicate'.
12865         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12867 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
12869         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12870         return the commit hash (Bug#14459).  Also set the
12871         `vc-git-detached' property.
12872         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12873         (vc-git-mode-line-string): Use the same help-echo format whether
12874         in detached mode or not, because we know the actual revision now.
12875         When in detached mode, shorten the revision to 7 chars.
12877 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12879         * emacs-lisp/easy-mmode.el (define-minor-mode):
12880         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12881         mode hook and provide a docstring.
12883 2013-05-27  Alan Mackenzie  <acm@muc.de>
12885         Remove spurious syntax-table text properties inserted by C-y.
12886         * progmodes/cc-mode.el (c-after-change): Also clear hard
12887         syntax-table property with value nil.
12889 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
12891         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12892         when reading the events; the buffer layout shall not be changed.
12894 2013-05-27  Leo Liu  <sdl.web@gmail.com>
12896         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12897         New variable.
12898         (inferior-octave-directory-tracker): Automatically re-sync
12899         default-directory.
12900         (octave-help): Improve handling of 'See also'.
12902 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12904         * doc-view.el: Minor naming convention tweaks.
12905         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12907         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12908         even if there's no `display' property yet (bug#14435).
12910 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
12912         * subr.el (unmsys--file-name): Rename from reveal-filename.
12914         * Makefile.in (custom-deps, finder-data, autoloads)
12915         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12916         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12917         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12919 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12921         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12922         error-completion on the first 2 args of condition-case (bug#14446).
12923         Don't burp at EOB.
12925 2013-05-25  Leo Liu  <sdl.web@gmail.com>
12927         * comint.el (comint-previous-matching-input): Do not flood the
12928         *Messages* buffer with trivial messages.
12930 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12932         * progmodes/flymake.el (flymake-nop): Don't return a string.
12933         (flymake-set-at): Fix typo.
12935         * simple.el (read--expression): New function, extracted from
12936         eval-expression.  Set completion-at-point-functions (bug#14465).
12937         (eval-expression, eval-minibuffer): Use it.
12939 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
12941         * progmodes/flymake.el (flymake-save-buffer-in-file)
12942         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12943         (flymake-selected-frame, flymake-log, flymake-ins-after)
12944         (flymake-set-at, flymake-get-buildfile-from-cache)
12945         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12946         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12947         Refine the doc string.
12948         (flymake-get-file-name-mode-and-masks): Reformat.
12949         (flymake-get-real-file-name-function): Fix a minor bug.
12951 2013-05-24  Juri Linkov  <juri@jurta.org>
12953         * progmodes/grep.el (grep-mode-font-lock-keywords):
12954         Support =linenumber= format used by git-grep for lines with
12955         function names.  (Bug#13549)
12957 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12959         * progmodes/octave.el (octave-smie-rules): Return nil rather than
12960         0 after a semi-colon; it works better for smie-auto-fill.
12961         (octave--indent-new-comment-line): New function.
12962         (octave-indent-new-comment-line): Use it (indirectly).
12963         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
12964         modify comment-line-break-function.
12966         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12967         (smie-setup): Use add-function to set it.
12969 2013-05-24  Sam Steingold  <sds@gnu.org>
12971         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12972         argument (before the `interactive' argument).
12974 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12976         * image-mode.el (image-mode-winprops): Add winprops to
12977         image-mode-winprops-alist before running
12978         image-mode-new-window-functions.
12979         * doc-view.el (doc-view-new-window-function): Don't delay
12980         doc-view-goto-page via timers (bug#14435).
12982 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
12984         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
12985         (doc-view-desktop-save-buffer): New function.
12986         (doc-view-restore-desktop-buffer): New function.
12987         (desktop-buffer-mode-handlers):
12988         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12989         handler.
12990         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12991         `desktop-save-buffer' function.
12993 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
12995         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12996         (tramp-gvfs-file-name-handler): Raise a user error when
12997         `tramp-gvfs-enabled' is nil.
12998         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12999         Do not raise a user error when loading package.  (Bug#14447)
13001         * net/xesam.el: Move to obsolete/.
13003 2013-05-24  Glenn Morris  <rgm@gnu.org>
13005         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13007         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13009         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13010         (Info-find-node, Man-getpage-in-background): Declare.
13012         * mail/unrmail.el (unrmail):
13013         Replace obsolete detect-coding-with-priority.
13015         * net/socks.el (socks-split-string): Use this rather than split-string.
13016         (socks-nslookup-host): Update for above change.
13017         (dynamic-choice, s5-dynamic-choice-match)
13018         (s5-dynamic-choice-match-inline, s5-widget-value-create):
13019         Comment out unused code.
13021         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13022         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13023         (gud-tooltip-echo-area): Make obsolete.
13024         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13026         * progmodes/js.el (js--optimize-arglist): Declare.
13028         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13030         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13031         (ediff-window-C): Declare.
13033         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13034         Tweak requires to silence compiler.
13036         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13037         (he-search-string, he-tried-table, he-expand-list)
13038         (he-init-string, he-string-member, he-substitute-string)
13039         (he-reset-string): Declare.
13041         * obsolete/options.el (list-options): Use custom-variable-p,
13042         rather than obsolete alias.
13044 2013-05-23  Sam Steingold  <sds@gnu.org>
13046         * simple.el (shell-command-on-region): Pass the `replace' argument
13047         down to `call-process-region' to comply with the doc as reported on
13048         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13050 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13052         * emacs-lisp/smie.el (smie-indent-forward-token)
13053         (smie-indent-backward-token): Handle string tokens (bug#14381).
13055 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13057         * ielm.el (ielm-menu): New menu.
13058         (inferior-emacs-lisp-mode): Set comment-start.
13060 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
13062         * textmodes/reftex.el (reftex-ref-style-toggle):
13063         Fix deactivate action.
13065         * textmodes/reftex-vars.el (reftex-ref-style-alist):
13066         Add cleveref macros.
13068         * textmodes/reftex-parse.el
13069         (reftex-locate-bibliography-files): Accept options for
13070         bibliography commands.
13071         * textmodes/reftex-vars.el (reftex-bibliography-commands):
13072         Add addbibresource.  Basic Biblatex support.
13074 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
13076         * net/tramp-gvfs.el (top):
13077         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13078         when loading package.  (Bug#14447)
13080 2013-05-23  Glenn Morris  <rgm@gnu.org>
13082         * progmodes/js.el: No need to load comint when compiling.
13083         (ring-insert, comint-send-string, comint-send-input)
13084         (comint-last-input-end, ido-chop): Declare.
13086         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13087         * vc/ediff-mult.el: Adjust requires.
13088         (ediff-directories-internal, ediff-directory-revisions-internal)
13089         (ediff-patch-file-internal): Declare.
13090         * vc/ediff-ptch.el: Adjust requires.
13091         (ediff-use-last-dir, ediff-buffers-internal): Declare.
13092         (ediff-find-file): Autoload.
13093         * vc/ediff-util.el: No need to load ediff when compiling.
13094         (ediff-regions-internal): Declare.
13095         * vc/ediff-wind.el: Adjust requires.
13096         (ediff-compute-toolbar-width): Define when compiling.
13097         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13098         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13099         (dired-get-filename, dired-get-marked-files)
13100         (ediff-last-dir-patch, ediff-patch-default-directory)
13101         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13102         (ediff-patch-buffer-internal): Declare.
13104         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13105         (ispell-process, ispell-buffer-local-words, lm-summary)
13106         (lm-section-start, lm-section-end): Declare.
13107         (checkdoc-ispell-init): Simplify.
13109         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13110         (he-string-member, he-reset-string, he-substitute-string): Declare.
13112         * eshell/em-ls.el: Adjust requires.
13113         (eshell-glob-regexp): Declare.
13114         * eshell/em-tramp.el: Adjust requires.
13115         (eshell-parse-command): Autoload.
13116         * eshell/em-xtra.el: Adjust requires.
13117         (eshell-parse-command): Autoload.
13118         * eshell/esh-ext.el: Adjust requires.
13119         (eshell-parse-command, eshell-close-handles): Autoload.
13120         * eshell/esh-io.el: Adjust requires.
13121         (eshell-output-filter): Autoload.
13122         * eshell/esh-util.el: No need to load tramp when compiling.
13123         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13124         Declare.
13125         (eshell-parse-ange-ls): Require ange-ftp and tramp.
13126         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13127         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13128         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13129         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13130         * eshell/esh-opt.el, eshell/esh-proc.el:
13131         * eshell/esh-var.el: Adjust requires.
13132         * eshell/eshell.el: Do not require esh-util twice.
13133         (eshell-add-input-to-history): Declare.
13134         (eshell-command): Check history module is active before using it.
13136         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13138 2013-05-22  Leo Liu  <sdl.web@gmail.com>
13140         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13142 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
13144         * autorevert.el (auto-revert-notify-add-watch)
13145         (auto-revert-notify-handler): Add `attrib' for the inotify case,
13146         it indicates changes in file modification time.
13148 2013-05-22  Glenn Morris  <rgm@gnu.org>
13150         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13151         Always delete the autoloaded function from the noruntime and
13152         unresolved functions lists.
13154         * allout.el: No need to load epa, epg, overlay when compiling.
13155         (epg-context-set-passphrase-callback, epg-list-keys)
13156         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13157         (epg-key-user-id-list): Declare.
13159         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13160         (viper-set-parsing-style-toggling-macro)
13161         (viper-set-emacs-state-searchstyle-macros):
13162         Use called-interactively-p on Emacs.
13163         (viper-looking-back): Make it an obsolete alias.  Update callers.
13164         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13165         Use looking-back rather than viper-looking-back.
13166         (viper-tmp-insert-at-eob, viper-enlarge-region)
13167         (viper-read-string-with-history, viper-register-to-point)
13168         (viper-append-to-register, viper-change-state-to-vi)
13169         (viper-backward-char-carefully, viper-forward-char-carefully)
13170         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13171         (viper-change-state-to-emacs): Declare.
13172         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13173         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13174         * emulation/viper-mous.el: Do not load viper-cmd.
13175         (viper-backward-char-carefully, viper-forward-char-carefully)
13176         (viper-forward-word, viper-adjust-window): Declare.
13178         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13180         * progmodes/idlw-help.el (idlwave-help-fontify):
13181         Use called-interactively-p.
13183         * term/w32console.el (w32-get-console-codepage)
13184         (w32-get-console-output-codepage): Declare.
13186         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13187         Remove unnecessary declarations.
13188         (dframe-message): Doc fix.
13190         * info.el (dframe-select-attached-frame, dframe-current-frame):
13191         Declare.
13193         * speedbar.el (speedbar-message): Make it an obsolete alias.
13194         Update all callers.
13195         (speedbar-with-attached-buffer)
13196         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13197         (speedbar-with-writable): Use backquote.
13198         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13199         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13200         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13201         rather than speedbar- aliases.
13202         * mail/rmail.el: Load dframe rather than speedbar when compiling.
13203         (speedbar-make-specialized-keymap, speedbar-insert-button)
13204         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13205         (speedbar-do-function-pointer): Declare.
13206         (rmail-speedbar-button, rmail-speedbar-find-file)
13207         (rmail-speedbar-move-message):
13208         Use dframe-with-attached-buffer rather than speedbar- alias.
13209         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13210         (dframe-message, speedbar-make-specialized-keymap)
13211         (speedbar-add-expansion-list, speedbar-mode-functions-list)
13212         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13213         (speedbar-insert-button, dframe-select-attached-frame)
13214         (dframe-maybee-jump-to-attached-frame)
13215         (speedbar-change-initial-expansion-list)
13216         (speedbar-previously-used-expansion-list-name): Declare.
13217         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13218         Use dframe-message, dframe-with-attached-buffer rather than
13219         speedbar- aliases.
13220         (gud-sentinel): Silence compiler.
13221         * progmodes/vhdl-mode.el (speedbar-refresh)
13222         (speedbar-do-function-pointer, speedbar-add-supported-extension)
13223         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13224         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13225         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13226         (speedbar-file-lists, speedbar-make-tag-line)
13227         (speedbar-line-directory, speedbar-goto-this-file)
13228         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13229         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13230         (speedbar-make-button, speedbar-reset-scanners)
13231         (speedbar-files-item-info, speedbar-line-text)
13232         (speedbar-find-file-in-frame, speedbar-set-timer)
13233         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13234         (speedbar-with-writable): Do not (re)define it.
13235         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13236         rather than speedbar- alias.
13238 2013-05-21  Leo Liu  <sdl.web@gmail.com>
13240         * progmodes/octave.el (octave-mode-menu): Update and re-organize
13241         menu items.
13242         (octave-mode): Tweak fill-nobreak-predicate.
13243         (inferior-octave-startup): Check process to avoid infinite loop.
13244         (inferior-octave): Pop to buffer first to show abornmal process
13245         exit information.
13247 2013-05-21  Glenn Morris  <rgm@gnu.org>
13249         * printing.el (pr-menu-bar): Define when compiling.
13251 2013-05-21  Leo Liu  <sdl.web@gmail.com>
13253         * progmodes/octave.el (octave-auto-fill): Remove.
13254         (octave-indent-new-comment-line): Improve.
13255         (octave-mode): Use auto fill mode through
13256         comment-line-break-function and fill-nobreak-predicate.
13257         (octave-goto-function-definition): Support DEFUN_DLD.
13258         (octave-beginning-of-defun): Small tweak.
13259         (octave-help): Show parent directory.
13261 2013-05-21  Glenn Morris  <rgm@gnu.org>
13263         * files.el (dired-unmark):
13264         * progmodes/gud.el (gdb-input): Update declarations.
13266         * calculator.el (electric, ehelp): No need to load when compiling.
13267         (Electric-command-loop, electric-describe-mode): Declare.
13269         * doc-view.el (doc-view-current-converter-processes): Move before use.
13271         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13272         Move MODE-set-explicitly definition before use.
13274         * international/mule-diag.el (mule-diag):
13275         Don't use obsolete window-system-version.
13277         * mail/feedmail.el (smtpmail): No need to load when compiling.
13278         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13280         * mail/mail-utils.el (rfc822): No need to load when compiling.
13281         (rfc822-addresses): Autoload it.
13282         (mail-strip-quoted-names): Trivial simplification.
13284         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13285         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13287         * net/snmp-mode.el (tempo): Don't duplicate requires.
13289         * progmodes/prolog.el (info): No need to load when compiling.
13290         (comint): Require before shell requires it.
13291         (Info-goto-node): Autoload it.
13292         (Info-follow-nearest-node): Declare.
13293         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13295         * textmodes/artist.el (picture-mode-exit): Declare.
13297         * textmodes/reftex-parse.el (reftex-parse-from-file):
13298         Trivial rewrite so the compiler can parse it better.
13300 2013-05-20  Leo Liu  <sdl.web@gmail.com>
13302         * progmodes/octave.el (octave-help-mode-map)
13303         (octave-help-mode-finish-hook): New variables.
13304         (octave-help-mode, octave-help-mode-finish): New functions.
13305         (octave-help): Use octave-help-mode.
13307 2013-05-20  Glenn Morris  <rgm@gnu.org>
13309         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
13311 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
13313         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13314         start at point, so that expansion starting right after opening
13315         slash in a regexp is recognized.
13316         (ruby-syntax-before-regexp-re): New defvar, extracted from
13317         ruby-syntax-propertize-function.  Since the value of this regexp
13318         is looked up at runtime now, we should be able to turn
13319         `ruby-syntax-methods-before-regexp' into a defcustom later.
13320         (ruby-syntax-propertize-function): Split regexp matching into two
13321         parts, for opening and closing slashes.  That allows us to skip
13322         over string interpolations and support multiline regexps.
13323         Don't call `ruby-syntax-propertize-expansions', instead use another rule
13324         for them, which calls `ruby-syntax-propertize-expansion'.
13325         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13326         call to `ruby-syntax-propertize-function'.
13327         (ruby-syntax-propertize-expansion): Extracted from
13328         `ruby-syntax-propertize-expansions'.  Handles one expansion.
13329         (ruby-syntax-propertize-percent-literal): Leave point right after
13330         the percent symbol, so that the expression expansion rule can
13331         propertize the contents.
13332         (ruby-syntax-propertize-heredoc): Leave point at bol following the
13333         heredoc openers.
13334         (ruby-syntax-propertize-expansions): Remove.
13336 2013-05-18  Juri Linkov  <juri@jurta.org>
13338         * man.el (Man-default-man-entry): Remove `-' from the end
13339         of the default value.  (Bug#14400)
13341 2013-05-18  Glenn Morris  <rgm@gnu.org>
13343         * comint.el (comint-password-prompt-regexp):
13344         Allow "password for XXX" where XXX contains colons (eg https://...).
13346 2013-05-18  Leo Liu  <sdl.web@gmail.com>
13348         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13349         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
13350         (octave-source-directories): Don't check process.
13351         (octave-source-directories, octave-find-definition): Doc fix.
13353 2013-05-18  Glenn Morris  <rgm@gnu.org>
13355         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13356         Remove backspace/delete bindings.  (Bug#14392)
13358         * cus-dep.el (custom-make-dependencies): Sort the output.
13359         (custom-versions-load-alist): Convert comment to doc.
13361 2013-05-17  Leo Liu  <sdl.web@gmail.com>
13363         * newcomment.el (comment-search-backward): Stricter in finding
13364         comment start.  (Bug#14303)
13366         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13367         (octave-comment-start-skip): Properly anchored.
13369 2013-05-17  Leo Liu  <sdl.web@gmail.com>
13371         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13372         Clean up when turned off.  (Bug#14395)
13373         (smie--highlight-matching-block-overlay): No longer buffer-local.
13374         (smie-highlight-matching-block): Adjust.
13376 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
13378         Doc string fix for "nanoseconds" (Bug#14406).
13379         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13380         Fix doc string typo that had "nanoseconds" instead of "microseconds".
13382 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
13384         * calc/calc-units.el (math-extract-units): Preserve powers
13385         of units.
13387 2013-05-17  Leo Liu  <sdl.web@gmail.com>
13389         * subr.el (delete-consecutive-dups): New function.
13390         * ido.el (ido-set-matches-1): Use it.
13391         * progmodes/octave.el (inferior-octave-completion-table): Use it.
13392         * ido.el (ido-remove-consecutive-dups): Remove.
13394 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13396         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13397         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13398         regexp-opt's `words'.
13400 2013-05-16  Leo Liu  <sdl.web@gmail.com>
13402         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13403         (smie--highlight-matching-block-overlay)
13404         (smie--highlight-matching-block-lastpos)
13405         (smie--highlight-matching-block-timer): New variables.
13406         (smie-highlight-matching-block): New function.
13407         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
13408         (smie-setup): Conditionally enable smie-blink-matching-open.
13410 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
13412         Sync with upstream verilog-mode r840.
13413         * progmodes/verilog-mode.el (verilog-mode-version)
13414         (verilog-mode-release-date): Update.
13415         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13416         (verilog-sig-tieoff): Fix string error on
13417         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
13418         (verilog-read-decls): Fix parameters confusing
13419         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
13421 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
13423         * subr.el (reveal-filename): New function.
13425         * loadup.el: Compute Emacs executable versions on MS-Windows,
13426         where executables have the .exe extension.  Add a hard link
13427         emacs-XX.YY.ZZ.exe on MS-Windows.
13429         * Makefile.in (XARGS_LIMIT): New variable.
13430         (custom-deps, finder-data, autoloads)
13431         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13432         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13433         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13434         (compile-main): Limit xargs according to $(XARGS_LIMIT).
13436 2013-05-16  Leo Liu  <sdl.web@gmail.com>
13438         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13439         (octave-mode-menu, octave-mode-map): Remove its uses.
13441 2013-05-16  Reto Zimmermann  <reto@gnu.org>
13443         Sync with upstream vhdl mode v3.34.2.
13444         * progmodes/vhdl-mode.el: Use `push' throughout.
13445         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13446         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13447         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
13448         (vhdl-actual-generic-name): New option to derive actual generic name.
13449         (vhdl-port-paste-signals): Replace formal by actual generics.
13450         (vhdl-beautify): New name for old group vhdl-align.  Update users.
13451         (vhdl-beautify-options): New option.
13452         (vhdl-last-input-event): New compat alias.  Use throughout.
13453         (vhdl-goto-line): Replace user level function `goto-line'.
13454         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13455         vhdl-fix-statement-buffer.
13456         (vhdl-create-mode-menu): Add some entries.
13457         (vhdl-align-region-groups): Respect vhdl-beautify-options.
13458         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13459         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13460         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13461         to force statements on one line.
13462         (vhdl-remove-trailing-spaces-region):
13463         New, split from vhdl-remove-trailing-spaces.
13464         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13465         Respect vhdl-beautify-options.
13466         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13467         (vhdl-update-sensitivity-list): Not add with index if exists without.
13468         Not include array index with signal.  Ignore keywords in comments.
13469         (vhdl-get-visible-signals): Regexp tweaks.
13470         (vhdl-template-component-inst): Handle empty library.
13471         (vhdl-template-type): Add template for 'enum' type.
13472         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13473         Use vhdl-replace-string.
13474         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13475         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13476         (vhdl-speedbar-initialize): Update for above name change.
13477         (vhdl-compose-wire-components): Fix in handling of constants.
13478         (vhdl-error-regexp-emacs-alist): New variable.
13479         (vhdl-error-regexp-add-emacs): New function;
13480         adds support for new compile.el (Emacs 22+)
13481         (vhdl-generate-makefile-1): Change target order for single lib. units.
13482         Allow use of absolute file names.
13484 2013-05-16  Leo Liu  <sdl.web@gmail.com>
13486         * simple.el (prog-indent-sexp): Indent enclosing defun.
13488 2013-05-15  Glenn Morris  <rgm@gnu.org>
13490         * cus-start.el (show-trailing-whitespace): Move to editing basics.
13491         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13492         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13493         (whitespace-highlight): Move to whitespace group.
13495         * comint.el (comint-source):
13496         * pcmpl-linux.el (pcmpl-linux):
13497         * shell.el (shell-faces):
13498         * eshell/esh-opt.el (eshell-opt):
13499         * international/ccl.el (ccl): Remove empty custom groups.
13501         * completion.el (dynamic-completion-mode):
13502         * jit-lock.el (jit-lock-debug-mode):
13503         * minibuffer.el (completion-in-region-mode):
13504         * type-break.el (type-break-mode-line-message-mode)
13505         (type-break-query-mode):
13506         * emulation/tpu-edt.el (tpu-edt-mode):
13507         * progmodes/subword.el (global-subword-mode, global-superword-mode):
13508         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13509         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13511         * term/xterm.el (xterm): Change parent group to terminals.
13513         * master.el (master): Remove empty custom group.
13514         (master-mode): Remove unused :group argument.
13515         * textmodes/refill.el (refill): Remove empty custom group.
13516         (refill-mode): Remove unused :group argument.
13518         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13520         * cus-dep.el: Provide a feature.
13521         (custom-make-dependencies): Ignore dotfiles (dir-locals).
13522         Don't mistakenly ignore files whose basenames match a basename
13523         from preloaded-file-list (eg cedet/ede/simple.el).
13524         Add a fallback method for getting :group.
13526 2013-05-15  Juri Linkov  <juri@jurta.org>
13528         * isearch.el (isearch-char-by-name): Rename from
13529         `isearch-insert-char-by-name'.  Doc fix.
13530         (isearch-forward): Mention `isearch-char-by-name' in
13531         the docstring.  (Bug#13348)
13533         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13534         `exit-minibuffer' instead of
13535         `isearch-nonincremental-exit-minibuffer'.
13536         (isearch-edit-string): Remove mention of
13537         `isearch-nonincremental-exit-minibuffer' from docstring.
13538         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13539         (isearch-forward-exit-minibuffer)
13540         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
13542 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13544         * loadup.el: Just use unversioned DOC.
13546         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13547         literals as extending to EOB.
13548         (nxml-last-fontify-end): Remove unused variable.
13549         (nxml-after-change1): Use with-silent-modifications.
13550         (nxml-extend-after-change-region): Simplify.
13551         (nxml-extend-after-change-region1): Remove function.
13552         (nxml-after-change1): Don't adjust for dependent regions.
13553         (nxml-fontify-matcher): Simplify.
13554         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13555         (xmltok-add-dependent): Remove function.
13556         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13557         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13558         (xmltok-scan-prolog-after-processing-instruction-open): Treat
13559         unclosed <[[, <?, comment, and other literals as extending to EOB.
13560         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13561         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13562         Remove functions.
13563         (rng-do-some-validation-1): Don't mark dependent regions.
13564         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13565         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13566         (nxml-clear-dependent-regions): Remove functions.
13567         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13568         (nxml-ensure-scan-up-to-date):
13569         Don't clear&mark dependent regions.
13571 2013-05-15  Leo Liu  <sdl.web@gmail.com>
13573         * progmodes/octave.el (octave-goto-function-definition):
13574         Improve and fix callers.
13576 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13578         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13579         the setter (bug#14387).
13581         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13582         surrounding group (bug#14402).
13584 2013-05-14  Juri Linkov  <juri@jurta.org>
13586         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13587         (Bug#14390)
13589 2013-05-14  Glenn Morris  <rgm@gnu.org>
13591         * progmodes/f90.el (f90-imenu-generic-expression):
13592         Fix typo in 2013-05-08 change.  (Bug#14402)
13594 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
13596         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13597         Remove signals for which replies are never received.
13599 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
13601         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13602         (gdb-handler-alist, gdb-handler-number): Remove variables.
13603         (gdb-handler-list): New variable.
13604         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13605         (gdb-pending-handler-p, gdb-handle-reply)
13606         (gdb-remove-all-pending-triggers): New functions.
13607         (gdb-discard-unordered-replies): New defcustom.
13608         (gdb-handler): New defstruct.
13609         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
13610         instead of gdb-pending-triggers.  Update docstring.
13611         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
13612         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13613         (gdb-var-update-handler, def-gdb-auto-update-trigger)
13614         (def-gdb-auto-update-handler, gdb-get-changed-registers)
13615         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13616         (gdb-frame-handler): Pending triggers are now automatically managed.
13617         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13618         Remove argument.
13619         (gdb-input): Automatically handles pending triggers.  Update docstring.
13620         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13621         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13622         Update comments.
13623         (gdb-done-or-error): Now use gdb-handle-reply.
13625 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
13627         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13628         gdb-debug-log.
13630 2013-05-14  Glenn Morris  <rgm@gnu.org>
13632         * subr.el (user-emacs-directory-warning): New option.
13633         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
13635 2013-05-14  Leo Liu  <sdl.web@gmail.com>
13637         * progmodes/octave.el (octave-font-lock-keywords): Fix error
13638         during redisplay.
13639         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13640         (octave-font-lock-texinfo-comment): Fix invalid search bound
13641         error: wrong side of point.
13643 2013-05-14  Glenn Morris  <rgm@gnu.org>
13645         * progmodes/flymake.el (flymake-xml-program): New option.
13646         (flymake-xml-init): Use it.
13648         * term/xterm.el: Provide a feature.
13650         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
13652 2013-05-13  Glenn Morris  <rgm@gnu.org>
13654         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13655         Add compat aliases as a hack workaround.  (Bug#14384)
13657 2013-05-13  Leo Liu  <sdl.web@gmail.com>
13659         * progmodes/octave.el (octave-indent-comment): Fix indentation for
13660         ###, and %!.
13661         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13662         C-M-q.
13663         (octave-comment-start-skip): Include %!.
13664         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13666 2013-05-12  Leo Liu  <sdl.web@gmail.com>
13668         * progmodes/octave.el (inferior-octave-startup): Store the value
13669         of __octave_srcdir__ for octave-source-directories.
13670         (inferior-octave-check-process): New function refactored out of
13671         inferior-octave-send-list-and-digest.
13672         (octave-source-directories)
13673         (octave-find-definition-filename-function): New variables.
13674         (octave-source-directories)
13675         (octave-find-definition-default-filename): New functions.
13676         (octave-find-definition): Improve to find functions implemented in C++.
13678 2013-05-12  Glenn Morris  <rgm@gnu.org>
13680         * calendar/diary-lib.el (diary-outlook-format-1):
13681         Don't include dayname in the output.  (Bug#14349)
13683 2013-05-11  Glenn Morris  <rgm@gnu.org>
13685         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13687         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13688         Treat cc-provide like provide.
13690 2013-05-11  Kevin Ryde  <user42@zip.com.au>
13692         * cus-dep.el (custom-make-dependencies):
13693         Use generated-autoload-load-name for the sake of files such
13694         such cedet/semantic/bovine/c.el, where the base file name
13695         is not in load-path.  (Bug#5277)
13697 2013-05-11  Glenn Morris  <rgm@gnu.org>
13699         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13700         Provide features.
13702 2013-05-11  Leo Liu  <sdl.web@gmail.com>
13704         * progmodes/octave.el (octave-indent-comment): Improve.
13705         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13706         (octave-eldoc-function-signatures, octave-eldoc-function):
13707         New functions.
13708         (octave-mode, inferior-octave-mode): Add eldoc support.
13710 2013-05-11  Richard Stallman  <rms@gnu.org>
13712         * epa.el (epa-decrypt-file): Take output file name as argument
13713         and read it using `interactive'.
13715 2013-05-11  Leo Liu  <sdl.web@gmail.com>
13717         * progmodes/octave.el (octave-beginning-of-line)
13718         (octave-end-of-line): Check before using up-list because it jumps
13719         out of more syntactic contructs since moving to smie.
13720         (octave-indent-comment): New function.
13721         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
13722         (octave-begin-keywords, octave-end-keywords)
13723         (octave-reserved-words, octave-smie-bnf-table)
13724         (octave-smie-rules): Add new keywords from Octave 3.6.4.
13726 2013-05-11  Glenn Morris  <rgm@gnu.org>
13728         * faces.el (internal-face-x-get-resource):
13729         * frame.el (ns-display-monitor-attributes-list):
13730         * calc/calc-aent.el (math-to-radians-2):
13731         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13732         Fix declarations.
13734         * calc/calc-menu.el: Make it loadable in isolation.
13736         * net/eudcb-bbdb.el: Make it loadable without bbdb.
13737         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13738         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13739         (eudc-bbdb-query-internal): Require 'bbdb.
13741         * lpr.el (lpr-headers-switches):
13742         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13744         * progmodes/sql.el (sql-login-params): Fix and improve :type.
13746         * emulation/edt-mapper.el: In batch mode, error rather than hang.
13748         * term.el (term-set-escape-char): Make it idempotent.
13750 2013-05-10  Leo Liu  <sdl.web@gmail.com>
13752         * progmodes/octave.el (inferior-octave-completion-table):
13753         No longer a function and all uses changed.  Use cache to speed up
13754         completion due to bug#11906.
13755         (octave-beginning-of-defun): Re-write to be more general.
13757 2013-05-10  Glenn Morris  <rgm@gnu.org>
13759         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13761 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13763         * comint.el (comint-redirect-send-command-to-process): Use :around
13764         rather than :override for comint-redirect-filter.
13765         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13766         Call it instead of comint-redirect-original-filter-function (which
13767         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
13769 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
13771         * frame.el (display-monitor-attributes-list): Add NS case.
13772         (ns-display-monitor-attributes-list): Declare.
13774 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
13776         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
13778 2013-05-09  Glenn Morris  <rgm@gnu.org>
13780         * international/fontset.el (vertical-centering-font-regexp):
13781         Set standard-value.
13783         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13785         * bookmark.el (bookmark-search-delay):
13786         * cus-start.el (vertical-centering-font-regexp):
13787         * ps-mule.el (ps-mule-font-info-database-default):
13788         * ps-print.el (ps-default-fg, ps-default-bg):
13789         * type-break.el (type-break-good-break-interval):
13790         * whitespace.el (whitespace-indentation-regexp)
13791         (whitespace-space-after-tab-regexp):
13792         * emacs-lisp/testcover.el (testcover-1value-functions)
13793         (testcover-noreturn-functions, testcover-progn-functions)
13794         (testcover-prog1-functions):
13795         * emulation/viper-init.el (viper-emacs-state-cursor-color):
13796         * eshell/em-glob.el (eshell-glob-translate-alist):
13797         * play/tetris.el (tetris-tty-colors):
13798         * progmodes/cpp.el (cpp-face-default-list):
13799         * progmodes/flymake.el (flymake-allowed-file-name-masks):
13800         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13801         (idlwave-help-browser-generic-args):
13802         * progmodes/make-mode.el (makefile-special-targets-list):
13803         * progmodes/python.el (python-shell-virtualenv-path):
13804         * progmodes/verilog-mode.el (verilog-active-low-regexp)
13805         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13806         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13807         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13808         * textmodes/reftex-vars.el (reftex-format-label-function):
13809         * textmodes/remember.el (remember-diary-file): Fix custom types.
13811         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13812         Add :version.
13814 2013-05-09  Leo Liu  <sdl.web@gmail.com>
13816         * progmodes/octave.el (inferior-octave-completion-at-point):
13817         Restore file completion.  (Bug#14300)
13818         (inferior-octave-startup): Fix incorrect highlighting for the
13819         first prompt.
13821 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13823         * progmodes/ruby-mode.el: First cut at SMIE support.
13824         (ruby-use-smie): New var.
13825         (ruby-smie-grammar): New constant.
13826         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13827         (ruby-smie--forward-token, ruby-smie--backward-token)
13828         (ruby-smie-rules): New functions.
13829         (ruby-mode-variables): Setup SMIE if applicable.
13831 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
13833         * simple.el (line-move-visual): Signal beginning/end of buffer
13834         only if vertical-motion moved less than it was requested.  Avoids
13835         silly incorrect error messages when there are display strings with
13836         multiple newlines at EOL.
13838 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13840         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13841         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13842         (prolog-char-quote-workaround):
13843         * progmodes/cperl-mode.el (cperl-under-as-char):
13844         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13845         Mark as obsolete.
13846         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13847         their declaration.
13848         (vhdl-mode-syntax-table-init): Remove.
13850         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13851         last change.
13853         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13854         syntax for "_".
13855         (ld-script-font-lock-keywords):
13856         Change regexps to use things like \_< and \_>.
13858         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13859         Change all regexps to use things like \_< and \_>.
13861         * progmodes/autoconf.el (autoconf-definition-regexp)
13862         (autoconf-font-lock-keywords, autoconf-current-defun-function):
13863         Handle a _ with symbol syntax.
13864         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13866         * progmodes/ada-mode.el (ada-mode-abbrev-table):
13867         Consolidate declaration.
13868         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13869         the declaration.
13870         (ada-create-syntax-table): Remove.
13871         (ada-capitalize-word): Don't mess with the syntax of "_" since it
13872         already has the right syntax nowadays.
13873         (ada-goto-next-word): Don't change the syntax of "_".
13875         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13876         with-wrapper-hook.
13878 2013-05-08  Sam Steingold  <sds@gnu.org>
13880         * thingatpt.el (thing-at-point): Accept optional second argument
13881         NO-PROPERTIES to strip the text properties from the return value.
13882         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13883         to `thing-at-point' instead of stripping the properties ourselves.
13884         Also, when `thing-at-point' fails to find a url, prepend "http://"
13885         to the filename at point on the assumption that the user is
13886         pointing at something like gnu.org/gnu.
13888 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
13890         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13891         * faces.el (crm-separator):
13892         Silence byte-compiler.
13894         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13895         (tool-bar-map): Remove unneeded defvars.
13897 2013-05-08  Leo Liu  <sdl.web@gmail.com>
13899         Re-work a fix for bug#10994 based on Le Wang's patch.
13900         * ido.el (ido-remove-consecutive-dups): New helper.
13901         (ido-completing-read): Use it.
13902         (ido-chop): Revert fix for bug#10994.
13904 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
13906         * cus-edit.el (custom-save-variables):
13907         Pretty-print long values.  (Bug#14187)
13909 2013-05-08  Glenn Morris  <rgm@gnu.org>
13911         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13912         (m4-mode-syntax-table): Init in the defvar.
13913         (m4-mode-abbrev-table): Let define-derived-mode define it.
13915 2013-05-08  Tom Tromey  <tromey@redhat.com>
13917         * progmodes/m4-mode.el (m4-mode-syntax-table):
13918         Do not treat "_" as word constituent.  (Bug#14167)
13920 2013-05-07  Glenn Morris  <rgm@gnu.org>
13922         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13923         Remove explicit eshell-isearch-cancel-map.
13925         * progmodes/f90.el (f90-smart-end-names): New option.
13926         (f90-smart-end): Doc fix.
13927         (f90-end-block-optional-name): New constant.
13928         (f90-block-match): Respect f90-smart-end-names.
13930 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13932         * progmodes/octave.el (octave-smie-forward-token): Be more careful
13933         about implicit semi-colons (bug#14218).
13935 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13937         * frame.el (display-monitor-attributes-list)
13938         (frame-monitor-attributes): New functions.
13940 2013-05-06  Leo Liu  <sdl.web@gmail.com>
13942         * progmodes/octave.el (octave-syntax-propertize-function): Change
13943         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
13944         (octave-font-lock-keywords): Use octave-operator-regexp.
13945         (octave-completion-at-point): Rename from
13946         octave-completion-at-point-function.
13947         (inferior-octave-directory-tracker): Robustify.
13948         (octave-text-functions): Remove and fix its uses.  No such things
13949         any more.
13951 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13953         * emacs-lisp/trace.el (trace--display-buffer): New function.
13954         (trace-make-advice): Use it.
13956 2013-05-06  Juri Linkov  <juri@jurta.org>
13958         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
13959         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13960         Doc fix.
13961         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13962         in the help string.  (Bug#12985)
13964 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
13966         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
13968 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13970         * progmodes/perl-mode.el: Add support for here documents.
13971         (perl-syntax-propertize-function): Match here-doc markers.
13972         (perl-syntax-propertize-special-constructs): Find their end.
13973         (perl-imenu-generic-expression): Use [:alnum:].
13975         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13976         (advice--add-function): Refresh the advice if already present
13977         (bug#14317).
13979 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
13981         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
13983 2013-05-06  Glenn Morris  <rgm@gnu.org>
13985         * w32-fns.el (w32-charset-info-alist): Declare.
13987         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13988         of its defcustom properties.
13989         (eshell-cmpl-initialize): No need to load pcomplete.
13991         * generic-x.el: No need to require comint when compiling.
13993         * net/eudc-export.el: Make it loadable without bbdb.
13994         (top-level): Use require rather than load-library.
13995         (eudc-create-bbdb-record, eudc-bbdbify-phone)
13996         (eudc-batch-export-records-to-bbdb)
13997         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13998         Require bbdb.
14000 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14002         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14003         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14004         some tweaks, instead.
14006 2013-05-05  Leo Liu  <sdl.web@gmail.com>
14008         * progmodes/octave.el (octave-font-lock-keywords)
14009         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14010         (inferior-octave-send-list-and-digest): Improve error message.
14011         (octave-mode, inferior-octave-mode): Use setq-local.
14012         (octave-help): Set info-lookup-mode.
14014 2013-05-05  Richard Stallman  <rms@gnu.org>
14016         * vc/compare-w.el (compare-windows-whitespace):
14017         Treat no-break space as whitespace.
14019         * mail/rmailsum.el (rmail-summary-rmail-update):
14020         Detect empty summary and don't change selected message.
14021         (rmail-summary-goto-msg): Likewise.
14023         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14024         Doc fixes, rename args.
14026 2013-05-05  Alan Mackenzie  <acm@muc.de>
14028         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14030 2013-05-05  Juri Linkov  <juri@jurta.org>
14032         * info.el (Info-read-subfile): Use (point-min) instead of (point)
14033         to not add the length of the summary segment to the return value.
14034         (Bug#14125)
14036 2013-05-05  Leo Liu  <sdl.web@gmail.com>
14038         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14039         (inferior-octave-output-filter): Remove.
14040         (octave-send-region, inferior-octave-startup): Fix callers.
14041         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14042         (octave-binary-file-extensions): New user variable.
14043         (octave-find-definition): Confirm if opening binary files.
14044         (octave-help-file): Use octave-find-definition to get the binary
14045         confirmation.
14046         (octave-help): Adjust for octave-help-file change.
14048 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14050         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14051         Merge the two entries that handle function definitions.
14052         (pascal--syntax-propertize): New const.
14053         (pascal-mode): Use it.  Use setq-local.
14055 2013-05-04  Glenn Morris  <rgm@gnu.org>
14057         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14058         (diary-from-outlook): Respect diary-from-outlook-function.
14060 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14062         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14063         Move the declaration from C.
14064         (read-minibuffer, eval-minibuffer): Move from C.
14065         (completion-setup-function): Avoid minibuffer-completion-contents.
14067 2013-05-03  Leo Liu  <sdl.web@gmail.com>
14069         * progmodes/octave.el (octave-font-lock-keywords): Do not
14070         dehighlight 'end' in comments or strings.
14071         (octave-completing-read, octave-goto-function-definition):
14072         New helpers.
14073         (octave-help-buffer): New user variable.
14074         (octave-help-file, octave-help-function): New button types.
14075         (octave-help): New command and bind it to C-h ;.
14076         (octave-find-definition): New command and bind it to M-.
14077         (user-error): Alias to error if not defined.
14079 2013-05-02  Leo Liu  <sdl.web@gmail.com>
14081         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14082         for \.  (bug#14332)
14083         (octave-font-lock-keywords): Include [ and {.
14085 2013-05-02  Leo Liu  <sdl.web@gmail.com>
14087         * progmodes/octave.el (inferior-octave-startup-file): Change default.
14088         (inferior-octave): Remove calling comint-mode and return the buffer.
14089         (inferior-octave-startup): Cosmetic changes.
14091 2013-05-02  Leo Liu  <sdl.web@gmail.com>
14093         * progmodes/octave.el (octave-syntax-propertize-function):
14094         Include the case when ' is at line beginning.  (Bug#14336)
14096 2013-05-02  Glenn Morris  <rgm@gnu.org>
14098         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14099         * desktop.el (vc-dir-mode): Just autoload it here.
14101 2013-05-02  Alan Mackenzie  <acm@muc.de>
14103         Eliminate variable c-standard-font-lock-fontify-region-function.
14104         * progmodes/cc-mode.el
14105         (c-standard-font-lock-fontify-region-function): Remove.
14106         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14108 2013-05-01  Leo Liu  <sdl.web@gmail.com>
14110         * progmodes/octave.el: Compatible with older emacs-24 releases.
14111         (inferior-octave-has-built-in-variables): Remove.  Built-in
14112         variables were removed from Octave in 2007.
14113         (inferior-octave-startup): Fix uses.
14114         (comint-line-beginning-position): Remove compatibility code for
14115         emacs 21.
14117 2013-05-01  Juri Linkov  <juri@jurta.org>
14119         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
14121 2013-05-01  Juri Linkov  <juri@jurta.org>
14123         * comint.el (comint-previous-matching-input): Don't print message
14124         "History item: %d" when `isearch-mode' is active.
14125         (comint-history-isearch-message): Print message "History item: %d"
14126         when `comint-input-ring-index' is not empty and this function is
14127         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
14129 2013-05-01  Leo Liu  <sdl.web@gmail.com>
14131         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14132         definitions.  Use completion-at-point to insert keywords.
14133         (octave-abbrev-start): Remove.
14134         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14136 2013-04-30  Leo Liu  <sdl.web@gmail.com>
14138         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14139         change.
14141 2013-04-30  Alan Mackenzie  <acm@muc.de>
14143         Handle arbitrarily long C++ member initialisation lists.
14144         * progmodes/cc-engine.el (c-back-over-member-initializers):
14145         new function.
14146         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14147         (most) member init lists.
14149 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14151         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14152         variable.
14154 2013-04-30  Leo Liu  <sdl.web@gmail.com>
14156         * progmodes/octave.el (octave-variables): Remove.  No builtin
14157         variables any more.  All converted to functions.
14158         (octave-font-lock-keywords, octave-completion-at-point-function):
14159         Fix uses.
14160         (octave-font-lock-texinfo-comment): New user variable.
14161         (octave-texinfo-font-lock-keywords): New variable for texinfo
14162         comment block.
14163         (octave-function-comment-block): New face.
14164         (octave-font-lock-texinfo-comment): New function.
14165         (octave-mode): Font lock texinfo comment block.
14167 2013-04-29  Leo Liu  <sdl.web@gmail.com>
14169         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14170         indexing expression.
14171         (octave-continuation-string): Do not use \.
14172         (inferior-octave-complete-impossible): Remove.
14173         (inferior-octave-completion-table)
14174         (inferior-octave-completion-at-point): Remove its uses.
14175         (inferior-octave-startup): completion_matches was introduced to
14176         Octave in 1996 so safe to assume it.
14177         (octave-function-file-comment): Improve to follow how Octave does it.
14178         (octave-update-function-file-comment): Tweak.
14180 2013-04-29  Leo Liu  <sdl.web@gmail.com>
14182         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14183         (inferior-octave-startup): Remove inferior-octave-startup-hook.
14184         (octave-function-file-comment): Fix typo.
14185         (octave-sync-function-file-names): Use read-char-choice.
14187 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
14189         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14190         to t for the less important warnings.
14192 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
14194         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
14196 2013-04-27  Glenn Morris  <rgm@gnu.org>
14198         * vc/log-view.el (log-view-current-entry):
14199         Treat "---" separator lines as part of the following rev.  (Bug#14169)
14201 2013-04-27  Juri Linkov  <juri@jurta.org>
14203         * subr.el (read-number): Doc fix about using it by interactive
14204         code letter `n'.  (Bug#14254)
14206 2013-04-27  Juri Linkov  <juri@jurta.org>
14208         * desktop.el (desktop-auto-save-timeout): New option.
14209         (desktop-file-checksum): New variable.
14210         (desktop-save): Add optional arg `auto-save' and don't auto-save
14211         if nothing changed.
14212         (desktop-auto-save-timer): New variable.
14213         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14214         (after-init-hook): Call `desktop-auto-save-set-timer'.
14215         Suggested by Reuben Thomas <rrt@sc3d.org> in
14216         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14218 2013-04-27  Leo Liu  <sdl.web@gmail.com>
14220         * progmodes/octave.el (octave-function-file-p)
14221         (octave-skip-comment-forward, octave-function-file-comment)
14222         (octave-update-function-file-comment): New functions.
14223         (octave-mode-map): Bind C-c ; to
14224         octave-update-function-file-comment.
14225         (octave-mode-menu): Add octave-update-function-file-comment.
14226         (octave-mode, inferior-octave-mode): Fix doc-string.
14227         (octave-insert-defun): Conform to Octave's coding convention.
14228         (Bug#14285)
14230         * files.el (basic-save-buffer): Don't let errors in
14231         before-save-hook prevent saving buffer.
14233 2013-04-20  Roland Winkler  <winkler@gnu.org>
14235         * faces.el (read-face-name): Use completing-read if arg multiple
14236         is nil.
14238 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
14240         * ls-lisp.el (ls-lisp-insert-directory): If no files are
14241         displayed, move point to after the totals line.
14242         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14243         for the details.
14245 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14247         * emacs-lisp/package.el (package-autoload-ensure-default-file):
14248         Add current dir to the load-path.
14249         (package-generate-autoloads): Don't rely on
14250         autoload-ensure-default-file.
14252 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
14254         * textmodes/remember.el (remember-store-in-files): Document that
14255         the file name format is passed to `format-time-string'.
14257 2013-04-26  Leo Liu  <sdl.web@gmail.com>
14259         * progmodes/octave.el (octave-sync-function-file-names): New function.
14260         (octave-mode): Use it in before-save-hook.
14262 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14264         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14265         (bug#14274).
14267         * progmodes/octave.el (octave-smie-forward-token): Properly skip
14268         \n and comment, even if it's not an implicit ; (bug#14218).
14270 2013-04-26  Glenn Morris  <rgm@gnu.org>
14272         * subr.el (read-number): Once more use `read' rather than
14273         `string-to-number', to trap non-numeric input.  (Bug#14254)
14275 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
14277         * emacs-lisp/syntax.el (syntax-propertize-multiline):
14278         Use `syntax-multiline' text property consistently instead of
14279         `font-lock-multiline'.  (Bug#14237)
14281 2013-04-26  Glenn Morris  <rgm@gnu.org>
14283         * emacs-lisp/shadow.el (list-load-path-shadows):
14284         No longer necessary to check for duplicate simple.el, since
14285         2012-07-07 change to init_lread to not include installation lisp
14286         directories in load-path when running uninstalled.  (Bug#14270)
14288 2013-04-26  Leo Liu  <sdl.web@gmail.com>
14290         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14291         (octave-mode, inferior-octave-mode): Use setq-local.
14292         (octave-not-in-string-or-comment-p): Rename to
14293         octave-in-string-or-comment-p.
14294         (octave-in-comment-p, octave-in-string-p)
14295         (octave-in-string-or-comment-p): Replace defsubst with defun.
14297 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
14299         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14301 2013-04-25  Bastien Guerry  <bzg@gnu.org>
14303         * textmodes/remember.el (remember-data-directory)
14304         (remember-directory-file-name-format): Fix custom types.
14306 2013-04-25  Leo Liu  <sdl.web@gmail.com>
14308         * progmodes/octave.el (octave-completion-at-point-function):
14309         Make use of inferior octave process.
14310         (octave-initialize-completions): Remove.
14311         (inferior-octave-completion-table): New function.
14312         (inferior-octave-completion-at-point): Use it.
14313         (octave-completion-alist): Remove.
14315 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14317         * progmodes/opascal.el: Use font-lock and syntax-propertize.
14318         (opascal-mode-syntax-table): New var.
14319         (opascal-literal-kind, opascal-is-literal-end)
14320         (opascal-literal-token-at): Rewrite.
14321         (opascal--literal-start-re, opascal-font-lock-keywords)
14322         (opascal--syntax-propertize): New constants.
14323         (opascal-font-lock-defaults): Adjust.
14324         (opascal-mode): Use them.  Set comment-<foo> variables as well.
14325         (delphi-comment-face, opascal-comment-face, delphi-string-face)
14326         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14327         (delphi-other-face, opascal-other-face): Remove face variables.
14328         (opascal-save-state): Remove macro.
14329         (opascal-fontifying-progress-step): Remove constant.
14330         (opascal--ignore-changes): Remove var.
14331         (opascal-set-token-property, opascal-parse-next-literal)
14332         (opascal-is-stable-literal, opascal-complete-literal)
14333         (opascal-is-literal-start, opascal-face-of)
14334         (opascal-parse-region, opascal-parse-region-until-stable)
14335         (opascal-fontify-region, opascal-after-change)
14336         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14337         (opascal-debug-parse-region, opascal-debug-parse-window)
14338         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14339         (opascal-debug-fontify-buffer): Remove.
14340         (opascal-debug-mode-map): Adjust accordingly.
14342 2013-04-25  Leo Liu  <sdl.web@gmail.com>
14344         Merge octave-mod.el and octave-inf.el into octave.el with some
14345         cleanups.
14346         * progmodes/octave.el: New file renamed from octave-mod.el.
14347         * progmodes/octave-inf.el: Merged into octave.el.
14348         * progmodes/octave-mod.el: Renamed to octave.el.
14350 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
14352         * textmodes/reftex-vars.el
14353         (reftex-label-ignored-macros-and-environments): New defcustom.
14355         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14357 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14359         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14360         (smie-indent-keyword): Improve the check to ensure that the next
14361         comment is really on the same line.
14362         (smie-indent-comment): Don't align with a subsequent closer (or eob).
14364         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14365         semi-colons if the line is not otherwise empty (bug#14218).
14367 2013-04-25  Glenn Morris  <rgm@gnu.org>
14369         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14371 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14373         * progmodes/opascal.el (opascal-set-token-property): Rename from
14374         opascal-set-text-properties and only set `token' (bug#14134).
14375         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14376         (opascal-literal-text-properties): Remove.
14377         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14378         Adjust callers.
14380 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
14382         * textmodes/remember.el (remember-handler-functions): Add an
14383         option for a new handler `remember-store-in-files'.
14384         (remember-data-directory, remember-directory-file-name-format):
14385         New options.
14386         (remember-store-in-files): New function to store remember notes
14387         as separate files within a directory.
14389 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
14391         * progmodes/compile.el (compilation-next-error-function):
14392         Pass "formats" to compilation-find-file (bug#11777).
14394 2013-04-24  Glenn Morris  <rgm@gnu.org>
14396         * vc/vc-bzr.el (vc-bzr-print-log):
14397         * vc/vc-hg.el (vc-hg-print-log):
14398         * vc/vc-svn.el (vc-svn-print-log):
14399         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
14401         * vc/vc-bzr.el (vc-bzr-print-log):
14402         * vc/vc-cvs.el (vc-cvs-print-log):
14403         * vc/vc-git.el (vc-git-print-log):
14404         * vc/vc-hg.el (vc-hg-print-log):
14405         * vc/vc-mtn.el (vc-mtn-print-log):
14406         * vc/vc-rcs.el (vc-rcs-print-log):
14407         * vc/vc-sccs.el (vc-sccs-print-log):
14408         * vc/vc-svn.el (vc-svn-print-log):
14409         * vc/vc.el (vc-print-log-internal): Doc fixes.
14411 2013-04-23  Glenn Morris  <rgm@gnu.org>
14413         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14414         Remove venerable code attempting to avoid substitute-command-keys.
14416 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
14418         * textmodes/reftex-vars.el (reftex-label-regexps):
14419         Call `reftex-compile-variables' after changes to this variable.
14421 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14423         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14424         Use lexical-binding.
14425         (jit-lock-force-redisplay): Use markers, check buffer's continued
14426         existence and beware narrowed buffers.
14427         (jit-lock-fontify-now): Adjust call accordingly.
14429 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14431         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14432         to avoid misleading the user.
14434 2013-04-22  Leo Liu  <sdl.web@gmail.com>
14436         * info-look.el: Prefer latex2e.info.  (Bug#14240)
14438 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
14440         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
14442         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14443         * net/tramp.el (tramp-call-process): ... here.
14444         (tramp-set-completion-function, tramp-parse-putty):
14445         * net/tramp-adb.el (tramp-adb-execute-adb-command):
14446         * net/tramp-gvfs.el (tramp-gvfs-send-command):
14447         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14448         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14449         (tramp-call-local-coding-command): Use `tramp-call-process'
14450         instead of `tramp-compat-call-process'.
14452         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14453         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14454         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14455         (tramp-find-inline-compress): Improve traces.
14456         (tramp-maybe-send-script): Check for Perl binary.
14457         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14459 2013-04-22  Daiki Ueno  <ueno@gnu.org>
14461         * epg.el (epg-context-pinentry-mode): New function.
14462         (epg-context-set-pinentry-mode): New function.
14463         (epg--start): Pass --pinentry-mode option to gpg command.
14465 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
14467         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14468         `comint-dynamic-complete' is obsolete since 24.1, replaced by
14469         `completion-at-point'.  (Bug#13774)
14471         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14472         default key binding for `describe-distribution' has been moved to
14473         `C-h C-o'.  (Bug#13970)
14475 2013-04-21  Glenn Morris  <rgm@gnu.org>
14477         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14478         Add doc strings.
14479         (vc-print-log): Clarify interactive prompt.
14481 2013-04-20  Glenn Morris  <rgm@gnu.org>
14483         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14484         No longer include timestamp etc information.
14486 2013-04-20  Roland Winkler  <winkler@gnu.org>
14488         * faces.el (read-face-name): Bug fix, return just one face if arg
14489         multiple is nil.  (Bug#14209)
14491 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14493         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14494         (remove-function): Autoload.
14496         * comint.el (comint-redirect-original-filter-function): Remove.
14497         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14498         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14499         (vc-cvs-annotate-command):
14500         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14501         * progmodes/prolog.el (prolog-consult-compile):
14502         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14503         Use add/remove-function instead.
14504         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14505         (gud-tooltip-process-output, gud-tooltip-tips):
14506         Use add/remove-function instead.
14507         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14508         (scheme-interaction-mode, exit-scheme-interaction-mode):
14509         Use add/remove-function instead.
14511         * vc/vc-dispatcher.el: Use lexical-binding.
14512         (vc--process-sentinel): Rename from vc-process-sentinel.
14513         Change last arg to be the code to run.  Don't use vc-previous-sentinel
14514         and vc-sentinel-commands any more.
14515         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
14516         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14518 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
14520         * progmodes/sh-script.el (sh-imenu-generic-expression):
14521         Handle function names with a single character.  (Bug#14111)
14523 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
14525         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14526         for subroutines defined in an eval (bug#14182).
14528 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14530         * bookmark.el (bookmark-completing-read): Improve handling of empty
14531         string (bug#14176).
14533 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14535         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14537 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14539         New faster Imenu implementation (bug#14058).
14540         * progmodes/python.el:
14541         (python-imenu-prev-index-position):
14542         (python-imenu-format-item-label-function)
14543         (python-imenu-format-parent-item-label-function)
14544         (python-imenu-format-parent-item-jump-label-function):
14545         New vars.
14546         (python-imenu-format-item-label)
14547         (python-imenu-format-parent-item-label)
14548         (python-imenu-format-parent-item-jump-label)
14549         (python-imenu--put-parent, python-imenu--build-tree)
14550         (python-imenu-create-index, python-imenu-create-flat-index)
14551         (python-util-popn): New functions.
14552         (python-mode): Set imenu-create-index-function to
14553         python-imenu-create-index.
14555 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14557         * winner.el (winner-active-region): Use region-active-p, activate-mark
14558         and deactivate-mark (bug#14225).
14560         * simple.el (deactivate-mark): Don't inline it.
14562 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
14564         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14566 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
14568         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14569         file extensions from the archive-mode entry in order to prefer
14570         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14572 2013-04-18  Leo Liu  <sdl.web@gmail.com>
14574         * bindings.el (help-event-list): Add ?\?.
14576 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14578         * subr.el (with-wrapper-hook): Declare obsolete.
14579         * simple.el (filter-buffer-substring-function): New hook.
14580         (filter-buffer-substring): Use it.
14581         (filter-buffer-substring-functions): Mark obsolete.
14582         * minibuffer.el (completion-in-region-function): New hook.
14583         (completion-in-region): Use it.
14584         (completion-in-region-functions): Mark obsolete.
14585         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14586         * abbrev.el (abbrev-expand-function): New hook.
14587         (expand-abbrev): Use it.
14588         (abbrev-expand-functions): Mark obsolete.
14589         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14590         and :filter-return.
14592 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14594         * progmodes/python.el (python-nav--syntactically): Fix cornercases
14595         and do not care about match data.
14597 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14599         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14600         completion tables when completing error conditions and
14601         `declare' arguments.
14602         (lisp-complete-symbol, field-complete): Mark as obsolete.
14603         (check-parens): Unmatched parens are user errors.
14604         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14606 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
14608         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14609         command changed buffer (ie. `flyspell-pre-buffer' is not current
14610         buffer), which prevents making decisions based on invalid value of
14611         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
14612         cause an error when `flyspell-pre-point' was nil after switching
14613         buffers.
14614         (flyspell-post-command-hook): No longer needs to change buffers when
14615         checking pre-word.  While at it remove unnecessary progn.
14617 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
14619         * textmodes/ispell.el (ispell-add-per-file-word-list):
14620         Fix `flyspell-correct-word-before-point' error when accepting
14621         words and `coment-padding' is an integer by using
14622         `comment-normalize-vars' (Bug #14214).
14624 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14626         New defun movement commands.
14627         * progmodes/python.el (python-nav--syntactically)
14628         (python-nav--forward-defun, python-nav-backward-defun)
14629         (python-nav-forward-defun): New functions.
14631 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
14633         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14634         (python-syntax-context): Use named compiler-macro for backwards
14635         compatibility with Emacs 24.x.
14637 2013-04-17  Leo Liu  <sdl.web@gmail.com>
14639         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14640         octave-hide-process-buffer.
14642 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14644         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14645         (bug#14216).
14647 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
14649         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14650         Fix adjustment of offset when receiving incomplete responses from GDB
14651         (bug#14129).
14653 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14655         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14656         python-mode-abbrev-table.
14657         (python-skeleton-define): Adjust accordingly.
14658         (python-mode-abbrev-table): New table that inherits from it so that
14659         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14661         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14662         (abbrev-symbol): Use it.
14663         (abbrev--before-point): Use it since we already handle inheritance.
14665 2013-04-16  Leo Liu  <sdl.web@gmail.com>
14667         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14668         binding to info-lookup-symbol.
14670 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
14672         * minibuffer.el (completion--twq-all):
14673         * term/ns-win.el (ns-initialize-window-system):
14674         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14676 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14678         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14679         global bindings.
14681         * doc-view.el (doc-view-start-process): Handle url-handler directories.
14683 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
14685         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14686         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14687         to nil.
14688         (ruby-end-of-defun): Remove the unused arg, change the docstring
14689         to reflect that this function is only used as the value of
14690         `end-of-defun-function'.
14691         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14692         to reflect an earlier change that beginning/end-of-defun functions
14693         jump between methods in a class definition, as well as top-level
14694         functions.
14696 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14698         * minibuffer.el (minibuffer-complete): Don't just scroll
14699         a *Completions* that's been iconified.
14700         (minibuffer-force-complete): Make sure repetitions do cycle when going
14701         through completion-in-region -> minibuffer-complete.
14703 2013-04-15  Alan Mackenzie  <acm@muc.de>
14705         Correct the placement of c-cpp-delimiters when there're #s not at
14706         col 0.
14708         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14709         place a submatch around the #.
14710         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14711         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
14712         on the #, not BOL.
14714 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14716         * emacs-lisp/nadvice.el: Properly test names when adding advice.
14717         (advice--member-p): New arg `name'.
14718         (advice--add-function, advice-member-p): Use it (bug#14202).
14720 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
14722         Reformulate java imenu-generic-expression.
14723         The old expression contained ill formed regexps.
14725         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14726         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14727         (cc-imenu-java-method-arg-regexp): New defconsts.
14728         (cc-imenu-java-build-type-args-regex): New defun.
14729         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14730         handling of spaces in the regexp.
14732 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
14734         * textmodes/ispell.el (ispell-command-loop): Remove
14735         flyspell highlight of a word when ispell accepts it (bug #14178).
14737 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
14739         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14740         uses code from the previous `ange-ftp-run-real-handler'.
14741         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14742         only in case that function exist.  This is needed for proper
14743         unloading of Tramp.
14745 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
14747         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14749         * textmodes/reftex.el (reftex-compile-variables): Use it.
14751 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14753         * files.el (normal-mode): Only use default major-mode if no other mode
14754         was specified.
14756         * emacs-lisp/trace.el (trace-values): New function.
14758         * files.el: Allow : in local variables (bug#14089).
14759         (hack-local-variable-regexp): New var.
14760         (hack-local-variables-prop-line, hack-local-variables): Use it.
14762 2013-04-13  Roland Winkler  <winkler@gnu.org>
14764         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
14765         data before it gets modified by bibtex-beginning-of-entry.
14767 2013-04-13  Roland Winkler  <winkler@gnu.org>
14769         * textmodes/bibtex.el (bibtex-url): Doc fix.
14771 2013-04-13  Roland Winkler  <winkler@gnu.org>
14773         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14774         does not visit a BibTeX file, exclude it from the list of buffers
14775         returned by bibtex-initialize.
14777 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
14779         * window.el (split-window): Remove interactive form, since as a
14780         command this function is a special case of split-window-below.
14781         Correct doc string.
14783 2013-04-12  Roland Winkler  <winkler@gnu.org>
14785         * faces.el (read-face-name): Do not override value of arg default.
14786         Allow single faces and strings as default values.  Remove those
14787         elements from return value that are not faces.
14788         (describe-face): Simplify.
14789         (face-at-point): New optional args thing and multiple so that this
14790         function can provide the same functionality previously provided by
14791         read-face-name.
14792         (make-face-bold, make-face-unbold, make-face-italic)
14793         (make-face-unitalic, make-face-bold-italic, invert-face)
14794         (modify-face, read-face-and-attribute): Use face-at-point.
14796         * cus-edit.el (customize-face, customize-face-other-window)
14797         * cus-theme.el (custom-theme-add-face)
14798         * face-remap.el (buffer-face-set)
14799         * facemenu.el (facemenu-set-face): Use face-at-point.
14801 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
14803         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14805 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
14807         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14808         off leading { and trailing } from field values.
14810 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14812         * emacs-lisp/timer.el (timer--check): New function.
14813         (timer--time, timer-set-function, timer-event-handler): Use it.
14814         (timer-set-idle-time): Simplify.
14815         (timer--activate): CSE.
14816         (timer-event-handler): Give more info in error message.
14817         (internal-timer-start-idle): New function, moved from C.
14819         * mpc.el (mpc-proc): Add `restart' argument.
14820         (mpc-proc-cmd): Use it.
14821         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14822         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14823         less often.
14825 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
14827         * progmodes/sh-script.el: Implement `sh-mode' own
14828         `add-log-current-defun-function' (bug#14112).
14829         (sh-current-defun-name): New function.
14830         (sh-mode): Use the function.
14832 2013-04-09  Bastien Guerry  <bzg@gnu.org>
14834         * simple.el (choose-completion-string): Fix docstring (bug#14163).
14836 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14838         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14840         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14841         timer (bug#14156).
14843 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
14845         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14846         declaration.
14848 2013-04-07  Leo Liu  <sdl.web@gmail.com>
14850         * pcmpl-x.el: New file.
14852 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
14854         Do not set x-display-name until X connection is established.
14855         This is needed to prevent from weird situation described at
14856         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14857         * frame.el (make-frame): Set x-display-name after call to
14858         window system initialization function, not before.
14859         * term/x-win.el (x-initialize-window-system): Add optional
14860         display argument and use it.
14861         * term/w32-win.el (w32-initialize-window-system):
14862         * term/ns-win.el (ns-initialize-window-system):
14863         * term/pc-win.el (msdos-initialize-window-system):
14864         Add compatible optional display argument.
14866 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
14868         * files.el (normal-backup-enable-predicate): On MS-Windows and
14869         MS-DOS compare truenames of temporary-file-directory and of the
14870         file, so that 8+3 aliases (usually found in $TEMP on Windows)
14871         don't fail comparison by compare-strings.  Also, compare file
14872         names case-insensitively on MS-Windows and MS-DOS.
14874 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14876         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14877         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14879 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
14881         * whitespace.el (whitespace-color-on, whitespace-color-off):
14882         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14884 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
14886         * ispell.el (ispell-set-spellchecker-params):
14887         Really set `ispell-args' for all equivs.
14889 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14891         * ido.el (ido-completions): Use extra elements of ido-decorations
14892         (bug#14143).
14893         (ido-decorations): Update docstring.
14895 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
14897         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14898         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14899         nil during initialization, in order not to miss changes since the
14900         file was opened.  (Bug#14140)
14902 2013-04-05  Leo Liu  <sdl.web@gmail.com>
14904         * kmacro.el (kmacro-call-macro): Fix bug#14135.
14906 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
14908         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14910 2013-04-04  Glenn Morris  <rgm@gnu.org>
14912         * electric.el (electric-pair-inhibit-predicate): Add :version.
14914 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14916         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14917         when a package is required several times (bug#14082).
14919 2013-04-04  Roland Winkler  <winkler@gnu.org>
14921         * faces.el (read-face-name): Behave as promised by the docstring.
14922         Assume that arg default is a list of faces.
14923         (describe-face): Call read-face-name with list of default faces.
14925 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14927         * bookmark.el: Fix deletion of bookmarks (bug#13972).
14928         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14929         (bookmark-bmenu-execute-deletions): Only skip first line if it's
14930         the header.
14931         (bookmark-exit-hook-internal): Save even if list is empty.
14933 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
14935         * emacs-lisp/package.el (package-pinned-packages): New var.
14936         (package--add-to-archive-contents): Obey it (bug#14118).
14938 2013-04-03  Alan Mackenzie  <acm@muc.de>
14940         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14941         Also adapt to the new values of element 7 of a parse state.
14943         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14944         parameter `not-in-delimiter'.  Handle being inside comment opener.
14945         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14946         character in case we're typing a '*' after a '/'.
14947         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14948         instead by passing the parameter to c-state-pp-to-literal.
14950         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14951         for elt. 7 of a parse state.
14953 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
14955         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14956         * international/latin1-disp.el, international/mule-util.el:
14957         * language/cyril-util.el, language/european.el, language/ind-util.el:
14958         * language/lao-util.el, language/thai.el, language/tibet-util.el:
14959         * language/tibetan.el, language/viet-util.el:
14960         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14962 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14964         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14965         (electric-pair-post-self-insert-function): Use it.
14966         (electric-pair-default-inhibit): New function, extracted from
14967         electric-pair-post-self-insert-function.
14969 2013-03-31  Roland Winkler  <winkler@gnu.org>
14971         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14973 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14975         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14977 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
14979         Un-indent after "pass" and "return" statements (Bug#13888)
14980         * progmodes/python.el (python-indent-block-enders): New var.
14981         (python-indent-calculate-indentation): Use it.
14983 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
14985         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14986         defun.  Defining it as defalias could introduce too eager
14987         byte-compiler optimization.  (Bug#14030)
14989 2013-03-30  Chong Yidong  <cyd@gnu.org>
14991         * iswitchb.el (iswitchb-read-buffer): Fix typo.
14993 2013-03-30  Leo Liu  <sdl.web@gmail.com>
14995         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14996         (kmacro-execute-from-register): Pass the keyboard macro to
14997         kmacro-call-macro or repeating won't work correctly.
14999 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
15001         * progmodes/subword.el: Back to using `forward-symbol'.
15003         * subr.el (forward-whitespace, forward-symbol)
15004         (forward-same-syntax): Move from thingatpt.el.
15006 2013-03-29  Leo Liu  <sdl.web@gmail.com>
15008         * kmacro.el (kmacro-to-register): New command.
15009         (kmacro-execute-from-register): New function.
15010         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
15012 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15014         * mpc.el: Use defvar-local and setq-local.
15015         (mpc--proc-connect): Connection failures are not bugs.
15016         (mpc-mode-map): `follow-link' only applies to the buffer's content.
15017         (mpc-volume-map): Bind to the up-events.
15019 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
15021         * progmodes/subword.el (superword-mode): Use `forward-sexp'
15022         instead of `forward-symbol'.
15024 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15026         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15027         (edebug--recursive-edit): Use it.
15028         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15029         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15031 2013-03-28  Leo Liu  <sdl.web@gmail.com>
15033         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
15035 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
15037         * facemenu.el (list-colors-callback): New defvar.
15038         (list-colors-redisplay): New function.
15039         (list-colors-display): Install list-colors-redisplay as the
15040         revert-buffer-function.  (Bug#14063)
15042 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15044         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15045         and suffixes don't overlap (bug#14061).
15047         * case-table.el: Use lexical-binding.
15048         (case-table-get-table): New function.
15049         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
15051 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
15053         * progmodes/subword.el: Add `superword-mode' to do word motion
15054         over symbol_words (parallels and leverages `subword-mode' which
15055         does word motion inside MixedCaseWords).
15057 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
15059         * eshell/em-unix.el: Move su and sudo to...
15060         * eshell/em-tramp.el: ...Eshell tramp module.
15062 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15064         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15065         Change return value to be a sexp.  Delay `get-buffer' to after
15066         restoring the desktop (bug#13951).
15068 2013-03-26  Leo Liu  <sdl.web@gmail.com>
15070         * register.el: Move semantic tag handling back to
15071         cedet/semantic/senator.el.  (Bug#14052)
15073 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15075         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15076         into the prompt either (bug#13963).
15078 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15080         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15081         part of "(error-foo)".
15083 2013-03-24  Juri Linkov  <juri@jurta.org>
15085         * replace.el (list-matching-lines-prefix-face): New defcustom.
15086         (occur-1): Pass `list-matching-lines-prefix-face' to the function
15087         `occur-engine' if `face-differs-from-default-p' returns t.
15088         (occur-engine): Add `,' inside backquote construct to evaluate
15089         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
15090         Pass `prefix-face' to the functions `occur-context-lines' and
15091         `occur-engine-add-prefix'.
15092         (occur-engine-add-prefix, occur-context-lines): Add optional arg
15093         `prefix-face' and propertize the prefix with `prefix-face'.
15094         (Bug#14017)
15096 2013-03-24  Leo Liu  <sdl.web@gmail.com>
15098         * nxml/rng-valid.el (rng-validate-while-idle)
15099         (rng-validate-quick-while-idle): Guard against deleted buffer.
15100         (Bug#13999)
15102         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15103         is the last entry in kill-buffer-hook.
15105         * files.el (kill-buffer-hook): Doc fix.
15107 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
15109         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15110         Make it safe-local.
15112         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15114 2013-03-23  Leo Liu  <sdl.web@gmail.com>
15116         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15117         Remove.
15119         * nxml/rng-valid.el (rng-validate-mode)
15120         (rng-after-change-function, rng-do-some-validation):
15121         * nxml/rng-maint.el (rng-validate-buffer):
15122         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15123         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15124         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15125         (nxml-extend-after-change-region): Use with-silent-modifications.
15127         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15128         timer-idle-list.
15130         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15131         (rng-next-error-1, rng-previous-error-1): Do not let-bind
15132         timer-idle-list.  (Bug#13999)
15134 2013-03-23  Juri Linkov  <juri@jurta.org>
15136         * info.el (info-index-match): New face.
15137         (Info-index, Info-apropos-matches): Add a nested subgroup to the
15138         main pattern and add text properties with the new face to matches
15139         in index entries relative to the beginning of the index entry.
15140         (Bug#14015)
15142 2013-03-21  Eric Ludlam  <zappo@gnu.org>
15144         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15145         Inhibit read only while inserting objects.
15147 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
15149         * progmodes/cfengine.el: Update docs to mention
15150         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
15151         symbol motion.  Remove "_" from the word syntax.
15153 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
15155         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15156         syntax for both `cfengine2-mode' and `cfengine3-mode'.
15158 2013-03-20  Juri Linkov  <juri@jurta.org>
15160         * info.el (Info-next-reference-or-link)
15161         (Info-prev-reference-or-link): New functions.
15162         (Info-next-reference, Info-prev-reference): Use them.
15163         (Info-try-follow-nearest-node): Handle footnote navigation.
15164         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
15166 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15168         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15169         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15171 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
15173         Suppress unnecessary non-ASCII chatter during build process.
15174         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15175         (batch-skkdic-convert): Suppress most of the chatter.
15176         It's not needed so much now that machines are faster,
15177         and its non-ASCII component was confusing; see Dmitry Gutov in
15178         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15180 2013-03-20  Leo Liu  <sdl.web@gmail.com>
15182         * ido.el (ido-chop): Fix bug#10994.
15184 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
15186         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15187         Remove vars.
15188         (whitespace-color-on, whitespace-color-off):
15189         Use `font-lock-fontify-buffer' (Bug#13817).
15191 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15193         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15194         remapping in mode-line.
15195         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15197 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
15199         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15200         value for `whitespace-line' face (Bug#13875).
15201         (whitespace-font-lock-keywords): Change description.
15202         (whitespace-color-on): Don't save `font-lock-keywords' value, save
15203         the constructed keywords instead.
15204         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15206 2013-03-19  Leo Liu  <sdl.web@gmail.com>
15208         * progmodes/compile.el (compilation-display-error): New command.
15209         (compilation-mode-map, compilation-minor-mode-map): Bind it to
15210         C-o.  (Bug#13992)
15212 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
15214         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15216 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
15218         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15220 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
15222         * net/tramp-compat.el (tramp-compat-user-error): New defun.
15224         * net/tramp-adb.el (tramp-adb-handle-shell-command):
15225         * net/tramp-gvfs.el (top):
15226         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15227         (tramp-handle-shell-command): Use it.
15228         (tramp-dissect-file-name): Raise an error when hostname is a
15229         method name, and neither method nor user is specified.
15231         * net/trampver.el: Update release number.
15233 2013-03-18  Leo Liu  <sdl.web@gmail.com>
15235         Make sure eldoc can be turned off properly.
15236         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15237         eldoc-mode.
15238         (eldoc-display-message-p): Revert last change.
15239         (eldoc-display-message-no-interference-p)
15240         (eldoc-print-current-symbol-info): Tweak.
15242 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
15244         * doc-view.el (doc-view-new-window-function): Check the new window
15245         overlay's display property instead the char property of the
15246         buffer's first char.  Use `with-selected-window' instead of
15247         `save-window-excursion' with `select-window'.
15248         (doc-view-document->bitmap): Check the current doc-view overlay's
15249         display property instead the char property of the buffer's first char.
15251 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
15253         Automate the build of ja-dic.el (Bug#13984).
15254         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15255         from the input, rather than assume that it's been done for us by the
15256         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
15257         the current date into a ja-dic.el comment, as that complicates
15258         regression testing.
15260 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15262         * whitespace.el: Fix double evaluation.
15263         (whitespace-space, whitespace-hspace, whitespace-tab)
15264         (whitespace-newline, whitespace-trailing, whitespace-line)
15265         (whitespace-space-before-tab, whitespace-indentation)
15266         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15267         obsolete defvars.
15268         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15269         (whitespace-color-on): Use a single font-lock-add-keywords call.
15270         Fix double-evaluation of face variables.
15272 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
15274         * net/tramp-adb.el (tramp-adb-parse-device-names):
15275         Use `start-process' instead of `call-process'.  Otherwise, the
15276         function might be blocked under MS Windows.  (Bug#13299)
15278 2013-03-17  Leo Liu  <sdl.web@gmail.com>
15280         Extend eldoc to display info in the mode-line.  (Bug#13978)
15281         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15282         (eldoc-mode-line-string): New variable.
15283         (eldoc-minibuffer-message): New function.
15284         (eldoc-message-function): New variable.
15285         (eldoc-message): Use it.
15286         (eldoc-display-message-p)
15287         (eldoc-display-message-no-interference-p):
15288         Support eldoc-post-insert-mode.
15290         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15291         (eval-expression): Run it.
15293 2013-03-17  Roland Winkler  <winkler@gnu.org>
15295         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15296         strings in the list of return values.
15298 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
15300         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15301         radix before checking for HMS forms.
15303 2013-03-16  Leo Liu  <sdl.web@gmail.com>
15305         * progmodes/scheme.el: Add indentation and font-locking for λ.
15306         (Bug#13975)
15308 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15310         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15311         token before point (bug#13942).
15313 2013-03-16  Leo Liu  <sdl.web@gmail.com>
15315         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
15317 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
15319         * startup.el (command-line-normalize-file-name): Fix handling of
15320         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
15321         <xfq.free@gmail.com> in
15322         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15324 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
15326         Sync with Tramp 2.2.7.
15328         * net/trampver.el: Update release number.
15330 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
15332         * doc-view.el: Fix bug#13887.
15333         (doc-view-insert-image): Don't modify overlay associated to
15334         non-live windows, and implement horizontal centering of image in
15335         case it's smaller than the window.
15336         (doc-view-new-window-function): Force redisplay of new windows on
15337         doc-view buffers.
15339 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
15341         * saveplace.el (save-place-alist-to-file): Don't sort
15342         `save-place-alist', just pretty-print it (bug#13882).
15344 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
15346         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15347         Check whether `default-file-name-coding-system' is bound.
15348         It isn't in XEmacs.
15350 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15352         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15353         backquotes for `obsolete' (bug#13929).
15355         * international/mule.el (find-auto-coding): Include file name in
15356         obsolescence warning (bug#13922).
15358 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
15360         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15361         for CFEngine 3-specific indentation.
15362         (cfengine3-indent-line): Use it.  Fix up category regex.
15363         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15365 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15367         * type-break.el (type-break-file-name):
15368         * textmodes/remember.el (remember-data-file):
15369         * strokes.el (strokes-file):
15370         * shadowfile.el (shadow-initialize):
15371         * saveplace.el (save-place-file):
15372         * ps-bdf.el (bdf-cache-file):
15373         * progmodes/idlwave.el (idlwave-config-directory):
15374         * net/quickurl.el (quickurl-url-file):
15375         * international/kkc.el (kkc-init-file-name):
15376         * ido.el (ido-save-directory-list-file):
15377         * emulation/viper.el (viper-custom-file-name):
15378         * emulation/vip.el (vip-startup-file):
15379         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15380         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15382 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
15384         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15385         * language/thai-word.el: Switch to UTF-8.
15387 See ChangeLog.16 for earlier changes.
15389 ;; Local Variables:
15390 ;; coding: utf-8
15391 ;; End:
15393   Copyright (C) 2011-2014 Free Software Foundation, Inc.
15395   This file is part of GNU Emacs.
15397   GNU Emacs is free software: you can redistribute it and/or modify
15398   it under the terms of the GNU General Public License as published by
15399   the Free Software Foundation, either version 3 of the License, or
15400   (at your option) any later version.
15402   GNU Emacs is distributed in the hope that it will be useful,
15403   but WITHOUT ANY WARRANTY; without even the implied warranty of
15404   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15405   GNU General Public License for more details.
15407   You should have received a copy of the GNU General Public License
15408   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.