* net/tramp-sh.el (tramp-sh-handle-start-file-process): Expand `default-directory'.
[emacs.git] / lisp / ChangeLog
blob9bfcdb631c35b2393a9b85ad497e4f60c9f51c5f
1 2014-09-05  Michael Albinus  <michael.albinus@gmx.de>
3         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4         Expand `default-directory'.
6 2014-09-05  Martin Rudalics  <rudalics@gmx.at>
8         * scroll-bar.el (horizontal-scroll-bars-available-p): New
9         function.
10         (horizontal-scroll-bar-mode): Rewrite using
11         horizontal-scroll-bars-available-p.
12         * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
13         horizontal-scroll-bars-available-p.
15 2014-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17         * subr.el (call-process-shell-command, process-file-shell-command):
18         Make the `args' obsolete (bug#18409).
19         (start-process-shell-command, start-file-process-shell-command):
20         Use `declare'.
22 2014-09-05  Jay Belanger  <jay.p.belanger@gmail.com>
24         * calc/calc-forms.el (math-normalize-hms): Do a better check for
25         "negative" hms forms.
27 2014-09-04  Rasmus Pank Roulund  <emacs@pank.eu>
29         * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
30         returns nil (bug#18391).
32 2014-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
34         * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
35         terminating paren (bug#18352).
36         (eldoc-last-data-store): Return cached data.
37         (eldoc-get-var-docstring): Avoid setq.
38         (eldoc-get-fnsym-args-string): Clarify data flow.
40 2014-09-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
42         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
43         case where we're currently providing part of the &rest arg after some
44         &key args, as in define-ibuffer-op (bug#18048).
46 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
48         * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
49         buffer-local setting of which-func-mode.
50         (which-func-mode): Use defvar-local.
51         (which-function-mode): Don't reset which-func-mode in each buffer since
52         it might have been set by someone else.
53         (which-func-update-ediff-windows): Check which-function-mode.
55 2014-09-03  Martin Rudalics  <rudalics@gmx.at>
57         * frame.el (frame-initialize): Remove horizontal-scroll-bars
58         from frame-initial-frame-alist.
59         * scroll-bar.el (previous-horizontal-scroll-bar-mode)
60         (horizontal-scroll-bar-mode-explicit)
61         (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
62         (toggle-horizontal-scroll-bar): Remove.
63         (horizontal-scroll-bar-mode): Remove defcustom.
64         (horizontal-scroll-bar-mode): Fix doc-string.
65         (scroll-bar-toolkit-scroll)
66         (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
68 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
70         * emacs-lisp/package.el (package-generate-description-file):
71         Properly quote the arguments (bug#18332).  Change second arg.
72         (package--alist-to-plist-args): Rename from package--alist-to-plist and
73         quote the elements.
74         (package--make-autoloads-and-stuff): Fix the test for pre-existence of
75         the *-pkg.el file.  Adjust to new calling convention of
76         package-generate-description-file.
78         * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
79         (gud-gdb-completions): Remove obsolete workaround.
81 2014-09-03  Eli Zaretskii  <eliz@gnu.org>
83         * subr.el (posn-col-row): Revert the change from commit
84         2010-11-13T21:07:58Z!eliz@gnu.org, which
85         was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
86         monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
87         introduced an off-by-one error in the reported row when there is a
88         header line.  (Bug#18384)
90 2014-09-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
92         * progmodes/python.el (python-indent-post-self-insert-function):
93         Avoid electric colon at beginning-of-defun.  (Bug#18228)
95 2014-09-03  Glenn Morris  <rgm@gnu.org>
97         * tutorial.el (tutorial--display-changes):
98         Fix 2014-08-01 change.  (Bug#18382)
100 2014-09-03  Ken Brown  <kbrown@cornell.edu>
102         * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
103         the Cygwin-w32 build.  (Bug#18347)
105 2014-09-03  Glenn Morris  <rgm@gnu.org>
107         * tar-mode.el (tar--extract, tar-extract):
108         Avoid permanently disabling undo in extracted buffers.  (Bug#18344)
110 2014-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
112         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
113         handle multiline elements (bug#18380).
115 2014-09-01  Eli Zaretskii  <eliz@gnu.org>
117         * ls-lisp.el (ls-lisp-use-string-collate)
118         (ls-lisp-UCA-like-collation): New defcustoms.
119         (ls-lisp-string-lessp): Use them to control sorting by file
120         names.  (Bug#18051)
121         (ls-lisp-version-lessp): New function.
122         (ls-lisp-handle-switches): Use it to implement the -v switch of
123         GNU ls.
124         (ls-lisp--insert-directory): Mention the -v switch in the doc string.
126 2014-08-31  Christoph Scholtes  <cschol2112@gmail.com>
128         * ibuffer.el: Replace mode-specific quit function with
129         `quit-window' via `special-mode'.
130         (ibuffer-mode-map): Use keybindings from special-mode-map instead
131         of local overrides.
132         (ibuffer): Don't store previous windows configuration.
133         Let `quit-window' handle restoring.
134         (ibuffer-quit): Remove function. Use `quit-window' instead.
135         (ibuffer-restore-window-config-on-quit): Remove variable.
136         (ibuffer-prev-window-config): Remove variable.
138 2014-08-29  Michael Heerdegen  <michael_heerdegen@web.de>
140         * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
141         name instead of variable name in hook docstring.  (Bug#18349)
143 2014-08-29  Martin Rudalics  <rudalics@gmx.at>
145         * window.el (display-buffer-at-bottom): Prefer bottom-left
146         window to other bottom windows.  Reuse a bottom window if it
147         shows the buffer already.  Suggested by Juri Linkov
148         <juri@jurta.org> in discussion of (Bug#18181).
150 2014-08-29  Leo Liu  <sdl.web@gmail.com>
152         * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
153         append to minibuffer-setup-hook.  (Bug#18341)
155 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
157         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
158         byte-compiler.
159         (lookup-syntax-properties): Silence byte-compiler.
160         (c-lang-defconst): Quote the code with `lambda' rather than with
161         `quote'.
162         (c-lang-const): Avoid unneeded setq.
163         (c-lang-constants-under-evaluation): Add docstring.
164         (c-lang--novalue): New constant.
165         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
166         (c-get-lang-constant): Same here.
167         Get the mode's value using `funcall' now that the code is quoted
168         with `lambda'.
170 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
172         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
173         (Bug#18326)
175 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
177         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
178         interpretation of `portion-whole'.
180 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
182         * net/tramp-adb.el: Spell author name correctly.
184 2014-08-28  João Távora  <joaotavora@gmail.com>
186         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
187         use url-expand-file-name.  (Bug#18310)
189 2014-08-28  Glenn Morris  <rgm@gnu.org>
191         * emulation/cua-rect.el (cua--highlight-rectangle):
192         Avoid error at point-min.  (Bug#18309)
194 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
196         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
197         executable-find (bug#18244).
199         * simple.el (self-insert-uses-region-functions): Defvar.
201 2014-08-28  Glenn Morris  <rgm@gnu.org>
203         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
205 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
207         * startup.el (normal-top-level): Now use internal--top-level-message.
209 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
211         * startup.el (normal-top-level): Use top-level-message.
213 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
215         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
216         URLs containing spaces and the like.
218 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
220         * subr.el (remq): Fix docstring (Bug#18253).
222 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
224         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
226 2014-08-24  Alan Mackenzie  <acm@muc.de>
228         Handle C++11's "auto" and "decltype" constructions.
229         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
230         and return 'decltype.
231         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
232         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
233         keyword.
234         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
235         "decltype" keyword.
236         (c-font-lock-c++-new): Handle "decltype" constructions.
237         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
238         New c-lang-defconsts/defvars.
239         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
240         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
241         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
242         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
244         Make ">>" act as double template ender in C++ Mode.
245         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
246         off from c->-op-cont-re.
247         (c->-op-cont-tokens): Change to use the above.
248         (c->-op-without->-cont-regexp): New lang-const.
249         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
250         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
253 2014-08-23  Alan Mackenzie  <acm@muc.de>
255         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
256         loop, bug #18306.  The bug was introduced on 2014-08-02.
258 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
260         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
261         Don't recognize a Top node if there are other sectioning commands
262         earlier in the Texinfo file.  This fixes a bug in
263         texinfo-make-menu and avoids inflooping in
264         texinfo-all-menus-update when they are invoked on texinfo.texi.
266 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
268         * window.el (window--side-window-p): New function.
269         (split-window, window-splittable-p): Use window--side-window-p to
270         determine whether WINDOW can be split (Bug#18304).
271         * calendar/calendar.el (calendar-basic-setup): Fix one call of
272         `window-splittable-p' and add another (Bug#18304).
274 2014-08-20  Sam Steingold  <sds@gnu.org>
276         * progmodes/python.el (python-new-pythonpath): Extract from
277         `python-shell-calculate-process-environment'.
279 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
281         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
282         for &key args (bug#18048).
284 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
286         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
287         (eldoc-function-argstring-format): Remove.
288         (eldoc-function-argstring): Always return upcase args.
289         Use help-make-usage.  Don't add parens.
290         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
291         it's too late to do it right (bug#18048).
293 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
295         * scroll-bar.el (scroll-bar-horizontal-drag-1)
296         (scroll-bar-toolkit-horizontal-scroll): When determining the
297         paragraph direction, use the buffer of the window designated in
298         the event.
300 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
302         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
303         context of unified diff.
305 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
307         Add dependencies to fix loaddefs race during parallel builds.
308         Without this, for example, 'make -j bootstrap' can fail and report
309         "Opening input file: no such file or directory,
310         .../lisp/calendar/diary-loaddefs.el ... recipe for target
311         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
312         got confused because diary-loaddefs.el was being built in parallel.
313         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
314         Depend on $(CAL_DIR)/cal-loaddefs.el.
315         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
317 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
319         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
320         portion-whole for scrolling right-to-left text.
322 2014-08-15  Leo Liu  <sdl.web@gmail.com>
324         * speedbar.el (speedbar-generic-list-tag-p): Allow special
325         elements from imenu.
327 2014-08-15  Glenn Morris  <rgm@gnu.org>
329         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
331 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
333         * progmodes/compile.el (compilation-error-regexp-alist-alist):
334         Add Guile regexpses.
336 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
338         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
339         add Guile debugger support for GUD.
341 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
343         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
344         (mouse-sel--ignore): New function.
345         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
346         (mouse-sel-original-interprogram-cut-function)
347         (mouse-sel-original-interprogram-paste-function): Remove.
349 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
351         * vc/vc-git.el (vc-git-resolve-when-done): New function.
352         Call "git add" when there are no longer conflict markers.
354 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
356         * vc/vc-git.el (vc-git-find-file-hook): New function.
357         Adds support for calling smerge (and resolve) on a conflicted file.
358         (vc-git-conflicted-files): New function.
359         Useful in itself and a step towards better smerge support.
361 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
363         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
364         to the first part if they're the same as the selection.
366 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
368         * image-mode.el (image-transform-reset): New command and menu item.
369         (image-mode-map): Rearrange the menu items to put presumably more
370         obscure items at the end.
372 2014-08-12  Juri Linkov  <juri@jurta.org>
374         * vc/vc-annotate.el (vc-annotate-background-mode):
375         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
377 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
379         * files.el (out-of-memory-warning-percentage): Turn it off by default.
381 2014-08-11  Sam Steingold  <sds@gnu.org>
383         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
384         the presence of known validators (tidy, (o)nsgmls).
386 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
388         Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
390         * net/newst-treeview.el (newsticker-treeview-date-format): New.
391         (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
393 2014-08-11  Glenn Morris  <rgm@gnu.org>
395         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
396         chose coding system for writing before backing up, since it causes
397         a more serious problem than the one it solves.  (Closes Bug#18141,
398         reopens Bug#13522.)
400 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
402         * window.el (window-total-size): Make doc-string more self-contained.
404         * window.el (display-buffer-below-selected): Restore original
405         behavior if buffer is already displayed in the window below the
406         selected one (Bug#18181).
408 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
410         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
411         event (bug#18212).
413 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
415         * info.el (info): Doc fix.
417 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
419         * info.el (Info-mode-map): Override a global down-mouse-2 binding
420         (bug#18212).
422 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
424         * simple.el (default-line-height): A floating-point value of
425         line-spacing means a fraction of the default frame font's height,
426         not of the font currently used by the 'default' face.
427         Truncate the pixel value, like the display engine does.
428         (window-screen-lines): Use window-inside-pixel-edges for
429         determining the window height in pixels.  (Bug#18195)
431 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
433         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
435 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
437         Enumerate evaluated sexp diary entries (Bug#7911).
438         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
439         (icalendar-export-sexp-enumeration-days): New.
440         (icalendar-export-region): Now `icalendar--convert-to-ical'
441         returns a cons cell or a list of cons cells.
442         (icalendar--convert-to-ical): Take care of
443         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
444         (icalendar--convert-ordinary-to-ical)
445         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
446         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
447         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
448         (icalendar--convert-anniversary-to-ical): Return cons cell.
449         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
450         entries.  Return (list of) cons cells.
452 2014-08-09  Juri Linkov  <juri@jurta.org>
454         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
455         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
457 2014-08-09  Alan Mackenzie  <acm@muc.de>
459         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
460         for top-level that can cause unacceptable slow-down in scrolling.
461         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
462         Antipov from 2013-10-14 in emacs-devel.
464 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
466         * ibuffer.el (ibuffer-mode-map): Use toggle button for
467         `ibuffer-auto-mode' menu entry.
468         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
470 2014-08-08  Matthias Meulien  <orontee@gmail.com>
472         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
473         (Bug#16394)
475 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
477         * window.el (window--min-size-1): Explicitly set WINDOW arg in
478         calls of window-min-pixel-height and window-min-pixel-width.
480 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
482         * progmodes/ada-mode.el:
483         * net/tramp.el (tramp-handle-file-symlink-p):
484         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
485         about VMS, which we no longer support.
486         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
487         and fix a FIXME, using convert-standard-filename in place of
488         removed ada-convert-file-name.
490 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
492         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
494 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
496         Refer to MS-DOS using the same name everywhere.
497         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
498         ``msdog'' become ``MS-DOS''.
500 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
502         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
503         Use cached "remote-copy-args" value, if available.  (Bug#18199)
505 2014-08-07  Leo Liu  <sdl.web@gmail.com>
507         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
508         Revert change on 2014-03-22.
510 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
512         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
513         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
514         (Bug#13750).
517 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
519         * image-mode.el (image-toggle-display-image): Always rescale images
520         to not be bigger than the current window.
522 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
524         * net/eww.el (eww-bookmarks-directory): New variable.
525         (eww-write-bookmarks): Use it.
526         (eww-read-bookmarks): Ditto.
528 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
530         * net/shr.el (shr-copy-url): Also copy the image URL.
532 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
534         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
535         also for Tramp working buffers.
537 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
539         * progmodes/python.el: Fix completions inside (i)pdb.
540         (python-shell-completion-pdb-string-code): Make obsolete.
541         (python-shell-completion-get-completions):
542         Use python-shell-completion-string-code resending setup code
543         continuously for (i)pdb.
545 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
547         * rect.el (rectangle--default-line-number-format): Rename
548         from misspelled rectange--default-line-number-format (Bug#18045).
549         All uses changed.
551 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
553         Don't mishandle year-9999 dates (Bug#18176).
554         * calendar/parse-time.el (parse-time-rules):
555         Allow years up to most-positive-fixnum.
556         * calendar/time-date.el (date-to-time):
557         Pass "Specified time is not representable" errors through.
559 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
561         * progmodes/python.el: Completion code cleanups.
562         (python-shell-completion-get-completions): Detect and send import
563         statements directly to completion function.
564         (python-shell-completion-at-point): Simplify prompt calculation
565         and import vs input completion logic.
567 2014-08-02  Alan Mackenzie  <acm@muc.de>
569         Fix confusion in C++ file caused by comma in "= {1,2},".
570         Bug #17756.
571         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
572         for a statement boundary marked by "}", check there's no "="
573         before the "{".
574         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
575         non-nil `comma-delim' argument.
576         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
577         initializer expression more accurately.
579         Correct loop termination condition in c-syntactic-skip-backward.
580         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
581         the situation where, after moving back out of a literal,
582         skip-chars-backward doesn't move further, yet checks have still to
583         be done.
585 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
587         * tutorial.el (tutorial--display-changes): Accept punctuation
588         characters before the key binding.  (Bug#18146)
590 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
592         * progmodes/python.el: Shell output capture enhancements.
593         (python-shell-accept-process-output): New function.
594         (inferior-python-mode)
595         (python-shell-send-setup-code): Use it.
597 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
599         * calendar/icalendar.el (icalendar--decode-isodatetime):
600         Use actual current-time-zone when converting to local time. (Bug#15408)
602 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
604         * window.el (window--state-put-2): Handle horizontal scroll
605         bars, if present.
607 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
609         * menu-bar.el (menu-bar-update-buffers): Update item list format
610         in `buffers-menu' to confirm with changes to `get_keyelt'
611         (r117463).  (Bug#18016)
613 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
615         * progmodes/python.el (inferior-python-mode): Make input prompts
616         read-only.
618 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
620         * net/tramp-sh.el (tramp-get-remote-python): Also search for
621         executables named "python2" or "python3".
622         (tramp-get-remote-uid-with-python): Use parentheses around
623         arguments to `print' to make it compatible with Python 3.
624         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
626 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
628         * window.el (window--pixel-to-total): Use FRAME's root window, not
629         that of the selected frame.  (Bug#18112, Bug#16674)
631 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
633         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
634         (Bug#18117)
636 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
638         * progmodes/python.el (inferior-python-mode): Doc fix.
640 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
642         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
643         not a character, ignore it instead of raising an error.
645         * calendar/todo-mode.el: Fix handling of marked items and make
646         minor code improvements.
647         (todo-edit-item): If there are marked items, ensure user can only
648         invoke editing commands that work with marked items.
649         (todo-edit-item--text): When there are marked items, make it a
650         noop if invoked with point not on an item; otherwise, ensure it
651         applies only to item at point.
652         (todo-item-undone): If there are marked not-done items, return
653         point to its original position before signaling user error.
654         (todo--user-error-if-marked-done-item): New function.
655         (todo-edit-item--header, todo-edit-item--diary-inclusion)
656         (todo-item-done): Use it.
658 2014-07-28  Glenn Morris  <rgm@gnu.org>
660         * files.el (toggle-read-only): Re-add basic doc-string.
661         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
663         * progmodes/prolog.el (prolog-mode-keybindings-edit):
664         Replace missing `switch-to-prolog' with `run-prolog'.
665         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
667 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
669         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
670         of file-wide setting when changing category-wide setting.
672 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
674         * doc-view.el (doc-view-open-text): Don't require that the
675         document is saved in a file (e.g., email attachment).
677 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
679         Parse completion input in a iPython friendly way.  (Bug#18084)
680         * progmodes/python.el
681         (python-shell-completion-at-point): Rename from
682         python-shell-completion-complete-at-point.
683         (inferior-python-mode): Use it.
684         (python-completion-at-point): Rename from
685         python-completion-complete-at-point.  Parse input up to first
686         backward occurrence of whitespace, open-paren, close-paren or
687         string delimiter.
688         (python-mode): Use it.
690 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
692         Prevent Python process shell buffer to pop twice.
693         * progmodes/python.el (python-shell-switch-to-shell): Do not call
694         pop-to-buffer.
696 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
698         * progmodes/python.el
699         (python-shell-with-shell-buffer): New macro.
700         (python-shell-font-lock-get-or-create-buffer)
701         (python-shell-font-lock-kill-buffer)
702         (python-shell-font-lock-with-font-lock-buffer)
703         (python-shell-font-lock-cleanup-buffer)
704         (python-shell-font-lock-toggle): Use it.
705         (python-shell-font-lock-turn-on)
706         (python-shell-font-lock-turn-off): Use it.  Make command.
708 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
710         Grab all Python process output before inferior-python-mode hooks.
711         * progmodes/python.el (inferior-python-mode):
712         Call accept-process-output and sit-for to ensure all output for process
713         has been received before running hooks.
714         (python-shell-internal-get-or-create-process):
715         Cleanup accept-process-output and sit-for calls.
717 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
719         More robust shell startup and code setup.
720         * progmodes/python.el (python-shell-make-comint):
721         Remove accept-process-output call.
722         (python-shell-get-buffer): Return current buffer if major-mode is
723         inferior-python-mode.
724         (python-shell-get-or-create-process): Use it.
725         (python-shell-send-setup-code): Send all setup code in one string,
726         output success message and accept-process-output.
728 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
730         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
731         Add rudimentary support for bidirectional text.
733 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
735         * frame.el (frame-notice-user-settings): Rewrite using
736         frame-initial-frame-tool-bar-height.
737         * menu-bar.el (menu-bar-horizontal-scroll-bar)
738         (menu-bar-no-horizontal-scroll-bar): New functions.
739         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
740         scroll bars.
741         * scroll-bar.el (scroll-bar-lines)
742         (set-horizontal-scroll-bar-mode)
743         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
744         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
745         (scroll-bar-toolkit-horizontal-scroll): New functions.
746         (horizontal-scroll-bar-mode)
747         (previous-horizontal-scroll-bar-mode)
748         (horizontal-scroll-bar-mode-explicit): New variables.
749         (horizontal-scroll-bar-mode): New option.
750         (toggle-horizontal-scroll-bar): Do something.
751         (top-level): Bind horizontal-scroll-bar mouse-1.
752         * startup.el (tool-bar-originally-present): Remove variable.
753         (command-line): Don't set tool-bar-originally-present.
754         * window.el (window-min-height): Update doc-string.
755         (window--dump-frame): Dump horizontal scroll bar values.
756         (window--min-size-1): Handle minibuffer window separately.
757         Count in margins and horizontal scroll bar.  Return safe value
758         iff IGNORE equals 'safe.
759         (frame-windows-min-size): New function (used by frame resizing
760         routines).
761         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
762         scroll bars.
763         (window--sanitize-window-sizes): New function.
764         (window-split-min-size): Remove.
765         (split-window): Count divider-width.  Don't use
766         `window-split-min-size' any more.  Reword error messages.
767         Sanitize windows sizes after splitting.
769 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
771         Use `defvar-local' more.
772         * progmodes/hideshow.el
773         (hs-c-start-regexp, hs-block-start-regexp)
774         (hs-block-start-mdata-select, hs-block-end-regexp)
775         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
776         remove corresponding `make-variable-buffer-local' top-level calls.
778 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
780         Cleanup error signals.  (Bug#18067)
781         * progmodes/python.el
782         (python-indent-shift-left): Use user-error instead.
783         (python-shell-prompt-detect): Use lwarn with python group.
784         (python-completion-complete-at-point)
785         (python-eldoc--get-doc-at-point): Don't signal error.
787 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
789         Support for packages in Python shell.  (Bug#13570)
790         * progmodes/python.el (python-shell--package-depth): New var.
791         (python-shell-package-enable): New command.
792         (python-util-list-directories, python-util-list-files)
793         (python-util-list-packages): New functions.
795 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
797         Faster comint output.  (Bug#16875)
798         * progmodes/python.el:
799         (python-comint-output-filter-function): Make obsolete.
800         (python-comint-postoutput-scroll-to-bottom): New function.
801         (inferior-python-mode): Set comint-output-filter-functions to a
802         minimum.
804 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
806         * progmodes/python.el (python-shell-font-lock-post-command-hook):
807         Safeguard current point and undo history.
809 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
811         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
812         * progmodes/python.el:
813         (python-shell-prompt-input-regexps): Add iPython block prompt.
814         (python-shell-output-syntax-table): Delete var.
815         (python-shell-font-lock-with-font-lock-buffer): New macro.
816         (python-shell-font-lock-get-or-create-buffer)
817         (python-shell-font-lock-kill-buffer)
818         (python-shell-font-lock-cleanup-buffer)
819         (python-shell-font-lock-post-command-hook)
820         (python-shell-font-lock-turn-off): New functions.
821         (python-shell-font-lock-turn-on): New function.
822         (inferior-python-mode): Use it.
823         (python-shell-font-lock-toggle): New command.
824         (python-shell-font-lock-enable): Rename from
825         python-shell-enable-font-lock.
826         (run-python-internal): Use it.
827         (python-shell-font-lock-comint-output-filter-function): New function.
828         (python-shell-comint-end-of-output-p): New function.
829         (python-shell-output-filter): Use it.
830         (python-util-comint-last-prompt): New function.
831         (python-util-text-properties-replace-name): New function.
833 2014-07-25  Glenn Morris  <rgm@gnu.org>
835         * vc/ediff-init.el (ediff-toggle-read-only-function):
836         * vc/ediff-util.el (ediff-toggle-read-only):
837         Replace obsolete toggle-read-only with read-only-mode.
839 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
841         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
842         with `save-match-data'.  (Bug#18095)
844 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
846         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
847         order to ensure that row and col are lexically bound inside the
848         evaluated sexp.
850 2014-07-21  Glenn Morris  <rgm@gnu.org>
852         * progmodes/hideif.el (hide-ifdef-mode-submap):
853         Also substitute read-only-mode.
854         * bindings.el (mode-line-toggle-read-only):
855         * bs.el (bs-toggle-readonly):
856         * buff-menu.el (Buffer-menu-toggle-read-only):
857         * dired.el (dired-toggle-read-only):
858         * files.el (view-read-only, find-file-read-only)
859         (find-file-read-only-other-window)
860         (find-file-read-only-other-frame):
861         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
862         Doc fixes re toggle-read-only.
864 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
866         * progmodes/python.el: Add comment about pipe buffering and
867         solutions for missing/delayed output in inferior Python shells.
868         (Bug#17304)
870         * progmodes/python.el (python-mode): Don't set
871         mode-require-final-newline.  (Bug#17990)
873         Make python.el work with IPython automatically.  (Bug#15510)
874         * progmodes/python.el:
875         (python-shell-completion-setup-code): New value supporting iPython.
876         (python-shell-completion-string-code): New value supporting iPython.
877         (python-shell-completion-get-completions): Use them.
878         (python-shell-completion-module-string-code): Make obsolete.
879         (python-shell-prompt-input-regexps)
880         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
881         (python-shell-output-filter): Fix comment typo.
883         Fix Python shell prompts detection for remote hosts.
884         * progmodes/python.el (python-shell-prompt-detect):
885         Replace call-process with process-file and make it more robust.
887         Autodetect Python shell prompts.  (Bug#17370)
888         * progmodes/python.el:
889         (python-shell-interpreter-interactive-arg)
890         (python-shell-prompt-detect-enabled)
891         (python-shell-prompt-detect-failure-warning)
892         (python-shell-prompt-input-regexps)
893         (python-shell-prompt-output-regexps): New vars.
894         (python-shell-prompt-calculated-input-regexp)
895         (python-shell-prompt-calculated-output-regexp): New vars.
896         (python-shell-get-process-name)
897         (python-shell-internal-get-process-name)
898         (python-shell-output-filter)
899         (python-shell-completion-get-completions): Use them.
900         (python-shell-prompt-detect)
901         (python-shell-prompt-validate-regexps): New functions.
902         (python-shell-prompt-set-calculated-regexps): New function.
903         (inferior-python-mode): Use it.  Also honor overriden
904         python-shell-interpreter and python-shell-interpreter-args.
905         (python-shell-make-comint): Honor overriden
906         python-shell-interpreter and python-shell-interpreter-args.
907         (python-shell-get-or-create-process): Make it testable by allowing
908         to call run-python non-interactively.
909         (python-util-valid-regexp-p): New function.
910         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
911         (python-shell-prompt-output-regexp)
912         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
914 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
916         * emacs-lisp/smie.el (smie-config--guess-1): Split from
917         smie-config--guess.
918         (smie-config--guess): Use it.
920         * emacs-lisp/edebug.el: Use nadvice.
921         (edebug-original-read): Remove.
922         (edebug--read): Rename from edebug-read and add `orig' arg.
923         (edebug-uninstall-read-eval-functions)
924         (edebug-install-read-eval-functions): Use nadvice.
925         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
926         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
927         (edebug-read-string, edebug-read-function): Use just `read'.
928         (edebug-original-debug-on-entry): Remove.
929         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
930         `orig' arg.
931         (debug-on-entry): Override with nadvice.
933         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
934         it also makes sense to bind it to a non-mouse event.
936         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
938 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
940         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
941         (bug#18015).
943         * rect.el (rectangle--string-preview): Don't assume there
944         a non-nil default (bug#17984).
946 2014-07-16  Glenn Morris  <rgm@gnu.org>
948         * desktop.el (after-init-hook): Disable startup frame restoration
949         in non-graphical situations.  (Bug#17693)
951         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
952         if it was "empty", or used for a different set of files.  (Bug#17884)
954 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
956         * bindings.el (mode-line-remote): If default-directory is not a
957         string, don't call file-remote-p on it; instead state in the
958         help-echo that it is nil.  (Bug#17986)
960 2014-07-14  Daniel Colascione  <dancol@dancol.org>
962         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
963         to `macroexpand-all'
965         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
966         Use `macroexpand-all' instead of `cl-macroexpand-all'.
968 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
970         Fix bug: C-x v v discarded existing log message (Bug#17884).
971         * vc/vc-dispatcher.el (vc-log-edit):
972         Don't clobber an already-existing log message.
974 2014-07-12  Glenn Morris  <rgm@gnu.org>
976         * vc/log-edit.el (log-edit-changelog-entries):
977         Check for a visited-but-never-saved ChangeLog.
979 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
981         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
982         a non-existing file (bug#17970).
984         * faces.el (face-name): Undo last change.
985         (x-resolve-font-name): Don't call face-name (bug#17956).
987 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
989         Fix dedenters and electric colon handling. (Bug#15163)
990         * progmodes/python.el
991         (python-rx-constituents): Add dedenter and block-ender.
992         (python-indent-dedenters, python-indent-block-enders): Delete.
993         (python-indent-context): Return new case for dedenter-statement.
994         (python-indent-calculate-indentation): Handle new case.
995         (python-indent-calculate-levels): Fix levels calculation for
996         dedenter statements.
997         (python-indent-post-self-insert-function): Fix colon handling.
998         (python-info-dedenter-opening-block-message): New function.
999         (python-indent-line): Use it.
1000         (python-info-closing-block)
1001         (python-info-closing-block-message): Remove.
1002         (python-info-dedenter-opening-block-position)
1003         (python-info-dedenter-opening-block-positions)
1004         (python-info-dedenter-statement-p): New functions.
1006 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
1008         * files.el (out-of-memory-warning-percentage): New defcustom.
1009         (warn-maybe-out-of-memory): Use it.
1011 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
1013         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
1014         when calling `read-string'.  (Bug#17839)
1016 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
1018         * files.el (warn-maybe-out-of-memory): Fix the wording of the
1019         warning.
1021 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
1023         * files.el (warn-maybe-out-of-memory): New function.
1024         (find-file-noselect): Use it.
1026 2014-07-09  Sam Steingold  <sds@gnu.org>
1028         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
1029         `constant' like `bless', `return' &c
1031 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1033         * rect.el (apply-on-rectangle): Check forward-line really moved to the
1034         next line.
1036 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1038         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1039         the middle of a line (bug#17896).
1041 2014-07-09  Juri Linkov  <juri@jurta.org>
1043         * startup.el (command-line): Append displaying the warning about
1044         the errors in the init file to the end of `after-init-hook'.
1045         (Bug#17927)
1047         * faces.el (face-name): Return input arg `face' as-is
1048         when it's not a symbol.
1049         (x-resolve-font-name): Don't check if the face is a symbol.
1050         (Bug#17956)
1052         * facemenu.el (list-colors-print): In help-echo format use %.2f
1053         instead of %d because now HSV values are floating-point components
1054         between 0.0 and 1.0.
1056 2014-07-09  Glenn Morris  <rgm@gnu.org>
1058         * emulation/cua-rect.el (cua--activate-rectangle):
1059         Avoid setting cua--rectangle to nil.  (Bug#17877)
1061 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
1063         * calendar/todo-mode.el: Fix wrong-type-argument error when
1064         marking multiple consecutive items.
1065         (todo-toggle-mark-item): Don't try to mark the empty lines at the
1066         end of the todo and done items sections.  Note in doc string that
1067         items marked by passing a numeric prefix argument can include the
1068         last todo and first done items.
1069         (todo-mark-category): Don't try to mark the empty line between the
1070         todo and done items sections.
1072 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1074         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1075         proper Lisp quoting (bug#17934).
1077         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1078         require-final-newline since prog-mode already took care of it (bug#17947).
1080 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
1082         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
1083         refer to the Todo mode Info manual.  Update the comment on
1084         requiring cl-lib.
1085         (todo-find-filtered-items-file): Add todo-prefix overlays.
1086         (todo-filter-items): Reorder a let-bound variable to avoid a
1087         wrong-type-argument error on canceling the file choice dialog.
1089 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1091         * progmodes/octave.el (inferior-octave-mode):
1092         Set comint-input-ring-size to a number (bug#17912).
1094 2014-07-09  Juri Linkov  <juri@jurta.org>
1096         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1097         and `isearch-mode' associated with nil.  (Bug#17849)
1099 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1101         * linum.el (linum--face-height): New function (bug#17813).
1102         (linum-update-window): Use it to adjust margin to linum's width.
1104         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
1105         * eshell/em-smart.el (eshell-smart-scroll-window):
1106         Use with-selected-window.
1108         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
1109         Remove also pointless window&mark manipulation.
1111         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
1112         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
1113         (perl-continuation-line-p): Don't skip over anything else than labels.
1114         Return the previous char.
1115         (perl-calculate-indent): Use syntax-ppss instead of parse-start
1116         and update callers accordingly.  For continuation lines, check the
1117         the case of array hashes.
1118         (perl-backward-to-noncomment): Make it non-interactive.
1119         (perl-backward-to-start-of-continued-exp): Rewrite.
1121 2014-07-08  Sam Steingold  <sds@gnu.org>
1123         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
1124         New user commands.
1126 2014-07-08  Juri Linkov  <juri@jurta.org>
1128         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
1129         (vc-annotate-color-map): Use less saturated colors (20%) for
1130         background-mode.
1131         (vc-annotate-very-old-color): Add default value for background-mode.
1132         (vc-annotate-background): Set default value to nil since now text on
1133         the default backgrounds should be legible in light and dark modes.
1134         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
1135         (Bug#17808)
1137 2014-07-08  Juri Linkov  <juri@jurta.org>
1139         * simple.el (transpose-chars): Don't move point into read-only area.
1140         (Bug#17829)
1142 2014-07-08  Juri Linkov  <juri@jurta.org>
1144         * window.el (with-displayed-buffer-window): New macro.
1145         (with-temp-buffer-window, with-current-buffer-window):
1146         Use `macroexp-let2' to evaluate and bind variables
1147         in the same order as macro arguments.
1148         (display-buffer--action-function-custom-type):
1149         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
1151         * minibuffer.el (minibuffer-completion-help): Replace
1152         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
1153         with actions that display *Completions* at-bottom when called
1154         from the minibuffer, or below-selected in a normal buffer.
1155         Associate `window-height' with `fit-window-to-buffer'.
1156         Let-bind `pop-up-windows' to nil.
1158         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
1159         instead of `with-current-buffer-window'.  (Bug#17809)
1161 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
1163         * progmodes/hideif.el (hide-ifdef-env): Change to global.
1164         (hide-ifdef-env-backup): New variable.
1165         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
1166         New customizable variables.
1167         (hif-clear-all-ifdef-defined): New defun.
1168         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
1169         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
1170         (hif-tokenize): Fix for MS-DOS/Win EOL style.
1171         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
1172         Fix bug to hide the correct #elif region(s).
1173         (hif-range-elif): New defun.
1174         (hif-recurse-level): New var.
1175         (hif-evaluate-region, hif-evaluate-macro): New defun.
1176         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
1177         fully hidden.
1178         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
1179         Better interaction.
1181 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
1183         * net/dbus.el (dbus-peer-handler): New defun.
1184         (dbus-register-service): Register it.  (Bug#17858)
1185         (dbus-managed-objects-handler): Fix docstring.
1187 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
1189         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
1190         (narrow-to-defun): New arg include-comments, defaulting to it
1191         (bug#16328).
1193 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1195         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
1196         different calling convention to rectangle--unhighlight-for-redisplay.
1198 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
1200         * net/tramp.el (tramp-call-process): Handle error strings.
1202         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
1204         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
1205         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
1207         * net/trampver.el: Update release number.
1209 2014-07-03  Juri Linkov  <juri@jurta.org>
1211         * desktop.el (desktop-save): Rename arg `auto-save' to
1212         `only-if-changed'.  Doc fix.  (Bug#17873)
1214 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1216         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1217         Use insert-for-yank (bug#17271).
1219 2014-07-03  Leo Liu  <sdl.web@gmail.com>
1221         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1222         Support lexical-binding.
1224 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1226         * vc/log-edit.el (log-edit-goto-eoh): New function.
1227         (log-edit--match-first-line): Use it (bug#17861).
1229 2014-07-03  Glenn Morris  <rgm@gnu.org>
1231         * vc/log-edit.el (log-edit-hook): Add missing :version.
1233 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1235         * progmodes/python.el (python-indent-post-self-insert-function):
1236         Enhancements to electric indentation behavior inside
1237         parens. (Bug#17658)
1239 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1241         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1242         buffer-invisibility-spec (bug#17867).
1244 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
1246         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1247         pass "-a".
1249 2014-07-03  Glenn Morris  <rgm@gnu.org>
1251         * cus-edit.el (help):
1252         * finder.el (finder-known-keywords):
1253         * help.el (help-for-help-internal):
1254         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1255         (ediff-redraw-registry-buffer):
1256         * vc/ediff-ptch.el (ediff-patch-file-internal):
1257         Doc fixes re "online" help.  (Bug#17803)
1259         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1260         (idlwave-mode): Doc URL update.
1262 2014-07-01  Juri Linkov  <juri@jurta.org>
1264         * man.el: Display man pages immediately and use process-filter
1265         to format them asynchronously.
1266         (Man-width): Doc fix.
1267         (man): Doc fix.
1268         (Man-start-calling): Use `with-selected-window' to get
1269         `frame-width' and `window-width'.
1270         (Man-getpage-in-background): Call `Man-notify-when-ready'
1271         immediately after creating a new buffer.  Call `Man-mode' and set
1272         `mode-line-process' in the created buffer.  Set process-filter to
1273         `Man-bgproc-filter' in start-process branch.  In call-process branch
1274         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
1275         Use `Man-start-calling' inside `with-current-buffer'.
1276         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
1277         (Man-cleanup-manpage): Don't print messages.
1278         (Man-bgproc-filter): New function.
1279         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
1280         user moved it during asynchronous formatting.  Move calls of
1281         `Man-fontify-manpage' and `Man-cleanup-manpage' to
1282         `Man-bgproc-filter'.  Move the call of `Man-mode' to
1283         `Man-getpage-in-background'.  Use `quit-restore-window'
1284         instead of `kill-buffer'.  Use `message' instead of `error'
1285         because errors are caught by process sentinel.
1286         (Man-mode): Move calls of `Man-build-page-list',
1287         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
1288         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
1290         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
1291         for the message about the man page cleaned up.
1293 2014-07-01  Mario Lang  <mlang@delysid.org>
1295         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
1296         cosutomization option `gnutls-verify-error'.
1298 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1300         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
1301         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
1303         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
1304         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
1305         is suspended (bug#17857).
1307 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
1309         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1310         Prefer utf-8 coding.  (Bug#17859)
1312 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1314         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
1315         for `reverse'.
1317 2014-06-30  Glenn Morris  <rgm@gnu.org>
1319         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
1320         (autoload-ensure-default-file): Maybe make existing output writable.
1321         * Makefile.in (AUTOGEN_VCS): Remove.
1322         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
1324 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1326         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
1328 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1330         New if-let, when-let, thread-first and thread-last macros.
1332         * emacs-lisp/subr-x.el
1333         (internal--listify, internal--check-binding)
1334         (internal--build-binding-value-form, internal--build-binding)
1335         (internal--build-bindings): New functions.
1336         (internal--thread-argument, thread-first, thread-last)
1337         (if-let, when-let): New macros.
1339 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
1341         * net/rcirc.el (rcirc-buffer-process): Restore previous
1342         behaviour.  (Bug#17772)
1344 2014-06-29  Alan Mackenzie  <acm@muc.de>
1346         Don't call c-parse-state when c++-template-syntax-table is active.
1347         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
1348         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
1349         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
1351 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
1353         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1354         account for file-wide setting of todo-top-priorities-overrides.
1355         Make code a bit cleaner.
1357 2014-06-28  Glenn Morris  <rgm@gnu.org>
1359         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
1361 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
1363         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1364         category-wide setting of todo-top-priorities-overrides, check for
1365         a file-wide setting and fontify accordingly.
1367 2014-06-28  Glenn Morris  <rgm@gnu.org>
1369         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
1371 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1373         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
1375 2014-06-28  K. Handa  <handa@gnu.org>
1377         Fix Bug#17739.
1379         * composite.el: Setup composition-function-table for dotted circle.
1380         (compose-gstring-for-dotted-circle): New function.
1382         * international/characters.el: Add category "^" to all
1383         non-spacing characters.
1385 2014-06-28  Glenn Morris  <rgm@gnu.org>
1387         * Makefile.in (doit): Remove force rule.
1388         (custom-deps, finder-data, autoloads, update-subdirs)
1389         (compile-one-process): PHONY targets do not need force rules.
1391         * Makefile.in (compile-main, compile, compile-always):
1392         No need to explicitly pass variables to ourself in recursive calls.
1394 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1396         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
1398 2014-06-26  Glenn Morris  <rgm@gnu.org>
1400         * Makefile.in (update-authors): Update for moved authors.el.
1402 2014-06-26  Leo Liu  <sdl.web@gmail.com>
1404         * skeleton.el (skeleton-end-hook): Default to nil and move the
1405         work to skeleton-insert.  (Bug#17850)
1407 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
1409         * calc/calc-alg.el (math-beforep):
1410         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
1411         Simplify because string-lessp can accept symbols as args.
1413 2014-06-26  Daiki Ueno  <ueno@gnu.org>
1415         * emacs-lisp/package.el (package--check-signature):
1416         If package-check-signature is allow-unsigned, don't signal error when
1417         we can't verify signature because of missing public key
1418         (bug#17625).
1420 2014-06-26  Glenn Morris  <rgm@gnu.org>
1422         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1423         Remove outdated declaration.
1425         * emacs-lisp/authors.el (authors-valid-file-names)
1426         (authors-renamed-files-alist): Additions.
1428 2014-06-26  Leo Liu  <sdl.web@gmail.com>
1430         * textmodes/picture.el (picture-set-tab-stops):
1431         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1432         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1434         * progmodes/asm-mode.el (asm-calculate-indentation):
1435         Use indent-next-tab-stop.
1437         * indent.el (indent-accumulate-tab-stops): New function.
1439 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1441         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1442         (package-desc-status): Obey it.
1444 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
1446         * calendar/todo-mode.el: Fix two bugs.
1447         (todo-insert-item--basic): If user cancels item insertion to
1448         another category before setting priority, show original category
1449         whether it is in the same or a different file.
1450         (todo-set-item-priority): After selecting category, instead of
1451         moving point to top, which extends an active region, restore it.
1453 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1455         * help-fns.el (describe-function-1): Check file-name is a string before
1456         calling help-fns--autoloaded-p (bug#17564).
1458 2014-06-26  Juri Linkov  <juri@jurta.org>
1460         * desktop.el (desktop-auto-save-enable)
1461         (desktop-auto-save-disable): New functions.
1462         (desktop-save-mode, desktop-auto-save-timeout): Use them.
1463         (desktop-read): Disable the autosave before loading the desktop,
1464         and enable afterwards.  (Bug#17351)
1466 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1468         Fix some indentation problem with \; and pipes (bug#17842).
1469         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1470         (sh-smie--default-forward-token, sh-smie--default-backward-token):
1471         New functions.
1472         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1473         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1474         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1476 2014-06-26  Glenn Morris  <rgm@gnu.org>
1478         * emacs-lisp/find-func.el (find-function-C-source-directory):
1479         Use file-accessible-directory-p.
1481         * ps-samp.el: Make it slightly less awful.
1482         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
1483         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
1484         Only set local values.
1485         (ps-article-subject, ps-article-author): Use standard functions
1486         like mail-fetch-field.
1487         (ps-info-file, ps-info-node): Use match-string.
1488         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
1489         (ps-samp-ps-setup): ... new function.
1491         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
1492         Optimize away code unneeded on any modern Emacs.
1494         * emacs-lisp/authors.el: Move to ../admin.
1496         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
1498 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
1500         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
1501         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
1502         performance enhancements.
1503         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
1504         expansion.
1505         (hif-factor, hif-string-concatenation, intern-safe): Support string
1506         concatenation and argumented macro expansion.
1507         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
1508         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
1509         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
1510         (hif-canonicalize-tokens, hif-place-macro-invocation)
1511         (hif-parse-macro-arglist): Mostly new functions for supporting
1512         argumented macro expansion.
1513         (hif-string-concatenation, hif-stringify, hif-token-concat)
1514         (hif-token-stringification, hif-token-concatenation):
1515         Stringification and concatenation.
1516         (hif-find-next-relevant): Fix comments.
1517         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
1518         some cases involving #elif.
1519         (hif-find-define, hif-add-new-defines): New functions for automatically
1520         scanning of defined symbols.
1521         (hide-ifdef-guts): Fix for defined symbol auto scanning.
1522         (hide-ifdef-undef): Fix behavior to match CPP.
1524 2014-06-25  Glenn Morris  <rgm@gnu.org>
1526         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
1527         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
1528         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
1529         files.  They are not relevant to the original issue (bug#1004),
1530         and cause unnecessary recompilation (bug#2151).
1532 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1534         * play/landmark.el: Use lexical-binding and avoid `intangible'.
1535         (landmark--last-pos): New var.
1536         (landmark--intangible-chars): New const.
1537         (landmark--intangible): New function.
1538         (landmark-mode, landmark-move): Use it.
1539         (landmark-mode): Remove properties.
1540         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
1541         (landmark-cross-qtuple):
1542         Don't worry about `intangible' any more.
1543         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
1544         (landmark-init-display): Don't set `intangible' and `point-entered'.
1545         (square): Remove.  Inline it instead.
1546         (landmark--distance): Rename from `distance'.
1547         (landmark-calc-distance-of-robot-from): Rename from
1548         calc-distance-of-robot-from.
1549         (landmark-calc-smell-internal): Rename from calc-smell-internal.
1551 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
1553         * files.el (dir-locals-find-file, file-relative-name):
1554         * info.el (Info-complete-menu-item):
1555         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
1556         to compare-strings to avoid out-of-range errors.
1557         * subr.el (string-prefix-p): Adjust to match strict range
1558         checking in compare-strings.
1560 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
1562         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
1563         for comment lines non-greedy and stopping at newlines to fix stack
1564         overflows with large files.
1566 2014-06-24  Eli Barzilay  <eli@barzilay.org>
1568         * calculator.el (calculator-last-input): Drop 'ascii-character property
1569         lookup.
1571 2014-06-24  Leo Liu  <sdl.web@gmail.com>
1573         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1574         tab-stop-list to nil.  (Bug#16381)
1576         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1577         (indent-rigidly-left-to-tab-stop)
1578         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1579         (move-to-tab-stop): Change callers.
1581 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
1583         * skeleton.el (skeleton-insert): Yet another fix of the doc string
1584         wrt behavior of \n as the first/last element of a skeleton.
1586 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
1588         * net/tramp-adb.el (tramp-adb-handle-process-file):
1589         * net/tramp-sh.el (tramp-sh-handle-process-file):
1590         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1591         the output buffer when DISPLAY is non-nil.  (Bug#17815)
1593 2014-06-24  Glenn Morris  <rgm@gnu.org>
1595         * play/landmark.el (landmark-move-down, landmark-move-up):
1596         Fix 2007-10-20 change - preserve horizontal position.
1598 2014-06-23  Sam Steingold  <sds@gnu.org>
1600         * simple.el (kill-append): Remove undo boundary depending on ...
1601         (kill-append-merge-undo): New user option.
1603 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1605         * simple.el (handle-shift-selection, exchange-point-and-mark)
1606         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
1607         (transient-mark-mode): Use&set the global value.
1608         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
1609         * emulation/edt.el (edt-emulation-off): Save&restore the global
1610         transient-mark-mode setting.
1611         * obsolete/pc-select.el (pc-selection-mode): Use the
1612         transient-mark-mode function.
1614 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
1616         * international/fontset.el (script-representative-chars):
1617         Add representative characters for scripts added in Unicode 7.0.
1618         (otf-script-alist): Synchronize with the latest registry of OTF
1619         script tags.
1621         * international/characters.el (char-script-table): Update for
1622         scripts added and codepoint ranges changed in Unicode 7.0.
1624 2014-06-23  Eli Barzilay  <eli@barzilay.org>
1626         * calculator.el (calculator-standard-displayer): Fix bug in use of
1627         `calculator-groupize-number'.
1628         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
1629         `eval' code, so it works in v24.3.1 too.
1630         (calculator-last-input): Comment to clarify purpose.
1632 2014-06-22  Mario Lang  <mlang@delysid.org>
1634         * textmodes/rst.el (rst-comment-region): From from -> from.
1636         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
1638 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
1640         * electric.el (electric-layout-post-self-insert-function):
1641         * emacs-lisp/ert.el (ert--insert-infos):
1642         * obsolete/vi.el (vi-set-mark):
1643         * term.el (term-handle-scroll):
1644         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
1645         * wid-edit.el (widget-editable-list-value-create):
1646         Prefer point-marker to copy-marker of point.
1648 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1650         Fix completion retrieval parsing (bug#17209).
1651         * progmodes/python.el (python-mode):
1652         (python-util-strip-string): New function.
1653         (python-shell-completion-get-completions): Use it.
1655 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1657         * skeleton.el (skeleton-insert): Fix last change.
1659 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1661         Enhancements for outline integration (bug#17796).
1662         * progmodes/python.el (python-mode): Properly set
1663         outline-heading-end-regexp so that comments after colons for
1664         defuns are supported.
1666 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1668         * skeleton.el (skeleton-insert): Doc fix.
1670 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1672         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1673         (smie-config-guess): Use smie-config-local so the rules are obeyed
1674         (bug#17818).
1676         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1677         since it's already done inside the loop (bug#17819).
1679 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
1681         * mouse.el (mouse-drag-line): Re-remove code initially removed
1682         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1683         (Bug#17819).
1685 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1687         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1688         align with the surrounding parent (bug#17721).
1690 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1692         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1693         locally to nil.
1694         (texinfo-insert-block, texinfo-insert-@end)
1695         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1696         local setting of skeleton-end-newline by adding an explicit \n to
1697         the skeletons where appropriate.  (Bug#17801)
1699 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1701         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1702         (smie-indent--hanging-p): Use it.
1703         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1705 2014-06-21  Leo Liu  <sdl.web@gmail.com>
1707         * simple.el (read-quoted-char): Don't let help chars pop up help
1708         buffer.  (Bug#16617)
1710 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1712         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1713         for | (bug#17621).
1715         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
1716         Drop unknown events instead of burping.
1718 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1720         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1721         and later.  (Bug#17790)
1723 2014-06-21  Juri Linkov  <juri@jurta.org>
1725         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1726         to `soft'.  (Bug#17554)
1728 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1730         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1731         (bug#17737).
1733 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
1735         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1736         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
1738 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
1740         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1741         `unread-command-events'.
1743 2014-06-19  William Xu  <william.xwl@gmail.com>
1745         * progmodes/hideif.el (hif-string-to-number): Don't return float for
1746         hex integer constants (bug#17807).
1748 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1750         * international/mule-util.el (truncate-string-ellipsis): New var.
1751         (truncate-string-to-width): Use it.
1753 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
1755         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
1756         (lisp-string-in-doc-position-p): New function, extracted from
1757         lisp-font-lock-syntactic-face-function.
1758         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
1760 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
1762         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
1764 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1766         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
1767         (bubbles--game-over): Don't add `intangible' properties since they
1768         didn't work anyway.
1770 2014-06-18  Juri Linkov  <juri@jurta.org>
1772         * vc/ediff-init.el (ediff-current-diff-Ancestor)
1773         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
1774         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
1775         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
1776         Add `min-colors 88' version with removed black/white foregrounds.
1777         (Bug#10181)
1779 2014-06-18  Juri Linkov  <juri@jurta.org>
1781         * vc/diff-mode.el (diff-changed): Empty face definition to use
1782         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
1783         (diff-context): Use darker color on light background and
1784         lighter color on dark background.
1786 2014-06-18  Juri Linkov  <juri@jurta.org>
1788         * vc/diff-mode.el (diff-refine-changed): Rename from
1789         `diff-refine-change' for consistency with `diff-changed'.
1790         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
1792         * vc/smerge-mode.el (smerge-refined-changed): Rename from
1793         `smerge-refined-change'.
1794         (smerge-refined-change): Add obsolete face alias.
1796 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1798         * rect.el (rectangle-preview): New custom.
1799         (rectangle): New group.
1800         (rectangle--pos-cols): Add `window' argument.
1801         (rectangle--string-preview-state, rectangle--string-preview-window):
1802         New vars.
1803         (rectangle--string-flush-preview, rectangle--string-erase-preview)
1804         (rectangle--space-to, rectangle--string-preview): New functions.
1805         (string-rectangle): Use them.
1806         (rectangle--inhibit-region-highlight): New var.
1807         (rectangle--highlight-for-redisplay): Obey it.  Make sure
1808         `apply-on-region' uses the point-crutches of the right window.
1809         Use :align-to rather than multiple spaces.
1811 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
1813         * ruler-mode.el (ruler-mode-window-col)
1814         (ruler-mode-mouse-set-left-margin)
1815         (ruler-mode-mouse-set-right-margin): Fix calculation of column
1816         from mouse position (Bug#17768).
1818 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
1820         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
1821         without varname or rhs causes crash.
1822         (dun-ftp): Fix bug where blank ftp password is allowed, making it
1823         impossible to win endgame.
1824         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
1825         rlogin is anymore.
1826         (dun-help): Bump version number; update contact info.
1828 2014-06-15  Eli Barzilay  <eli@barzilay.org>
1830         * calculator.el (calculator-prompt, calculator-remove-zeros)
1831         (calculator-mode-hook, calculator-operators, calculator-stack)
1832         (calculator-mode): Tweak docstring.
1833         (calculator-user-operators): Tweak docstring, fix a bug in the last
1834         example.
1835         (calculator-displayer): `std' case has an optional boolean.
1836         (calculator-displayers): Use the new boolean to group in decimal mode.
1837         (calculator-mode-map, calculator, calculator-message)
1838         (calculator-op-arity, calculator-add-operators)
1839         (calculator-string-to-number, calculator-displayer-prev)
1840         (calculator-displayer-next, calculator-remove-zeros)
1841         (calculator-eng-display, calculator-number-to-string)
1842         (calculator-update-display, calculator-last-input)
1843         (calculator-clear-fragile, calculator-digit, calculator-decimal)
1844         (calculator-exp, calculator-saved-move, calculator-clear)
1845         (calculator-copy, calculator-put-value, calculator-help)
1846         (calculator-expt, calculator-truncate): Minor code improvements.
1847         (calculator-need-3-lines): New function pulling out code from
1848         `calculator'.
1849         (calculator-get-display): Rename from `calculator-get-prompt', and
1850         improved.
1851         (calculator-push-curnum): Rename from `calculator-curnum-value', and
1852         extended for all uses of it.  All callers changed.
1853         (calculator-groupize-number): New utility for splitting a number into
1854         groups.
1855         (calculator-standard-displayer): Improve code, new optional argument to
1856         use comma-split groups, make second argument optional too to use with
1857         'left/'right inputs.  All callers changed.
1858         (calculator-reduce-stack-once): New utility, doing the meat of what
1859         `calculator-reduce-stack' used to do, much improved (mostly using
1860         `pcase' for conciseness and clarity).
1861         (calculator-reduce-stack): Now doing just the reduction loop using
1862         `calculator-reduce-stack-once'.
1863         (calculator-funcall): Improve code, make it work in v24.3.1 too.
1864         (calculator-last-input): Improve code, remove some old cruft.
1865         (calculator-quit): Kill `calculator-buffer' in electric mode too.
1866         (calculator-integer-p): Remove.
1867         (calculator-fact): Improve code, make it work on non-integer values
1868         too (using truncated numbers).
1870 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
1872         Sync with Tramp 2.2.10.
1874         * net/tramp.el (tramp-methods): Tweak docstring.
1875         (tramp-handle-file-accessible-directory-p): Check for
1876         `file-readable-p' instead of `file-executable-p'.
1877         (tramp-check-cached-permissions):
1878         Use `tramp-compat-file-attributes'.
1879         (tramp-call-process): Add new argument VEC.  Adapt callees in all
1880         tramp*.el files.
1882         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
1883         (tramp-adb-maybe-open-connection): Don't set
1884         `tramp-current-*' variables.
1886         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
1887         file properties of temporary buffers.
1889         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
1891         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
1892         (tramp-gvfs-handle-delete-file): Flush file
1893         properties, not directory properties.
1894         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
1895         reading "unix::mode".
1896         (tramp-gvfs-handle-file-name-all-completions):
1897         Use "-h" option for "gvfs-ls".
1898         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
1899         (tramp-gvfs-send-command): Simplify traces.
1901         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
1902         (vc-git-program, vc-hg-program): Declare.
1903         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
1904         (tramp-methods) <nc>: Add new method.
1905         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
1906         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
1907         `tramp-login-args'.
1908         (tramp-default-user-alist): Add "nc".
1909         (top): Remove completion function for "sftp".  Add completion
1910         functions for "nc" and "psftp".
1911         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
1912         Implement support for "nc" method.
1913         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
1914         (tramp-remote-coding-commands, tramp-call-local-coding-command):
1915         Tweak docstring.
1916         (tramp-sh-handle-write-region): Tweak error message.
1917         (tramp-sh-handle-vc-registered): Remove backends when the remote
1918         binary does not exist.
1919         (tramp-find-inline-encoding): Do not raise an error.
1920         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
1921         the "nc" case.  Quote result also locally.
1923         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1924         (tramp-smb-handle-set-file-acl): Use `start-process'.
1925         (tramp-smb-handle-insert-directory): Use progress reporter.
1926         (tramp-smb-handle-rename-file): Flush also file properties of
1927         FILENAME.
1929         * net/trampver.el: Update release number.
1931 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1933         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
1934         add-to-list.
1935         (ses-localvars): Remove ses--local-printer-list, unused.
1936         (ses--metaprogramming): New macro.  Use it to defvar variables.
1937         (ses-set-localvars): Simplify.
1938         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
1939         property-list into an alist.
1940         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1941         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
1942         Remove; use defstruct accessors/setters instead.
1943         (ses-cell-formula-aset, ses-cell-printer-aset)
1944         (ses-cell-references-aset): Remove, use setf instead.
1945         (ses--alist-get): New function.
1946         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
1947         Use an alist instead of a plist and don't do move-to-front since the
1948         list is always short.
1949         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
1950         (ses-cell-property-set-fun, ses-cell-property-set)
1951         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
1952         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
1953         (ses--letref): New macro.
1954         (ses-cell-property-pop): Rewrite.
1955         (ses--cell): Rename from ses-cell and make it into a function.
1956         Make `formula' fallback on `value' if nil.
1957         (ses--local-printer): Rename from ses-local-printer and make it into
1958         a function.
1959         (ses-set-cell): Turn it into a macro so finding the accessor from the
1960         field name is done at compile time.
1961         (ses-repair-cell-reference-all): Test presence of `sym' rather than
1962         `ref' before adding `sym' to :ses-repair-reference.
1963         (ses-calculate-cell): Use ses--letref rather than
1964         ses-cell-property-get-handle.
1965         (ses-write-cells): Use a single prin1-to-string.
1966         (ses-setter-with-undo): New function.
1967         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
1968         (ses-unset-with-undo): Remove.
1969         (ses-load): Prefer apply' over `eval'.
1970         (ses-read-printer, ses-set-column-width): Use standard "(default
1971         foo)" format.
1973 2014-06-15  Glenn Morris  <rgm@gnu.org>
1975         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
1977         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
1978         Replace delete-duplicates and mapcan by cl- versions throughout.
1979         And cl-macroexpand-all by macroexpand-all.
1980         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1982 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
1984         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
1986 2014-06-15  Juri Linkov  <juri@jurta.org>
1988         * bindings.el: Put `ascii-character' property on keypad keys
1989         mapped to characters.  (Bug#17759)
1991 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1993         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1994         bumping forward into a closing paren (bug#17761).
1996         * term/xterm.el (xterm--version-handler): Work around for OSX
1997         Terminal.app (bug#17607).
1999 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
2001         * play/dunnet.el (dun-describe-room, dun-mode):
2002         If a lamp is in the room, you won't be eaten by a grue.
2004 2014-06-13  Glenn Morris  <rgm@gnu.org>
2006         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
2007         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
2008         (compile-always): GNU make automatically passes
2009         command-line arguments to sub-makes.
2011         * calendar/calendar.el (calendar-generate-window):
2012         Remove pointless call to font-lock-fontify-buffer.
2014 2014-06-13  Matthias Meulien  <orontee@gmail.com>
2016         * simple.el (completion-list-mode-map): Navigate with tab and backtab
2017         (bug#17767).
2019 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2021         * simple.el (set-mark-command): Simplify a bit.
2023 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2025         * help.el (help--key-binding-keymap): New function.
2026         (help--binding-locus): New function.
2027         (describe-key): Mention the keymap in which the binding was
2028         found. (bug#13948)
2030 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2032         * hippie-exp.el (he--all-buffers): New function.
2033         (try-expand-line-all-buffers, try-expand-list-all-buffers)
2034         (try-expand-dabbrev-all-buffers): Use it.
2036 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
2038         * hippie-exp.el (try-expand-line-all-buffers)
2039         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
2040         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
2041         original buffer, in case they're buffer-local.
2043 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2045         * ses.el (ses-initial-global-parameters-re): New defconst, a
2046         specific regexp is needed now that ses.el can handle both
2047         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
2048         local printers.
2049         (ses-localvars): Add local variables needed for local printer handling.
2050         (ses-set-localvars): Handle hashmap initialisation.
2051         (ses-paramlines-plist): Add param-line for number of local printers.
2052         (ses-paramfmt-plist): New defconst, needed for code factorization
2053         between functions `ses-set-parameter' and
2054         `ses-file-format-extend-paramter-list'
2055         (ses-make-local-printer-info): New defsubst.
2056         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2057         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
2058         (ses-cell-printer-aset): New defmacro.
2059         (ses-local-printer-compile): New defun.
2060         (ses-local-printer): New defmacro.
2061         (ses-printer-validate, ses-call-printer): Add support for local
2062         printer functions.
2063         (ses-file-format-extend-paramter-list): New defun.
2064         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
2065         factorization.
2066         (ses-load): Add support for local printer functions.
2067         (ses-read-printer): Update docstring and add support for local printer
2068         functions.
2069         (ses-refresh-local-printer, ses-define-local-printer): New defun.
2070         (ses-safe-printer): Add support for local printer functions.
2072 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
2074         * ffap.el (ffap-lax-url): New var (bug#17723).
2075         (ffap-url-at-point): Use it.
2076         (ffap-file-at-point): Avoid returning just "/".
2078 2014-06-12  Matthias Meulien  <orontee@gmail.com>
2080         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
2081         (python-mode-map): Bind it.
2083         * progmodes/python.el (class skeleton): Don't erase last char of class
2084         name (bug#17683).
2086 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
2088         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
2090 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
2092         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
2093         (bug#17745).
2095 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2097         * international/mule-cmds.el: Use lexical-binding.
2098         (ucs-names): Simplify.
2100 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
2102         * progmodes/python.el (run-python): Use read-shell-command.
2104 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2106         * rect.el: Make it possible to move bounds past EOL or into TABs.
2107         (operate-on-rectangle): Use apply-on-rectangle.
2108         (rectangle--mark-crutches): New var.
2109         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
2110         (rectangle--crutches, rectangle--reset-crutches): New functions.
2111         (apply-on-rectangle): Obey crutches.  Avoid setq.
2112         Fix missing final iteration if end is at EOB&BOL.
2113         (rectangle-mark-mode-map): Add remap bindings for
2114         exchange-point-and-mark and char/line movements.
2115         (rectangle--*-char): New function.
2116         (rectangle-exchange-point-and-mark, rectangle-right-char)
2117         (rectangle-left-char, rectangle-forward-char)
2118         (rectangle-backward-char, rectangle-next-line)
2119         (rectangle-previous-line): New commands.
2120         (rectangle--place-cursor): New function.
2121         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
2123 2014-06-08  Glenn Morris  <rgm@gnu.org>
2125         * startup.el (initial-buffer-choice): Doc fix.
2126         Reset :version (adding an option does not merit a :version bump).
2128         * bookmark.el (bookmark-load):
2129         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
2131 2014-06-08  Juri Linkov  <juri@jurta.org>
2133         * desktop.el: Activate auto-saving on window configuration changes.
2134         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
2135         `desktop-auto-save-set-timer' to/from
2136         `window-configuration-change-hook'.
2137         (desktop-auto-save-set-timer): Change REPEAT arg of
2138         `run-with-idle-timer' from t to nil.
2139         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
2141 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
2143         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
2144         vc-hg-command (bug#17570).
2146 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2148         * international/mule-cmds.el (ucs-names): Add special entry for BEL
2149         (bug#17702).
2151 2014-06-08  Glenn Morris  <rgm@gnu.org>
2153         * startup.el (window-setup-hook): Doc fix.
2155         * emacs-lisp/package.el (package-check-signature)
2156         (package-unsigned-archives): Doc fixes.
2158 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
2160         * window.el (display-buffer-use-some-window): Don't make window
2161         used smaller than it was before (Bug#17671).
2163 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
2165         * menu-bar.el (menu-bar-open): Fix last change: use the PC
2166         'redisplay' instead of '(sit-for 0)'.
2168 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
2170         * net/tramp.el (tramp-ssh-controlmaster-options):
2171         Improve search regexp.  (Bug#17653)
2173 2014-06-08  Glenn Morris  <rgm@gnu.org>
2175         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
2177 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
2179         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
2181 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
2183         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
2184         (bug#17586).
2186         * vc/vc-hg.el (vc-hg-log-graph): New var.
2187         (vc-hg-print-log): Use it.
2188         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
2189         graph output (bug#17515).
2191 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2193         * mouse.el (mouse-posn-property): Ignore buffer position info when the
2194         even happened elsewhere.
2196 2014-06-06  Mario Lang  <mlang@delysid.org>
2198         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
2199         `recenter' if `current-buffer' is equal to `window-buffer'.
2201 2014-06-05  Leo Liu  <sdl.web@gmail.com>
2203         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
2205 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
2207         * textmodes/tildify.el (tildify-foreach-region-outside-env):
2208         New function which calls a callback on portions of the buffer that are
2209         outside of ignored environments.
2210         (tildify-build-regexp): Remove function since it is now
2211         incorporated in `tildify-foreach-region-outside-env' where it is
2212         optimised and simplified by the use of `mapconcat'.
2213         (tildify-tildify): Return number of substitutions made so that…
2214         (tildify-count): …can be removed.
2215         (tildify-find-env): Accept a new PAIRS argument which was
2216         previously looked up in `tildify-ignored-environments-alist' each
2217         time the function was called.  With this change, the lookup is
2218         performed only once in `tildify-foreach-region-outside-env'.
2219         (tildify-region): Greatly simplify the function since now most of
2220         the work is done by `tildify-foreach-region-outside-env'.
2221         (tildify-mode-alist): Simplify slightly by avoiding if and setq
2222         and instead using or.
2224         * textmodes/tildify.el (tildify-ignored-environments-alist):
2225         Optimise environments regexes
2227         Each time beginning of an environment to ignore is found,
2228         `tildify-find-env' needs to identify regexp for the ending
2229         of the environment.  This is done by trying all the opening
2230         regexes on matched text in a loop, so to speed that up, this
2231         loop should have fewer things to match, which can be done by
2232         using alternatives in the opening regexes.
2234         Coincidentally, this should make matching of the opening
2235         regexp faster as well thanks to the use of `regexp-opt' and
2236         having common prefix pulled from many regexes.
2238         * textmodes/tildify.el (tildify-string-alist)
2239         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
2240         of supported modes since `xml-mode' is no longer a thing but just
2241         an alias to the former.  Also include comments and insides of tags
2242         in `tildify-ignored-environments-alist' for XML modes.  Finally,
2243         since XML does not define “&nbsp;”[1], use a numeric reference for
2244         a no-break space (namely “&#160;”)
2246         [1] XML specification defines only a handful of predefined entities.
2247             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
2248             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
2249             >, &, ' and " respectively).  This is in contrast to HTML and even
2250             XHTML which defined a whole bunch of entities including “&nbsp;”.
2252         * textmodes/tildify.el (tildify-pattern-alist)
2253         (tildify-string-alist, tildify-ignored-environments-alist):
2254         Improve defcustom's types by adding more tags explaining what each
2255         value means and replace “sexp” used in
2256         `tildify-ignored-environments-alist' with a full type declaration.
2258         * textmodes/tildify.el (tildify-find-env): Fix matched group
2259         indexes in end-regex building
2261         When looking for a start of an ignore-environment, the regex is built
2262         by concatenating regexes of all the environments configured in
2263         `tildify-ignored-environments-alist'.  So for example, the following
2264         list could be used to match TeX's \verb and \verb* commands:
2266             (("\\\\verb\\(.\\)" . (1))
2267              ("\\\\verb\\*\\(.\\)" . (1)))
2269         This would result in the following regex being used to find the start
2270         of any of the variants of the \verb command:
2272             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
2274         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
2275         won't match anything, and thus (match-string 1) will be nil, which
2276         will cause building of the end-matching regex to fail.
2278         Fix this by using capture groups from the time when the opening
2279         regexes are matched individually.
2281         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
2282         in `tildify-find-env'
2284         The `tildify-ignored-environments-alist' allows the end-regex to
2285         be provided not as a static string but mix of strings and indexes
2286         of groups matched the begin-regex.  For example, the “\verb!…!”
2287         TeX-command (where “!” is an arbitrary character) is handled
2288         using:
2290             ("\\\\verb\\*?\\(.\\)" . (1))
2292         In the same way, the following should be supported as well:
2294             ("open-\\(.\\)" . ("end-" 1))
2296         However the tildify-find-env function fails at
2298             (concat result
2299                     (if (stringp (setq aux (car expression)))
2300                          expression  ; BUG: expression is a list
2301                        (regexp-quote (match-string aux))))
2303         where the string part is handled incorrectly.
2305         The most trivial fix would be to replace `expression' in the
2306         true-part of the if-statement with `aux', but instead, this commit
2307         optimises `tildify-find-env' by changing it to use `mapconcat'
2308         rather than open-coded while-loop.
2310 2014-06-05  Mario Lang  <mlang@delysid.org>
2312         * woman.el (woman-mapcan): Remove.
2313         (woman-parse-colon-path): Use cl-mapcan instead.
2315 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2317         * register.el: Add link to Emacs manual in Commentary.
2319 2014-06-02  Sam Steingold  <sds@gnu.org>
2321         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
2322         (popup-menu): ...here.
2323         (menu-bar-open): Use it to avoid an error when `lookup-key'
2324         returns a number.
2326 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
2328         * net/tramp.el (tramp-call-process): Add traces.
2329         (tramp-handle-unhandled-file-name-directory): Return "/".
2331 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
2333         Sync with upstream verilog-mode revision 3cd8144.
2334         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
2335         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
2336         (verilog-type-font-keywords): Add nor.
2337         (verilog-batch-execute-func): Force reading of Local Variables.
2338         Fix printing "no changes to be saved" with verilog-batch.
2339         (verilog-auto-arg-ports): Doc fix.
2340         Add verilog-auto-arg-format to support newlines in AUTOARG.
2341         (verilog-auto-arg): Doc fix.
2343 2014-06-02  Glenn Morris  <rgm@gnu.org>
2345         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
2346         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
2347         * emulation/ws-mode.el: Move to obsolete/.
2348         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
2350 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
2352         * simple.el (keyboard-quit): Force update of mode lines, to remove
2353         the "Def" indicator, if we were defining a macro.  (Bug#17615)
2355 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2357         * minibuffer.el (minibuffer-force-complete-and-exit):
2358         Obey minibuffer-default (bug#17545).
2360         * progmodes/js.el (js-indent-line): Don't mix columns and chars
2361         (bug#17619).
2363         * subr.el (set-transient-map): Don't wait for some "nested"
2364         transient-map to finish if we're only supposed to be active for
2365         the next command (bug#17642).
2367 2014-06-02  Leo Liu  <sdl.web@gmail.com>
2369         * emacs-lisp/gv.el (window-buffer, window-display-table)
2370         (window-dedicated-p, window-hscroll, window-point, window-start):
2371         Fix gv-expander.  (Bug#17630)
2373 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2375         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
2376         clicks (bug#17633).
2378         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
2379         for the single comma, since ", " is *very* common in normal French text
2380         (bug#17643).
2382 2014-06-02  Glenn Morris  <rgm@gnu.org>
2384         * emacs-lisp/package.el (package-check-signature)
2385         (package-unsigned-archives): Fix :version.
2387 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2389         * subr.el (sit-for): Don't run input-methods (bug#15614).
2391 2014-06-02  Glenn Morris  <rgm@gnu.org>
2393         * cus-start.el: Fix some :version numbers.
2395 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2397         * simple.el (deactivate-mark): Set mark-active to nil even if
2398         deactivation is done via setting transient-mark-mode to nil,
2399         since one is buffer-local and the other is global.
2401         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
2402         there can't be more than 2 arguments (bug#17584).
2404 2014-06-02  Glenn Morris  <rgm@gnu.org>
2406         * simple.el (filter-buffer-substring-functions)
2407         (filter-buffer-substring-function, buffer-substring-filters)
2408         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
2410         * minibuffer.el (completion-in-region-functions, completion-in-region)
2411         (completion--in-region): Doc fixes.
2413         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
2414         (expand-abbrev, abbrev--default-expand): Doc fixes.
2416 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
2418         Include sources used to create macuvs.h.
2419         * international/README: Refer to the Unicode Terms of Use rather
2420         than copying it bodily here, as that simplifies maintenance.
2422 2014-06-01  Glenn Morris  <rgm@gnu.org>
2424         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
2426 2014-05-31  Glenn Morris  <rgm@gnu.org>
2428         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
2430 2014-05-30  Glenn Morris  <rgm@gnu.org>
2432         * loadup.el: Treat `command-line-args' more flexibly.
2434 2014-05-30  Alan Mackenzie  <acm@muc.de>
2436         Guard (looking-at "\\s!") from XEmacs.
2437         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
2439 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
2441         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
2442         The argument COUNT is now optional, to be more backward-compatible.
2443         Doc fix.  (Bug#17560)
2445 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
2447         * whitespace.el (whitespace-report-region):
2448         Simplify documentation.
2449         (whitespace-report-region): Allow report-if-bogus to take the
2450         value `never', for non-interactive use.
2451         (whitespace-report): Refer to whitespace-report-region's
2452         documentation.
2454 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2456         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
2457         Side benefit: it works without jit-lock.
2458         (whitespace-point--used): New buffer-local var.
2459         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
2460         (whitespace-color-off): Use font-lock-flush.
2461         (whitespace-point--used, whitespace-point--flush-used): New functions.
2462         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2463         (whitespace-empty-at-eob-regexp): Use them.
2464         (whitespace-post-command-hook): Rewrite.
2466         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
2467         (font-lock-fontify-buffer): Mark interactive-only.
2468         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
2469         Make buffer-local.
2470         (font-lock-specified-p): Remove redundant boundp check.
2471         (font-lock-flush-function, font-lock-ensure-function): New vars.
2472         (font-lock-turn-on-thing-lock): Set them.
2473         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
2474         (font-lock-after-change-function): Make `old-len' optional.
2475         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
2476         Call font-lock-flush, just in case.
2477         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
2478         recent Emacsen.
2479         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
2480         (vera-mode-map, vera-mode-menu): Remove bindings to it.
2481         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
2482         and with-syntax-table.
2483         * textmodes/conf-mode.el (conf-quote-normal):
2484         * progmodes/sh-script.el (sh-set-shell):
2485         * progmodes/prog-mode.el (prettify-symbols-mode):
2486         * progmodes/f90.el (f90-font-lock-n):
2487         * progmodes/cwarn.el (cwarn-mode):
2488         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
2489         * progmodes/compile.el (compilation-setup, compilation--unsetup):
2490         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
2491         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
2492         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
2493         font-lock-fontify-buffer-function and
2494         font-lock-unfontify-buffer-function.
2495         (rmail-unfontify-buffer-function, rmail-fontify-message):
2496         Use with-silent-modifications.
2497         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
2498         and font-lock-ensure.
2499         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
2501 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
2503         * emacs-lisp/package.el (package-generate-autoloads):
2504         Inhibit backup files.
2506 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2508         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
2509         (bug#17608).
2511 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
2513         * textmodes/tildify.el (tildify-buffer, tildify-region):
2514         Add dont-ask option.
2516 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2518         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
2519         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
2521         * subr.el (internal--funcall-interactively): New.
2522         (internal--call-interactively): Remove.
2523         (called-interactively-p): Detect funcall-interactively instead of
2524         call-interactively.
2525         * simple.el (repeat-complex-command): Use funcall-interactively.
2526         (repeat-complex-command--called-interactively-skip): Remove.
2528 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2530         * register.el (register-read-with-preview): Don't burp on
2531         frame switches (e.g. due to the frame we just popped).
2533         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
2534         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
2536 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
2538         * cus-face.el (custom-face-attributes): Add :distant-foreground.
2540 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
2542         * window.el (window--dump-frame): Remove interactive specification.
2544 2014-05-26  Glenn Morris  <rgm@gnu.org>
2546         * hippie-exp.el (he-line-search-regexp):
2547         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
2549 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
2551         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
2552         to avoid errors when trying to create or visit a file foo.todo
2553         located outside to todo-directory, and to allow having such files
2554         without them being tied to Todo mode (bug#17482).
2555         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2556         (todo-archive-done-item, todo-find-filtered-items-file)
2557         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2558         (todo-category-completions, todo-read-category): When visiting a
2559         Todo file, make sure we're in the right mode and the buffer local
2560         variables are set.
2561         (todo-make-categories-list, todo-reset-nondiary-marker)
2562         (todo-reset-done-string, todo-reset-comment-string):
2563         After processing all Todo files, kill the buffers of those files that
2564         weren't being visited before the processing.
2565         (todo-display-as-todo-file, todo-add-to-buffer-list)
2566         (todo-visit-files-commands): Comment out.
2567         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2568         (auto-mode-alist): Remove add-to-list calls making Todo file
2569         extensions unrestrictedly tied to Todo modes.
2571 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2573         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2574         (advice-function-member-p): Tell it to check both names and functions
2575         (bug#17531).
2576         (advice--add-function): Adjust call accordingly.
2578 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
2580         * calendar/todo-mode.el: Miscellaneous bug fixes.
2581         (todo-delete-file): When deleting an archive but not its todo
2582         file, make sure to update the todo file's category sexp.
2583         (todo-move-category): Keep the moved category's name unless the
2584         file moved to already has a category with that name.  If the
2585         numerically last category of the source file was moved, make the
2586         first category current to avoid selecting a nonexisting category.
2587         (todo-merge-category): Fix implementation to make merging to a
2588         category in another file work as documented.  Eliminate now
2589         insufficient and unnecessary renaming of archive category, correct
2590         document string accordingly, and clarify it.  If the numerically
2591         last category of the source file was merged, make the first
2592         category current to avoid selecting a nonexisting category.
2593         (todo-archive-done-item): When there are marked items and point
2594         happens to be on an unmarked item, ignore the latter.  Don't leave
2595         point below last item after archiving marked items.
2596         (todo-unarchive-items): Fix logic to ensure unarchiving an item
2597         from an archive with only one category deletes the archive only
2598         when the category is empty after unarchiving.  Make sure the todo
2599         file's category sexp is updated.
2600         (todo-read-file-name): Allow an existing file name even when it is
2601         not required (todo-move-category needs this to work as documented).
2602         (todo-add-file): Call todo-validate-name to reject the name of an
2603         existing todo file (needed due to fix in todo-read-file-name).
2604         (todo-reset-nondiary-marker): Also reset in filtered items files.
2605         (todo-reset-done-string, todo-reset-comment-string): Also reset in
2606         regexp filtered items files.
2607         (todo-reset-highlight-item): Also reset in filtered items files.
2608         Fix incorrect variable reference in document string.
2610 2014-05-26  Glenn Morris  <rgm@gnu.org>
2612         * window.el (window--dump-frame): Avoid error in --without-x builds.
2614 2014-05-26  Glenn Morris  <rgm@gnu.org>
2616         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2618 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
2620         * frame.el (set-frame-font): Doc fix.
2622         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
2624 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
2626         * emacs-lisp/package.el (package--download-one-archive):
2627         Use `write-region' instead of `save-buffer' to avoid running various
2628         hooks.  (Bug#17155)
2629         (describe-package-1): Same.  Insert newline at the end of the
2630         buffer if appropriate.
2632 2014-05-26  Juri Linkov  <juri@jurta.org>
2634         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2635         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2636         Add more modifiers: meta, control, shift, hyper, super, alt.
2637         (Bug#17439)
2639         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2640         to allow changing its value with `set-variable'.
2642 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2644         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2645         #; comments.
2646         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2647         New functions.
2648         (scheme-mode-variables): Set syntax-propertize-function instead of
2649         font-lock-syntactic-face-function.
2650         (scheme-font-lock-syntactic-face-function): Delete.
2652         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2654         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2655         (bug#17392).
2657 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
2659         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2660         for a temporary file name.
2662 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
2664         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
2666 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
2668         * net/dbus.el (dbus-init-bus, dbus-call-method)
2669         (dbus-call-method-asynchronously, dbus-send-signal)
2670         (dbus-method-return-internal, dbus-method-error-internal):
2671         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
2673 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2675         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2676         methods which do not have a doc string.  (Bug#17490)
2678 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
2680         * textmodes/reftex-ref.el (reftex-format-special): Make it work
2681         also for AMS Math's \eqref macro.
2683 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
2685         Arrange to never byte-compile the generated -pkg.el file.
2687         * emacs-lisp/package.el (package-generate-description-file):
2688         Output first-line comment to set buffer-local var `no-byte-compile'.
2689         Suggested by Dmitry Gutov:
2690         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
2692 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
2694         Fix bug: Properly quote args to generated -pkg.el `define-package'.
2696         * emacs-lisp/package.el (package-generate-description-file):
2697         Inline `package--alist-to-plist'; rewrite to selectively
2698         quote alist values that are not self-quoting.
2699         (package--alist-to-plist): Delete func.
2701 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
2703         * term/xterm.el (xterm-function-map): Add mapping for shifted
2704         keypad keys.
2706 2014-05-24  Daniel Colascione  <dancol@dancol.org>
2708         * progmodes/subword.el (subword-find-word-boundary): Move point to
2709         correct spot before search. (Bug#17580)
2711         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
2712         breaking the build.
2714 2014-05-24  Leo Liu  <sdl.web@gmail.com>
2716         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
2718 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2720         * minibuffer.el (completion--sreverse): Remove.
2721         (completion--common-suffix): Use `reverse' instead.
2722         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
2724 2014-05-22  Glenn Morris  <rgm@gnu.org>
2726         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
2728 2014-05-21  Daniel Colascione  <dancol@dancol.org>
2730         * files.el (interpreter-mode-alist): Add mksh.
2732         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
2733         derivative.
2734         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
2735         mksh. Improve custom spec; allow regular expressions.
2736         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
2737         (sh-after-hack-local-variables): New function.
2738         (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
2739         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
2740         the normalization.
2741         (sh-canonicalize-shell): Rewrite to support regexes.
2743 2014-05-21  Leo Liu  <sdl.web@gmail.com>
2745         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
2747 2014-05-19  Leo Liu  <sdl.web@gmail.com>
2749         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
2751 2014-05-18  Glenn Morris  <rgm@gnu.org>
2753         * loadup.el:
2754         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
2756 2014-05-14  Sam Steingold  <sds@gnu.org>
2758         * progmodes/python.el (python-shell-get-or-create-process):
2759         Do not bind `current-prefix-arg' so that C-c C-z does not talk
2760         back unless requested.
2762 2014-05-14  Glenn Morris  <rgm@gnu.org>
2764         * subr.el (with-file-modes): New macro.
2765         * printing.el (pr-save-file-modes): Make obsolete.
2766         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
2767         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2768         Add with-file-modes.
2769         * doc-view.el (doc-view-make-safe-dir):
2770         * epg.el (epg--start):
2771         * files.el (locate-user-emacs-file, make-temp-file)
2772         (backup-buffer-copy, move-file-to-trash):
2773         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
2774         * eshell/esh-util.el (eshell-with-private-file-modes)
2775         (eshell-make-private-directory):
2776         * net/browse-url.el (browse-url-mosaic):
2777         * obsolete/mailpost.el (post-mail-send-it):
2778         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
2779         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
2780         Use with-file-modes.
2782         * vc/emerge.el (emerge-make-temp-file): Simplify.
2784 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
2785             Stefan Monnier  <monnier@iro.umontreal.ca>
2787         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2788         suffix (bug#15419).
2790 2014-05-14  Glenn Morris  <rgm@gnu.org>
2792         * vc/emerge.el (emerge-temp-file-prefix):
2793         Make pointless option obsolete.
2794         (emerge-temp-file-mode): Make non-functional option obsolete.
2796 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
2798         * net/browse-url.el (browse-url):
2799         Use `unhandled-file-name-directory' when setting `default-directory',
2800         in order to circumvent stalled remote connections.  (Bug#17425)
2802 2014-05-14  Glenn Morris  <rgm@gnu.org>
2804         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
2805         Optimize on Emacs, which has the relevant functions for ages.
2807 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2809         * simple.el (undo-make-selective-list): Obey undo-no-redo.
2811 2014-05-12  Sam Steingold  <sds@gnu.org>
2813         * calendar/time-date.el (seconds-to-string): New function to
2814         pretty print time delay in seconds.
2816 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2818         * mpc.el (mpc-format): Trim Date to the year.
2819         (mpc-songs-hashcons): Shorten the Date field.
2821         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2822         into autoloading just because of a silly indirection.
2824 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
2826         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
2828 2014-05-12  Glenn Morris  <rgm@gnu.org>
2830         * emacs-lisp/find-gc.el: Move to ../admin.
2832         * printing.el (pr-version):
2833         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2835         * net/browse-url.el (browse-url-mosaic):
2836         Create /tmp/Mosaic.PID as a private file.
2838 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2840         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2841         (advice--member-p): If name is given, only compare the name.
2842         (advice--remove-function): Don't stop at the first match.
2843         (advice--normalize-place): New function.
2844         (add-function, remove-function): Use it.
2845         (advice--add-function): Pass the name, if any, to
2846         advice--remove-function.
2848 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
2850         * electric.el (electric-indent-post-self-insert-function): Don't use
2851         `pos' after modifying the buffer (bug#17449).
2853 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
2855         * calendar/todo-mode.el (todo-insert-item-from-calendar):
2856         Correct argument list to conform to todo-insert-item--basic.
2858 2014-05-12  Glenn Morris  <rgm@gnu.org>
2860         * files.el (cd-absolute): Test if directory is accessible
2861         rather than executable.  (Bug#17330)
2863         * progmodes/compile.el (recompile):
2864         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
2866         * net/browse-url.el (browse-url-mosaic):
2867         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
2868         This is CVE-2014-3423.
2870 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2872         * mouse.el: Use the normal toplevel loop while dragging.
2873         (mouse-set-point): Handle multi-clicks.
2874         (mouse-set-region): Handle multi-clicks for drags.
2875         (mouse-drag-region): Update call accordingly.
2876         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
2877         Use the normal event loop instead of a local while/read-event loop.
2878         (global-map): Remove redundant bindings for double/triple-mouse-1.
2879         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
2880         Generate synthetic down events when the protocol only sends up events.
2881         (xterm-mouse-last): Remove.
2882         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
2883         terminal parameter instead.
2884         (xterm-mouse--set-click-count): New function.
2885         (xterm-mouse-event): Detect/generate double/triple clicks.
2886         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
2888         * info.el (Info-quoted): New face.
2889         (Info-mode-font-lock-keywords): New var.
2890         (Info-mode): Use it.
2892         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
2893         are a hindrance for C-x C-e.
2895 2014-05-11  Leo Liu  <sdl.web@gmail.com>
2897         * net/rcirc.el (rcirc-sentinel): Fix last change.
2899 2014-05-08  Sam Steingold  <sds@gnu.org>
2901         * net/rcirc.el (rcirc-reconnect-delay): New user option.
2902         (rcirc-sentinel): Auto-reconnect to the server if
2903         `rcirc-reconnect-delay' is non-0 (but not more often than its
2904         value in case the host is off-line).
2906 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
2908         * progmodes/grep.el (lgrep): Fix a typo in last commit.
2910 2014-05-09  Glenn Morris  <rgm@gnu.org>
2912         * files.el (file-expand-wildcards):
2913         * man.el (Man-support-local-filenames):
2914         * printing.el (pr-i-directory, pr-interface-directory):
2915         * progmodes/grep.el (lgrep, rgrep):
2916         * textmodes/ispell.el (ispell-call-process)
2917         (ispell-call-process-region, ispell-start-process)
2918         (ispell-init-process): Use file-accessible-directory-p.
2920 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2922         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2923         (xterm-mouse--read-event-sequence-1000): Return nil if something
2924         looks fishy.
2925         (xterm-mouse-event): Propagate it.
2926         (xterm-mouse-translate-1): Handle it.
2928 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
2930         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2931         four slots of the parameter list are filled, make sure to pass it
2932         to the argument list of todo-insert-item--basic.
2934 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2936         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2937         Add optional `seen' argument to detect and break infinite loops.
2939 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
2941         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2942         (trace-unsafe, trace-use-tree): Make parentheses style be
2943         according to Emacs style.
2945 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
2947         * net/tramp-sh.el (tramp-remote-process-environment):
2948         Remove HISTFILE and HISTSIZE; it's too late to set them here.
2949         Add :version entry.
2950         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2951         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
2952         extra "PSx=..." commands.
2953         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2954         (Bug#17295)
2956         (tramp-uudecode): Replace the hard-coded temporary file name by a
2957         format specifier.
2958         (tramp-remote-coding-commands): Enhance docstring.
2959         (tramp-find-inline-encoding): Replace "%t" by a temporary file
2960         name.  (Bug#17415)
2961         This is CVE-2014-3424.
2963 2014-05-08  Glenn Morris  <rgm@gnu.org>
2965         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2966         (find-gc-source-files): Update some names.
2967         (trace-call-tree): Simplify and update.
2968         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
2969         This is CVE-2014-3422.
2971 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2973         * minibuffer.el (completion--try-word-completion): Revert fix for
2974         Bug#15980 (bug#17375).
2976         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2977         Always store button numbers in the same way in xterm-mouse-last;
2978         Don't burp is xterm-mouse-last is not set as expected.
2979         Never return negative indices.
2981 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
2983         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2984         Backtrack one char if the global/char-literal var matcher hits
2985         inside a string.  The next char could be the beginning of an
2986         expression expansion.
2988 2014-05-08  Glenn Morris  <rgm@gnu.org>
2990         * help-fns.el (describe-function-1): Test for an autoload before a
2991         macro, since `macrop' works on autoloads.  (Bug#17410)
2993 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2995         * electric.el (electric-indent-functions-without-reindent): Add yaml.
2997         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2998         Make sure the new point we return is within the new string (bug#17239).
3000 2014-05-05  Daniel Colascione  <dancol@dancol.org>
3002         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3003         Port `gnu' pattern to rx.
3005 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
3007         Remove unneeded prompt when closing a buffer with active
3008         emacsclient ("Buffer ... still has clients"), #16548.
3009         * server.el (server-start): Remove the only call to:
3010         (server-kill-buffer-query-function): Remove.
3012 2014-05-04  Leo Liu  <sdl.web@gmail.com>
3014         * calendar/diary-lib.el (calendar-chinese-month-name-array):
3015         Defvar to pacify compiler.
3017 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
3019         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
3021 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3023         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3024         Use nil rather than `default' for the "default" appearance (bug#17388).
3025         * vc/ediff-util.el (ediff-inferior-compare-regions)
3026         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
3027         a misleading `default' value when it's really a boolean.
3028         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
3029         overlay is not visible.
3031 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
3033         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
3034         (todo-menu): Uncomment and update.
3036 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
3038         * calendar/todo-mode.el: Reimplement item editing to have the same
3039         basic user interface as item insertion, and make small UI and
3040         larger internal improvements to the latter.
3041         (todo-insert-item): Add reference to the Todo mode user manual to
3042         the documentation string.
3043         (todo-insert-item--basic): Rename from todo-basic-insert-item and
3044         adjust all callers.  Change signature to combine diary and
3045         nonmarking arguments.  Incorporate functionality of deleted item
3046         copying command and add error checking.  Remove detailed
3047         descriptions of the arguments from the documentation string, since
3048         this is treated in the Todo mode user manual.
3049         (todo-copy-item, todo-edit-multiline-item)
3050         (todo-edit-done-item-comment, todo-edit-item-header)
3051         (todo-edit-item-time, todo-edit-item-date-from-calendar)
3052         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
3053         (todo-edit-item-date-year, todo-edit-item-date-month)
3054         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
3055         Remove.
3056         (todo-edit-item): Reimplement as wrapper command for
3057         todo-edit-item--next-key and make it distinguish done and not done
3058         todo items.
3059         (todo-edit-item--text): New function, replacing old command
3060         todo-edit-item and incorporating deleted commands
3061         todo-edit-multiline-item and todo-edit-done-item-comment.
3062         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
3063         Use only numeric value of prefix argument.  Remove detailed
3064         descriptions of the arguments from the documentation string, since
3065         this is treated in the Todo mode user manual.
3066         (todo-edit-item--diary-inclusion): New function, replacing old
3067         command todo-edit-item-diary-inclusion and incorporating and fixing
3068         functionality of deleted command todo-edit-item-diary-nonmarking,
3069         making sure to remove todo-nondiary-marker when adding
3070         diary-nonmarking-symbol.
3071         (todo-edit-category-diary-inclusion): Make sure to delete
3072         diary-nonmarking-symbol when adding todo-nondiary-marker.
3073         (todo-edit-category-diary-nonmarking): Fix indentation.
3074         (todo-insert-item--parameters): Group diary and nonmarking
3075         parameters together.
3076         (todo-insert-item--apply-args): Adjust to signature of
3077         todo-insert-item--basic and incorporate copy parameter.
3078         Make small code improvements.
3079         (todo-insert-item--next-param): Improve prompt and adjust it to
3080         new parameter grouping.  Remove obsolete code.
3081         (todo-edit-item--param-key-alist)
3082         (todo-edit-item--date-param-key-alist)
3083         (todo-edit-done-item--param-key-alist): New defconsts.
3084         (todo-edit-item--prompt): New variable.
3085         (todo-edit-item--next-key): New function.
3086         (todo-key-bindings-t): Bind "e" to todo-edit-item.
3087         Remove bindings of deleted commands.
3089 2014-05-04  Leo Liu  <sdl.web@gmail.com>
3091         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
3093 2014-05-04  Glenn Morris  <rgm@gnu.org>
3095         * allout-widgets.el (allout-widgets-tally)
3096         (allout-decorate-item-guides):
3097         * menu-bar.el (menu-bar-positive-p):
3098         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
3099         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
3100         * progmodes/js.el (js--inside-param-list-p)
3101         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
3102         * progmodes/prolog.el (region-exists-p):
3103         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
3104         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
3105         Doc fixes (replace `iff').
3107 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3109         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
3111 2014-05-04  Leo Liu  <sdl.web@gmail.com>
3113         Support Chinese diary entries in calendar and diary.  (Bug#17393)
3114         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
3115         (calendar-chinese-from-absolute-for-diary)
3116         (calendar-chinese-to-absolute-for-diary)
3117         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
3118         (diary-chinese-list-entries): New functions to list and mark
3119         Chinese diary entries in the calendar window.
3120         (diary-chinese-anniversary)
3121         (diary-chinese-insert-anniversary-entry)
3122         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
3123         (diary-chinese-insert-yearly-entry): New commands to insert
3124         Chinese diary entries.
3126         * calendar/diary-lib.el (diary-font-lock-keywords):
3127         Support font-locking Chinese dates.
3129         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
3130         inserting Chinese diary entries.
3132         * calendar/calendar.el (diary-chinese-entry-symbol):
3133         New customizable variable.
3134         (calendar-mode-map): Add bindings for inserting Chinese diary
3135         entries.
3137 2014-05-03  Juri Linkov  <juri@jurta.org>
3139         * dired.el (dired-check-switches, dired-switches-recursive-p):
3140         New functions.  (Bug#17218)
3141         (dired-switches-escape-p, dired-move-to-end-of-filename):
3142         Use `dired-check-switches'.
3143         (dired-insert-old-subdirs, dired-build-subdir-alist)
3144         (dired-sort-R-check): Use `dired-switches-recursive-p'.
3146 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
3148         * simple.el (undo-make-selective-list): New algorithm fixes
3149         incorrectness of position adjustments when undoing in region.
3150         (Bug#17235)
3151         (undo-elt-crosses-region): Make obsolete.
3152         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
3153         New functions to adjust positions using undo-deltas.
3155 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3157         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
3158         the last consecutive closing paren (bug#17345).
3160 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
3162         * dired.el (dired-mode): make terminology for eXpunge command
3163         consistent.  (Bug#17276)
3165 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
3167         * dired.el (dired-initial-position-hook, dired-initial-position):
3168         Doc string fixes.
3170 2014-04-30  Glenn Morris  <rgm@gnu.org>
3172         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
3174 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
3176         * faces.el (face-spec-recalc): Apply X resources only after the
3177         defface spec has been applied. Thus, X resources are no longer
3178         overriden by the defface spec which also fixes issues on win32 where
3179         the toolbar coloring was wrong because it is set through X resources
3180         and was (wrongfully) overriden.  (Bug#16694)
3182 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3184         * textmodes/rst.el (electric-pair-pairs): Declare.
3185         (rst-mode): Set it (bug#17131).
3187 2014-04-30  Juri Linkov  <juri@jurta.org>
3189         * desktop.el (desktop-value-to-string): Let-bind `print-length'
3190         and `print-level' to nil.  (Bug#17351)
3192 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3194         * battery.el (battery-update): Handle the case where battery
3195         status is "N/A" (bug#17319).
3197 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3199         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
3200         to syntax-propertize.
3201         (ps-mode-auto-indent): Mark as obsolete.
3202         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
3203         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
3204         word regexp operators.
3205         (ps-mode-map): Move initialization into declaration.  Remove binding
3206         for TAB, RET, >, ], and }.
3207         (ps-mode-syntax-table): Move initialization into declaration.
3208         Don't give word syntax to non-word chars.
3209         (ps-run-mode-map): Move initialization into declaration.
3210         (ps-mode-menu-main): Remove auto-indent entry.
3211         (ps-mode-smie-rules): New function.
3212         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
3213         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
3214         (ps-mode--string-syntax-table): New const.
3215         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
3216         New functions.
3217         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
3218         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
3220 2014-04-27  Daniel Colascione  <dancol@dancol.org>
3222         * term/xterm.el (xterm-paste): Use large finite timeout when
3223         reading event to avoid putting keys in this-command-keys.
3225 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3227         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
3228         (perl-syntax-propertize-function): Use it.  Extend handling of
3229         here-docs to the unquoted case.
3231 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
3233         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
3234         Use equal-including-properties to compare help-echo strings (bug#17331).
3236 2014-04-25  Leo Liu  <sdl.web@gmail.com>
3238         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3239         Fix syntax for @.  (Bug#17325)
3241 2014-04-25  Daniel Colascione  <dancol@dancol.org>
3243         * emacs-lisp/cl.el (gv): Require gv early to break eager
3244         macro-expansion cycles.
3246 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3248         * simple.el (region-active-p): Check there's a mark (bug#17324).
3250         * simple.el (completion-list-mode-map): Use choose-completion for the
3251         mouse binding as well (bug#17302).
3252         (completion-list-mode, completion-setup-function): Adjust docstring and
3253         echo area message accordingly.
3254         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
3255         calling convention of choose-completion.
3256         * comint.el (comint-dynamic-list-completions):
3257         * term.el (term-dynamic-list-completions): Accept choose-completion.
3259         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
3260         &, |, +, - and * can't be a division (bug#17317).
3262         * term/xterm.el (xterm--version-handler): Don't use modern xterm
3263         features on gnome-terminal (bug#16988).
3265 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
3267         Improve Scheme font-locking for (define ((foo ...) ...) ...).
3269         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
3270         the declared object, ignore zero or more parens, not zero or one.
3272 2014-04-24  Leo Liu  <sdl.web@gmail.com>
3274         * progmodes/xscheme.el (xscheme-expressions-ring)
3275         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
3276         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
3277         (xscheme-allow-output-p, xscheme-prompt)
3278         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
3280         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
3281         Comment out unused functions.
3283 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3285         * info.el: Use lexical-binding and cl-lib.
3286         Use defvar-local and setq-local instead of make-local-variable.
3287         (Info-apropos-matches): Avoid add-to-list.
3288         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
3290 2014-04-24  Daniel Colascione  <dancol@dancol.org>
3292         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
3294 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3296         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
3298 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
3300         * dired.el (dired-insert-set-properties): Do not consider
3301         subdirectory headings and empty lines to be information that
3302         `dired-hide-details-mode' should hide.  (Bug#17228)
3304 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
3306         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3307         Remove test messages.
3308         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
3309         and `target' twice.
3311 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3313         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
3314         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
3316         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
3318 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
3320         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3321         Set "IFS=" when using read builtin, in order to preserve spaces in
3322         the file name.  Add test messages for hunting a bug on hydra.
3323         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
3325 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3327         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3328         Don't prettify a word within a symbol.
3330 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
3332         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
3333         possible.
3335 2014-04-22  Daniel Colascione  <dancol@dancol.org>
3337         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
3338         use defun to define `function-put'.
3340 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3342         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
3343         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
3344         (lisp-mode-variables): Set font-lock-extra-managed-props.
3346         * emacs-lisp/byte-run.el (function-put): New function.
3347         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
3348         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
3349         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
3350         Use them.
3352 2014-04-22  Daniel Colascione  <dancol@dancol.org>
3354         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
3355         Add `full-p' parameter; when nil, call `macroexpand' instead of
3356         `macroexpand-all'.
3358         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3359         Improve docstrings.
3361         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3362         Use lambda function values, not quoted lambdas.
3363         (byte-compile-recurse-toplevel): Remove extraneous &optional.
3365         * emacs-lisp/cl-macs.el
3366         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
3367         (cl-struct-slot-value): Conditionally use aref or nth so that the
3368         compiler produces optimal code.
3370 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3372         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
3373         (inline): Don't inline cl--set-elt.
3374         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
3375         Define as inlinable instead.
3376         (cl-struct-set-slot-value): Remove.
3378         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
3379         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
3380         Use setf instead.
3382 2014-04-21  Daniel Colascione  <dancol@dancol.org>
3384         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
3385         last two parameters after all.
3386         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
3387         (cl--compiler-macro-assoc,cl-struct-slot-value)
3388         (cl-struct-set-slot-value): Stop using them.
3390 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3392         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
3393         entry in image-mode-winprops-alist.
3395 2014-04-21  Daniel Colascione  <dancol@dancol.org>
3397         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
3398         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
3399         (byte-compile-toplevel-file-form): Use it.
3401         * emacs-lisp/cl-macs.el:
3402         (cl--loop-let): Properly destructure `while' clauses.
3404 2014-04-20  Daniel Colascione  <dancol@dancol.org>
3406         * vc/vc.el (vc-root-dir): New public autoloaded function for
3407         generically finding the current VC root.
3408         * vc/vc-hooks.el (vc-not-supported): New error.
3409         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
3411 2014-04-20  Daniel Colascione  <dancol@dancol.org>
3413         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
3414         argument.
3415         (cl--const-expr-val): cl--const-expr-val should macroexpand its
3416         argument in case we're inside a symbol-macrolet.
3417         (cl--do-arglist, cl--compiler-macro-typep)
3418         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
3419         environment to `cl--const-expr-val'.
3420         (cl-struct-sequence-type,cl-struct-slot-info)
3421         (cl-struct-slot-offset, cl-struct-slot-value)
3422         (cl-struct-set-slot-value): New functions.
3424 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3426         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
3427         assignments such as "case=hello" (bug#17297).
3429 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
3431         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
3432         Do not autoload.
3433         (tramp-file-name-handler, tramp-completion-file-name-handler):
3434         Revert patch from 2014-04-10, it isn't necessary anymore.
3435         (tramp-autoload-file-name-handler)
3436         (tramp-register-autoload-file-name-handlers): New defuns.
3437         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
3438         (tramp-register-file-name-handlers): Remove also
3439         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
3440         Do not autoload its invocation, but eval it after loading of 'tramp.
3442         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
3444         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
3446 2014-04-17  Daniel Colascione  <dancol@dancol.org>
3448         Add support for bracketed paste mode; add infrastructure for
3449         managing terminal mode enabling and disabling automatically.
3451         * xt-mouse.el:
3452         (xterm-mouse-mode): Simplify.
3453         (xterm-mouse-tracking-enable-sequence)
3454         (xterm-mouse-tracking-disable-sequence): New constants.
3455         (turn-on-xterm-mouse-tracking-on-terminal)
3456         (turn-off-xterm-mouse-tracking-on-terminal):
3457         Use tty-mode-set-strings and tty-mode-reset-strings terminal
3458         parameters instead of random hooks.
3459         (turn-on-xterm-mouse-tracking)
3460         (turn-off-xterm-mouse-tracking): Delete.
3462         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
3463         (xterm-paste-ending-sequence): New constant.
3464         (xterm-paste): New command used for bracketed paste support.
3466         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
3467         (terminal-init-xterm-bracketed-paste-mode): New function.
3468         (terminal-init-xterm): Call it.
3469         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
3470         and tty-mode-reset-strings instead of random hooks.
3471         (xterm-turn-on-modify-other-keys)
3472         (xterm-turn-off-modify-other-keys)
3473         (xterm-remove-modify-other-keys): Delete obsolete functions.
3475         * term/screen.el: Rewrite to just use the xterm code.
3476         Add copyright notice.  Mention tmux.
3478 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
3480         * image-mode.el (image-mode-window-put): Also update the property of
3481         the "default window".
3482         * doc-view.el (doc-view-new-window-function): If no window
3483         exists, move to the last known page.
3485 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3487         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
3488         here-documents (bug#17262).
3490 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
3492         * term/pc-win.el (x-list-fonts, x-get-selection-value):
3493         Provide doc strings, as required by snarf-documentation.
3495 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3497         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
3498         arg of overlays-at.  Use `invisible-p'.
3500         * obsolete/lucid.el (extent-at):
3501         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
3502         overlays-at.
3503         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
3505 2014-04-16  João Távora  <joaotavora@gmail.com>
3507         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
3508         links.  (Bug#17217).
3510 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3512         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3513         Use mapc to loop over a vector.  (Bug#17257).
3515 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
3517         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
3518         patch, there are new problems with file names containing spaces.
3519         Get rid of backticks.  (Bug#17238)
3521 2014-04-16  João Távora  <joaotavora@gmail.com>
3523         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
3524         possible bug.
3526 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
3528         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
3529         (blink-cursor-mode): Mention customization variables and the
3530         effect of 'blink-cursor-blinks'.
3532 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
3534         * simple.el (undo): Prevent insertion of identity mapping into
3535         undo-equiv-table so as undo-only does not inf loop in the presence
3536         of consecutive nils in undo list.
3538 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
3540         * faces.el (make-face): Deprecate optional argument as it is no
3541         longer needed/used since the conditional X resources handling
3542         has been pushed down to make-face-x-resource-internal itself.
3543         (make-empty-face): Don't pass optional argument to make-face.
3545 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
3547         * savehist.el (savehist-save): Remove workaround for a read-passwd
3548         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
3549         noticing that the shim was still present.
3551 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3553         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
3555 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
3557         * faces.el (face-set-after-frame-default): Remove unused local variable.
3559 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3561         * progmodes/grep.el: Use lexical-binding.
3562         (grep-expand-template): Pass explicit lexical env to `eval'.
3563         (zrgrep): Let-bind grep-find-template explicitly.
3565         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
3566         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
3568 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
3570         * international/characters.el <standard-case-table>: Add entries
3571         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
3572         Set category of Coptic characters be 'g' (Greek).
3574 2014-04-12  Leo Liu  <sdl.web@gmail.com>
3576         * progmodes/octave.el (completion-table-with-cache):
3577         Define if not available.
3578         (octave-goto-function-definition, octave-sync-function-file-names)
3579         (octave-find-definition-default-filename):
3580         Backquote upattern for compatibility.
3582 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
3584         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
3585         name twice due to backticks.  (Bug#17238)
3587 2014-04-12  Glenn Morris  <rgm@gnu.org>
3589         * term/w32-win.el (x-win-suspend-error):
3590         * term/x-win.el (x-win-suspend-error): Sync docs.
3592 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
3594         * faces.el (make-face): Remove deprecated optional argument.
3595         The conditional application of X resources is handled directly by
3596         make-face-x-resource-internal since Emacs 24.4.
3597         (make-empty-face): Don't pass optional argument to make-face.
3599 2014-04-11  Glenn Morris  <rgm@gnu.org>
3601         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
3603 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3605         Ediff's overlay priorities cause more trouble than they solve.
3606         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
3607         (ediff-highest-priority): Remove function (bug#17234).
3608         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
3609         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
3610         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
3611         overlay priorities.
3613 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
3615         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
3616         entry; use symbol boundaries to avoid mis-matches.
3618 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
3620         * net/tramp.el (tramp-file-name-handler)
3621         (tramp-completion-file-name-handler): Avoid recursive loading.
3623         * net/tramp-sh.el (tramp-make-copy-program-file-name):
3624         Quote result also locally.
3626 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3628         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
3629         Remove left-over code.
3631         * newcomment.el (comment-indent-new-line): Sink code where it's used.
3632         Reuse the previous comment's indentation unconditionally if it's on its
3633         own line.
3635 2014-04-09  Daniel Colascione  <dancol@dancol.org>
3637         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
3638         `no-syntax-crossing' arguments.  Forward to `up-list'.
3639         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
3640         Implement logic for escaping from strings.  Use narrowing to deal
3641         with corner cases.
3643 2014-04-09  Leo Liu  <sdl.web@gmail.com>
3645         * net/rcirc.el (rcirc-connection-info): New variable.
3646         (rcirc-connect): Use it to store connection info.
3647         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
3648         for killed process.
3649         (rcirc-cmd-reconnect): New command.  (Bug#17045)
3650         (rcirc-mode, set-rcirc-encode-coding-system)
3651         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
3653 2014-04-09  Daniel Colascione  <dancol@dancol.org>
3655         * emacs-lisp/cl-indent.el: Add comment claiming
3656         facility is also good for elisp.
3657         (lisp-indent-find-method): New function.
3658         (common-lisp-indent-function): Recognize cl-loop.
3659         (common-lisp-indent-function-1): Recognize cl constructs; use
3660         `lisp-indent-find-method' instead of `get' directly.
3661         (if): Use else-body style for elisp.
3663 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
3665         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3666         Module methods.  (Bug#17216)
3668 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3670         * help.el (describe-bindings): Fix buffer handling (bug#17210).
3671         (describe-bindings-internal): Mark obsolete.
3673 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3675         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
3676         buffer-file-name, and buffer-file-truename any more.
3678 2014-04-08  Leo Liu  <sdl.web@gmail.com>
3680         Use lexical-binding and require cl-lib.
3681         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
3682         (rcirc-handler-generic, rcirc-fill-paragraph)
3683         (rcirc-format-response-string, rcirc-target-buffer)
3684         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
3685         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
3686         (rcirc-ctcp-sender-PING, rcirc-browse-url)
3687         (rcirc-markup-timestamp, rcirc-markup-attributes)
3688         (rcirc-markup-my-nick, rcirc-markup-urls)
3689         (rcirc-markup-bright-nicks, rcirc-markup-fill)
3690         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
3691         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
3692         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
3693         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
3694         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
3695         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
3696         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
3697         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
3698         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
3699         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
3700         use cl-lib.
3702 2014-04-07  João Távora  <joaotavora@gmail.com>
3704         * elec-pair.el (electric-pair--syntax-ppss):
3705         When inside comments parse from comment beginning.
3706         (electric-pair--balance-info): Fix typo in comment.
3707         (electric-pair--in-unterminated-string-p): Delete.
3708         (electric-pair--unbalanced-strings-p): New function.
3709         (electric-pair-string-bound-function): New var.
3710         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3711         according to `electric-pair--in-unterminated-string-p'
3713         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3714         Inhibit quote pairing if point-max is inside an unterminated string.
3715         (electric-pair--looking-at-unterminated-string-p): Delete.
3716         (electric-pair--in-unterminated-string-p): New function.
3718 2014-04-07  Glenn Morris  <rgm@gnu.org>
3720         * shell.el (shell-directory-tracker):
3721         Go back to just ignoring failures.  (Bug#17159)
3723 2014-04-07  João Távora  <joaotavora@gmail.com>
3725         Fix `electric-pair-delete-adjacent-pairs' in modes binding
3726         backspace. (bug#16981)
3727         * elec-pair.el (electric-pair-backward-delete-char): Delete.
3728         (electric-pair-backward-delete-char-untabify): Delete.
3729         (electric-pair-mode-map): Bind backspace to a menu item filtering
3730         a new `electric-pair-delete-pair' command.
3731         (electric-pair-delete-pair): New command.
3733         * progmodes/python.el (python-electric-pair-string-delimiter):
3734         Fix triple-quoting electricity.  (Bug#17192)
3736         * elec-pair.el (electric-pair-post-self-insert-function):
3737         Don't skip whitespace when `electric-pair-text-pairs' and
3738         `electric-pair-pairs' were used. syntax to
3739         electric-pair--skip-whitespace.  (Bug#17183)
3741 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3743         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
3744         "<F>".  (Bug#17199)
3746 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3748         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
3749         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
3751 2014-04-07  Glenn Morris  <rgm@gnu.org>
3753         * help.el (view-lossage): Doc tweak.
3755 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
3757         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
3758         only when inhibit-x-resources is nil, and do that earlier in the
3759         function.  Doc fix.  (Bug#16694)
3760         (face-spec-choose): Accept additional optional argument, whose
3761         value is returned if no matching attributes are found.
3762         (face-spec-recalc): Use the new optional argument when calling
3763         face-spec-choose.  (Bug#16378)
3764         (make-face-x-resource-internal): Do nothing when
3765         inhibit-x-resources is non-nil.  Don't touch the default face if
3766         reversed video is given--as was done in previous versions of Emacs.
3767         (face-set-after-frame-default): Don't call
3768         make-face-x-resource-internal here.  (Bug#16434)
3770 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
3772         * doc-view.el (doc-view-bookmark-jump):
3773         Use `bookmark-after-jump-hook' to jump to the right page after the
3774         buffer is shown in a window.  (bug#16090)
3776 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3778         * international/characters.el (mirroring): Fix last change:
3779         instead of loading uni-mirrored.el explicitly, do that implicitly
3780         by creating the 'mirroring' uniprop table.  This avoids announcing
3781         the loading of uni-mirrored.el.
3783 2014-04-07  Glenn Morris  <rgm@gnu.org>
3785         * files.el (buffer-stale--default-function)
3786         (buffer-stale-function, revert-buffer--default):
3787         * autorevert.el (auto-revert-buffers): Doc tweaks.
3789 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3791         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
3793 2014-04-07  Glenn Morris  <rgm@gnu.org>
3795         * files.el (make-backup-file-name-function)
3796         (make-backup-file-name, make-backup-file-name--default-function)
3797         (make-backup-file-name-1, find-backup-file-name)
3798         (revert-buffer-function, revert-buffer-insert-file-contents-function)
3799         (buffer-stale--default-function, buffer-stale-function)
3800         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
3801         (revert-buffer, revert-buffer--default)
3802         (revert-buffer-insert-file-contents--default-function):
3803         Doc fixes related to defaults no longer being nil.
3804         (make-backup-file-name-function): Bump :version.
3805         Restore nil as a valid but deprecated custom type.
3807 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3809         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3810         Handle $' used as a variable (bug#17174).
3812         * progmodes/perl-mode.el (perl-indent-new-calculate):
3813         Handle forward-sexp failure (bug#16985).
3814         (perl-syntax-propertize-function): Add "foreach" and "for" statement
3815         modifiers introducing expressions (bug#17116).
3817 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3819         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
3821 2014-04-05  Leo Liu  <sdl.web@gmail.com>
3823         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3824         Add define-compilation-mode.
3826 2014-04-04  João Távora  <joaotavora@gmail.com>
3828         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
3829         parse from comment beginning.
3830         (electric-pair--balance-info): Fix typo in comment.
3831         (electric-pair--in-unterminated-string-p): Delete.
3832         (electric-pair--unbalanced-strings-p): New function.
3833         (electric-pair-string-bound-function): New var.
3834         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3835         according to `electric-pair--in-unterminated-string-p'.
3837 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3839         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
3840         Move declaration before first use.
3841         (reftex-move-to-next-arg): Silence compiler warning.
3843 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
3845         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
3846         Use `window-total-width' instead of `window-width'.
3848 2014-04-03  Daniel Colascione  <dancol@dancol.org>
3850         * subr.el (set-transient-map): Remove rms's workaround entirely;
3851         use new `suspicious-object' subr to mark our lambda for closer
3852         scrutiny during gc.
3854 2014-04-02  Richard Stallman  <rms@gnu.org>
3856         * subr.el (set-transient-map): Comment out previous change.
3858 2014-04-02  Glenn Morris  <rgm@gnu.org>
3860         * menu-bar.el (menu-bar-file-menu):
3861         * vc/ediff.el (ediff-current-file):
3862         Update for revert-buffer-function no longer being nil by default.
3864         * simple.el (command-execute): Respect nil disabled-command-function.
3866 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3868         * simple.el (command-execute): Do not execute the command when it
3869         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
3871 2014-04-02  Juri Linkov  <juri@jurta.org>
3873         * dired-aux.el (dired-compress-file): Don't use string-match-p
3874         because its match data is used afterwards.
3876 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3878         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
3879         0 like nil.
3881 2014-04-02  João Távora  <joaotavora@gmail.com>
3883         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3884         Inhibit quote pairing if point-max is inside an unterminated string.
3885         (electric-pair--looking-at-unterminated-string-p):
3886         Delete.
3887         (electric-pair--in-unterminated-string-p): New function.
3889 2014-04-01  Daniel Colascione  <dancol@dancol.org>
3891         * minibuffer.el (minibuffer-complete): Prevent assertion failure
3892         when trying to complete the prompt.
3894 2014-03-31  Leo Liu  <sdl.web@gmail.com>
3896         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3897         Refactor out eldoc-documentation-function-default.
3898         (eldoc-documentation-function-default): New function.
3899         (eldoc-documentation-function): Change value.
3901 2014-03-31  Glenn Morris  <rgm@gnu.org>
3903         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
3905         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
3906         (vhdl-compose-components-package, vhdl-compose-configuration):
3907         Abbreviate default-directory (missing from some previous upstream sync).
3909 2014-03-31  Reto Zimmermann  <reto@gnu.org>
3911         Sync with upstream vhdl mode v3.35.2.
3912         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3913         (top-level): No longer require assoc.
3914         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
3915         New functions.  Use throughout to replace aget etc.
3916         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
3917         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
3918         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
3919         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
3920         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
3921         except `vhdl-compiler'.
3922         (vhdl-error-regexp-add-emacs): Remove all other compilers,
3923         when appropriate.
3925 2014-03-31  Glenn Morris  <rgm@gnu.org>
3927         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
3928         Revert 2014-03-26 merge goof; go back to using defalias.
3930 2014-03-30  Daniel Colascione  <dancol@dancol.org>
3932         * comint.el (comint-send-input):
3933         Deactivate completion-in-region-mode before we send comint input.
3934         (Bug#17139).
3936         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
3937         on keyboard-quit.
3939 2014-03-29  Glenn Morris  <rgm@gnu.org>
3941         * textmodes/reftex.el: Manage most autoloads automatically.
3942         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
3943         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
3944         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
3945         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
3946         * textmodes/reftex-toc.el: Set generated-autoload-file,
3947         and add autoload cookies for reftex.el.
3948         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
3950 2014-03-28  Glenn Morris  <rgm@gnu.org>
3952         * cus-start.el (report-emacs-bug-address): Set custom properties.
3953         * mail/emacsbug.el (report-emacs-bug-address):
3954         Variable is now defined in emacs.c.
3956         * mail/emacsbug.el (report-emacs-bug):
3957         Include system-configuration-features.
3959 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
3961         * simple.el (cycle-spacing): Never delete spaces on first run by
3962         default, but do so in a new 'fast mode and if there are already
3963         N spaces (the previous behavior).
3964         Compare N with its value in previous invocation so that changing
3965         prefix argument restarts `cycle-spacing' sequence.
3966         The idea is that with this change, binding M-SPC to
3967         `cycle-spacing' should not introduce any changes in behavior of
3968         the binding so long as users do not type M-SPC twice in a raw with
3969         the same prefix argument or lack thereof.
3971 2014-03-28  Glenn Morris  <rgm@gnu.org>
3973         * faces.el (term-file-aliases): New variable.
3974         (tty-run-terminal-initialization): Respect term-file-aliases.
3975         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
3976         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
3977         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
3979 2014-03-27  Glenn Morris  <rgm@gnu.org>
3981         * startup.el (inhibit-startup-hooks): Doc tweak.
3982         (normal-top-level): Simplify running of hooks.
3983         For window-setup-hook, respect inhibit-startup-hooks.
3984         (command-line-1): Don't set window-setup-hook to nil.
3986         Allow selective autoloading from obsolete/ directory.
3987         * Makefile.in (obsolete-autoloads): New rule.
3988         (autoloads): Run obsolete-autoloads.
3989         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
3990         * simple.el (iswitchb-mode): Remove hand-written autoloads.
3992 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
3994         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3995         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
3997         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3998         Don't propertize `?' or `!' as symbol constituent when after
3999         colon.  (Bug#17097)
4001 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
4003         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
4004         which is no longer needed and causes trouble in GTK builds (bug#17046).
4006         * emacs-lisp/package-x.el (package--archive-contents-from-url):
4007         Use url-insert-file-contents; package-handle-response no longer exists.
4009 2014-03-26  Daniel Colascione  <dancol@dancol.org>
4011         * simple.el (process-menu-mode-map): New variable.
4012         (process-menu-delete-process): New command.
4014 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
4016         * emacs-lisp/package.el: Fix bug#16733 (again).
4017         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
4018         (url-http-target-url): Remove unused declarations.
4019         (package-handle-response): Remove.
4020         (package--with-work-buffer): Use url-insert-file-contents and simplify.
4021         (package--download-one-archive): Use current-buffer instead of
4022         dynamic binding of `buffer'.
4023         (describe-package-1): Do not decode readme-string.
4025 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
4027         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
4029         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
4030         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
4031         `remote-file-name-inhibit-cache' to nil in the second pass.
4032         (tramp-find-executable): Do not call "which" on SunOS.
4033         (tramp-send-command-and-check): Fix docstring.
4034         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
4035         check whether source directory has set the sticky bit.
4037 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
4039         * simple.el (primitive-undo): Only process marker adjustments
4040         validated against their corresponding (TEXT . POS).  Issue warning
4041         for lone marker adjustments in undo history.  (Bug#16818)
4042         (undo-make-selective-list): Add marker adjustments to selective
4043         undo list based on whether their corresponding (TEXT . POS) is in
4044         the region.  Remove variable adjusted-markers, which was unused
4045         and only non nil during undo-make-selective-list.
4046         (undo-elt-in-region): Return nil when passed a marker adjustment
4047         and explain in function doc.
4049 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4051         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
4053 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
4055         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
4056         Match special global variables without curlies, too.
4057         (ruby-font-lock-keywords): Simplify the matcher for special global
4058         variables.  Don't require a non-word character after the variable.
4059         (Bug#17057)
4061 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4063         * simple.el (redisplay-highlight-region-function): Increase priority of
4064         overlay to make sure boundaries are visible (bug#15899).
4066 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
4068         * frameset.el (frameset--initial-params): Fix typo in parameter name.
4069         (frameset-restore): Compare display strings with equal.
4071         * frame.el (make-frame): Don't quote display name in error message,
4072         it is already a string.
4074 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4076         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
4077         the password.
4079 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
4081         * emacs-lisp/package.el (package--add-to-archive-contents):
4082         Include already installed and built-in packages in
4083         `package-archive-contents'.
4084         (package-install): Don't include already installed packages in the
4085         options during interactive invocation.  (Bug#16762)
4086         (package-show-package-list): If the buffer is already displayed in
4087         another window, switch to that window.
4089 2014-03-26  Reto Zimmermann  <reto@gnu.org>
4091         Sync with upstream vhdl mode v3.35.1.
4092         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4093         (vhdl-compiler-alist): Doc fix.
4094         (vhdl-goto-line): Remove.
4095         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
4096         (vhdl-mode) <paragraph-start>: Fix value.
4097         (vhdl-fix-statement-region): Not `for' in wait-statement.
4098         (vhdl-beautify-region): Also (un)tabify.
4099         (vhdl-get-visible-signals):
4100         Scan declarative part of generate statements.
4101         (vhdl-template-record): Fix indentation for record type declaration.
4102         (vhdl-expand-abbrev, vhdl-expand-paren):
4103         Revert to using fset again rather than defalias.
4104         (vhdl-scan-directory-contents): Tweak.
4105         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
4106         (vhdl-compose-components-package):
4107         Replace vhdl-goto-line with forward-line.
4108         (top-level): Tweak speedbar frame selection.
4109         (vhdl-generate-makefile-1): Support for compilers with no
4110         unit-to-file name mapping (create directory with dummy files).
4112 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
4114         Sync with upstream verilog-mode revision 702457d.
4115         * progmodes/verilog-mode.el (verilog-mode-version): Update.
4116         (create-lockfiles): Declare.
4117         (verilog-read-decls): Fix module header imports, bug709.
4118         Reported by Victor Lau.
4119         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
4120         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
4121         interface-only modules, bug721.  Reported by Dean Hoyt.
4123 2014-03-26  Glenn Morris  <rgm@gnu.org>
4125         * obsolete/gulp.el: Move here from emacs-lisp/.
4127         * files.el (lock-buffer, unlock-buffer, file-locked-p):
4128         Remove fallback aliases, since they are always defined now.
4130 2014-03-24  Daniel Colascione  <dancol@dancol.org>
4132         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
4133         instead of cl-loop search function.
4135 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
4137         * calendar/parse-time.el (parse-time-iso8601-regexp)
4138         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
4139         it more generally.
4141 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
4143         * net/dns.el (network-interface-list): Define for XEmacs.
4145 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
4147         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
4148         the network interfaces changed.
4149         (dns-query): Use it to flush the data.
4151 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
4153         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
4155 2014-03-23  Daniel Colascione  <dancol@dancol.org>
4157         Change subword-mode to use `find-word-boundary-function-table' and
4158         replace `capitalized-words-mode'.  Also, convert to lexical binding.
4159         * progmodes/cap-words.el: Delete now-obsolete file.
4160         * progmodes/subword.el: Reimplement using
4161         `find-word-boundary-function-table'.
4162         (subword-mode-map): Hollow out.
4163         (capitalized-words-mode): Define as obsolete alias for
4164         `subword-mode'.
4165         (subword-mode, superword-mode): Tweak documentation to reflect new
4166         implementation; call `subword-setup-buffer'.
4167         (subword-forward, subword-capitalize): Add underscore to indicate
4168         unused variable.
4169         (subword-find-word-boundary-function-table): New constant.
4170         (subword-empty-char-table): New constant.
4171         (subword-setup-buffer): New function.
4172         (subword-find-word-boundary): New function.
4174 2014-03-23  Daniel Colascione  <dancol@dancol.org>
4176         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
4177         list to look for keyword arguments instead of `memq', fixing
4178         (Bug#3647) --- unfortunately, only for freshly-compiled code.
4179         Please make bootstrap.
4181 2014-03-22  Glenn Morris  <rgm@gnu.org>
4183         * dired.el (dired-read-regexp): Make obsolete.
4184         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
4185         (dired-flag-files-regexp):
4186         * dired-aux.el (dired-mark-read-regexp):
4187         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
4189         * startup.el (fancy-startup-text):
4190         * help.el (describe-gnu-project): Visit online info about GNU project.
4192         * help-fns.el (help-fns--interactive-only): New function.
4193         (help-fns-describe-function-functions): Add the above function.
4194         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
4195         (next-line, previous-line): Remove hand-written interactive-only
4196         information from doc strings, it is auto-generated now.
4197         * bookmark.el (bookmark-write):
4198         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
4199         (epa-mail-import-keys): Mark interactive-only,
4200         and remove hand-written interactive-only information from doc strings.
4201         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
4202         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
4203         * files.el (not-modified):
4204         * simple.el (mark-whole-buffer): Mark interactive-only.
4206         * emacs-lisp/byte-run.el (defun-declarations-alist):
4207         Add interactive-only.  Doc tweak.
4208         (macro-declarations-alist): Doc tweak.
4209         * subr.el (declare): Doc tweak (add xref to manual).
4210         * comint.el (comint-run):
4211         * files.el (insert-file-literally, insert-file):
4212         * replace.el (replace-string, replace-regexp):
4213         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4214         (delete-forward-char, goto-line, insert-buffer, next-line)
4215         (previous-line): Set interactive-only via declare.
4217 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
4219         * emacs-lisp/package.el (package-desc): Use the contents of the
4220         quoted form, not its cdr.  (Bug#16873)
4222 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
4224         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
4225         benefit of doc.c; change parameter profile to match the X function.
4227 2014-03-22  Leo Liu  <sdl.web@gmail.com>
4229         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
4230         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
4232 2014-03-21  Richard Stallman  <rms@gnu.org>
4234         * battery.el (battery-linux-sysfs): Search for each field
4235         from the beginning of the buffer.
4237         * subr.el (set-transient-map): Clear out function and value
4238         of the temporary symbol when we're done with it.
4240         * mail/rmailsum.el (rmail-summary-delete-forward):
4241         Optimize case of reaching end and handling count.
4242         (rmail-summary-mark-deleted): Optimize when N is current msg.
4243         Don't create new summary line.
4244         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
4245         (rmail-summary-undelete-many): Rewrite for speed.
4246         (rmail-summary-msg-number): New function.
4248         * mail/rmail.el (rmail-delete-message): Update summary.
4249         (rmail-undelete-previous-message): Handle repeat count arg.
4250         (rmail-delete-backward, rmail-delete-forward): Likewise.
4252 2014-03-21  Daniel Colascione  <dancol@dancol.org>
4254         * mail/emacsbug.el (report-emacs-bug): Include memory usage
4255         information in bug reports.
4257 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
4259         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
4260         and `tramp-copy-env'.
4262         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
4263         (tramp-maybe-open-connection): Handle `tramp-login-env'.
4265 2014-03-21  Glenn Morris  <rgm@gnu.org>
4267         * electric.el (electric-indent-post-self-insert-function): Add doc.
4269 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
4271         * emacs-lisp/package.el (package-compute-transaction):
4272         Use `version-list-<=' to compare the requirement version against
4273         the version of package already to be installed.  Update the error
4274         message.  (Bug#16826)
4276         * progmodes/ruby-mode.el (ruby-smie-rules):
4277         Add indentation rule for ` @ '.  (Bug#17050)
4279 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
4281         * align.el (align-regexp): Remove superfluous backslash.
4283         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
4284         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
4285         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
4286         Fix docstring typos.
4287         (ffap-next): Use C-u in docstring.
4288         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
4289         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
4290         Remove superfluous backslashes.
4291         (ffap-string-at-point): Reflow docstring.
4293         * server.el (server-host): Reflow docstring.
4294         (server-unload-function): Fix docstring typo.
4295         (server-eval-at): Remove superfluous backslash.
4297         * skeleton.el (skeleton-insert): Remove superfluous backslash.
4298         (skeleton-insert): Doc fix.
4299         (skeleton-insert): Reflow docstring.
4301         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
4302         (tty-color-approximate, tty-color-by-index, tty-color-values)
4303         (tty-color-desc): Remove superfluous backslashes.
4305 2014-03-21  Glenn Morris  <rgm@gnu.org>
4307         * cus-start.el (history-length): Bump :version.
4309         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4310         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4311         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4312         Don't set `make-backup-files'.
4314         * info.el (info--prettify-description): New function,
4315         to give info-finder descriptions consistent case, punctuation.
4316         (Info-finder-find-node): Use it.  Sort packages.
4317         Refer to "description" rather than "commentary".
4319 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
4321         * frameset.el (frameset--print-register): New function.
4322         (frameset-to-register): Use it.
4324 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
4326         * progmodes/hideif.el (hif-string-to-number): New function.
4327         (hif-tokenize): Use it to understand non-decimal floats.
4329         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
4331         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
4333 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4335         * electric.el (electric-newline-and-maybe-indent): New command.
4336         Bind it globally to C-j.
4337         (electric-indent-mode): Don't mess with the global map any more.
4338         Don't drop the post-self-insert-hook is some buffer is still using it
4339         (bug#16770).
4341         * bindings.el (global-map): Remove C-j binding.
4343         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
4344         the docstring of functions advised before dumping (bug#16993).
4346 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
4348         * ps-print.el (ps-generate-postscript-with-faces):
4349         Explicitly deactivate the mark (bug#16866).
4350         * simple.el (deactivate-mark): Update region highlight.
4352 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
4354         * emacs-lisp/package.el (describe-package-1):
4355         Decode commentary (bug#16733).
4357 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
4359         * custom.el (defcustom): Doc fix: recommend avoiding destructive
4360         modification of the value argument of :set (bug#16755).
4362 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4364         * simple.el (newline-and-indent): Do autofill (bug#17031).
4366 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
4368         * newcomment.el (comment-normalize-vars): Only add escaping check
4369         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
4370         (comment-beginning): Use `narrow-to-region' instead of moving back
4371         one character.
4372         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
4373         (comment-start-skip): Update the docstring.
4375 2014-03-18  Richard Stallman  <rms@gnu.org>
4377         * dired.el (dired-display-file): Force use of other window.
4379 2014-03-18  Daniel Colascione  <dancol@dancol.org>
4381         * startup.el (tty-handle-args): Remove debug message from 2007.
4383 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4385         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
4386         (advice--make-interactive-form): Use it to avoid (auto)loading function.
4387         (advice--make-1, advice-add, advice-remove):
4388         Remove braindead :advice-pending hack.
4390 2014-03-17  Glenn Morris  <rgm@gnu.org>
4392         * calendar/calendar.el (calendar-generate-month): Apply weekend
4393         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
4395 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
4397         * net/tramp.el (tramp-action-out-of-band): Read pending output.
4398         (tramp-call-process): Trace also DESTINATION.
4400         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4401         Quote file names when they are local.  Remove superfluous trace.
4403 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
4405         * newcomment.el (comment-beginning): If `comment-start-skip'
4406         doesn't match, move back one char and try again.  (Bug#16971)
4408         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4409         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4410         Set `comment-start-skip' to a simpler value that doesn't try to
4411         check if the semicolon is escaped (this is handled by
4412         `syntax-ppss' now).  (Bug#16971)
4414         * progmodes/scheme.el (scheme-mode-variables): Same.
4416 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
4418         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
4419         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
4420         current (Bug#16816, Bug#17007).
4421         (with-current-buffer-window): New macro doing the same as
4422         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
4423         * help.el (help-print-return-message): Warn in doc-string to not
4424         use this in `with-help-window'.
4425         (describe-bindings-internal): Call `describe-buffer-bindings'
4426         from within help buffer.  See Juanma's scenario in (Bug#16816).
4427         (with-help-window): Update doc-string.
4428         * dired.el (dired-mark-pop-up):
4429         * files.el (save-buffers-kill-emacs):
4430         * register.el (register-preview): Use `with-current-buffer-window'
4431         instead of `with-temp-buffer-window'.
4433 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
4435         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
4436         Implement inserting into current buffer, documented in their docstrings.
4437         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
4438         (rst-section-tree-point, rst-forward-section, rst-indent)
4439         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
4440         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
4441         (rst-font-lock-handle-adornment-pre-match-form)
4442         (rst-repeat-last-character): Reflow docstrings.
4443         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
4444         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
4445         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
4446         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
4447         Fix docstring typos.
4448         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
4449         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
4450         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
4452 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
4454         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
4455         for compatibility with other ports.
4456         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
4457         from the -xrm command line argument, but in the Nextstep port its value
4458         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
4460         * progmodes/python.el (defconst, python-syntax-count-quotes)
4461         (python-indent-region, python-indent-shift-right)
4462         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
4463         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
4464         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
4465         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
4466         (inferior-python-mode, python-shell-make-comint, run-python-internal)
4467         (python-shell-buffer-substring, python-shell-send-buffer)
4468         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
4469         (python-completion-complete-at-point, python-fill-docstring-style)
4470         (python-eldoc-function, python-imenu-format-item-label)
4471         (python-imenu-format-parent-item-label)
4472         (python-imenu-format-parent-item-jump-label)
4473         (python-imenu--build-tree, python-imenu-create-index)
4474         (python-imenu-create-flat-index): Fix docstring typos.
4475         (python-indent-context, python-shell-prompt-regexp, run-python):
4476         Remove superfluous backslashes.
4477         (python-indent-line, python-nav-beginning-of-defun)
4478         (python-shell-get-buffer, python-shell-get-process)
4479         (python-info-current-defun, python-info-current-line-comment-p)
4480         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
4481         (python-indent-post-self-insert-function, python-shell-send-file)
4482         (python-shell-completion-get-completions)
4483         (python-shell-completion-complete-or-indent)
4484         (python-eldoc--get-doc-at-point): Reflow docstrings.
4486 2014-03-14  Glenn Morris  <rgm@gnu.org>
4488         * emacs-lisp/package.el (package-menu-mode-map):
4489         Replace use of obsolete function alias.  Tweak menu item text.
4491         * info.el (Info-finder-find-node):
4492         Ignore the `emacs' metapackage.  (Bug#10813)
4494         * finder.el (finder-list-matches): Include unversioned packages
4495         in the result of a keyword search.
4497         * finder.el (finder--builtins-descriptions): New constant.
4498         (finder-compile-keywords): Use finder--builtins-descriptions.
4500 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
4502         * simple.el (blink-matching-paren): Describe the new value,
4503         `jump', enabling the old behavior.
4504         (blink-matching-open): Use that value.  (Bug#17008)
4506 2014-03-14  Glenn Morris  <rgm@gnu.org>
4508         * finder.el (finder-no-scan-regexp): Add leim-list.
4509         (finder-compile-keywords):
4510         Don't skip files with same basename.  (Bug#14010)
4511         * Makefile.in (setwins_finder): New, excluding leim.
4512         (finder-data): Use setwins_finder.
4514         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
4515         (help-function-arglist, help-make-usage): Move from here...
4516         * help.el (help-split-fundoc, help-add-fundoc-usage)
4517         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
4518         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
4520 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
4522         * net/socks.el (socks, socks-override-functions)
4523         (socks-find-services-entry):
4524         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
4525         (hif-find-ifdef-block):
4526         * progmodes/modula2.el (m2-indent): Fix docstring typos.
4528         * net/tls.el (tls-program): Reflow docstring.
4530         * progmodes/pascal.el (pascal-mode-abbrev-table)
4531         (pascal-imenu-generic-expression, pascal-auto-endcomments)
4532         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
4533         (pascal-outline-mode): Fix docstring typos.
4534         (pascal-mode): Let define-derived-mode document mode hook.
4535         (pascal-uncomment-area): Reflow.
4536         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
4538         * progmodes/opascal.el (opascal-compound-block-indent)
4539         (opascal-case-label-indent): Fix docstring typos.
4540         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
4542 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
4544         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4545         Fontify multiple adjacent negation chars.  (Bug#17004)
4547 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
4549         * emacs-lisp/package.el (package--prepare-dependencies):
4550         Accept requirements without explicit version (bug#14941).
4552 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4554         * register.el (register-separator, copy-to-register): Doc fixes.
4555         (register-preview-default): Remove unnecessary call to concat.
4557         * frameset.el (frameset-restore): When checking for a visible frame,
4558         use the action map instead of calling visible-frame-list.
4560 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
4562         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
4564 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
4566         * window.el (fit-frame-to-buffer): Get maximum width from
4567         display's width instead of height.
4569 2014-03-12  Glenn Morris  <rgm@gnu.org>
4571         * desktop.el (desktop-restore-frames)
4572         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
4573         (desktop-restore-reuses-frames): Doc tweaks.
4575         * electric.el (electric-indent-mode): Doc fix.
4577 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4579         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
4580         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
4581         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
4582         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
4583         (cvs-dired-use-hook): Fix docstring typos.
4584         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
4585         Doc fixes.
4587         * vc/pcvs-defs.el (cvs-auto-remove-handled)
4588         (cvs-auto-remove-directories, cvs-default-ignore-marks)
4589         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
4590         (cvs-execute-single-dir): Fix docstring typos.
4592         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
4593         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
4595         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
4597         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
4598         Fix docstring typos.
4600 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4602         * frameset.el (frameset--jump-to-register): Add autoload; it could be
4603         called from jump-to-register after unloading the frameset package.
4605 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4607         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
4608         (bug#16975).  Deactivate the mark before setting it to nil.
4609         (activate-mark): Do nothing if region is already active.
4611 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
4613         * frameset.el (frameset--target-display): Remove definition; declare.
4614         (frameset-save, frameset-restore): Let-bind frameset--target-display.
4616 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4618         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
4619         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
4620         when the advice is pending.
4621         (advice-remove): Remove this marker when not needed any more.
4623 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
4625         * frameset.el: Separate options for reusing frames and cleaning up.
4626         (frameset--reuse-list): Remove definition; declare.
4627         (frameset--action-map): Declare.
4628         (frameset--find-frame-if): Doc fix.
4629         (frameset--restore-frame): Cache frame action.
4630         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
4631         how to clean up the frame list after restoring.  Remove cleaning
4632         options from REUSE-FRAMES.  Change all keyword values to symbols.
4633         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
4635         * desktop.el (desktop-restore-forces-onscreen)
4636         (desktop-restore-reuses-frames): Use non-keyword values.
4637         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
4639 2014-03-10  Glenn Morris  <rgm@gnu.org>
4641         * files.el (find-file): Doc fix: update info node name.
4643         * emacs-lisp/advice.el (ad-add-advice, defadvice):
4644         Doc fix: remove references to deleted info nodes.
4646 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
4648         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4649         Do not add nil to the environment, when there's no remote `locale'.
4650         (tramp-find-inline-encoding): Check, that the remote host has
4651         installed perl, before sending scripts.
4653 2014-03-10  Leo Liu  <sdl.web@gmail.com>
4655         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4656         Clear eldoc-last-message.  (Bug#16920)
4658 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4660         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
4661         (bug#14430).
4663 2014-03-09  Juri Linkov  <juri@jurta.org>
4665         * ansi-color.el (ansi-color-names-vector): Copy default colors
4666         from `xterm-standard-colors' that look well on the default white
4667         background (and also on the black background) to avoid illegible
4668         color combinations like yellow-on-white and white-on-white.
4669         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
4671 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
4673         * frameset.el (frameset-restore): When no frame is visible, do not
4674         generate a list of frames, just make visible the selected one.
4676 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
4678         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
4679         it only contains the repository root.  (Bug#16897)
4681 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
4683         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
4684         only when `remote-file-name-inhibit-cache' is nil.
4685         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
4687 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
4689         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
4690         Fix doc-strings.
4691         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
4692         fit-frame-to-buffer variable.  Fix doc-string.
4693         (fit-window-to-buffer): Set ONLY argument in call of
4694         fit-frame-to-buffer.  Fix doc-string.
4696 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
4698         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
4699         (tramp-action-password): Clear password cache if needed.
4700         (tramp-read-passwd): Do not clear password cache.
4702         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
4703         cache unless it is the first password request.
4705 2014-03-06  Glenn Morris  <rgm@gnu.org>
4707         * simple.el (newline): Doc tweak.
4709         * emacs-lisp/shadow.el (load-path-shadows-find):
4710         Ignore dir-locals.  (Bug#12357)
4712 2014-03-05  Glenn Morris  <rgm@gnu.org>
4714         * files.el (interpreter-mode-alist):
4715         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
4717 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
4719         * frameset.el (frameset--initial-params): Filter out null entries.
4721 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
4723         * window.el (window-min-height, window-min-width):
4724         Rewrite doc-strings.
4725         (window-body-size): Add PIXELWISE argument to make it consistent
4726         with its callees.
4728 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
4730         * finder.el (finder-mode-map, finder-mode-syntax-table):
4731         Revert part of 2014-02-28 change.
4733 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
4735         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
4736         (eww-setup-buffer): Clear next/prev/etc more reliably.
4737         (eww-textarea-map): [tab] doesn't work on tty.
4738         Reported by Mario Lang.
4740         * net/shr.el (shr-map): Ditto.
4742 2014-03-04  Glenn Morris  <rgm@gnu.org>
4744         * minibuffer.el (completion-hilit-commonality):
4745         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
4747 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
4749         * hilit-chg.el (hilit-chg-unload-function): New function.
4750         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
4751         (hilit-chg-map-changes): Prefer cardinal number to digit.
4752         (hilit-chg-display-changes): Reflow docstring.
4753         (highlight-changes-rotate-faces): Remove superfluous backslash.
4755 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
4757         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
4758         `tramp-send-command-and-check'.
4760 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
4762         * hexl.el (hexl-address-region, hexl-ascii-region)
4763         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
4764         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
4765         (hexl-forward-word, hexl-previous-line, hexl-next-line):
4766         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
4767         (hexl-mode): Doc fix.
4768         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
4769         (hexl-mode-ruler): Fix typos in docstrings.
4771         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
4772         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
4773         Remove superfluous backslashes.
4774         (strokes-last-stroke, strokes-global-map, strokes-mode):
4775         Reflow docstrings.
4776         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
4777         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
4778         (strokes-distance-squared, strokes-global-set-stroke)
4779         (strokes-global-set-stroke-string): Doc fixes.
4780         (strokes-help): Fix typos; reflow docstring.
4782 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
4784         * window.el (window-in-direction): Fix doc-string.
4786 2014-03-04  Glenn Morris  <rgm@gnu.org>
4788         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
4789         Explicit error if no grammar.
4790         (smie-config-save): Doc fix.  Fix quote typo.
4792 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4794         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
4795         electric-indent-mode-hook if we obey electric-indent-mode.
4796         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
4797         decide whether we obey electric-indent-mode.
4798         (c-change-set-fl-decl-start, c-extend-after-change-region):
4799         Silence warnings.
4800         (c-electric-indent-mode-hook): Assume we do want to obey
4801         electric-indent-mode.
4803         * electric.el (electric-indent-mode-has-been-called): Remove.
4804         (electric-indent-mode): Fix accordingly.
4806         * files.el (hack-local-variables): Mention file name in warning.
4808         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
4810 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
4812         * bindings.el: Add comment describing why C-d binds to `delete-char'.
4813         * simple.el (delete-forward-char): Mark as interactive-only.
4815 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
4817         * icomplete.el (icomplete-completions):
4818         Follow-up to 2014-03-01 change.
4820         * icomplete.el: Miscellaneous doc fixes.
4821         Use Icomplete everywhere instead of icomplete for consistency.
4822         (icomplete-max-delay-chars): Fix typo.
4823         (icomplete-mode): Use \[].
4824         (icomplete-tidy, icomplete-exhibit): Reflow.
4825         (icomplete-minibuffer-setup-hook, icomplete-completions):
4826         Remove superfluous backlashes.
4828         * ido.el: Miscellaneous doc fixes.
4829         Use Ido everywhere instead of ido or `ido' for consistency.
4830         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
4831         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
4832         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
4833         (ido-separator): Extract obsolescence info from docstring and declare
4834         with make-obsolete-variable.
4835         (ido-minibuffer-setup-hook): Simplify example.
4836         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
4837         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
4838         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
4839         (ido-everywhere): Reflow docstring.
4840         (ido-toggle-vc): Doc fix.
4841         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
4842         of long list of keybindings.
4844 2014-03-03  Glenn Morris  <rgm@gnu.org>
4846         * frame.el (display-pixel-height, display-pixel-width)
4847         (display-mm-dimensions-alist, display-mm-height)
4848         (display-mm-width): Doc tweaks.
4850 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
4852         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
4853         case of undo in region.
4855 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
4857         * window.el (fit-window-to-buffer): Fix argument in window-size
4858         call when window is horizontally combined.
4860 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
4862         * icomplete.el (icomplete-completions): Use string-width.
4863         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
4865 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
4867         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4868         Highlight regexp options.  (Bug#16914)
4870 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
4872         * window.el (window--max-delta-1): Round down when calculating
4873         how many lines/columns we can get from a window.
4875 2014-03-01  Glenn Morris  <rgm@gnu.org>
4877         * isearch.el (search-invisible): Doc fix.
4879         * minibuffer.el (completion-hilit-commonality):
4880         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
4881         * comint.el (comint-dynamic-list-completions): Doc fix.
4882         * comint.el (comint-dynamic-list-completions):
4883         * filecache.el (file-cache-minibuffer-complete):
4884         * tempo.el (tempo-display-completions):
4885         * eshell/em-hist.el (eshell-list-history):
4886         Replace use of obsolete argument of display-completion-list.
4888 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
4890         * icomplete.el (icomplete-completions):
4891         Revert back to using "..." when ?… cannot be displayed.
4893 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
4895         * finder.el (finder-unload-function): New function.
4897 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
4899         * dframe.el (dframe-detach):
4900         * find-dired.el (find-dired, find-name-dired):
4901         * finder.el (finder-mode-map, finder-mode-syntax-table)
4902         (finder-headmark, finder-select, finder-mouse-select):
4903         Fix docstring typos.
4905 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
4907         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
4908         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
4909         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4910         Fix doc-string based on a suggestion by Nicolas Richard
4911         <theonewiththeevillook@yahoo.fr>.
4912         * help.el (with-help-window): Fix doc-string.
4914 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
4916         * net/shr.el (shr-image-animate): New option.
4917         (shr-put-image): Respect shr-image-animate.
4919 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
4921         * net/tramp-adb.el (tramp-adb-parse-device-names):
4922         Use `accept-process-output'.
4923         (tramp-adb-handle-file-truename): Cache the localname only.
4924         (tramp-adb-handle-make-directory)
4925         (tramp-adb-handle-delete-directory): Flush file properties correctly.
4926         (tramp-adb-handle-set-file-modes): Do not raise an error when file
4927         modes cannot be changed.
4929         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
4930         file properties of symlinks.
4932 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
4934         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
4935         required/optional fields to match development biblatex.  (Bug#16781)
4937 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
4939         * saveplace.el (toggle-save-place):
4940         Fix argument handling.  (Bug#16673)
4942 2014-02-28  Glenn Morris  <rgm@gnu.org>
4944         * minibuffer.el (completions-first-difference)
4945         (completions-common-part, completion-hilit-commonality): Doc fixes.
4947 2014-02-28  Karl Berry  <karl@gnu.org>
4949         * info.el (Info-mode-map): Add H for describe-mode,
4950         to synchronize with standalone Info.
4952 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
4954         * progmodes/sql.el (sql-interactive-mode):
4955         Avoid setting global comint-input-ring-separator.  (Bug#16814)
4957 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
4959         * net/dbus.el (dbus--init-bus): Declare function.
4960         (dbus-path-local, dbus-interface-local): New defconst.
4961         (dbus-init-bus): Use them.
4962         (dbus-return-values-table): Extend doc.
4963         (dbus-handle-bus-disconnect): Extend error message.
4965 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
4967         * subr.el (y-or-n-p): Fix double space issue in message.
4969 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
4971         * net/tramp.el (tramp-call-process): Improve trace message.
4972         (tramp-handle-insert-file-contents): Trace error case.
4974         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4975         <insert-directory>: Use `tramp-handle-insert-directory'.
4976         (tramp-adb-handle-insert-directory): Remove function.
4977         (tramp-adb-send-command-and-check): New defun, replacing
4978         `tramp-adb-command-exit-status'.  Change all callees.
4979         (tramp-adb-handle-file-attributes)
4980         (tramp-adb-handle-directory-files-and-attributes): Use it.
4981         (tramp-adb-ls-output-name-less-p):
4982         Use `directory-listing-before-filename-regexp'.
4983         (tramp-adb-handle-delete-directory): Flush also file properties of
4984         the truename of directory.
4985         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
4986         (tramp-adb-handle-file-local-copy): Make the local copy readable.
4987         (tramp-adb-handle-write-region): Implement APPEND.
4988         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
4989         properties correctly.
4990         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
4991         variables.  Check for connected devices only when needed.
4993 2014-02-27  Glenn Morris  <rgm@gnu.org>
4995         * minibuffer.el (completion-table-dynamic)
4996         (completion-table-with-cache): Doc fixes.
4998         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
4999         (completing-read-multiple): Doc fixes.
5001 2014-02-27  Daniel Colascione  <dancol@dancol.org>
5003         * minibuffer.el (completion--nth-completion): Fix indentation.
5005         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
5006         explicit tramp path is empty.
5008 2014-02-27  Glenn Morris  <rgm@gnu.org>
5010         * emacs-lisp/crm.el (completing-read-multiple):
5011         Empower help-enable-auto-load.
5013 2014-02-26  Glenn Morris  <rgm@gnu.org>
5015         * startup.el (command-line): Don't init the tty in daemon mode.
5017         Avoid calling tty-setup-hook twice, eg if a term file
5018         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
5019         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
5020         (tty-create-frame-with-faces): Use it.
5021         * startup.el (command-line): Pass run-hook argument
5022         to tty-run-terminal-initialization.
5024         * dired.el (dired-restore-desktop-buffer): Demote errors;
5025         eg in case a glob match fails.  (Bug#16884)
5027 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
5029         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
5030         error from `read-from-string'.  (Bug#16850)
5032         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
5033         result of `completing-read' in the interactive form.  (Bug#16854)
5035 2014-02-25  Glenn Morris  <rgm@gnu.org>
5037         * image.el (image-animate, image-animate-timeout):
5038         Stop animating images in dead buffers.  (Bug#16878)
5040         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
5042         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
5043         Doc fixes.
5044         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
5045         * term/sun.el (sun-raw-prefix-hooks):
5046         Use tty-setup-hook instead of term-setup-hook.
5047         (terminal-init-sun): Construct message from bytecomp plist.
5048         * term/wyse50.el (enable-arrow-keys): Doc fix.
5050 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
5052         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
5053         Fix docstring typos.
5055 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
5057         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
5059 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5061         * minibuffer.el (completion--try-word-completion):
5062         Fix error when completing M-x commands (bug#16808).
5064 2014-02-24  Leo Liu  <sdl.web@gmail.com>
5066         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
5068 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
5070         * apropos.el (apropos-print): Avoid formatting error when
5071         apropos-do-all and apropos-compact-layout are both t.
5073 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
5075         * apropos.el (apropos-property, apropos-all-words-regexp)
5076         (apropos-true-hit, apropos-variable, apropos-print):
5077         Fix docstring typos, and remove obsolete comment.
5079 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
5081         * net/tramp-sh.el (tramp-sh-handle-file-truename):
5082         Preserve trailing "/".  (Bug#16851)
5084 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
5086         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
5087         after `=>' (bug#16811).
5088         (ruby-smie-rules): Handle the inconsistent second element of the
5089         list returned by `smie-indent--parent'.
5090         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
5091         method call.
5093 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
5095         * elec-pair.el (electric-pair-text-syntax-table)
5096         (electric-pair-syntax-info, electric-pair--syntax-ppss)
5097         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
5098         (electric-pair--looking-at-unterminated-string-p): Doc fix.
5099         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
5101 2014-02-22  Glenn Morris  <rgm@gnu.org>
5103         * imenu.el (imenu--generic-function): Doc fix.
5105         * register.el (frame-configuration-to-register): Make obsolete.
5107 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
5109         * desktop.el (desktop-save-buffer-p): Do not fail when
5110         desktop-files-not-to-save is nil.  Return t for true result
5111         as the doc says.
5113 2014-02-22  Daniel Colascione  <dancol@dancol.org>
5115         * net/secrets.el (secrets-create-item, secrets-search-items):
5116         Check that attribute values are strings, avoiding the construction
5117         of invalid dbus messages.
5119 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
5121         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
5122         defun-declarations-alist.
5124 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5126         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
5127         (bug#16829).
5129 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
5131         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
5132         (whitespace-newline, whitespace-trailing, whitespace-line)
5133         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
5134         (whitespace-space-after-tab): Fix typo in docstrings.
5136 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
5138         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
5140         * electric.el (electric-indent-functions-without-reindent):
5141         Add `yaml-indent-line'.
5143 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
5145         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
5146         It has done nothing for years; should be removed after the release.
5148         * simple.el (choose-completion): Fix docstring typo.
5149         (read-quoted-char-radix): Remove unneeded * in docstring.
5150         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
5151         Don't escape parentheses unnecessarily in docstrings.
5153 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
5155         Fix handling of window-min-height/-width (Bug#16738).
5156         * window.el (window--dump-window, window--dump-frame):
5157         New functions.
5158         (window--min-size-1): Account for window dividers.
5159         When window-resize-pixelwise is nil, delay rounding till after the
5160         sum of the window components has been calculated.
5161         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
5162         nil make sure at least one text line and two text columns remain
5163         fully visible.
5164         (window-resize): Signal an error when window-resize-apply fails.
5165         (window--resize-child-windows): Fix calculation of by how many
5166         pixels a window can still be shrunk via window-new-normal.
5167         (adjust-window-trailing-edge): Call window--resizable with
5168         correct TRAIL argument.
5170         (with-temp-buffer-window): Don't evaluate BODY within
5171         with-current-buffer (Bug#16816).
5173 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
5175         * net/tramp.el (tramp-check-cached-permissions):
5176         Call `file-attributes' with `suffix' being a symbol but a string.
5178 2014-02-21  Daniel Colascione  <dancol@dancol.org>
5180         * net/dbus.el (dbus-init-bus-1): Declare new subr.
5181         (dbus-init-bus): New function: call into dbus-init-bus-1
5182         and installs a handler for the disconnect signal.
5183         (dbus-call-method): Rewrite to look for result in cons.
5184         (dbus-call-method-handler): Store result in cons.
5185         (dbus-check-event): Recognize events with nil sender as valid.
5186         (dbus-handle-bus-disconnect): New function.  React to bus
5187         disconnection signal by synthesizing dbus error for each
5188         pending synchronous or asynchronous call.
5189         (dbus-notice-synchronous-call-errors): New function.
5190         (dbus-handle-event): Raise errors directly only when `dbus-debug'
5191         is true, not all the time.
5193 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
5195         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5196         Remove obsolescence declarations, these variables do not exist anymore.
5198         * savehist.el (savehist-save-minibuffer-history)
5199         (savehist-additional-variables, savehist-file, savehist-mode-hook)
5200         (savehist-save-hook, savehist-coding-system, savehist-loaded)
5201         (savehist-load, savehist-install, savehist-autosave): Fix typos;
5202         mostly, refer to "Savehist mode" when talking about the mode,
5203         and not the function.
5205         * saveplace.el (save-place): Remove redundant info in docstring.
5206         (save-place-forget-unreadable-files, toggle-save-place)
5207         (save-place-forget-unreadable-files, save-place-dired-hook):
5208         Fix typos and remove unneeded backslashes.
5210 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
5212         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
5213         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
5215         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5216         <insert-directory>: Use `tramp-handle-insert-directory'.
5217         (tramp-gvfs-handle-insert-directory): Remove function.
5219         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5220         Call `tramp-handle-insert-directory'.
5222 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
5224         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
5225         before the start of buffer/region (bug#16799).
5227 2014-02-20  Glenn Morris  <rgm@gnu.org>
5229         * isearch.el (search-invisible): Doc fix.
5231 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
5233         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
5234         (bug#16657).
5236 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
5238         * frameset.el (frameset-restore): Delay removing an old frame's
5239         duplicate id until the new frame has been correctly created.
5241 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
5243         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
5244         (tramp-check-cached-permissions): Call `file-attributes' if the
5245         cache is empty.
5247         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5248         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5250         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5251         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5252         (tramp-gvfs-maybe-open-connection): Set always connection
5253         properties, even if target is mounted already.
5255         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
5256         Set tramp-autoload cookie.
5257         (tramp-get-remote-touch): New defun.
5258         (tramp-sh-handle-set-file-times): Use it.
5259         (tramp-sh-handle-directory-files-and-attributes):
5260         Use `tramp-handle-directory-files-and-attributes' if neither stat
5261         nor perl are available on the remote host.
5263         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
5264         "/".  Write long listing only when "l" belongs to the switches.
5266         * net/trampver.el: Update release number.
5268 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
5270         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
5272 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
5274         * window.el (window-state-put): Allow WINDOW to refer to an
5275         internal window (Bug#16793).
5277 2014-02-19  Glenn Morris  <rgm@gnu.org>
5279         * textmodes/remember.el: Move provide statement to end.
5280         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
5281         (remember-notes): Doc fixes.
5283 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5285         * delsel.el (delete-char): Restore incorrectly erased property
5286         (bug#16795).
5288 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
5290         * frameset.el (frameset--restore-frame): When a frame is being reused
5291         and its root window is not alive, delete all the frame's windows before
5292         restoring the window state.  This works around the issue in bug#16793.
5294 2014-02-18  Glenn Morris  <rgm@gnu.org>
5296         * textmodes/remember.el (remember-data-directory)
5297         (remember-directory-file-name-format, remember-store-in-files)
5298         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
5299         (remember-notes-save-and-bury-buffer)
5300         (remember-notes--kill-buffer-query): Doc fixes.
5302         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
5304 2014-02-17  Alan Mackenzie  <acm@muc.de>
5306         Connect electric-indent-mode up with CC Mode.  Bug #15478.
5307         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
5308         to electric-indent-{,local-}-mode.
5309         (c-basic-common-init): Set electric-indent-inhibit.
5310         Initialise c-electric-flag from electric-indent-mode.
5311         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
5312         New hook functions which propagate electric-indent-mode to CC mode.
5314         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
5315         hit, toggle electric-indent-local-mode.
5317         * electric.el (electric-indent-mode-has-been-called):
5318         New variable.
5320 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
5322         * frameset.el (frameset-cfg-id): New function.
5323         (frameset--reuse-frame, frameset-restore): Use it.
5324         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
5326 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5328         * ido.el (ido-file-internal): Remove unused var `d'.
5329         Use \` for to match BoS.  Fit within 80n columns.
5331 2014-02-17  Daniel Colascione  <dancol@dancol.org>
5333         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
5334         dbus-call-method check for completion using a busy-wait loop with
5335         gradual backoff.
5337 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
5339         Sync with Tramp 2.2.9.
5341         * net/trampver.el: Update release number.
5343 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
5345         * ido.el (ido-file-internal): Don't add the name of an existing
5346         directory twice.  (Bug#16747)
5348 2014-02-16  Glenn Morris  <rgm@gnu.org>
5350         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
5351         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
5353 2014-02-15  Michael R. Mauger  <michael@mauger.com>
5355         * progmodes/sql.el: Version 3.4
5356         (sql-oracle-options): New default value ("-L").
5357         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
5358         (sql-placeholders-filter): Correct placeholder pattern.
5359         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
5360         (sql-login-delay): New variable.
5361         (sql-product-interactive): Use it.
5363 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
5365         * frameset.el (frameset--jump-to-register): Check that buffer is live
5366         (bug#16749).
5368 2014-02-15  Glenn Morris  <rgm@gnu.org>
5370         * info.el (info-initialize): Revert 2014-01-10 change.
5372 2014-02-14  Glenn Morris  <rgm@gnu.org>
5374         * replace.el (map-query-replace-regexp)
5375         (read-regexp-defaults-function, read-regexp): Doc fixes.
5377         * dired.el (dired-read-regexp):
5378         * faces.el (list-faces-display):
5379         * misearch.el (multi-isearch-read-matching-buffers)
5380         (multi-isearch-read-matching-files):
5381         * play/cookie1.el (cookie-apropos):
5382         * progmodes/grep.el (grep-read-regexp): Doc fixes.
5384         * textmodes/remember.el (remember): Use frameset-to-register
5385         rather than frame-configuration-to-register.
5387 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
5389         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
5390         incorrect keybinding.
5392 2014-02-13  Daniel Colascione  <dancol@dancol.org>
5394         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
5395         when adding overlays so that line numbers from compiler match line
5396         numbers we use.
5398 2014-02-13  Glenn Morris  <rgm@gnu.org>
5400         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
5402         * jit-lock.el (jit-lock-mode): Doc fix.
5404 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
5406         * apropos.el (apropos-read-pattern): When the user passes an empty
5407         string, give a more helpful error message than "Wrong type
5408         argument: stringp, nil".
5410 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5412         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
5414 2014-02-13  Glenn Morris  <rgm@gnu.org>
5416         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
5418 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5420         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
5421         shift-select commands.
5423 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
5425         * progmodes/js.el (js-indent-line): Don't widen.
5426         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
5428 2014-02-12  Glenn Morris  <rgm@gnu.org>
5430         * icomplete.el (icomplete): Add info-link to defgroup.
5431         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
5432         (icomplete-minibuffer-map, icomplete-mode)
5433         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
5435         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
5436         (package-menu-filter): Rename from package-menu-filter-interactive.
5437         Doc fix.
5439 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
5441         * frameset.el (frameset--jump-to-register): Select the required
5442         window and buffer before restoring position (bug#16696).
5444 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
5446         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
5448 2014-02-10  Glenn Morris  <rgm@gnu.org>
5450         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
5452 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
5454         * w32-common-fns.el (x-get-selection): Doc fix.
5455         * select.el (x-get-selection): Doc fix.  (Bug#15109)
5457         * face-remap.el (face-remap-add-relative)
5458         (face-remap-remove-relative, face-remap-reset-base)
5459         (face-remap-set-base): Call force-mode-line-update to redisplay
5460         the current buffer due to potential change in faces.  (Bug#16709)
5462 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
5464         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
5465         script more robustly.
5467 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
5469         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
5471         * simple.el (choose-completion): Doc fix (bug#14160).
5473         * subr.el (event-start): Say what a nil EVENT value means.
5475         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
5476         (bug#14197).
5478         * progmodes/grep.el (find-program): Doc fix (bug#14289).
5480         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
5482         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
5484         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
5485         predicate function (bug#15455).
5487 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
5489         * ielm.el (inferior-emacs-lisp-mode): Instead of
5490         `comment-use-global-state', set `comment-use-syntax'.
5492 2014-02-10  Glenn Morris  <rgm@gnu.org>
5494         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
5496 2014-02-09  Alan Mackenzie  <acm@muc.de>
5498         Fix c-invalidate-state-cache on narrowed buffers.
5499         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
5500         Widen when setting and clearing the CPP delimiter properties.
5502 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
5504         * help.el (describe-bindings): Doc fix (bug#9888).
5506         * files.el (save-buffer): Use ARG as the parameter name for
5507         consistency (bug#10346).
5508         (save-buffer): Clarify the 0 argument (bug#10346).
5510         * cus-edit.el (customize-apropos): Fix error string.
5511         (custom-buffer-create): Doc fix (bug#11122).
5512         (custom-sort-items): Doc fix (bug#11121).
5514         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
5516         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
5517         (icomplete-simple-completing-p): Mention the previous variable.
5519         * font-lock.el (font-lock-value-in-major-mode): Clarify the
5520         meaning of the parameter (bug#12282).
5522         * files.el (find-file-noselect): Clarify prompt when changing
5523         readedness (bug#13261).
5524         (locate-file): Suffixes aren't returned, so don't say that they
5525         are (bug#12674).
5526         (backup-inhibited): Doc clarification (bug#12525).
5528         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
5529         before we actually start to delete things (bug#16331).
5531         * subr.el (event-start): Doc fix (bug#14228).
5532         (event-end): Ditto.
5534 2014-02-09  Glenn Morris  <rgm@gnu.org>
5536         * emacs-lisp/warnings.el (lwarn):
5537         Empower help-enable-auto-load.  (Bug#15940)
5539 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
5541         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
5542         (Bug#16690)
5544 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
5546         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5547         Insert output at end of buffer.  (Bug#16120)
5549 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
5551         * simple.el (choose-completion-string-functions): Document new
5552         calling convention (bug#14153).
5553         (execute-extended-command): Clarify doc string (bug#13373).
5555         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
5557         * find-dired.el (find-name-dired): Doc fix (bug#14290).
5558         (find-grep-dired): Doc fix (bug#14288).
5560 2014-02-08  Juri Linkov  <juri@jurta.org>
5562         * isearch.el (isearch-quote-char): Check character validity
5563         like in `quoted-insert' (bug#16677).
5565 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
5567         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
5569         * isearch.el (isearch-hide-immediately): Doc clarification
5570         (bug#14723).
5572         * simple.el (line-move): Document utility function used many
5573         places in the Emacs sources (bug#14843).
5575         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
5576         (dired-prev-marked-file): Doc fix (bug#14855).
5577         (dired-up-directory): Doc fix (bug#14848).
5579         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
5581         * files.el (file-relative-name): Doc fix (bug#15159).
5583         * fringe.el (fringe-styles): Doc fix (bug#15239).
5585         * isearch.el (isearch-filter-predicate): Documentation typo fix
5586         (bug#15474).
5588         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
5590         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
5592         * replace.el (replace-match-maybe-edit): Doc clarification
5593         (bug#15632).
5595         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
5597         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
5599 2014-02-08  Glenn Morris  <rgm@gnu.org>
5601         * help-fns.el (describe-variable):
5602         Check {file,dir}-local-variables-alist, and buffer-file-name,
5603         in the correct buffer.
5605 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
5607         * help-fns.el (describe-variable): Fix the case where
5608         a value is directory-local with no dir-locals file.  (Bug#16635)
5610 2014-02-08  Glenn Morris  <rgm@gnu.org>
5612         * abbrev.el (edit-abbrevs-mode):
5613         Derive from fundamental-mode.  (Bug#16682)
5615 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
5617         * simple.el (quoted-insert): Check character validity (bug#16677).
5619 2014-02-07  Juri Linkov  <juri@jurta.org>
5621         * desktop.el (desktop-read): Claim the lock when the owner is not
5622         the current process.  (Bug#16157)
5624 2014-02-07  Juri Linkov  <juri@jurta.org>
5626         * desktop.el (desktop-buffers-not-to-save): Change default from nil
5627         to "\\` ".  (Bug#16651)
5629 2014-02-07  Juri Linkov  <juri@jurta.org>
5631         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
5632         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
5633         (desktop-auto-save-cancel-timer): New function with some code from
5634         `desktop-auto-save-set-timer'.
5635         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
5636         Instead of setting `desktop-save-mode' to nil, call
5637         `desktop-save-mode' with arg 0.  (Bug#16630)
5639 2014-02-07  Glenn Morris  <rgm@gnu.org>
5641         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
5642         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
5643         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
5645         * obsolete/iswitchb.el: Move to obsolete/.
5646         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
5647         since obsolete/ is not scanned for autoloads.
5648         * emacs-lisp/authors.el (authors-valid-file-names):
5649         Add iswitchb.el.
5651         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
5652         Disable now non-functional find-file-hook.
5654 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
5656         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
5657         instead of ";" in order to avoid additional prompts.  Let heredoc
5658         scripts read from tty.  (Bug#16582)
5659         (tramp-send-command): No special handling of heredocs, it isn't
5660         necessary anymore.
5662 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5664         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
5665         with a space (bug#16664).  Limit the symbols considered to the ones
5666         that are bound or fbound (bug#16646).
5668 2014-02-06  Glenn Morris  <rgm@gnu.org>
5670         * epa.el (epa-mail-aliases): Doc fix.
5672 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
5674         * emacs-lisp/lisp.el (lisp-completion-at-point):
5675         Use `completion-table-merge' instead of `completion-table-in-turn'
5676         (bug#16604).
5678         * minibuffer.el (completion-table-merge): New function.
5680 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
5682         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
5683         (tramp-sh-handle-set-file-acl)
5684         (tramp-sh-handle-start-file-process)
5685         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
5686         (tramp-find-executable, tramp-send-command): Use it.
5688 2014-02-05  Glenn Morris  <rgm@gnu.org>
5690         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
5692 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5694         * progmodes/python.el (python-shell-send-string)
5695         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
5697 2014-02-04  Anders Lindgren  <andlind@gmail.com>
5699         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
5700         the names (bug#16620).
5702 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
5704         * faces.el (window-divider): New default value.  Rewrite doc-string.
5705         (window-divider-first-pixel, window-divider-last-pixel): New faces.
5707 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
5709         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
5710         `protected' and `public' can also be called without arguments.
5712 2014-02-03  Glenn Morris  <rgm@gnu.org>
5714         * register.el (window-configuration-to-register)
5715         (frame-configuration-to-register): Unadvertise unused argument.
5716         * frameset.el (frameset-to-register): Remove unused argument.
5718         * frameset.el (frameset-to-register):
5719         * kmacro.el (kmacro-to-register):
5720         * register.el (increment-register):
5721         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
5722         (calc-append-to-register, calc-prepend-to-register):
5723         * play/gametree.el (gametree-layout-to-register)
5724         (gametree-apply-register-layout):
5725         * textmodes/picture.el (picture-clear-rectangle-to-register)
5726         (picture-yank-rectangle-from-register):
5727         * vc/emerge.el (emerge-combine-versions-register):
5728         Use register-read-with-preview to read registers.
5730 2014-02-03  João Távora  <joaotavora@gmail.com>
5732         * elec-pair.el (electric-pair-backward-delete-char): Don't error
5733         when at beginning of (possibly narrowed) buffer.
5735 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5737         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
5738         Also try to display local help from just before point.
5740 2014-02-02  Alan Mackenzie  <acm@muc.de>
5742         c-parse-state.  Don't "append-lower-brace-pair" in certain
5743         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
5744         recognised as a comment.
5746         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
5747         as well as normal comment starter.
5748         (c-parse-state-get-strategy): Extra return possibility
5749         'back-and-forward.
5750         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
5751         return value list to indicate replacement of a brace-pair cons
5752         with its car.
5753         (c-parse-state-1): With 'back-and-forward, only call
5754         c-append-lower-brace-pair-to state-cache when cons-separated.
5756 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
5758         * term/ns-win.el (ns-suspend-error): New function.
5759         (ns-initialize-window-system): Add ns-suspend-error to
5760         suspend-hook (Bug#16612).
5762 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5764         * progmodes/cc-defs.el (c-find-assignment-for-mode):
5765         Make loading cc-mode silent.
5767 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5769         * comint.el (comint-prompt-read-only): Change doc to suggest
5770         remap keybinding.
5772 2014-02-02  Glenn Morris  <rgm@gnu.org>
5774         * register.el (register-read-with-preview, point-to-register)
5775         (window-configuration-to-register, frame-configuration-to-register)
5776         (jump-to-register, number-to-register, view-register, insert-register)
5777         (copy-to-register, append-to-register, prepend-to-register)
5778         (copy-rectangle-to-register): Doc fixes.
5780 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5782         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
5783         * emacs-lisp/find-func.el (find-function-C-source): Idem.
5784         * emacs-lisp/nadvice.el (advice--cd*r): New function.
5785         * help-fns.el (describe-function-1): Use it.
5787 2014-02-02  Glenn Morris  <rgm@gnu.org>
5789         * register.el (register-preview-default): New function,
5790         split from register-preview.
5791         (register-preview-function): Rename from register-preview-functions,
5792         make it not a hook.
5793         (register-preview): Use register-preview-function.
5794         (register-read-with-preview): Error on non-character event.  (Bug#16595)
5796 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
5798         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
5799         `:' before binary operators (bug#16609).  Don't check for `:'
5800         before `[' and `(', or their syntax status.  A percent literal
5801         can't end with either.
5802         (ruby-font-lock-keywords): For built-ins that require arguments,
5803         check that they're followed by something that looks like argument
5804         (bug#16610).
5806 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
5808         * subr.el (butlast): Document what an omitted N means (bug#13437).
5809         (nbutlast): Ditto.
5811 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
5813         * net/shr.el (shr-generic): Make into a defsubst to make the stack
5814         depth shallower (bug#16587).
5815         (shr-tag-svg): Respect `shr-inhibit-images'.
5816         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
5818 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
5820         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
5821         (ruby-smie-grammar): Make "." right-associative.  Make its priority
5822         lower than the ternary and all binary operators.
5823         (ruby-smie-rules): Indent "(" relative to the first non-"."
5824         parent, or the first "." parent at indentation.
5825         Use `ruby-align-chained-calls' for indentation of "." tokens.
5826         (Bug#16593)
5828 2014-01-31  Juri Linkov  <juri@jurta.org>
5830         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
5831         from `make-hash-table'.
5833         * textmodes/ispell.el (ispell-init-process): Change message format
5834         to be consistent with other messages.
5836 2014-01-31  Glenn Morris  <rgm@gnu.org>
5838         * delsel.el (delete-selection-mode): Doc fix.
5840         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
5841         (trace-function-background): Doc fixes.
5843         * ido.el (ido-use-virtual-buffers): Doc fix.
5844         Reset :version, since the default value has not changed.
5846         * register.el (register-preview-delay, register-read-with-preview):
5847         Doc fixes.
5849         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
5850         do not mess with mail-buffer position (fixes 2009-11-03 change).
5851         * progmodes/cc-mode.el (c-submit-bug-report):
5852         Check auto-fill-mode is bound.  (Bug#16592)
5854 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
5856         * startup.el (fancy-splash-image-file): New function,
5857         split from fancy-splash-head.
5858         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
5859         so that we are both using the same image.  (Bug#16574)
5861 2014-01-30  Glenn Morris  <rgm@gnu.org>
5863         * simple.el (eval-expression): Doc fix.
5865         * hexl.el (hexl-mode-hook):
5866         * ielm.el (ielm-mode-hook):
5867         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
5868         (lisp-interaction-mode-hook):
5869         * progmodes/cfengine.el (cfengine3-documentation-function):
5870         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
5872 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5874         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
5875         is a symbol (bug#16584).
5877 2014-01-30  Glenn Morris  <rgm@gnu.org>
5879         * help.el (help-for-help-internal): Add "P" to text.
5881 2014-01-29  Glenn Morris  <rgm@gnu.org>
5883         * simple.el (just-one-space, cycle-spacing): Doc fixes.
5885 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
5887         * window.el (fit-frame-to-buffer): Fix calculations for margins and
5888         height constraints.
5890 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
5892         * progmodes/hideif.el: Extend to full CPP expression syntax.
5893         (hif-token-alist): Add missing tokens.
5894         (hif-token-regexp): Add support for float/octal/hex immediates.
5895         (hif-string-literal-regexp): New const.
5896         (hif-tokenize): Recognize strings and float/octal/hex immediates.
5897         (hif-exprlist): New function.
5898         (hif-parse-if-exp): Use it.
5899         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
5900         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
5901         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
5902         (hif-logxor, hif-comma): New functions.
5904 2014-01-28  Glenn Morris  <rgm@gnu.org>
5906         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
5908         * indent.el (tab-stop-list): Doc fix.  Add :version.
5910         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
5911         (cvs-append-to-ignore): Add compatibility alias.
5913 2014-01-27  Glenn Morris  <rgm@gnu.org>
5915         * dired.el (dired-hide-details-mode): Don't autoload it,
5916         since it cannot be used outside Dired buffers anyway.
5918         * emulation/cua-base.el (cua-mode): Doc fix.
5920         * dired.el (dired-hide-details-hide-symlink-targets)
5921         (dired-hide-details-hide-information-lines)
5922         (dired-hide-details-mode): Doc fixes.
5924         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
5925         * strokes.el (strokes-file): Doc fix.  Bump :version.
5926         (strokes-help): Doc fix.
5927         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
5928         * emulation/viper.el (viper): Doc fix for custom group.
5929         (top-level): Remove oh-so-no-longer-relevant text about vip.
5930         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
5932         * ido.el (ido-save-directory-list-file):
5933         * saveplace.el (save-place-file):
5934         * calendar/timeclock.el (timeclock-file):
5935         * net/quickurl.el (quickurl-url-file):
5936         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5937         * progmodes/idlwave.el (idlwave-config-directory):
5938         * textmodes/remember.el (remember-data-file):
5939         Bump :version.
5941 2014-01-26  Glenn Morris  <rgm@gnu.org>
5943         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
5944         Doc fix.  Make obsolete.
5945         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
5947         * sort.el (delete-duplicate-lines): Doc fix.
5949 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5951         * progmodes/ada-mode.el (ada):
5952         * woman.el (woman): Link to info manual and Commentary section.
5954         * progmodes/flymake.el (flymake):
5955         * nxml/nxml-mode.el (nxml):
5956         * net/eww.el (eww):
5957         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
5958         * htmlfontify.el (htmlfontify):
5959         * ses.el (ses):
5960         * epa.el (epa):
5961         * ido.el (ido): Link to info manual.
5963 2014-01-25  Leo Liu  <sdl.web@gmail.com>
5965         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
5967 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
5969         * net/shr.el (shr-tag-img): Prefer the title over the alt text
5970         (bug#16537).
5972 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
5974         * net/eww.el (eww-download-callback):
5975         Fix reference to eww-download-directory.
5977         * emacs-lisp/bytecomp.el (byte-compile-file):
5978         Remove unused local variable `file-name'.
5980 2014-01-24  Glenn Morris  <rgm@gnu.org>
5982         * woman.el (woman-default-faces, woman-monochrome-faces):
5983         Fix obsolescence specification.
5985         * subr.el (with-demoted-errors): Doc fix.
5987 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5989         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
5990         (cl--macroexp-fboundp): New function.
5991         (cl--make-type-test): Use it.
5993 2014-01-23  Glenn Morris  <rgm@gnu.org>
5995         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
5996         * simple.el (eval-expression): Doc fixes.
5998 2014-01-22  Glenn Morris  <rgm@gnu.org>
6000         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
6002 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6004         * emacs-lisp/package.el: Write files silently.
6005         (package-autoload-ensure-default-file, package--write-file-no-coding)
6006         (package-generate-description-file, package--download-one-archive)
6007         (package-install-from-archive): Tell `write-region' to stay quiet.
6008         (package-menu-mode, package-menu--print-info): Omit the Archive column
6009         if there's only one archive.
6010         (package-all-keywords, package--has-keyword-p): Remove dead code.
6012 2014-01-22  Glenn Morris  <rgm@gnu.org>
6014         * version.el (emacs-bzr-version-bzr): Fix typo.
6016         * version.el (emacs-repository-get-version):
6017         Check either .bzr or .git, but not both.
6018         Make the git case actually use the DIR argument, and return nil
6019         rather than the empty string.
6020         Avoid error if .git exists but the git executable is not found.
6022 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
6024         Fixes in window size functions around Bug#16430 and Bug#16470.
6025         * window.el (window-total-size, window-size): New argument ROUND.
6026         (window--min-delta-1, window-min-delta, window--max-delta-1):
6027         Be more conservative when calculating the numbers of lines or
6028         columns a window can shrink (Bug#16430).
6029         (fit-window-to-buffer): Simplify code.
6030         * term.el (term-window-width): Call window-body-width again.
6032 2014-01-22  Glenn Morris  <rgm@gnu.org>
6034         * image.el (image-format-suffixes): Doc fix.
6036         * international/quail.el (quail-define-package): Doc fix.
6038         * emacs-lisp/authors.el (authors-valid-file-names)
6039         (authors-renamed-files-alist): Additions.
6041         * vc/vc-git.el (vc-git-print-log): Remove --follow;
6042         reverts 2014-01-09 change.  (Bug#16422)
6044         * calc/calc-embed.el (thing-at-point-looking-at):
6045         * emacs-lisp/map-ynp.el (x-popup-dialog):
6046         * obsolete/lmenu.el (x-popup-dialog):
6047         * emacs-lisp/package.el (url-recreate-url):
6048         * mail/mailclient.el (clipboard-kill-ring-save):
6049         * subr.el (x-popup-dialog): Update declaration.
6050         * mail/rmail.el (rmail-mime-message-p):
6051         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
6053 2014-01-21  Daniel Colascione  <dancol@dancol.org>
6055         * progmodes/sh-script.el (sh--inside-noncommand-expression):
6056         Correctly detect when we're inside an arithmetic expansion form
6057         containing nested parenthesis.
6058         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
6059         to detect cases where we shouldn't expand "<<" to a heredoc
6060         skeleton.
6062 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6064         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
6065         (eldoc--message-command-p): New function.
6066         (eldoc-display-message-p): Use it.
6067         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
6068         message is not automatically erased for us.
6069         (eldoc-print-current-symbol-info): Erase previous message, if any.
6071 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
6073         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
6074         specify it's an interactive function.
6076         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
6077         Fix regex used for scanning for citation keys which failed for
6078         citations with optional arguments.
6080 2014-01-21  Leo Liu  <sdl.web@gmail.com>
6082         * simple.el (read--expression): Don't enable eldoc-mode.
6084 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6086         * simple.el (move-beginning-of-line): Make sure we don't move forward
6087         (bug#16497).
6089 2014-01-20  Juri Linkov  <juri@jurta.org>
6091         * saveplace.el (toggle-save-place, save-place-to-alist)
6092         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
6093         'dired-mode) before checking for dired-directory.  (Bug#16477)
6095 2014-01-20  Juri Linkov  <juri@jurta.org>
6097         * indent.el (indent-line-to): Use backward-to-indentation
6098         instead of back-to-indentation.  (Bug#16461)
6100 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
6102         Revert some of the CANNOT_DUMP fix (Bug#16494).
6103         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
6104         but fixing this can wait until after the next release.
6105         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
6107 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
6109         * eshell/esh-mode.el (eshell-password-prompt-regexp):
6110         Use `password-word-equivalents'.
6111         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
6112         to t.  (Bug#5664, Bug#13124)
6114 2014-01-19  Alan Mackenzie  <acm@muc.de>
6116         Bind open-paren-in-column-0-is-defun-start to nil at some entry
6117         points.
6118         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
6119         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
6120         * progmodes/cc-mode.el (c-before-change, c-after-change)
6121         (c-font-lock-fontify-region): Bind it here.
6123 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
6125         * term.el (term-window-width): Call window-text-width instead of
6126         window-width (Bug#16470).
6128 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
6130         * simple.el (password-word-equivalents): Remove duplicates.
6131         Sort, to make this easier next time.
6132         Downcase.  Omit ": " after "jelszó".
6134 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
6136         * term/common-win.el (saved-region-selection): Defvar it.
6137         (x-select-text): Set saved-region-selection (Bug#16382).
6139 2014-01-18  Glenn Morris  <rgm@gnu.org>
6141         * emacs-lisp/authors.el (authors-aliases)
6142         (authors-renamed-files-alist): Add some entries.
6144 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
6146         * net/tramp.el (tramp-password-prompt-regexp):
6147         Use `password-word-equivalents' if available.
6148         (tramp-action-password, tramp-process-one-action)
6149         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
6151 2014-01-17  Chong Yidong  <cyd@gnu.org>
6153         * simple.el (password-word-equivalents): New defcustom.
6154         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
6155         to 24.4.
6156         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
6157         to t.  (Bug#13124)
6159 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
6161         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
6162         (ruby-align-to-stmt-keywords): Change the default value.
6163         Use `ruby-alignable-keywords' to generate the possible customization
6164         choices.
6165         (ruby-smie-rules): Instead of using a hardcoded list of alignable
6166         keywords, check against the value of `ruby-alignable-keywords'
6167         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
6169 2014-01-17  Glenn Morris  <rgm@gnu.org>
6171         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
6173         Make M-x authors return zero *Authors Errors* from current logs.
6174         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
6175         (authors-ignored-files): Add some entries, remove others.
6176         (authors-ambiguous-files, authors-valid-file-names):
6177         Add some entries.
6178         (authors-renamed-files-alist): Add, remove, and adjust entries.
6179         (authors-renamed-files-regexps): Add some entries.
6180         Remove some very broad ones.  Make some entries `lax'.
6181         (authors-lax-changelogs): New constant.
6182         (authors-disambiguate-file-name): Treat top-level specially.
6183         (authors-lax-changelog-p): New function.
6184         (authors-canonical-file-name): Check file as written against
6185         authors-valid-file-names.  Do not special-case etc/.
6186         Handle `lax' logs and authors-renamed-files-regexps elements.
6188 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
6190         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
6191         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
6192         callers.
6194 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6196         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
6197         Assume we're already in the proper buffer.
6198         Inspired by Anders Lindgren <andlind@gmail.com>.
6199         (follow-post-command-hook): Call it from the right buffer.
6200         (follow-comint-scroll-to-bottom): Adjust call.
6201         (follow-all-followers): Use get-buffer-window-list.
6203 2014-01-15  Daniel Colascione  <dancol@dancol.org>
6205         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
6206         `buffer-file-name' in interactive-form so that we don't leave
6207         pathless file names in `file-name-history'.
6209 2014-01-15  Juri Linkov  <juri@jurta.org>
6211         * indent.el (indent-rigidly): Set deactivate-mark to nil
6212         in transient indentation mode.  (Bug#16438)
6214 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
6216         * emacs-lisp/package.el (package-desc-keywords): New function
6217         (Bug#16222).
6218         (describe-package-1, package-all-keywords)
6219         (package--has-keyword-p): Use it.
6221 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6223         * simple.el (define-alternatives): When creating the
6224         COMMAND-alternatives variable, assign COMMAND as its definition
6225         name so that `describe-variable' can relocate it.
6227 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
6229         * font-lock.el (font-lock-keywords): Fix typo in docstring
6230         (bug#16307).
6232 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6234         * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
6235         line instead of wrongly reset `add-coment' (bug#13577).
6237 2014-01-14  Daiki Ueno  <ueno@gnu.org>
6239         * epa-file.el (epa-file-write-region): Encode the region according
6240         to `buffer-file-format'.  Problem reported at:
6241         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
6243 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6245         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
6246         so it applies in the right buffer (bug#16410).
6248 2014-01-13  Daniel Colascione  <dancol@dancol.org>
6250         * textmodes/rst.el (rst-define-key): Provide deprecated
6251         keybindings through named functions instead of anonymous ones so
6252         that "??" doesn't appear in describe-mode output.
6254 2014-01-13  Bastien Guerry  <bzg@gnu.org>
6256         * simple.el (define-alternatives): Call the selected command
6257         interactively.  When setting `COMMAND--implementation' for the
6258         first time, tell the user how to chose another implementation.
6259         Enhance the docstring.
6261 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6263         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
6264         (log-edit--match-first-line): New function.
6265         (log-edit-font-lock-keywords): Use it.
6266         (log-edit-mode): Make jit-lock-defer-multiline work.
6268 2014-01-13  Bastien Guerry  <bzg@gnu.org>
6270         * rect.el (rectangle-mark-mode): When the region is not active,
6271         display a message saying that the mark as been set and that
6272         rectangle mode is in use.
6273         (rectangle--highlight-for-redisplay): Only put an overlay with a
6274         visible vertical bar when (display-graphic-p) is non-nil.
6275         This partially fixes Bug#16403.
6277 2014-01-13  Juri Linkov  <juri@jurta.org>
6279         * info.el (Info-find-file): Go to DIR before displaying the error
6280         about a nonexistent file if no previous Info file is visited.
6281         Use `user-error' instead of `error' for "Info file %s does not exist".
6282         (Info-find-node-2): In case of a nonexistent node in unwind forms
6283         go to the Top node if there is no previous node to revert to.
6284         (Bug#16405)
6286 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
6288         fit-frame/window-to-buffer code fixes including one for Bug#14096.
6289         * window.el (fit-frame-to-buffer): Fix doc-string.
6290         Respect window-min-height/-width.  Fit pixelwise when
6291         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
6292         when avoiding that frame goes partially off-screen.
6293         (fit-window-to-buffer): Respect window-min-height/-width
6294         (Bug#14096).
6296 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6298         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
6299         after an empty line.
6301 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6303         * net/shr.el (shr-render-region): Autoload.
6305 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
6307         * net/eww.el (eww-download-directory): Rename from
6308         `eww-download-path' (Bug#16419).
6310 2014-01-12  Leo Liu  <sdl.web@gmail.com>
6312         * dired-x.el (dired-mode-map): Fix last change.
6314         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
6316 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
6318         Spelling fixes.
6319         * emacs-lisp/generic.el (generic--normalize-comments):
6320         Rename from generic--normalise-comments.  All uses changed.
6321         * play/bubbles.el (bubbles--neighborhood-score)
6322         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
6323         (bubbles--neighborhood-available)
6324         (bubbles--update-neighborhood-score):
6325         Rename from names with 'neighbourhood'.  All uses changed.
6327 2014-01-12  Leo Liu  <sdl.web@gmail.com>
6329         Re-implement the feature of showing eldoc info after editing.
6330         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
6331         (eldoc-edit-message-commands): New function.
6332         (eldoc-print-after-edit): New variable.
6333         (eldoc-pre-command-refresh-echo-area): Emit message only by
6334         eldoc-message-commands.
6335         (eldoc-mode): Restrict eldoc-message-commands to editing commands
6336         if eldoc-print-after-edit is set.  (Bug#16346)
6337         * simple.el (read--expression): Enable eldoc-mode.
6338         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
6340 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
6341             Eric S. Raymond  <esr@thyrsus.com>
6343         * version.el (emacs-repository-get-version): Enhance so the
6344         function works correctly in either a Bazaar or Git repo.
6346 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
6348         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
6349         Goes with removal of the joke manpages from /etc.
6351 2014-01-10  Kenichi Handa  <handa@gnu.org>
6353         * mail/rmail.el (rmail-get-coding-system):
6354         Check rmail-get-coding-function before "funcall"ing it.
6356 2014-01-10  Glenn Morris  <rgm@gnu.org>
6358         * emacs-lisp/authors.el (authors-fixed-entries):
6359         Update for files that no longer exist.
6361 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
6363         * version.el (emacs-bzr-get-version): Restore compatibilty with
6364         24.3 (Tested).
6366 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
6368         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
6369         and Podfile.
6371 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
6373         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
6375 2014-01-10  Chong Yidong  <cyd@gnu.org>
6377         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
6379 2014-01-10  Anders Lindgren  <andlind@gmail.com>
6381         * follow.el (follow-cache-command-list): Include right-char and
6382         left-char.
6384 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6386         Spelling fixes.
6387         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
6388         * woman.el (woman-mark-horizontal-position):
6389         Rename from woman-mark-horizonal-position.  Use changed.
6391 2014-01-10  Glenn Morris  <rgm@gnu.org>
6393         * info.el (info-initialize): If running uninstalled, ensure our
6394         own info files are always found first, even if INFOPATH is set.
6396         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
6398 2014-01-09  David Engster  <deng@randomsample.de>
6400         * emacs-lisp/eieio-custom.el:
6401         * emacs-lisp/eieio-opt.el: Set generated autoload file to
6402         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
6403         * emacs-lisp/eieio.el: Regenerate autoloads.
6405 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
6407         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
6408         following renames.  (Bug#8756)
6410 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6412         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
6413         (bug#16382).
6414         (activate-mark): Add `no-tmm' argument.
6415         (set-mark, push-mark-command): Use it instead of running
6416         activate-mark-hook by hand.
6418 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
6420         In preparation for the move to git, sanitize out some
6421         Bazaar-specific names.
6423         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
6425         * version.el (emacs-bzr-version): Name changed to
6426         emacs-repository-version.  Obsolete-variable alias made.
6427         * loadup.el: Follow through on this name change.
6428         * mail/emacsbug.el (report-emacs-bug): Factor out any
6429         assumption about the version control system in use.
6431 2014-01-08  David Engster  <deng@randomsample.de>
6433         * help-fns.el (help-fns-describe-function-functions):
6434         New variable to call functions for augmenting help buffers.
6435         (describe-function-1): Remove explicit calls to
6436         `help-fns--compiler-macro', `help-fns--parent-mode' and
6437         `help-fns--obsolete'.  Put them in above new variable instead, and
6438         call them through `run-hook-with-args'.
6439         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
6440         `eieio-describe-class'.  Not meant for interactive use anymore,
6441         but to augment existing help buffers.  Remove optional second
6442         argument.  Create proper button for file location.
6443         Rewrite function to use `insert' instead of `princ' and `prin1' where
6444         possible.
6445         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
6446         (eieio-method-def, eieio-class-def): Move further up.
6447         (describe-method, describe-generic, eieio-describe-method):
6448         Remove aliases.
6449         (eieio-help-constructor, eieio-help-generic): Rename from
6450         `eieio-describe-constructor' and `eieio-describe-generic', resp.
6451         Rewrite to use `insert' in the current buffer and use proper help
6452         buttons.
6453         (eieio-help-find-method-definition)
6454         (eieio-help-find-class-definition): Also accept symbols as
6455         arguments.
6456         (eieio-help-mode-augmentation-maybee): Remove.
6457         (eieio-describe-class-sb): Use `describe-function'.
6458         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
6459         Add `eieio-help-generic' and `eieio-help-constructor'.
6461 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
6463         Spelling fixes.
6464         * language/china-util.el (hz-ascii-designation):
6465         Rename from hz-ascii-designnation.
6466         (hz-ascii-designation): Rename from hz-ascii-designnation.
6467         All uses changed.
6469 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6471         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
6472         package-alist.
6474 2014-01-08  Bastien Guerry  <bzg@gnu.org>
6476         * emacs-lisp/package.el (package-delete):
6477         Correctly delete the package from package-alist.
6479 2014-01-08  Daiki Ueno  <ueno@gnu.org>
6481         * emacs-lisp/package.el (url-recreate-url): Declare.
6482         (url-http-target-url): Declare.
6483         (package-handle-response): Include requested URL in the error message.
6484         (package--check-signature): Don't re-signal errors from
6485         package--with-work-buffer.  Suggested by Stefan Monnier.
6487 2014-01-07  Bastien Guerry  <bzg@gnu.org>
6489         * minibuffer.el (completion--try-word-completion): When both a
6490         hyphen and a space are possible candidates for the character
6491         following a word, display both candidates.  (Bug#15980)
6493 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
6495         * window.el (balance-windows-2): While rounding don't give a
6496         window more than the remainder.  Bug#16351, bug#16383.
6498 2014-01-07  Glenn Morris  <rgm@gnu.org>
6500         * menu-bar.el (menu-bar-help-extra-packages): Remove.
6501         (menu-bar-help-menu): Use view-external-packages instead.
6503 2014-01-07  Bastien Guerry  <bzg@gnu.org>
6505         * emacs-lisp/package.el (package-delete): Also delete the package
6506         name from `package-alist', not its description only.
6508 2014-01-07  Glenn Morris  <rgm@gnu.org>
6510         * help.el (view-external-packages):
6511         * menu-bar.el (menu-bar-help-extra-packages):
6512         Visit efaq.info rather than etc/MORE.STUFF.
6514 2014-01-07  Juri Linkov  <juri@jurta.org>
6516         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
6517         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
6519         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
6520         that shadows RET.  (Bug#16342)
6522 2014-01-07  Chong Yidong  <cyd@gnu.org>
6524         * isearch.el (isearch-yank-char, isearch-yank-word)
6525         (isearch-yank-line): Doc fix.
6527 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6529         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
6530         * emacs-lisp/elint.el (elint-find-builtins):
6531         * emacs-lisp/eldoc.el (eldoc-symbol-function):
6532         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
6533         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
6534         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6535         * apropos.el (apropos-safe-documentation):
6536         * subr.el (symbol-file): Remove redundant fboundp.
6537         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
6539 2014-01-06  Bastien Guerry  <bzg@gnu.org>
6541         * hl-line.el (global-hl-line-overlay): Make a local variable.
6542         (global-hl-line-overlays): New variable to store all overlays.
6543         (global-hl-line-mode): Don't delete overlays from the current
6544         buffer when `global-hl-line-sticky-flag' is non-nil.
6545         (global-hl-line-highlight): Add new overlays to
6546         `global-hl-line-overlays'.
6547         (global-hl-line-unhighlight-all): New function to delete all
6548         overlays when turning off `global-hl-line-mode'.
6549         This fixes Bug#16183.
6551 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6553         * subr.el (set-transient-map): Fix nested case and docstring.
6555 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
6557         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
6558         `Texinfo' entry.
6560 2014-01-06  Daniel Colascione  <dancol@dancol.org>
6562         Fix defun navigation in vc log view.
6564         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
6565         like `beginning-of-defun'.
6566         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
6567         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
6568         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
6569         (log-view-extract-comment): Call `log-view-current-entry' directly
6570         instead of relying on broken `log-view-beginning-of-defun' behavior.
6572 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
6574         Spelling fixes.
6575         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
6576         * emacs-lisp/debug.el (cancel-debug-on-entry):
6577         * epg.el (epg-error-to-string):
6578         * files.el (recover-file):
6579         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
6580         * mail/emacsbug.el (report-emacs-bug-hook):
6581         * mail/sendmail.el (mail-recover):
6582         * ses.el (ses-yank-resize):
6583         * term/ns-win.el (ns-print-buffer):
6584         Spelling fixes in diagnostics, mostly for "canceled" with one L.
6585         * epg.el (epg-key-capability-alist): Rename from misspelled version.
6586         All uses changed.
6587         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
6589 2014-01-06  Leo Liu  <sdl.web@gmail.com>
6591         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
6592         to avoid shadowing global key.  (Bug#16354)
6594 2014-01-06  Daniel Colascione  <dancol@dancol.org>
6596         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
6597         rst-mode.
6599 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
6601         * window.el (balance-windows): Add mising t to fix Bug#16351.
6603 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6605         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
6606         (bug#16285).
6607         (shr-insert): If we have a word that's longer than `shr-width',
6608         break after it anyway.  Otherwise we'll do no breaking once we get
6609         such a long word.
6611 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6613         * net/eww.el (eww): Support single/double quote for search.
6614         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
6615         (eww-history-quit): Delete and use quit-window.
6616         (eww-history-kill): Delete, because it doesn't work well and
6617         not necessary.
6618         (eww-history-mode-map): Delete some keys and add easy-menu.
6620 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
6622         Fix misspelling of 'chinese' in rx (Bug#16237).
6623         * emacs-lisp/rx.el (rx-categories): Correct spelling of
6624         chinese-two-byte.
6626         Change subword regexps back to vars (Bug#16296).
6627         * progmodes/subword.el (subword-forward-regexp)
6628         (subword-backward-regexp): Change these back to variables.
6630 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6632         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
6633         syntax-begin-function (bug#16247).
6635 2014-01-03  Chong Yidong  <cyd@gnu.org>
6637         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
6638         (advice--docstring): Delete variable.
6639         (advice--make-1): Leave the docstring empty.
6640         (advice-add): Use function-documentation for advised docstring.
6642         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
6643         Ignore function-documentation property when getting documentation.
6644         (ad-activate-advised-definition): Use function-documentation
6645         generate the docstring.
6646         (ad-make-advised-definition): Don't call
6647         ad-make-advised-definition-docstring.
6648         (ad-make-advised-definition-docstring, ad-advised-definition-p):
6649         Delete functions.
6651         * progmodes/sql.el (sql-help): Use function-documentation instead
6652         of dynamic-docstring-function property.  No need to autoload now.
6653         (sql--help-docstring): New variable.
6654         (sql--make-help-docstring): Use it.
6656 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6658         * ielm.el (ielm-tab): Retarget.
6659         (ielm-map): Use ielm-tab for tab.
6660         (ielm-complete-filename): Use comint-filename-completion.
6661         (ielm-complete-symbol): Remove.
6662         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
6663         remove ielm-tab from completion-at-point-functions (bug#16224).
6665         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
6666         Beware signals raised by predicates (bug#16201).
6668 2014-01-02  Richard Stallman  <rms@gnu.org>
6670         * dired-aux.el (dired-do-print): Handle printer-name.
6672         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
6673         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
6674         (rmail-epa-decrypt): Turn off mime processing.
6676         * mail/rmail.el (rmail-make-in-reply-to-field):
6677         Add parens in message-id.
6679         * mail/rmail.el (rmail-get-coding-function): Variable.
6680         (rmail-get-coding-system): Use it.
6682 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
6684         * international/mule-conf.el: Unify the charset indian-is13194.
6685         (indian-is13194): Specify unify-map.
6687 2013-12-31  Leo Liu  <sdl.web@gmail.com>
6689         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
6691 2013-12-30  Daniel Colascione  <dancol@dancol.org>
6693         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
6694         of printing a useless when we resume from sleep.
6696         * progmodes/sh-script.el
6697         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
6698         in indentation code.  (Bug#16233)
6700 2013-12-28  João Távora  <joaotavora@gmail.com>
6702         * elec-pair.el (electric-pair-post-self-insert-function):
6703         Don't open extra newlines at beginning of buffer.  (Bug#16272)
6705 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
6707         * frame.el (window-system-for-display): Don't allow to create a
6708         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
6710 2013-12-28  Glenn Morris  <rgm@gnu.org>
6712         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
6713         Update callers.
6715         * apropos.el (apropos-match-face):
6716         * calculator.el (calculator-displayer):
6717         * dabbrev.el (dabbrev-search-these-buffers-only):
6718         * face-remap.el (buffer-face-mode-face):
6719         * simple.el (yank-handled-properties):
6720         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
6721         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
6722         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
6723         (hashcash-double-spend-database):
6724         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
6725         (ruby-deep-indent-paren-style):
6726         * textmodes/flyspell.el (flyspell-auto-correct-binding):
6727         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
6728         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
6729         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
6730         Specify custom types.
6732         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
6733         * bookmark.el (bookmark-bmenu-use-header-line):
6734         * doc-view.el (doc-view-scale-internally):
6735         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
6736         * register.el (register-preview-delay):
6737         * net/shr.el (shr-bullet):
6738         * progmodes/cfengine.el (cfengine-cf-promises)
6739         (cfengine-parameters-indent):
6740         * progmodes/octave.el (inferior-octave-error-regexp-alist):
6741         * textmodes/reftex-vars.el (reftex-label-regexps):
6742         * vc/log-edit.el (log-edit-setup-add-author): Add version.
6744         * net/tls.el (tls-certtool-program): Fix default value.
6746         * desktop.el (desktop-restore-in-current-display):
6747         * newcomment.el (comment-empty-lines):
6748         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
6749         (idlwave-pad-keyword):
6750         * progmodes/tcl.el (tcl-tab-always-indent):
6751         * textmodes/reftex-vars.el (reftex-index-default-tag):
6752         * elec-pair.el (electric-pair-skip-whitespace):
6753         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
6755         * emacs-lisp/authors.el (authors-ignored-files)
6756         (authors-valid-file-names, authors-renamed-files-alist): Additions.
6758 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
6760         * shell.el (shell-dynamic-complete-command): Doc fix.
6761         (shell--command-completion-data): Shell completion now matches
6762         executable filenames from the current buffer's directory, on
6763         systems in which this behavior is the default (windows-nt, ms-dos).
6765 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
6767         * net/shr.el (shr-insert): Don't infloop if the width is zero.
6769 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6771         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
6772         (bug#16251).
6774         * electric.el: Move all electric-pair-* to elec-pair.el.
6775         * elec-pair.el: New file, split from electric.el.
6777 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
6779         * net/shr.el (shr-find-fill-point): Don't try to fill if the
6780         indentation level is larger than the width, because that will
6781         infloop.
6782         (shr-insert): Fill repeatedly long texts, so that Japanese is
6783         formatted correctly (bug#16263).
6784         (shr-find-fill-point): Off by one error in comparison with the
6785         indentation.
6787 2013-12-26  João Távora  <joaotavora@gmail.com>
6789         * electric.el (electric-pair-mode): More flexible engine for skip-
6790         and inhibit predicates, new options for pairing-related functionality.
6791         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
6792         if that keeps or improves their balance in buffers.
6793         (electric-pair-delete-adjacent-pairs): Delete the pair when
6794         backspacing over adjacent matched delimiters.
6795         (electric-pair-open-extra-newline): Open extra newline when
6796         inserting newlines between adjacent matched delimiters.
6797         (electric--sort-post-self-insertion-hook):
6798         Sort post-self-insert-hook according to priority values when
6799         minor-modes are activated.
6800         * simple.el (newline-and-indent): Call newline with interactive
6801         set to t.
6802         (blink-paren-post-self-insert-function): Set priority to 100.
6803         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6804         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
6805         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
6806         electric-pair-open-newline-between-pairs to nil.
6808 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6810         * progmodes/python.el: Use lexical-binding.
6811         (python-nav-beginning-of-defun): Stop searching ASAP.
6813 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
6815         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
6816         Fix interactive spec.  Doc fix.  (Bug#15754)
6818 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
6820         * emacs-lisp/byte-run.el (eval-when-compile):
6821         * progmodes/cc-defs.el (cc-eval-when-compile):
6822         Fix edebug spec (bug#16184).
6824 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
6826         * net/shr.el (shr-visit-file): Remove debugging function.
6827         (shr-insert): Don't infloop if we can't find a good place to break
6828         the line (bug#16256).
6830 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6832         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
6833         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
6834         python-nav-lisp-forward-sexp-safe.
6835         (python-nav--forward-sexp): New argument SAFE allows switching
6836         forward sexp movement behavior for parens.
6837         (python-nav-forward-sexp): Throw errors on unterminated parens
6838         (Bug#16191).
6839         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
6840         (python-nav-backward-sexp-safe): New functions.
6841         (python-shell-buffer-substring):
6842         Use `python-nav-forward-sexp-safe'.
6844 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
6846         * net/shr.el (shr-find-fill-point): Don't break lines before a
6847         quotation mark.
6848         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
6849         (shr-find-fill-point): Remove the special checks for the quotation
6850         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
6852 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6854         * net/eww.el (eww-form-textarea): Use a different face for
6855         textareas than text input since they have different keymaps
6856         (bug#16142).
6858 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6860         * progmodes/python.el (python-nav-beginning-of-statement):
6861         Speed up (Bug#15295).
6863 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
6865         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
6866         the window configuration.
6868 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
6870         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
6871         we run on MS-Windows or MS-DOS.
6873 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
6875         * window.el (balance-windows-area): Call window-size instead of
6876         window-height and window-width.  Bug#16241.
6878 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
6880         * net/eww.el (eww-bookmark-quit): Remove.
6881         (eww-bookmark-browse): Restore the window configuration when you
6882         choose a bookmark (bug#16144).
6884 2013-12-24  Daniel Colascione  <dancol@dancol.org>
6886         * icomplete.el: Remove redundant :group arguments to `defcustom'
6887         throughout.
6888         (icomplete-show-matches-on-no-input): New customizable variable.
6889         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
6890         we have something to show.
6891         (icomplete-exhibit): Compute completions even if we have no user input.
6893 2013-12-23  Daniel Colascione  <dancol@dancol.org>
6895         * icomplete.el: Move `provide' to end of file.
6897 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
6899         * net/gnutls.el (gnutls-verify-error): Add version tag.
6901 2013-12-23  Chong Yidong  <cyd@gnu.org>
6903         * subr.el (set-transient-map): Rename from
6904         set-temporary-overlay-map.  Doc fix.
6906         * face-remap.el (text-scale-adjust):
6907         * indent.el (indent-rigidly):
6908         * kmacro.el (kmacro-call-macro):
6909         * minibuffer.el (minibuffer-force-complete):
6910         * repeat.el (repeat):
6911         * simple.el (universal-argument--mode):
6912         * calendar/todo-mode.el (todo-insert-item--next-param):
6913         * progmodes/f90.el (f90-abbrev-start): Callers changed.
6915         * indent.el (indent-rigidly): Use substitute-command-keys.
6917 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6919         * net/eww.el (eww-tag-select): Add text-property to jump to next
6920         select field.
6921         (eww): Add non-supported ftp error.
6923 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6925         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
6926         comments.  Handle electric indent after typing `?' and `!'.
6928 2013-12-22  Chong Yidong  <cyd@gnu.org>
6930         * faces.el (face-spec-recalc): If the theme specs are not
6931         applicable to a frame, fall back on the defface spec.
6932         This prevents themes from obliterating faces on low-color terminals.
6934 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6936         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6937         after `{'.  We need it after block openers, and it doesn't seem
6938         to hurt after hash openers.
6940 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6942         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
6943         extracted from `ruby-smie-rules'.
6944         (ruby--electric-indent-chars): New variable.
6945         (ruby--electric-indent-p): New function.
6946         (ruby-mode): Use `electric-indent-functions' instead of
6947         `electric-indent-chars'.
6949 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6951         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
6952         docstring.
6953         (ruby-smie-rules): Indent plus one level after `=>'.
6955 2013-12-21  Richard Stallman  <rms@gnu.org>
6957         * simple.el (newline): Doc fix.
6959 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6961         * net/eww.el (eww-list-histories, eww-list-histories)
6962         (eww-history-browse, eww-history-quit, eww-history-kill)
6963         (eww-history-mode-map, eww-history-mode): New command and
6964         functions to list browser histories.
6965         (eww-form-text): Support text form with disabled
6966         and readonly attributes.
6967         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
6969 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6971         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
6972         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
6973         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
6974         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
6975         Use `user-error'.
6976         (eww-bookmark-mode-map): Add menu.
6977         (eww-render, eww-mode): Use `setq-local'.
6978         (eww-tool-bar-map): New variable.
6979         (eww-mode): Set `tool-bar-map'.
6980         (eww-view-source): Check for `html-mode' with `fboundp'.
6982 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6984         * net/shr.el (shr--extract-best-source): Don't bug out on audio
6985         elements with text inside.  Also remove debugging.
6987 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
6989         * cus-start.el (all): Add ns-use-srgb-colorspace.
6991 2013-12-21  Chong Yidong  <cyd@gnu.org>
6993         * custom.el (custom-theme-recalc-face): Do nothing if the face is
6994         undefined.  Thus, theme settings for undefined faces do not take
6995         effect until the faces are defined with defface, the same as with
6996         theme variables.
6998         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
6999         (face-spec-reset-face): Don't assign extra properties in temacs.
7000         (face-spec-recalc): Apply X resources too.
7002 2013-12-21  Chong Yidong  <cyd@gnu.org>
7004         * faces.el (face-spec-set):
7005         * cus-face.el (custom-theme-set-faces, custom-set-faces):
7006         * custom.el (defface): Doc fixes (Bug#16203).
7008         * indent.el (indent-rigidly-map): Add docstring, and move commands
7009         into named functions.
7010         (indent-rigidly-left, indent-rigidly-right)
7011         (indent-rigidly-left-to-tab-stop)
7012         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
7013         indentation direction based on bidi direction, and accumulate
7014         sequential commands in a single undo boundary.
7015         (indent-rigidly--pop-undo): New utility function.
7017 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
7019         * faces.el (read-face-name): Require crm.el when using crm-separator.
7021 2013-12-20  Daniel Colascione  <dancol@dancol.org>
7023         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
7024         so that we don't reflow comments into the shebang line.
7026 2013-12-20  Juri Linkov  <juri@jurta.org>
7028         * saveplace.el (save-place-to-alist): Add `dired-filename' as
7029         a position when `dired-directory' is non-nil.  Check integer
7030         positions with `integerp'.
7031         (toggle-save-place, save-places-to-alist): Add check for
7032         `dired-directory'.
7033         (save-place-find-file-hook): Check integer positions with
7034         `integerp'.
7035         (save-place-dired-hook): Use `dired-goto-file' when
7036         `dired-filename' is found in the assoc list.  Check integer
7037         positions with `integerp'.
7038         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
7040         * dired.el (dired-initial-position-hook): Rename back from
7041         `dired-initial-point-hook'.
7042         (dired-initial-position): Rename `dired-initial-point-hook' to
7043         `dired-initial-position-hook'.
7044         (dired-file-name-at-point): Doc fix.  (Bug#15329)
7046 2013-12-20  Juri Linkov  <juri@jurta.org>
7048         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
7049         (read-regexp-suggestions): New function.
7050         (read-regexp): Use `read-regexp-defaults-function' to get default values.
7051         Use `read-regexp-suggestions'.  Add non-empty default to history
7052         for empty input.
7053         (occur-read-regexp-defaults-function): Remove function.
7054         (occur-read-primary-args): Use `regexp-history-last' instead of
7055         `occur-read-regexp-defaults-function'.
7057         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
7058         (hi-lock-line-face-buffer, hi-lock-face-buffer)
7059         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
7060         `hi-lock-read-regexp-defaults-function'.  Doc fix.
7061         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
7062         with `find-tag-default-as-symbol-regexp'.  Doc fix.
7063         (hi-lock-read-regexp-defaults): Remove function.
7064         (hi-lock-regexp-okay): Add check for null.
7066         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
7067         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
7069         * subr.el (find-tag-default-as-symbol-regexp): New function.
7070         (find-tag-default-as-regexp): Move symbol regexp formatting to
7071         `find-tag-default-as-symbol-regexp'.
7073 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
7075         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
7076         (Bug#14179)
7078 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
7080         * calendar/todo-mode.el: New implementation of item insertion
7081         commands and key bindings.
7082         (todo-key-prompt): New face.
7083         (todo-insert-item): New command.
7084         (todo-insert-item--parameters): New defconst, replacing defvar
7085         todo-insertion-commands-args-genlist.
7086         (todo-insert-item--param-key-alist): New defconst, replacing
7087         defvar todo-insertion-commands-arg-key-list.
7088         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
7089         (todo-insert-item--argsleft, todo-insert-item--apply-args)
7090         (todo-insert-item--next-param): New functions.
7091         (todo-insert-item--args, todo-insert-item--argleft)
7092         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
7093         New variables.
7094         (todo-key-bindings-t): Change binding of "i" from
7095         todo-insertion-map to todo-insert-item.
7096         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
7097         (todo-insertion-command-name, todo-insertion-commands-names)
7098         (todo-define-insertion-command, todo-insertion-commands)
7099         (todo-insertion-key-bindings, todo-insertion-map): Remove.
7101 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
7103         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
7104         (todo-toggle-item-highlighting): Use eval-and-compile instead of
7105         eval-when-compile.
7106         (todo-move-category): Allow choosing a non-existing todo file to
7107         move the category to, and create that file.
7108         (todo-default-priority): New user option.
7109         (todo-set-item-priority): Use it.
7110         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
7111         (desktop-restore-file-buffer): Declare.
7112         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
7113         (todo-modes-set-2): Locally set desktop-save-buffer to
7114         todo-desktop-save-buffer.
7115         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
7116         (auto-mode-alist): Add autoload cookie.
7118 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
7120         * emacs-lisp/subr-x.el: Renamed from helpers.el.
7121         helpers.el was a poor choice of name.
7122         (string-remove-prefix): New function.
7123         (string-remove-suffix): New function.
7125 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
7127         Fix assignment for new window total sizes.
7128         * window.el (window--pixel-to-size): Remove function.
7129         (window--pixel-to-total-1, window--pixel-to-total):
7130         Fix calculation of new total sizes.
7132 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
7134         * comint.el (comint-output-filter): Fix rear-nonsticky property
7135         placement (Bug#16010).
7137 2013-12-20  Chong Yidong  <cyd@gnu.org>
7139         * faces.el (read-color): Minor fix for completion function.
7141 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
7143         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
7144         New option.  (Bug#16182)
7145         (ruby-smie--indent-to-stmt-p): Use it.
7146         (ruby-smie-rules): Revert the logic in the handling of `when'.
7147         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
7148         (ruby-deep-arglist, ruby-deep-indent-paren)
7149         (ruby-deep-indent-paren-style): Update docstrings to note that the
7150         vars don't have any effect with SMIE.
7152 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
7154         * calc/calc.el (calc-enter, calc-pop): Use the variable
7155         `calc-context-sensitive-enter'.
7157 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7159         * net/shr.el (shr-insert): Protect against infloops in degenerate
7160         tables.
7162 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7164         * progmodes/octave.el (octave): Add link to manual and octave
7165         homepage.
7166         (octave-mode-menu): Link to octave-mode manual.
7168 2013-12-20  Leo Liu  <sdl.web@gmail.com>
7170         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
7171         insertion using skeleton-end-newline.  (Bug#16138)
7173 2013-12-20  Juri Linkov  <juri@jurta.org>
7175         * replace.el (occur-engine): Use `add-face-text-property'
7176         to add the face property to matches and titles.  (Bug#14645)
7178         * hi-lock.el (hi-green): Use lighter color "light green" closer to
7179         the palette of other hi-lock colors.
7180         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
7182 2013-12-19  Juri Linkov  <juri@jurta.org>
7184         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
7185         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
7186         (minibuffer-history-symbol): Move variable declaration closer to
7187         its usage.
7189         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
7190         (Bug#14785)
7192 2013-12-19  Juri Linkov  <juri@jurta.org>
7194         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
7195         New function.
7196         (log-edit-hook): Add it to :options.  (Bug#16170)
7198 2013-12-19  Juri Linkov  <juri@jurta.org>
7200         * simple.el (eval-expression-print-format): Don't check for
7201         command names and the last command.  Always display additional
7202         formats of the integer result in the echo area, and insert them
7203         to the current buffer only with a zero prefix arg.
7204         Display character when char-displayable-p is non-nil.
7205         (eval-expression): With a zero prefix arg, set `print-length' and
7206         `print-level' to nil, and insert the integer values from
7207         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
7209         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
7210         `eval-last-sexp-arg-internal'.  Doc fix.
7211         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
7212         `eval-last-sexp-print-value'.  Doc fix.
7213         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
7214         Set `print-length' and `print-level' to nil when arg is zero.
7215         (eval-last-sexp): Doc fix.
7216         (eval-defun-2): Print the integer values from
7217         `eval-expression-print-format' at the end.
7219         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
7220         values from `eval-expression-print-format' at the end.
7222         * ielm.el (ielm-eval-input): Print the integer
7223         values from `eval-expression-print-format' at the end.
7225 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
7227         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
7228         2013-12-11T19:01:44Z!tzz@lifelogs.com.
7230 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7232         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
7233         (hl-line-highlight, global-hl-line-highlight): Use it.
7234         (hl-line-overlay): Use defvar-local.
7236 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
7238         * term/ns-win.el: Require dnd.
7239         (global-map): Remove drag items.
7240         (ns-insert-text, ns-set-foreground-at-mouse)
7241         (ns-set-background-at-mouse):
7242         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
7243         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
7244         New functions.
7246 2013-12-19  Glenn Morris  <rgm@gnu.org>
7248         * emacs-lisp/ert.el (ert-select-tests):
7249         Fix string/symbol mixup.  (Bug#16121)
7251 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
7253         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
7254         keywords to their parent.
7256 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
7258         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
7259         first arg to be a string (fixed dead code), or an operator symbol.
7260         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
7261         operator symbols.
7262         (ruby-smie-rules): Remove parent token check in the `.' clause, it
7263         did nothing.  Don't respond to `(:after ".")', it will be called
7264         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
7265         change anything.  Only return indentation for binary operators
7266         when they are hanging.  De-dent opening paren when its parent is
7267         `.', otherwise it looks bad when the dot is not at bol or eol
7268         (bug#16182).
7270 2013-12-19  Juri Linkov  <juri@jurta.org>
7272         * replace.el (query-replace-read-args): Split a non-negative arg
7273         and a negative arg into separate elements.
7274         (query-replace, query-replace-regexp, replace-string)
7275         (replace-regexp): Add arg `backward'.  Doc fix.
7276         (replace-match-maybe-edit): When new arg `backward' is non-nil,
7277         move point to the beginning of the match.
7278         (replace-search, replace-highlight): Use new arg `backward'
7279         to set the value of `isearch-forward'.
7280         (perform-replace): Add arg `backward' and use it to perform
7281         replacement backward.  (Bug#14979)
7283         * isearch.el (isearch-query-replace): Use a negative prefix arg
7284         to call `perform-replace' with a non-nil arg `backward'.
7286 2013-12-18  Juri Linkov  <juri@jurta.org>
7288         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
7289         to the default list.  Move `log-edit-show-files' to the end.
7290         Add more available functions to options.
7291         (log-edit): Move default specific settings to
7292         `log-edit-insert-message-template'.  Don't move point.
7293         (log-edit-insert-message-template): New function.
7294         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
7295         (Bug#16170)
7297 2013-12-18  Juri Linkov  <juri@jurta.org>
7299         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
7300         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
7302 2013-12-18  Leo Liu  <sdl.web@gmail.com>
7304         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
7305         (Bug#16186)
7307 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
7309         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
7310         formats for displaying file sizes when the -s switch is given.
7311         Instead, compute a separate format for displaying the size in
7312         blocks, which is displayed in addition to the "regular" size.
7313         When -h is given in addition to -s, produce size in blocks in
7314         human-readable form as well.  (Bug#16179)
7316 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
7318         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7319         Reference tables with ~\ref{...} instead of only \ref{...}.
7321 2013-12-18  Chong Yidong  <cyd@gnu.org>
7323         * cus-edit.el (custom-magic-alist): Fix "themed" description
7324         (Bug#14348).
7326         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
7327         is non-nil, do not create a new entry in the symbol's theme-value
7328         or theme-face property; update theme-settings only (Bug#14664).
7329         (custom-available-themes): Doc fix.
7331         * cus-theme.el (custom-new-theme-mode-map): Add bindings
7332         (Bug#15674).
7334         * replace.el (occur-engine): Avoid infloop (Bug#7593).
7336 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
7338         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
7339         (Bug#13914).
7341 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
7343         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
7345 2013-12-18  Glenn Morris  <rgm@gnu.org>
7347         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
7348         * cus-start.el (load-prefer-newer): New option.
7350 2013-12-18  Le Wang  <l26wang@gmail.com>
7352         * comint.el (comint-previous-matching-input-from-input):
7353         Retain point (Bug#13404).
7355 2013-12-18  Chong Yidong  <cyd@gnu.org>
7357         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
7359 2013-12-18  Glenn Morris  <rgm@gnu.org>
7361         * mail/emacsbug.el (report-emacs-bug):
7362         Only mention enable-multibyte-characters if non-standard.
7364 2013-12-17  Juri Linkov  <juri@jurta.org>
7366         * arc-mode.el (archive-extract-by-file): Check if directory exists
7367         before deletion to not show irrelevant errors if it doesn't exist.
7369 2013-12-17  Juri Linkov  <juri@jurta.org>
7371         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
7372         (Bug#14751)
7374         * net/eww.el (browse-web): Add alias to `eww'.
7375         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
7376         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
7378         * net/browse-url.el (browse-url-browser-function): Move `eww'
7379         closer to similar functions.
7381         * startup.el (fancy-startup-screen, fancy-about-screen):
7382         Set browse-url-browser-function to eww-browse-url locally.
7383         (Bug#14751)
7385 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7387         * window.el (window--pixel-to-total): Remove unused `mini' var.
7388         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
7389         (split-window): Remove unused `new' var.
7390         (window--display-buffer): Remove unused `frame' and `delta' vars.
7391         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
7392         and display-width'.
7394 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
7396         * dired.el (dired-mark-pop-up):
7397         * register.el (register-preview): Don't bind
7398         split-height-threshold here since it's now done in
7399         display-buffer-below-selected.
7401 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
7403         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
7404         xterm-rgb-convert-to-16bit.
7405         (rxvt-register-default-colors): Standardize with
7406         xterm-register-default-colors (Bug#14078).
7408 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
7410         * simple.el (kill-region): Pass mark first, then point, so that
7411         kill-append works right (Bug#12819).
7412         (copy-region-as-kill, kill-ring-save): Likewise.
7414 2013-12-17  Leo Liu  <sdl.web@gmail.com>
7416         * net/rcirc.el (rcirc-add-face):
7417         * eshell/em-prompt.el (eshell-emit-prompt):
7418         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
7419         (Bug#16167)
7421 2013-12-17  Chong Yidong  <cyd@gnu.org>
7423         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
7424         Suggested by Xue Fuqiao.
7426 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
7428         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
7430 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7432         * net/shr.el (shr-insert-document): Remove unused var
7433         `shr-preliminary-table-render'.
7434         (shr-rescale-image): Remove unused arg `force'.
7435         (shr-put-image): Update calls accordingly.
7436         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
7438 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
7440         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
7441         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
7442         :close-all, to see which indentation method to use (Bug#16116).
7443         (smie-rules-function): Document the method :close-all.
7445 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7447         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
7449         * net/eww.el (eww-display-html): If we can't find the anchor we're
7450         looking for, then go to point-min.
7452 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
7454         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
7455         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
7456         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
7457         Expand dir too, in case it's relative.
7459 2013-12-16  Juri Linkov  <juri@jurta.org>
7461         * desktop.el (desktop-auto-save-timeout): Change default to
7462         `auto-save-timeout'.  Doc fix.
7463         (desktop-save): Skip the timestamp in desktop-saved-frameset
7464         when checking for auto-save changes.
7465         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
7466         `desktop-auto-save' is called repeatedly by the idle timer.
7467         (desktop-auto-save-set-timer): Replace `run-with-timer' with
7468         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
7469         (Bug#15331)
7471 2013-12-16  Juri Linkov  <juri@jurta.org>
7473         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
7474         (Bug#16035)
7475         (isearch-pre-command-hook): Check `this-command' for symbolp.
7477 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7479         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
7481 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
7483         * progmodes/cfengine.el (cfengine3--current-word): Remove.
7484         (cfengine3--current-function): Bring in the current-function
7485         functionality from `cfengine3--current-word'.
7486         (cfengine3-completion-function): Bring in the
7487         bounds-of-current-word functionality from
7488         `cfengine3--current-word'.
7490 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
7492         * window.el (display-buffer-below-selected):
7493         Bind split-height-threshold to 0 as suggested by Juri Linkov.
7495 2013-12-16  Leo Liu  <sdl.web@gmail.com>
7497         * progmodes/compile.el (compile-goto-error): Do not push-mark.
7498         Remove NOMSG arg and all uses changed.
7500 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7502         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
7503         (cua--deactivate-rectangle): Don't deactivate the mark.
7504         (cua-set-rectangle-mark): Don't set mark-active since
7505         cua--activate-rectangle already does it for us.
7506         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
7507         non-rectangular region.
7509         * emulation/cua-base.el (cua-repeat-replace-region):
7510         Use with-current-buffer.
7512         * net/gnutls.el: Use cl-lib.
7513         (gnutls-negotiate): `mapcan' -> cl-mapcan.
7515 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
7517         * emacs-lisp/package.el (package-built-in-p): Support both
7518         built-in and the package.el converted package descriptions.
7519         (package-show-package-list): Allow keywords.
7520         (package-keyword-button-action): Use it instead of
7521         `finder-list-matches'.
7522         (package-menu-filter-interactive): Interactive filtering (by
7523         keyword) function.
7524         (package-menu--generate): Support keywords and change keymappings
7525         and headers when they are given.
7526         (package--has-keyword-p): Helper function.
7527         (package-menu--refresh): Use it.
7528         (package--mapc): Helper function.
7529         (package-all-keywords): Use it.
7530         (package-menu-mode-map): Set up menu items and keybindings to
7531         provide a filtering UI.
7533 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
7535         * net/gnutls.el (gnutls-verify-error): New defcustom to control
7536         the behavior when a certificate fails validation.  Defaults to
7537         old behavior: never abort, just warn.
7538         (gnutls-negotiate): Use it.
7540 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
7542         * window.el (display-buffer-below-selected): Never split window
7543         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
7545 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
7547         * emacs-lisp/package.el (package--prepare-dependencies): New function.
7548         (package-buffer-info): Use it (bug#15108).
7550 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7552         * icomplete.el (icomplete-completions): Make sure the prefix is already
7553         displayed elsewhere before hiding it (bug#16219).
7555 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
7557         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
7558         open-paren tokens when preceded by a open-paren, too.
7559         (ruby-smie-rules): Handle virtual indentation after open-paren
7560         tokens specially.  If there is code between it and eol, return the
7561         column where is starts (Bug#16118).
7563 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
7565         * progmodes/cfengine.el: Fix `add-hook' doc.
7566         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
7567         (cfengine3--current-word): Fix parameters.
7568         (cfengine3-make-syntax-cache): Simplify further.
7569         (cfengine3-completion-function, cfengine3--current-function):
7570         Use `assq' for symbols.
7571         (cfengine3--current-function): Fix `cfengine3--current-word' call.
7573 2013-12-13  Glenn Morris  <rgm@gnu.org>
7575         * loadup.el (load-path): Warn if site-load or site-init changes it.
7576         No more need to reset it when bootstrapping.
7578 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
7580         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
7581         locations for cf-promises.
7582         (cfengine-mode-syntax-functions-regex): New caching variable.
7583         (cfengine3-fallback-syntax): Fallback syntax for cases where
7584         cf-promises doesn't run.
7585         (cfengine3--current-word): Reimplement using
7586         `cfengine-mode-syntax-functions-regex'.
7587         (cfengine3-completion-function, cfengine3--current-function):
7588         Use `cfengine3-make-syntax-cache' directly.
7589         (cfengine3-clear-syntax-cache): New function.
7590         (cfengine3-make-syntax-cache): Simplify and create
7591         `cfengine-mode-syntax-functions-regex' on demand.
7592         (cfengine3-format-function-docstring): Don't call
7593         `cfengine3-make-syntax-cache' explicitly.
7595 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
7597         Fix windmove-find-other-window broken after pixelwise resizing
7598         (Bug#16017).
7599         * windmove.el (windmove-other-window-loc): Revert change from
7600         2013-12-04.
7601         (windmove-find-other-window): Call window-in-direction.
7602         * window.el (window-in-direction): New arguments SIGN, WRAP and
7603         MINI to emulate original windmove-find-other-window behavior.
7605 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
7607         * simple.el (blink-matching--overlay): New variable.
7608         (blink-matching-open): Instead of moving point, highlight the
7609         matching paren with an overlay
7610         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
7612         * faces.el (paren-showing-faces, show-paren-match)
7613         (show-paren-mismatch): Move from paren.el.
7615 2013-12-13  Leo Liu  <sdl.web@gmail.com>
7617         * indent.el (indent-region): Disable progress reporter in
7618         minibuffer.  (Bug#16108)
7620         * bindings.el (visual-order-cursor-movement): Fix version.
7622 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7624         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
7625         Also match after beginning of line.
7626         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
7627         files.  Thanks to Russell Sim.  (Bug#15378)
7629 2013-12-13  Juri Linkov  <juri@jurta.org>
7631         * simple.el <Keypad support>: Remove key bindings duplicated
7632         with bindings.el.  (Bug#14397)
7634 2013-12-13  Juri Linkov  <juri@jurta.org>
7636         * comint.el (comint-mode-map): Replace `delete-char' with
7637         `delete-forward-char'.  (Bug#16109)
7639 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7641         * progmodes/python.el (python-indent-calculate-indentation):
7642         Fix de-denters cornercase.  (Bug#15731)
7644 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7646         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
7647         (advice--make): Pay attention to `depth'.
7648         (advice--make-1): Don't autoload commands eagerly.
7649         * emacs-lisp/elp.el (elp-instrument-function):
7650         * emacs-lisp/trace.el (trace-function-internal):
7651         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
7653         * iswitchb.el (iswitchb-mode): Don't belittle ido.
7655 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
7657         * term/w32-win.el (w32-handle-dropped-file):
7658         * startup.el (normal-top-level):
7659         * net/browse-url.el (browse-url-file-url):
7660         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
7661         decode file names using 'utf-8' rather than
7662         file-name-coding-system.
7664 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7666         * progmodes/python.el (python-indent-context)
7667         (python-indent-calculate-indentation): Fix auto-identation
7668         behavior for comment blocks.  (Bug#15916)
7670 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7672         * progmodes/python.el (python-indent-calculate-indentation):
7673         When determining indentation, don't treat "return", "pass", etc., as
7674         operators when they are just string constituents.  (Bug#15812)
7676 2013-12-12  Juri Linkov  <juri@jurta.org>
7678         * uniquify.el (uniquify-buffer-name-style): Change default to
7679         `post-forward-angle-brackets'.
7681         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
7682         `uniquify'.  Change default to `post-forward-angle-brackets'.
7684 2013-12-11  Glenn Morris  <rgm@gnu.org>
7686         * emacs-lisp/package.el (finder-list-matches):
7687         Autoload rather than falsely declaring.
7689 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
7691         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
7692         (eww-mode-map): Use them.
7694 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
7696         * window.el (display-buffer-in-side-window): Fix doc-string
7697         (Bug#16115).
7699 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
7701         * vc/vc-git.el: Silence byte-compiler warnings.
7702         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
7703         (log-edit-set-header): Declare.
7705 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
7707         * Makefile.in (custom-deps, finder-data): Run output file names
7708         through unmsys--file-name.  (Bug#16099)
7710 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7712         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
7713         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7715         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
7716         instead of deleting the selection "by hand" (bug#16098).
7717         Rely on insert-for-yank to yank rectangles.
7718         (cua-highlight-region-shift-only): Mark obsolete.
7719         (cua-mode): Don't enable/disable transient-mark-mode,
7720         shift-select-mode (cua-mode works both with and without them), and
7721         pc-selection-mode (obsolete).
7722         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
7723         (cua--deactivate-rectangle): Deactivate it.
7725         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
7726         (delete-selection-helper): Make sure yank starts at the top of the
7727         deleted region.
7728         (minibuffer-keyboard-quit): Use region-active-p.
7730         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
7732         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
7733         to `delete' (bug#16109).
7735 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7737         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
7738         info manual and show keybindings and set `:group' keyword.
7740 2013-12-11  Juri Linkov  <juri@jurta.org>
7742         * delsel.el (delete-active-region): Let-bind `this-command'
7743         to prevent `kill-region' from changing its original value.
7744         (delete-selection-helper): Handle `overwrite-mode' for the type
7745         `kill' exactly the same way as for the type `t'.
7746         (insert-char, quoted-insert, reindent-then-newline-and-indent):
7747         Support more commands.  (Bug#13312)
7749 2013-12-11  Juri Linkov  <juri@jurta.org>
7751         * bindings.el: Map kp keys to non-kp keys systematically
7752         with basic modifiers control, meta and shift.  (Bug#14397)
7754 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
7756         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
7757         "Close browser" menu items.  Fix wrong function of "List
7758         bookmarks".
7760 2013-12-11  Juri Linkov  <juri@jurta.org>
7762         * misearch.el (multi-isearch-buffers): Set the value of
7763         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
7764         arg of isearch-forward to t.
7765         (multi-isearch-buffers-regexp): Set the value of
7766         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
7767         arg of isearch-forward-regexp to t.
7768         (multi-isearch-files): Set the value of
7769         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
7770         arg of isearch-forward to t.
7771         (multi-isearch-files-regexp): Set the value of
7772         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
7773         arg of isearch-forward-regexp to t.  (Bug#16035)
7775         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
7776         arg of isearch-forward to t.
7777         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
7778         arg of isearch-forward-regexp to t.
7779         (dired-isearch-filter-filenames): Remove unnecessary check for
7780         `dired-isearch-filenames'.
7782         * comint.el (comint-history-isearch-backward):
7783         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
7784         (comint-history-isearch-backward-regexp):
7785         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
7787 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
7789         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
7790         unmsys--file-name.  (Bug#16099)
7792 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
7794         * emacs-lisp/package.el (package-keyword-button-action):
7795         Remove finder.el require dependency.
7797 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
7799         * emacs-lisp/package.el: Require finder.el.
7800         (describe-package-1): Add keyword buttons.
7801         (package-make-button): New convenience function.
7802         (package-keyword-button-action): Keyword button action using
7803         `finder-list-matches'.
7805 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
7807         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
7808         last commit.
7810 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
7812         * autorevert.el (auto-revert-notify-add-watch): Do not handle
7813         symlinked files.
7815 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
7817         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7818         after the end of a percent literal.
7820 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
7822         * progmodes/ruby-mode.el (ruby-forward-string): Document.
7823         Handle caret-delimited strings (Bug#16079).
7825 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
7827         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
7828         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
7829         `ruby-parse-partial' (Bug#16078).
7831 2013-12-09  Leo Liu  <sdl.web@gmail.com>
7833         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
7835 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
7837         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
7838         (js-switch-indent-offset): New option.
7839         (js--proper-indentation): Use it.  And handle the case when
7840         "default" is actually a key in an object literal.
7841         (js--same-line): New function.
7842         (js--multi-line-declaration-indentation): Use it.
7843         (js--indent-in-array-comp, js--array-comp-indentation):
7844         New functions.
7845         (js--proper-indentation): Use them, to handle array comprehension
7846         continuations.
7848 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7850         * progmodes/flymake.el (flymake-highlight-line): Re-write.
7851         (flymake-make-overlay): Remove arg MOUSE-FACE.
7852         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
7854 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7856         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
7857         New function.
7858         (redisplay-highlight-region-function): Use it.
7860         * emulation/cua-base.el (cua--explicit-region-start)
7861         (cua--last-region-shifted): Remove.
7862         (cua--deactivate): Use deactivate-mark.
7863         (cua--pre-command-handler-1): Don't handle shift-selection.
7864         (cua--post-command-handler-1): Don't change transient-mark-mode.
7865         (cua--select-keymaps): Use region-active-p rather than
7866         cua--explicit-region-start or cua--last-region-shifted.
7867         (cua-mode): Enable shift-select-mode.
7869 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7871         * progmodes/flymake.el (flymake-popup-current-error-menu):
7872         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
7873         (flymake-posn-at-point-as-event, flymake-popup-menu)
7874         (flymake-make-emacs-menu): Remove.  (Bug#16077)
7876 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7878         * rect.el (rectangle-mark-mode): Activate mark even if
7879         transient-mark-mode is off (bug#16066).
7880         (rectangle--highlight-for-redisplay): Fix boundary condition when point
7881         is > mark and at bolp.
7883         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
7884         (region-extract-function): Use it.
7885         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
7886         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
7887         Delete functions.
7888         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
7889         kill-ring-save, kill-region, delete-char, delete-forward-char.
7890         Ignore self-insert-iso.
7892         * emulation/cua-gmrk.el (cua--init-global-mark):
7893         Ignore `self-insert-iso'.
7895         * emulation/cua-base.el (cua--prefix-copy-handler)
7896         (cua--prefix-cut-handler): Rely on region-extract-function rather than
7897         checking cua--rectangle.
7898         (cua-delete-region): Use region-extract-function.
7899         (cua-replace-region): Delete function.
7900         (cua-copy-region, cua-cut-region): Obey region-extract-function.
7901         (cua--pre-command-handler-1): Don't do the delete-selection thing.
7902         (cua--self-insert-char-p): Ignore `self-insert-iso'.
7903         (cua--init-keymaps): Don't remap delete-selection commands.
7904         (cua-mode): Use delete-selection-mode instead of rolling our own
7905         (bug#16085).
7907         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
7908         Obey region-extract-function.
7910         Make registers and delete-selection-mode work on rectangles.
7911         * register.el (describe-register-1): Don't modify the register's value.
7912         (copy-to-register): Obey region-extract-function.
7913         * delsel.el (delete-active-region): Obey region-extract-function.
7915 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7917         * progmodes/flymake.el (flymake, flymake-error-bitmap)
7918         (flymake-warning-bitmap, flymake-fringe-indicator-position)
7919         (flymake-compilation-prevents-syntax-check)
7920         (flymake-start-syntax-check-on-newline)
7921         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
7922         (flymake-start-syntax-check-on-find-file, flymake-log-level)
7923         (flymake-xml-program, flymake-master-file-dirs)
7924         (flymake-master-file-count-limit)
7925         (flymake-allowed-file-name-masks): Relocate.
7926         (flymake-makehash, flymake-float-time)
7927         (flymake-replace-regexp-in-string, flymake-split-string)
7928         (flymake-get-temp-dir): Remove.
7929         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
7930         (flymake-current-row, flymake-selected-frame)
7931         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
7932         related functions.  (Bug#16077)
7934 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
7936         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
7938 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
7940         * help-fns.el (describe-function-1): Use new advice-* functions
7941         rather than old ad-* functions.  Fix function type description and
7942         source links for advised functions and subrs.
7944 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7946         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
7948 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
7950         * progmodes/compile.el (compilation-start):
7951         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
7953         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7954         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
7956 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7958         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7959         Touch up the last change.
7961 2013-12-06  Leo Liu  <sdl.web@gmail.com>
7963         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
7964         (inferior-octave-startup): Always use "octave> " for prompt.
7965         (octave-goto-function-definition)
7966         (octave-sync-function-file-names)
7967         (octave-find-definition-default-filename): Remove redundant backquotes.
7969 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7971         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
7972         syntax for `?'.
7973         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
7974         where appropriate already.
7975         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
7976         end of method names (Bug#15874).
7978 2013-12-06  Juri Linkov  <juri@jurta.org>
7980         * isearch.el (isearch--saved-overriding-local-map):
7981         New internal variable.
7982         (isearch-mode): Set it to the initial value of
7983         `overriding-terminal-local-map'.
7984         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
7985         with `isearch--saved-overriding-local-map'.  (Bug#16035)
7987 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7989         * progmodes/octave.el (inferior-octave-completion-table):
7990         Turn back into function, use `completion-table-with-cache'
7991         (Bug#11906).  Update all references.
7993         * minibuffer.el (completion-table-with-cache): New function.
7995 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
7997         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
7999 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
8001         * net/eww.el (eww-current-source): New variable to store page
8002         source.
8003         (eww-display-html, eww-mode, eww-save-history)
8004         (eww-restore-history): Use it.
8005         (eww-view-source): New command to view page source.
8006         Opportunistically uses `html-mode' to highlight the buffer.
8007         (eww-mode-map): Install it.
8009 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
8011         * net/dbus.el (dbus-unregister-service)
8012         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
8013         Fix docstring.
8014         (dbus-unregister-service): Skip :serial entries in
8015         `dbus-registered-objects-table'.
8016         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
8018 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
8020         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
8021         around keywords with extra `split-string' argument.
8023 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
8025         * windmove.el (windmove-other-window-loc): Handle navigation
8026         between windows (excluding the minibuffer window - Bug#16017).
8028 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
8030         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
8031         in D-Bus type syntax.
8032         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
8033         preserve unibyte strings.  (Bug#16048)
8035 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8037         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8038         Call force-mode-line-update is the proper buffer (bug#16042).
8040 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
8042         * vc/log-edit.el (log-edit-add-new-comment): Rename to
8043         `log-edit-remember-comment', make argument optional.  Adjust all
8044         callers.
8045         (log-edit-mode): Add `log-edit-remember-comment' to
8046         `kill-buffer-hook' locally.
8047         (log-edit-kill-buffer): Don't remember comment explicitly since
8048         the buffer is killed anyway.
8050 2013-12-04  Juri Linkov  <juri@jurta.org>
8052         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
8053         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
8055 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
8057         * notifications.el (notifications-close-notification): Call the
8058         D-Bus method with ID being a `:uint32'.  (Bug#16030)
8060 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
8062         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
8064 2013-12-03  Juri Linkov  <juri@jurta.org>
8066         * progmodes/compile.el (compilation-start): Rename window alist
8067         entry `no-display-ok' to `allow-no-window'.
8069         * simple.el (shell-command): Add window alist entry
8070         `allow-no-window' to `display-buffer'.
8071         (async-shell-command): Doc fix.
8073         * window.el (display-buffer-no-window): New action function.
8074         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
8076 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
8078         * vc/log-edit.el (log-edit-set-header): Extract from
8079         `log-edit-toggle-header'.
8080         (log-edit-extract-headers): Separate the summary, when extracted
8081         from header, from the rest of the message with an empty line.
8083         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
8084         line, if present, to the Summary header.
8086 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8088         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
8089         in current-buffer (bug#16029).
8091 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
8093         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
8094         (debugger-mode-map): Bind it.
8095         (debugger--backtrace-base): New function.
8096         (debugger-eval-expression): Use it.
8097         (debugger-frame-number): Skip local vars when present.
8098         (debugger--locals-visible-p, debugger--insert-locals)
8099         (debugger--show-locals, debugger--hide-locals): New functions.
8101 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
8103         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
8104         "LC_ALL".
8105         (tramp-get-remote-locale): New defun.
8106         (tramp-open-connection-setup-interactive-shell): Use it.
8108 2013-12-02  Leo Liu  <sdl.web@gmail.com>
8110         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
8112         * progmodes/sh-script.el (sh-shell-process):
8113         * progmodes/octave.el (inferior-octave-process-live-p):
8114         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
8115         (gdb-inferior-io-sentinel):
8116         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
8118 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
8120         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
8121         `save-selected-window' to `log-edit-hide-buf'.  This makes
8122         `log-edit-show-files' idempotent.
8123         (log-edit-show-files): Mark the new window as dedicated.
8125 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
8127         * vc/log-edit.el (log-edit-mode-map): Add binding for
8128         `log-edit-kill-biffer'.
8129         (log-edit-hide-buf): Add a FIXME comment.
8130         (log-edit-add-new-comment): New function, extracted from
8131         `log-edit-done'.
8132         (log-edit-done, log-edit-add-to-changelog): Use it.
8133         (log-edit-kill-buffer): New command.
8135 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8137         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
8138         instead of killing the buffer.
8140 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8142         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
8144 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8146         * net/eww.el (eww-form-checkbox-selected-symbol)
8147         (eww-form-checkbox-symbol): New customizable variable.
8148         (eww-form-checkbox, eww-toggle-checkbox):
8149         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
8151         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
8152         (shr--get-media-pref, shr--extract-best-source): New function.
8153         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
8154         no :src tag was specified.
8156         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
8157         (eww-render): Handle `eww-use-external-browser-for-content-type'.
8158         Use \\` to match beginning of string instead of ^.
8159         (eww-browse-with-external-browser): Provide optional URL parameter.
8160         (eww-render): Set `eww-current-title' back to "".
8162         * net/shr.el (shr-tag-video): Display content for video if no
8163         poster is available.
8164         (shr-tag-audio): Add support for <audio> tag.
8166         * net/eww.el (eww-text-input-types): New const.
8167         (eww-process-text-input): Treat input types in
8168         `eww-text-input-types' as text.
8170         * net/shr.el (shr-tag-table): Fix comment typo.
8172 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8174         * net/eww.el (eww-follow-link): New command to avoid reloading
8175         pages when we follow #target links (bug#15243).
8176         (eww-quit): Special mode buffers shouldn't query before exiting.
8178 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
8180         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
8181         forms.
8183 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8185         * net/eww.el (eww-restore-history): Update the window title after
8186         moving in the history.
8187         (eww-current-dom): New variable used to save the current DOM.
8189 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
8191         * vc/log-edit.el (log-edit-mode-map): Add binding for
8192         `log-edit-beginning-of-line'.
8193         (log-edit-setup-add-author): New user option.
8194         (log-edit-beginning-of-line): New command.
8195         (log-edit): Move major mode call above the contents setup so that
8196         the local variable values are already applied.
8197         (log-edit): Only insert "Author: " when
8198         `log-edit-setup-add-author' is non-nil.
8199         (log-edit): When SETUP is non-nil, position point after ": "
8200         instead of point-min.
8202 2013-12-01  Glenn Morris  <rgm@gnu.org>
8204         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
8206 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
8208         * startup.el (fancy-splash-frame): On MS-Windows, trigger
8209         redisplay to make sure the initial frame gets a chance to become
8210         visible.  (Bug#16014)
8212 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
8214         Support resizing frames and windows pixelwise.
8215         * cus-start.el (frame-resize-pixelwise)
8216         (window-resize-pixelwise): New entries.
8217         * emacs-lisp/debug.el (debug): Use window-total-height instead
8218         of window-total-size.
8219         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
8220         * help.el (describe-bindings-internal): Use help-buffer as
8221         argument for with-help-window.
8222         (temp-buffer-max-width): New option.
8223         (resize-temp-buffer-window, help-window-setup)
8224         (with-help-window): Rewrite.
8225         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
8226         dragging dividers.
8227         * window.el (frame-char-size, window-min-pixel-height)
8228         (window-safe-min-pixel-height, window-safe-min-pixel-width)
8229         (window-min-pixel-width, window-safe-min-pixel-size)
8230         (window-combination-p, window-safe-min-size)
8231         (window-resizable-p, window--size-to-pixel)
8232         (window--pixel-to-size, window--resize-apply-p): New functions.
8233         (window-safe-min-height): Fix doc-string.
8234         (window-size, window-min-size, window--min-size-1)
8235         (window-sizable, window-sizable-p, window--min-delta-1)
8236         (window-min-delta, window--max-delta-1, window-max-delta)
8237         (window--resizable, window--resizable-p, window-resizable)
8238         (window-full-height-p, window-full-width-p, window-at-side-p)
8239         (window--in-direction-2, window-in-direction)
8240         (window--resize-reset-1, window--resize-mini-window)
8241         (window-resize, window-resize-no-error)
8242         (window--resize-child-windows-normal)
8243         (window--resize-child-windows, window--resize-siblings)
8244         (window--resize-this-window, window--resize-root-window)
8245         (window--resize-root-window-vertically)
8246         (adjust-window-trailing-edge, enlarge-window, shrink-window)
8247         (maximize-window, minimize-window, delete-window)
8248         (quit-restore-window, window-split-min-size, split-window)
8249         (balance-windows-2, balance-windows)
8250         (balance-windows-area-adjust, balance-windows-area)
8251         (window--state-get-1, window-state-get, window--state-put-1)
8252         (window--state-put-2, window-state-put)
8253         (display-buffer-record-window, window--display-buffer):
8254         Make functions handle pixelwise sizing of windows.
8255         (display-buffer--action-function-custom-type)
8256         (display-buffer-fallback-action):
8257         Add display-buffer-in-previous-window.
8258         (display-buffer-use-some-window): Resize window to height it had
8259         before.
8260         (fit-window-to-buffer-horizontally): New option.
8261         (fit-frame-to-buffer): Describe new values.
8262         (fit-frame-to-buffer-bottom-margin): Replace with
8263         fit-frame-to-buffer-margins.
8264         (window--sanitize-margin): New function.
8265         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
8266         using window-text-pixel-size.
8268 2013-11-30  Glenn Morris  <rgm@gnu.org>
8270         * emacs-lisp/bytecomp.el (byte-compile-form):
8271         Make the `interactive-only' warning like the `obsolete' one.
8272         * comint.el (comint-run):
8273         * files.el (insert-file-literally, insert-file):
8274         * replace.el (replace-string, replace-regexp):
8275         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8276         (goto-line, insert-buffer, next-line, previous-line):
8277         Tweak `interactive-only' spec.
8279         Stop keeping (most) generated cedet grammar files in the repository.
8280         * Makefile.in (semantic): New.
8281         (compile-main): Depend on semantic.
8283 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8285         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
8286         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
8288         * uniquify.el (uniquify-buffer-name-style): Change default.
8290         * loadup.el: Preload "uniquify".
8292         * time.el (display-time-update): Update all mode lines (bug#15999).
8294         * electric.el (electric-indent-mode): Enable by default.
8295         * loadup.el: Preload "electric".
8297 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
8299         * emacs-lisp/helpers.el (string-empty-p): New function.
8300         (string-blank-p): New function.
8302 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
8304         * imenu.el (imenu--index-alist): Add missing dot to the docstring
8305         (Bug#14029).
8307 2013-11-29  Andreas Politz  <politza@fh-trier.de>
8308         * imenu.el (imenu--subalist-p): Don't error on non-conses and
8309         allow non-lambda lists as functions.
8310         (imenu--in-alist): Don't recurse into non-subalists.
8311         (imenu): Don't pass function itself as an argument (Bug#14029).
8313 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8315         * progmodes/python.el (python-mode-map): Remove binding for ":".
8316         (python-indent-electric-colon): Remove command.
8317         (python-indent-post-self-insert-function): Integrate the previous code
8318         of python-indent-electric-colon.  Make it conditional on
8319         electric-indent-mode.
8320         (python-mode): Add ?: to electric-indent-chars.
8321         Move python-indent-post-self-insert-function to the end of
8322         post-self-insert-hook.
8324 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8326         * doc-view.el (doc-view-goto-page): Update mode-line.
8328         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
8330 2013-11-27  Glenn Morris  <rgm@gnu.org>
8332         * international/charprop.el, international/uni-bidi.el:
8333         * international/uni-category.el, international/uni-combining.el:
8334         * international/uni-comment.el, international/uni-decimal.el:
8335         * international/uni-decomposition.el, international/uni-digit.el:
8336         * international/uni-lowercase.el, international/uni-mirrored.el:
8337         * international/uni-name.el, international/uni-numeric.el:
8338         * international/uni-old-name.el, international/uni-titlecase.el:
8339         * international/uni-uppercase.el:
8340         Remove generated files from VCS repository.
8342 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
8344         * filenotify.el (file-notify-add-watch): Don't special-case
8345         w32notify when computing the directory to watch.
8347 2013-11-27  Glenn Morris  <rgm@gnu.org>
8349         Make bootstrap without generated uni-*.el files possible again.
8350         * loadup.el: Update command-line-args checking for unidata-gen.
8351         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
8352         * composite.el, international/characters.el:
8353         Handle unicode tables being undefined.
8355         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
8356         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
8357         (compile-main): Depend on leim rule.
8358         (leim): New rule.
8359         * loadup.el: Move leim-list.el to leim/ subdirectory.
8360         * startup.el (normal-top-level): No more leim directory.
8361         * international/ja-dic-cnv.el (skkdic-convert):
8362         Disable version-control and autoloads in output files.
8363         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
8364         Disable version-control and autoloads in output files.
8365         * leim/quail: Move here from ../leim.
8366         * leim/quail/hangul.el (hangul-input-method-activate):
8367         Add autoload cookie.
8368         (generated-autoload-load-name): Set file-local value.
8369         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
8370         (generated-autoload-load-name): Set file-local value.
8372 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
8374         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
8375         (eww-add-bookmark): Ask confirmation when add to bookmarks.
8376         (eww-quit): Ask confirmation before quitting eww.
8378 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
8380         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
8381         reading output from Diff on MS-Windows and MS-DOS.
8383 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
8385         * emacs-lisp/helpers.el (string-reverse): New function.
8387 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
8389         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
8390         names on MS Windows, like "/[::1]:".
8392         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
8393         SWITCHES.
8395 2013-11-26  Glenn Morris  <rgm@gnu.org>
8397         * progmodes/python.el (python-indent-guess-indent-offset):
8398         Avoid corner-case error.  (Bug#15975)
8400         Preload leim-list.el.  (Bug#4789)
8401         * loadup.el: Load leim-list.el when found.
8402         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
8404 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
8406         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
8408         * emacs-lisp/helpers.el (string-join): New function.
8410 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
8412         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8413         Mark as obsolete and replace it with a symbol property.
8414         (byte-compile-form): Use new 'interactive-only property.
8415         * comint.el, files.el, replace.el, simple.el:
8416         Apply new 'interactive-only properly.
8418 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
8420         * window.el (display-buffer-at-bottom): Make sure that
8421         split-window-sensibly creates the new window on bottom
8422         (Bug#15961).
8424 2013-11-23  David Kastrup  <dak@gnu.org>
8426         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
8427         on the conflict markers when available.
8428         (smerge--get-marker): New function.
8429         (smerge-end-re, smerge-base-re): Add subgroup.
8431 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8433         * frame.el (handle-focus-in, handle-focus-out): Add missing
8434         interactive spec.
8436 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
8438         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8439         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
8441 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8443         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
8444         (gomoku--last-pos): New var.
8445         (gomoku--intangible-chars): New const.
8446         (gomoku--intangible): New function.
8447         (gomoku-mode): Use it.  Derive from special-mode.
8448         (gomoku-move-up): Adjust line count.
8449         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
8450         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
8451         Simplify accordingly.
8453         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
8454         Remove blink-cursor code.
8455         (blink-cursor-timer-function, blink-cursor-suspend):
8456         Don't special-case GUIs.
8457         (blink-cursor-mode): Use focus-in/out-hook.
8459 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
8461         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
8462         work when annotation is invisible (Bug#13886).
8464 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
8466         * json.el (json-alist-p): Only return non-nil if the alist has
8467         simple keys (Bug#13518).
8469 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
8471         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
8472         when control-statement is the first statement in a buffer (Bug#15956).
8474 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
8476         * imenu.el (imenu-generic-skip-comments-and-strings):
8477         New option (Bug#15560).
8478         (imenu--generic-function): Use it.
8480 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
8482         * minibuffer.el (completion--in-region-1): Scroll the correct window.
8483         (Bug#13898)
8485 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
8487         * emacs-lisp/helpers.el: Add some string helpers.
8488         (string-trim-left): Removes leading whitespace.
8489         (string-trim-right): Removes trailing whitespace.
8490         (string-trim): Removes leading and trailing whitespace.
8492         * subr.el (string-suffix-p): New function.
8494 2013-11-23  Glenn Morris  <rgm@gnu.org>
8496         * progmodes/python.el (python-shell-send-file):
8497         Add option to delete file when done.  (Bug#15647)
8498         (python-shell-send-string, python-shell-send-region): Use it.
8500 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
8502         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
8503         to set buffer-read-only to t, never to nil.  (Bug#15938)
8505         * textmodes/tex-mode.el (latex-noindent-environments):
8506         Add safe-local-variable property.  (Bug#15936)
8508 2013-11-23  Glenn Morris  <rgm@gnu.org>
8510         * textmodes/enriched.el (enriched-mode): Doc fix.
8511         * emacs-lisp/authors.el (authors-renamed-files-alist):
8512         Add enriched.doc -> enriched.txt.
8514         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
8516 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8518         * progmodes/octave.el (inferior-octave-startup): Spit out error
8519         message.
8521 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
8523         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8524         Improve docstring.
8525         Add :version.
8526         (ruby-encoding-magic-comment-style): Add :version.
8528 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8530         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
8531         (Bug#15076)
8532         (octave-help-mode): Adapt to change to help-mode-finish to use
8533         derived-mode-p on 2013-09-17.
8534         (inferior-octave-prompt): Also match octave-gui.
8535         (octave-kill-process): Don't ask twice.  (Bug#10564)
8537 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8539         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
8540         (inferior-octave-startup, inferior-octave-check-process)
8541         (inferior-octave-track-window-width-change)
8542         (octave-completion-at-point, octave-eldoc-function): Use it.
8543         (octave-kill-process): Provide confirmation.  (Bug#10564)
8545 2013-11-21  Leo Liu  <sdl.web@gmail.com>
8547         * progmodes/octave.el (octave-mode, inferior-octave-mode):
8548         Fix obsolete variable comment-use-global-state.
8550 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8552         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
8553         Add `octave-source-file'.
8554         (octave-source-file): New function.  (Bug#15935)
8556 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
8558         * net/eww.el (eww-local-regex): New variable.
8559         (eww): Use it to detect localhost and similar.
8561 2013-11-21  Leo Liu  <sdl.web@gmail.com>
8563         Add completion for command `ag'.
8564         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
8565         (pcomplete/ag): New function.
8566         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
8568 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8570         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
8571         (bug#14646).
8572         (make-obsolete): Remove interactive spec.
8574 2013-11-21  Glenn Morris  <rgm@gnu.org>
8576         * startup.el (command-line-1): Use path-separator with -L.
8578 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
8580         * emacs-lisp/package.el (describe-package-1): Add package archive
8581         to shown fields.
8583 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
8585         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8586         Change default to "# encoding: %s" to differentiate it from the
8587         default Ruby encoding comment template.
8589 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
8591         * ses.el (ses-mode): Doc fix.  (Bug#14748)
8593 2013-11-20  Leo Liu  <sdl.web@gmail.com>
8595         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
8597 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
8599         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
8600         when rebase or bisect are in progress.
8602 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
8604         * filenotify.el (file-notify-add-watch): Doc fix.
8606 2013-11-19  Leo Liu  <sdl.web@gmail.com>
8608         * obsolete/rcompile.el: Mark obsolete.
8610         * progmodes/compile.el (compilation-start)
8611         (compilation-goto-locus, compilation-find-file):
8612         Pass no-display-ok and handle nil value from display-buffer.
8613         (Bug#13594)
8615         * window.el (display-buffer-alist, display-buffer): Document the
8616         new parameter no-display-ok.  Return either a window or nil
8617         but never a non-window value.
8619 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8621         * electric.el (electric-indent-mode-map): Remove.
8622         (electric-indent-mode): Change the global-map instead (bug#15915).
8624         * textmodes/text-mode.el (paragraph-indent-minor-mode):
8625         Use add-function.
8627 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8629         * emacs-lisp/nadvice.el (remove-function): Align with
8630         add-function's behavior.
8632         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
8633         (gdb--string-regexp): New constant.
8634         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
8635         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
8636         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
8637         submatch 1.
8638         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
8639         Adjust use accordingly.
8640         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
8642 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
8644         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
8645         interpolation curlies (Bug#15914).
8647 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
8649         * calc/calc.el (calc-context-sensitive-enter): New variable.
8650         (calc-enter): Use `calc-context-sensitive-enter'.
8652 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
8654         * progmodes/cfengine.el: Version bump.
8655         (cfengine-cf-promises): New defcustom to locate cf-promises.
8656         (cfengine3-vartypes): Add new "data" type.
8657         (cfengine3--current-word): New function to get current name-like
8658         word or its bounds.
8659         (cfengine3--current-function): New function to look up a CFEngine
8660         function's definition.
8661         (cfengine3-format-function-docstring): New function.
8662         (cfengine3-make-syntax-cache): New function.
8663         (cfengine3-documentation-function): New function: ElDoc glue.
8664         (cfengine3-completion-function): New function: completion glue.
8665         (cfengine3-mode): Set `compile-command',
8666         `eldoc-documentation-function', and add to
8667         `completion-at-point-functions'.
8669 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
8671         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8672         `tramp-current-connection'.
8674 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
8676         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
8677         nil/self/true/false with "end of symbol".
8679 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
8681         * subr.el (version-regexp-alist): Fix a typo.
8683 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
8685         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
8686         "en_US.utf8" and "LC_CTYPE" to "".
8687         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
8688         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
8690 2013-11-15  Leo Liu  <sdl.web@gmail.com>
8692         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
8694 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8696         * progmodes/gud.el (ctl-x-map):
8697         Remove C-x SPC binding.  (Bug#12342)
8698         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
8700 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
8702         * subr.el (version-regexp-alist):
8703         Recognize hg, svn and darcs versions as snapshot versions.
8705         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
8706         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
8707         (ruby--encoding-comment-required-p): Extract from
8708         `ruby-mode-set-encoding'.
8709         (ruby-mode-set-encoding): Add the ability to always insert an
8710         utf-8 encoding comment.  Fix and simplify coding comment update
8711         logic.
8713 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
8715         * net/tramp-gvfs.el (top): Run init code only when
8716         `tramp-gvfs-enabled' is not nil.
8717         (tramp-gvfs-enabled): Check also :system bus.
8719 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8721         Sync with upstream verilog-mode revision 78e66ba.
8722         * progmodes/verilog-mode.el (verilog-end-of-defun)
8723         (verilog-type-completion, verilog-get-list): Remove unused funcs.
8724         (verilog-get-end-of-defun): Remove unused argument.
8725         (verilog-comment-depth): Remove unused local `e'.
8726         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
8727         Don't pass arg to verilog-get-end-of-defun.
8729 2013-11-14  Glenn Morris  <rgm@gnu.org>
8731         * obsolete/assoc.el (aget): Prefix dynamic variable.
8733         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
8735 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8737         * widget.el, hfy-cmap.el: Remove bogus package version number.
8739 2013-11-13  Glenn Morris  <rgm@gnu.org>
8741         * replace.el (replace-eval-replacement):
8742         Try to give more helpful error message.  (Bug#15836)
8744         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8745         (archive-7z-update): Avoid custom type mismatches.
8747         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
8749 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
8751         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
8752         address can be empty.
8754         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
8755         Accept nil SWITCHES.
8756         (tramp-gvfs-handle-write-region): Implement APPEND.
8758 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
8760         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
8761         binary "|" operator and closing block args delimiter.
8762         Remove FIXME comment referring to Ruby 1.8-only syntax.
8763         (ruby-smie--implicit-semi-p): Not after "|" operator.
8764         (ruby-smie--closing-pipe-p): New function.
8765         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
8766         (ruby-smie-rules): Indent after "|".
8768 2013-11-12  Glenn Morris  <rgm@gnu.org>
8770         * ps-print.el (ps-face-attribute-list):
8771         Handle anonymous faces.  (Bug#15827)
8773 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
8775         * window.el (display-buffer-other-frame): Fix doc-string.
8776         (Bug#15868)
8778 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8780         * subr.el (force-mode-line-update): Delete, move to buffer.c.
8782 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
8784         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
8785         (tramp-sh-handle-file-local-copy): Don't write a message when
8786         saving temporary files.
8788         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
8789         both directories are remote.
8790         (tramp-smb-handle-directory-files): Do not return double entries.
8791         Do not expand full file names.
8792         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
8793         (tramp-smb-handle-write-region): Implement APPEND.
8794         (tramp-smb-get-stat-capability): Fix a stupid bug.
8796 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8798         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
8800 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8802         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
8803         throwing error over malformed let/let* (bug#15814).
8805 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8807         * iswitchb.el (iswitchb-mode): Mark obsolete.
8809 2013-11-11  Glenn Morris  <rgm@gnu.org>
8811         * international/uni-bidi.el, international/uni-category.el:
8812         * international/uni-name.el, international/uni-numeric.el:
8813         Regenerate for Unicode 6.3.0.
8815 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
8817         * net/tramp.el (tramp-methods):
8818         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
8819         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
8821 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
8823         * progmodes/sh-script.el (sh-font-lock-keywords-var):
8824         Force highlighting text after Summary keyword in doc face for rpm.
8826 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
8828         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
8829         available and the word has no wildcards, append one to the grep pattern.
8830         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
8831         (ispell-complete-word): Call `ispell-lookup-words' with the value
8832         independent of `ispell-look-p'.
8834 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8836         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
8837         Not after "||".
8838         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
8839         their parent.
8841 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8843         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
8844         (ruby-font-lock-keywords): Use backquote.
8846 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8848         * progmodes/ruby-mode.el (ruby-smie--forward-token)
8849         (ruby-smie--backward-token): Only consider full-string matches.
8851 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
8853         * faces.el (describe-face): Add distant-foreground.
8855 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
8857         * progmodes/ruby-mode.el: Improve encoding comment handling.
8858         (ruby-encoding-magic-comment-style): New option.
8859         (ruby-custom-encoding-magic-comment-template): New option.
8860         (ruby--insert-coding-comment, ruby--detect-encoding):
8861         New functions extracted from `ruby-mode-set-encoding'.
8862         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
8863         to control the style of the auto-inserted encoding comment.
8865 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8867         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
8868         Use `smie-backward-sexp' with token argument.
8870 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
8872         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8873         Remove instrumentation code.
8875 2013-11-08  Glenn Morris  <rgm@gnu.org>
8877         * progmodes/autoconf.el (autoconf-mode):
8878         Tweak comment-start-skip.  (Bug#15822)
8880 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8882         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
8883         at bobp (bug#15826).
8884         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
8886 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
8888         * man.el (Man-start-calling): New macro, extracted from
8889         Man-getpage-in-background.
8890         (Man-getpage-in-background): Use it.
8891         (Man-update-manpage): New command.
8892         (Man-mode-map): Bind it.
8894 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8896         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
8897         of "and", "or", "&&" and "||".
8898         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
8899         argument.  Prohibit opening curly brace because it could only be a
8900         block opener in that position.
8901         (ruby-smie--forward-token, ruby-smie--backward-token):
8902         Separate "|" from "&" or "*" going after it.  That can happen in block
8903         arguments.
8904         (ruby-smie--indent-to-stmt): New function, seeks the end of
8905         previous statement or beginning of buffer.
8906         (ruby-smie-rules): Use it.
8907         (ruby-smie-rules): Check if there's a ":" before a curly block
8908         opener candidate; if there is, it's a hash.
8910 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8912         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
8913         (cl--block-wrapper): Fix last accidental change.
8915 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
8917         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8918         Instrument, in order to hunt failure on hydra.
8920 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8922         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
8923         malformed bindings form (bug#15814).
8925 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
8927         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
8928         "." compared to " @ ".  This incidentally fixes some indentation
8929         examples with "do".
8930         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
8931         (ruby-smie-grammar): New tokens: "and" and "or".
8932         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
8933         Exclude "and" and "or".  Remove "do" in order to work around token
8934         priorities.
8935         (ruby-smie-rules): Add all infix tokens.  Handle the case of
8936         beginning-of-buffer.
8938 2013-11-06  Glenn Morris  <rgm@gnu.org>
8940         * Makefile.in (setwins_almost, setwins_for_subdirs):
8941         Avoid accidental matches.
8943 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8945         * menu-bar.el (popup-menu): Use key-binding.
8947 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
8949         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
8950         menus, support also the menus produced by minor modes.
8951         (Bug#15817)
8953 2013-11-06  Leo Liu  <sdl.web@gmail.com>
8955         * thingatpt.el (thing-at-point-looking-at): Add optional arg
8956         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
8958 2013-11-06  Glenn Morris  <rgm@gnu.org>
8960         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
8961         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
8962         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
8964 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8966         * electric.el (electric-indent-just-newline): New command.
8967         (electric-indent-mode-map): New keymap.
8968         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
8969         Re-add :group which weren't redundant.
8971         * electric.el (electric-indent-local-mode): New minor mode.
8972         (electric-indent-functions-without-reindent): New var.
8973         (electric-indent-post-self-insert-function): Use it.
8974         * emacs-lisp/gv.el (buffer-local-value): Add setter.
8976 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
8978         * international/quail.el (quail-help): Be more explicit about the
8979         meaning of the labels shown on the keys.  (Bug#15800)
8981         * startup.el (normal-top-level): Load the subdirs.el files before
8982         setting the locale environment.  (Bug#15805)
8984 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8986         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
8987         via arguments so as to get the right ones (bug#15418).
8989         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
8991 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
8993         Fix problems found while writing a test suite.
8995         * net/tramp-compat.el (tramp-compat-load): New defun.
8996         * net/tramp.el (tramp-handle-load): Use it.
8998         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
8999         "(numberp ok-if-already-exists)" correctly.
9001 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
9003         * international/characters.el (glyphless-char-display-control):
9004         Add usage note.
9006 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
9008         * progmodes/python.el (python-mode):
9009         * progmodes/scheme.el (scheme-mode):
9010         * progmodes/prolog.el (prolog-mode):
9011         * progmodes/ruby-mode.el (ruby-mode):
9012         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
9013         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
9015 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9017         * rect.el (rectangle--highlight-for-redisplay):
9018         * emacs-lisp/smie.el (smie--next-indent-change):
9019         Use buffer-chars-modified-tick.
9021         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
9023         * electric.el (electric-indent-post-self-insert-function):
9024         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
9026 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
9028         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
9030 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
9032         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
9033         (bug#15786).
9035 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9037         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
9039         * progmodes/python.el: Fix up last change.
9040         (python-shell--save-temp-file): New function.
9041         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
9042         `string' comes from the current buffer.
9043         (python-shell-send-string-no-output): Remove `msg' arg.
9044         (python--use-fake-loc): New var.
9045         (python-shell-buffer-substring): Obey it.  Try to compensate for the
9046         extra coding line added by python-shell--save-temp-file.
9047         (python-shell-send-region): Use python-shell--save-temp-file and
9048         python-shell-send-file directly.  Add `nomain' argument.
9049         (python-shell-send-buffer): Use python-shell-send-region.
9050         (python-electric-pair-string-delimiter): New function.
9051         (python-mode): Use it.
9053 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
9055         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
9056         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
9057         environment and decoding all of the default-directory's to here
9058         from command-line.
9059         (command-line): Decode also argv[0].
9061         * loadup.el: Error out if default-directory is a multibyte string
9062         when we are dumping.
9064         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
9066 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
9068         * emacs-lisp/package.el (package-menu-mode)
9069         (package-menu--print-info, package-menu--archive-predicate):
9070         Add Archive column to package list.
9072 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
9074         Fix problems found while writing a test suite.
9076         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
9077         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
9078         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
9079         to nil when running original file name handler.  Otherwise,
9080         there are problems with constructs like "$$FOO".
9082         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
9083         for `localname'.
9085 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
9087         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
9089         * subr.el (version<, version<=, version=):
9090         Update docstrings with information for snapshot versions.
9092         * helpers.el: New library for misc helper functions.
9093         (hash-table-keys): New function returning a list of hash keys.
9094         (hash-table-values): New function returning a list of hash values.
9096 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
9098         * progmodes/ruby-mode.el (ruby-smie--forward-token)
9099         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
9101 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
9103         * textmodes/fill.el (fill-single-char-nobreak-p): New function
9104         checking whether point is after a 1-letter word.
9106 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
9108         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
9109         Don't infloop when expanding region over `multiline' syntax-type that
9110         begins a line (bug#15778).
9112 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9114         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
9115         Make it into a proper minor mode.
9116         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
9117         (rectangle-mark-mode-map): New keymap.
9118         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
9120 2013-11-04  Glenn Morris  <rgm@gnu.org>
9122         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
9124 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9126         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
9127         (ruby-smie-rules): Use smie-rule-parent instead.
9129         * emacs-lisp/smie.el (smie-rule-parent): Always call
9130         smie-indent-virtual rather than only for hanging tokens.
9131         (smie--next-indent-change): New helper command.
9133 2013-11-03  Glenn Morris  <rgm@gnu.org>
9135         * Makefile.in (abs_srcdir): Remove.
9136         (emacs): Unset EMACSLOADPATH.
9138 2013-11-02  Glenn Morris  <rgm@gnu.org>
9140         * Makefile.in (EMACS): Use a relative filename.
9141         (abs_top_builddir): Remove.
9142         (custom-deps, finder-data, autoloads): Use --chdir.
9144         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
9146         Use relative filenames in TAGS files.
9147         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9148         (lisptagsfiles4, TAGS): Use relative file names.
9149         (TAGS-LISP): Remove.
9150         (maintainer-clean): No more TAGS-LISP file.
9152         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9153         (lisptagsfiles4): Use absolute filenames again.
9154         (TAGS, TAGS-LISP): Not everything needs to run in one line.
9155         Remove all *loaddefs files, not just the first.  Remove esh-groups.
9156         (maintainer-clean): Delete TAGS, TAGS-LISP.
9158 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
9160         * emacs-lisp/package.el (package-version-join):
9161         Recognize snapshot versions.
9163 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
9165         * subr.el (version-regexp-alist): Add support for snapshot versions.
9167 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
9169         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
9170         New function, replacement for `smie-rule-parent' for when we want to
9171         skip over our direct parent if it's an assignment token..
9172         (ruby-smie-rules): Use it.
9174 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
9176         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
9177         unconditionally.  Remove now unnecessary forward declarations.
9178         Remove XEmacs-specific setup.
9179         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
9180         (ruby-font-lock-syntactic-keywords)
9181         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
9182         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
9183         (ruby-here-doc-end-syntax): Remove.
9184         (ruby-mode): Don't check whether `syntax-propertize-rules' is
9185         defined as function.
9187 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
9189         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
9191 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
9193         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
9194         table and abbrev table, `define-derived-mode' does that for us
9195         anyway.
9197 2013-11-01  Glenn Morris  <rgm@gnu.org>
9199         * Makefile.in: Remove manual mh-e dependencies (writing .elc
9200         files is atomic for some time, so no parallel compilation issues).
9202 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
9204         * faces.el (face-x-resources): Add :distant-foreground.
9205         (region): Use :distant-foreground for gtk and ns.
9207 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
9209         Allow multiple bibliographies when BibLaTeX is used rather than
9210         BibTeX.
9211         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
9212         (reftex-locate-bibliography-files): Us it.
9214 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
9216         * image.el (image-type-header-regexps): Fix the 'pbm' part to
9217         allow comments in pbm files.
9219         * term/w32-win.el (dynamic-library-alist): Support newer versions
9220         of libjpeg starting with v7: look only for the DLL from the
9221         version against which Emacs was built.
9222         Support versions of libpng beyond 1.4.x.
9223         Support libtiff v4.x.
9225 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
9227         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
9228         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
9229         Add property :safe.
9230         (ruby-deep-arglist): Add property :type.
9232 2013-10-31  Glenn Morris  <rgm@gnu.org>
9234         * Makefile.in (custom-deps, finder-data): No need to setq the target
9235         variables, we are in the right directory and the defaults work fine.
9237 2013-10-30  Glenn Morris  <rgm@gnu.org>
9239         * Makefile.in (autoloads): Do not use abs_lisp.
9241         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9242         `newline' does not respect `standard-output', so use `princ'.
9244 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
9246         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
9247         * buff-menu.el (Buffer-menu--unmark): New function.
9248         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
9250 2013-10-30  Glenn Morris  <rgm@gnu.org>
9252         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
9254         * emacs-lisp/package.el (lm-homepage): Declare.
9256         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
9257         Fix doc typos.
9259         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
9261         * Makefile.in (finder-data, autoloads, update-subdirs)
9262         (compile-main, compile-clean, compile-always, bootstrap-clean):
9263         Check return value of cd.
9264         (compile-calc): Remove.
9266 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9268         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
9270         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
9271         (byte-compile-and-folded): New function.
9272         (=, <, >, <=, >=): Use it.
9274         * dos-w32.el (minibuffer-history-case-insensitive-variables)
9275         (path-separator, null-device, buffer-file-coding-system)
9276         (lpr-headers-switches): Check system-type before modifying them.
9277         (find-buffer-file-type-coding-system): Mark obsolete.
9278         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
9279         find-file-not-found-set-buffer-file-coding-system.
9280         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
9281         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
9282         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
9283         (w32-direct-print-region-helper, w32-direct-print-region-function)
9284         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
9285         * startup.el (normal-top-level-add-subdirs-to-load-path):
9286         * ps-print.el (ps-print-region-function):
9287         * lpr.el (print-region-function): Use new name.
9289         * subr.el (custom-declare-variable-early): Remove function.
9290         (custom-declare-variable-list): Remove var.
9291         (error, user-error): Remove `while' loop.
9292         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
9293         (user-emacs-directory-warning, locate-user-emacs-file):
9294         Move to files.el.
9295         * simple.el (read-quoted-char-radix, read-quoted-char):
9296         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
9297         Move from subr.el.
9298         * custom.el (custom-declare-variable-list): Don't process
9299         custom-declare-variable-list.
9301         * progmodes/python.el (python-shell-get-buffer): New function.
9302         (python-shell-get-process): Use it.
9303         (python-shell-send-string): Always use utf-8 and add a cookie to tell
9304         Python which encoding was used.  Don't split-string since we only care
9305         about the first line.  Return the temp-file, if applicable.
9306         (python-shell-send-region): Tell compile.el how to turn locations in
9307         the temp-file into locations in the source buffer.
9309 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9311         * subr.el (undefined): Add missing behavior from the C code for
9312         unbound keys.
9314         * rect.el: Use lexical-binding.  Add new rectangular region support.
9315         (rectangle-mark): New command.
9316         (rectangle--region): New var.
9317         (deactivate-mark-hook): Reset rectangle--region.
9318         (rectangle--extract-region, rectangle--insert-for-yank)
9319         (rectangle--highlight-for-redisplay)
9320         (rectangle--unhighlight-for-redisplay): New functions.
9321         (region-extract-function, redisplay-unhighlight-region-function)
9322         (redisplay-highlight-region-function): Use them to handle
9323         rectangular region.
9324         * simple.el (region-extract-function): New var.
9325         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
9326         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
9327         (kill-region): Replace obsolete `yank-handler' arg with `region'.
9328         (copy-region-as-kill, kill-ring-save): Add `region' argument.
9329         (redisplay-unhighlight-region-function)
9330         (redisplay-highlight-region-function): New vars.
9331         (redisplay--update-region-highlight): New function.
9332         (pre-redisplay-function): Use it.
9333         (exchange-point-and-mark): Don't deactivate the mark before
9334         reactivate-it anyway.
9335         * comint.el (comint-kill-region): Remove yank-handler argument.
9336         * delsel.el (delete-backward-char, backward-delete-char-untabify)
9337         (delete-char): Remove property, since it's now part of their
9338         default behavior.
9339         (self-insert-iso): Remove property since this command doesn't exist.
9341         * emacs-lisp/package.el (package--download-one-archive)
9342         (describe-package-1): Don't query the user about final newline.
9344 2013-10-29  Daniel Colascione  <dancol@dancol.org>
9346         * net/tramp.el (tramp-methods): Document new functionality.
9347         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
9348         tramp-hostname-checker if method provides one instead of scanning
9349         argument list for "%h" to decide hostname acceptability.
9351 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
9353         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9354         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9355         Handle COPY-CONTENTS.  (Bug#15737)
9357 2013-10-28  Daiki Ueno  <ueno@gnu.org>
9359         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
9360         Document that this option has no effect with GnuPG 2.0 (bug#15552).
9362 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
9364         * image.el (defimage, image-load-path): Doc fixes.
9366 2013-10-27  Alan Mackenzie  <acm@muc.de>
9368         Indent statements in macros following "##" correctly.
9369         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9370         Modify the "#" arm of a cond form to handle "#" and "##" operators.
9372 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
9374         * linum.el (linum-update-window): Fix boundary test (bug#13446).
9376 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
9378         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
9379         after `=' is probably a new expression.
9381 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9383         * man.el (man-imenu-title): New option.
9384         (Man-mode-map): Add menu.  (Bug#15722)
9385         (Man-mode): Add imenu to menu.
9387 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
9389         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
9390         specific in what the first arg can be: a non-keyword word,
9391         string/regexp/percent literal opener, opening paren, or unary
9392         operator followed directly by word.
9394 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9396         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
9397         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
9398         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
9399         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
9400         Remove vars, they do not apply any more.
9401         (prolog-mode-abbrev-table): Remove redundant declaration.
9402         (prolog-upper-case-string, prolog-lower-case-string): Remove.
9403         (prolog-use-smie): Remove.
9404         (prolog-smie-rules): Add indentation rule for the if-then-else layout
9405         supported by prolog-electric-if-then-else-flag.
9406         (prolog-mode-variables, prolog-menu): Use setq-local.
9407         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
9408         Remove binding to `Backspace' since this key doesn't exist anyway.
9409         Remove bindings for electric self-inserting keys.
9410         (prog-mode): Assume it's defined.
9411         (prolog-post-self-insert): New function.
9412         (prolog-mode): Use it.
9413         (prolog-indent-line, prolog-indent-level)
9414         (prolog-find-indent-of-matching-paren)
9415         (prolog-indentation-level-of-line, prolog-goto-comment-column)
9416         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
9417         (prolog-goto-next-paren, prolog-in-string-or-comment)
9418         (prolog-tokenize, prolog-inside-mline-comment)
9419         (prolog-find-start-of-mline-comment): Remove functions.
9420         (prolog-find-unmatched-paren, prolog-clause-end)
9421         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
9422         (prolog-electric--if-then-else): Rename from
9423         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
9424         (prolog-tokenize-searchkey): Remove const.
9425         (prolog-clause-info): Use forward-sexp.
9426         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
9427         (prolog-electric-if-then-else): Remove commands.
9428         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
9429         for use in post-self-insert-hook.
9430         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
9431         for use in post-self-insert-hook.
9432         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
9433         for use in post-self-insert-hook.
9434         (prolog-electric--underscore): Rename from prolog-electric--underscore;
9435         adapt it for use in post-self-insert-hook.
9437 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
9439         * emacs-lisp/ert.el (ert-run-tests-interactively):
9440         Use `completing-read'.  (Bug#9756)
9442 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
9444         * simple.el (line-move): Call line-move-1 instead of
9445         line-move-visual when the current window hscroll is zero, but
9446         temporary-goal-column indicates we will need to hscroll as result
9447         of the movement.  (Bug#15712)
9449 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
9451         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
9452         capitalization.  Use :visible instead of :active.
9453         Fix `ruby-indent-exp' reference.  Add menu items for the generic
9454         commands that are used with SMIE.
9455         (ruby-do-end-to-brace): Insert space after `{'.
9457 2013-10-25  John Anthony  <john@jo.hnanthony.com>
9459         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
9461         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
9463 2013-10-25  Glenn Morris  <rgm@gnu.org>
9465         * vc/vc.el (vc-print-log): Don't use a working revision unless
9466         one was explicitly specified.  (Bug#15322)
9468 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9470         * subr.el (add-to-list): Preserve return value in compiler-macro
9471         (bug#15692).
9473 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9475         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
9476         result.  Ask user to retry using '-all' flag.  (Bug#15701)
9478 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9480         * emacs-lisp/smie.el: New smie-config system.
9481         (smie-config): New defcustom.
9482         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
9483         (smie-config-guess, smie-config-save): New commands.
9484         (smie-config--mode-local, smie-config--buffer-local)
9485         (smie-config--trace, smie-config--modefuns): New vars.
9486         (smie-config--advice, smie-config--mode-hook)
9487         (smie-config--setter, smie-config-local, smie-config--get-trace)
9488         (smie-config--guess-value, smie-config--guess): New functions.
9489         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
9490         text properties.  Treat "string fence" syntax like string syntax.
9492         * progmodes/sh-script.el (sh-use-smie): Change default.
9493         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
9494         (sh-var-value): Simplify by CSE.
9495         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
9496         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
9497         is used.
9498         (sh-guess-basic-offset): Use cl-incf.
9499         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
9501 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
9503         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
9504         (bug#15699).
9506 2013-10-24  Glenn Morris  <rgm@gnu.org>
9508         * Makefile.in (abs_top_srcdir): Remove.
9509         (update-subdirs): Use relative path to update-subdirs.
9511 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
9513         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9514         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9515         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9516         Call unmsys--file-name before expand-file-name, not after it.
9518 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
9520         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
9521         (ert-test-skipped): New error.
9522         (ert-skip, ert-stats-skipped): New defuns.
9523         (ert--skip-unless): New macro.
9524         (ert-test-skipped): New struct.
9525         (ert--run-test-debugger, ert-test-result-type-p)
9526         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
9527         (ert--stats-set-test-and-result, ert-char-for-test-result)
9528         (ert-string-for-test-result, ert-run-tests-batch)
9529         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
9530         Handle skipped tests.  (Bug#9803)
9532 2013-10-24  Glenn Morris  <rgm@gnu.org>
9534         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
9536         * Makefile.in (abs_top_srcdir): New, set by configure.
9537         (update-subdirs): Correct build-aux location.
9539 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
9541         * vc/vc.el (vc-print-root-log): Always set `default-directory'
9542         value, whether we could auto-deduce `backend', or not.
9544         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
9545         with parameters" example.  Simplify the "is it block or is it
9546         hash" check, but also make it more thorough.
9548 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
9550         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
9552 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9554         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
9555         { if it is hanging.
9557         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
9558         :before ";".
9560 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
9562         * progmodes/compile.el (compilation-directory-matcher)
9563         (compilation-page-delimiter):
9564         Support GNU Make-4.0 directory quoting.  (Bug#15678)
9566 2013-10-23  Leo Liu  <sdl.web@gmail.com>
9568         * ido.el (ido-tidy): Handle read-only text.
9570 2013-10-23  Glenn Morris  <rgm@gnu.org>
9572         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
9573         (emacs, compile, compile-always):
9574         Quote entities that might contain whitespace.
9575         (custom-deps, finder-data, autoloads): Use abs_lisp.
9576         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9577         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9578         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
9580 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
9582         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
9583         Use `following-char'.
9585 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9587         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
9588         * progmodes/ruby-mode.el (ruby-smie-rules):
9589         Remove corresponding workaround.  Fix indentation rule of ";" so it
9590         also applies when ";" is the parent.
9592 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
9594         * frame.el (display-screens, display-pixel-height)
9595         (display-pixel-width, display-mm-width, display-backing-store)
9596         (display-save-under, display-planes, display-color-cells)
9597         (display-visual-class, display-monitor-attributes-list):
9598         Mention the optional ‘display’ argument in doc strings.
9600 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
9602         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
9603         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
9605 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
9607         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
9608         TODO.  Add "." after " @ ".
9609         (ruby-smie--at-dot-call): New function.  Checks if point at method
9610         call with explicit target.
9611         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
9612         to the method name tokens when it precedes them.
9613         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
9614         (ruby-smie-rules): Add rule for indentation before and after "."
9615         token.
9617 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9619         * textmodes/remember.el (remember-diary-extract-entries):
9620         Avoid add-to-list.
9622         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
9623         an instruction.
9625 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
9627         * progmodes/ruby-mode.el (ruby-smie-grammar):
9628         Add (almost) all infix operators.
9629         (ruby-smie--implicit-semi-p): Add new operator chars.
9631         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9632         `smie-down-list'.
9633         (ruby-smie--args-separator-p): Check that there's no newline
9634         between method call and its arguments.
9636 2013-10-20  Alan Mackenzie  <acm@muc.de>
9638         Allow comma separated lists after Java "implements".
9640         * progmodes/cc-engine.el (c-backward-over-enum-header):
9641         Parse commas.
9642         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
9643         from a "disallowed" list in enum fontification.
9645 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
9647         * startup.el (default-frame-background-mode): Remove unused defvar.
9649         * progmodes/verilog-mode.el (verilog-mode): Don't set
9650         comment-indent-function globally.
9652 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
9654         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
9655         Move Info menu item creation to ns-win.el.
9657         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
9658         in menu bar.
9660         * menu-bar.el: Move GNUstep specific menus...
9662         * term/ns-win.el (ns-initialize-window-system): ... to here.
9664 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9666         * simple.el (newline): Only run post-self-insert-hook when
9667         called interactively.
9669 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
9671         * icomplete.el (icomplete-with-completion-tables): Add :version.
9673 2013-10-19  Alan Mackenzie  <acm@muc.de>
9675         Fix fontification bugs with constructors and const.
9677         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
9678         CASE 2) Remove the check for the absence of a suffix construct
9679         after a function declaration with only types (no identifiers) in
9680         the parentheses.  Also, accept a function declaration with just a
9681         type inside the parentheses, if this type can be positively
9682         recognised as such, or if a prefix keyword like "explicit" nails
9683         down the construct as a declaration.
9685 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
9687         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
9688         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
9689         the problem whereby selecting a menu item that leads to a
9690         minibuffer prompt moves the cursor out of the minibuffer window,
9691         making it hard to type at the prompt.  Suggested by Stefan Monnier
9692         <monnier@iro.umontreal.ca>.
9694 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
9696         * menu-bar.el: Don't make Services menu.
9698 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9700         * ffap.el: Handle "/usr/include/c++/<version>" directories.
9701         (ffap-alist): Use ffap-c++-mode for c++-mode.
9702         (ffap-c++-path): New variable.
9703         (ffap-c++-mode): New function.
9705 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
9707         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
9709 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
9711         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
9712         introduced on 2013-09-08, which results in an infinite loop
9713         requesting a password.
9715 2013-10-18  Glenn Morris  <rgm@gnu.org>
9717         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
9719 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
9721         Sync with upstream verilog-mode revision 1a6ecec7.
9722         * progmodes/verilog-mode.el (verilog-mode-version): Update.
9723         (verilog-mode-release-date): Remove.
9724         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
9725         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
9726         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
9727         (verilog-auto-tieoff-ignore-regexp)
9728         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
9729         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
9730         (verilog-signals-with, verilog-dir-cache-preserving)
9731         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
9732         Doc fixes.
9733         (verilog-case-fold): New option, to control case folding in
9734         regexp searches, bug597.
9735         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
9736         (verilog-string-match-fold, verilog-in-paren-count)
9737         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
9738         (verilog-at-close-struct-p): New functions.
9739         (verilog-beg-block-re-ordered, verilog-extended-case-re)
9740         (verilog-forward-sexp, verilog-set-auto-endcomments)
9741         (verilog-leap-to-case-head): Handle "unique0" case.
9742         (verilog-in-constraint-re): New constant.
9743         (verilog-keywords, verilog-type-font-keywords):
9744         Add some SystemVerilog 1800-2012 keywords.
9745         (verilog-label-be): Remove unimplemented argument, bug669.
9746         (verilog-batch-execute-func): When batch expanding clear
9747         create-lockfiles to prevent spurious user locks when a file ends
9748         up not changing.
9749         (verilog-calculate-indent, verilog-calc-1)
9750         (verilog-at-close-constraint-p, verilog-at-constraint-p)
9751         (verilog-do-indent): Fix indentation of nested constraints
9752         and structures.
9753         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
9754         (verilog-auto-inst-param): Use verilog-string-match-fold.
9755         (verilog-read-inst-module-matcher):
9756         Fix AUTOINST on gate primitives with #1.
9757         (verilog-read-decls): Fix double-declaring user-defined typed signals.
9758         Reads all user-defined typed variables.
9759         (verilog-read-defines): Fix reading definitions inside comments, bug647.
9760         (verilog-signals-matching-regexp)
9761         (verilog-signals-not-matching-regexp, verilog-auto):
9762         Respect verilog-case-fold.
9763         (verilog-diff-report): Fix line count.
9764         (verilog-auto-assign-modport): Remove unused local `modi'.
9765         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
9766         better handle multidimensional arrays.
9767         Fix packed array ports misadding bit index in AUTOINST, bug637.
9768         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
9769         to not double-declare existing outputs and inputs, respectively.
9770         (verilog-template-map): Bind U to verilog-sk-uvm-component.
9771         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
9772         (verilog-sk-uvm-component): New skeleton.
9773         (verilog-submit-bug-report): Add verilog-case-fold,
9774         remove verilog-mode-release-date.
9776 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
9778         * subr.el (sit-for): Call (input-pending-p t) so as to behave
9779         as before.
9781 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
9783         * textmodes/remember.el (remember): Set buffer-offer-save in
9784         remember buffers (bug#13566).
9786 2013-10-18  Daniel Colascione  <dancol@dancol.org>
9788         When evaluating forms in ielm, direct standard output to ielm
9789         buffer.  Add new ielm-return-for-effect command.  Remove trailing
9790         whitespace throughout.
9792         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
9793         (ielm-return-for-effect): New command.
9794         (ielm-send-input): Accept optional `for-effect' parameter.
9795         (ielm-eval-input): Accept optional `for-effect' parameter.
9796         Bind `standard-output' to stream we create using
9797         `ielm-standard-output-impl'.  Suppress printing result when
9798         `for-effect'.
9799         (ielm-standard-output-impl): New function.
9800         (inferior-emacs-lisp-mode): Explain new features in documentation.
9802 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
9804         Code cleanup.
9806         * net/tramp.el (tramp-debug-message): Do not check for connection
9807         buffer.
9808         (tramp-message): Use "vector" connection property.
9810         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
9811         (tramp-equal-remote, tramp-eshell-directory-change)
9812         * net/tramp-adb.el (tramp-adb-handle-copy-file)
9813         (tramp-adb-handle-rename-file)
9814         * net/tramp-cmds.el (tramp-list-remote-buffers)
9815         (tramp-cleanup-connection, tramp-cleanup-this-connection)
9816         * net/tramp-compat.el (tramp-compat-process-running-p)
9817         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
9818         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
9819         (tramp-gvfs-handle-rename-file)
9820         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9821         (tramp-set-file-uid-gid)
9822         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9823         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
9824         of `file-remote-p'.
9826         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
9827         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9828         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
9829         (tramp-gw-open-network-stream): Suppress unrelated traces.
9831         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
9832         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9833         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9834         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
9835         connection property.
9837         * net/tramp-cache.el (top): Suppress traces when reading
9838         persistency file.
9840         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9841         Refactor common code.  Improve debug message.
9842         (tramp-maybe-open-connection)
9843         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
9844         connection buffer too early.
9846         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
9847         from `tramp-smb-actions-with-acl'.
9848         (tramp-smb-actions-set-acl): New defconst.
9849         (tramp-smb-handle-copy-directory)
9850         (tramp-smb-action-get-acl): New defun, renamed from
9851         `tramp-smb-action-with-acl'.
9852         (tramp-smb-action-set-acl): New defun.
9853         (tramp-smb-handle-set-file-acl): Rewrite.
9855 2013-10-17  Glenn Morris  <rgm@gnu.org>
9857         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
9859 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9861         * skeleton.el (skeleton-newline): Remove.
9862         (skeleton-internal-1): Use (insert "\n") instead.
9864         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
9865         let-bindings.
9867         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
9868         forward-sexp-function while we redo its job (bug#15613).
9870 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
9872         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
9873         represented by lists.
9875 2013-10-16  Glenn Morris  <rgm@gnu.org>
9877         * tmm.el (tmm--history): New dynamic variable.
9878         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
9880 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
9882         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
9883         (tramp-smb-errors): Add error messages.
9884         (tramp-smb-actions-with-acl): New defconst.
9885         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
9886         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
9887         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
9888         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
9889         (tramp-smb-get-stat-capability): Fix tests.
9891 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
9893         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
9894         (bug#15580).
9896 2013-10-16  Glenn Morris  <rgm@gnu.org>
9898         * ansi-color.el (ansi-color-drop-regexp):
9899         Add 1J, 1K, 2K.  (Bug#15617)
9901         * files.el (hack-local-variables--warned-lexical): New.
9902         (hack-local-variables):
9903         Warn about misplaced lexical-binding.  (Bug#15616)
9905         * net/eww.el (eww-render): Always set eww-current-url,
9906         and update header line.  (Bug#15622)
9907         (eww-display-html): ... Rather than just doing it here.
9909 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
9911         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
9912         menu navigations commands.
9914 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
9916         * progmodes/subword.el (subword-capitalize): Be careful when
9917         the search for [[:alpha:]] fails (bug#15580).
9919 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
9921         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
9922         to commands that scroll the menu.
9924 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
9926         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
9927         Handle methods ending with `?' and `!'.
9929 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
9931         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
9932         `japanese-cp932' to `cp932' to fix the problem where saving a
9933         source file written in Shift_JIS twice would end up having
9934         `coding: japanese-cp932' which Ruby could not recognize.
9935         (ruby-mode-set-encoding): Add support for encodings mapped to nil
9936         in `ruby-encoding-map'.
9937         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
9938         doesn't need to be explicitly declared in magic comment.
9939         (ruby-encoding-map): Add type declaration for better customize UI.
9941 2013-10-13  Glenn Morris  <rgm@gnu.org>
9943         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
9944         Occur buffers are read-only.  http://bugs.debian.org/720775
9946         * emacs-lisp/authors.el (authors-fixed-entries):
9947         Comment out old alpha stuff.
9949 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
9951         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
9952         to `after-save-hook' instead of `before-save-hook'.
9953         (ruby-mode-set-encoding): Use the value of coding system used to
9954         write the file.  Call `basic-save-buffer-1' after modifying the
9955         buffer.
9957 2013-10-13  Alan Mackenzie  <acm@muc.de>
9959         Fix indentation/fontification of Java enum with
9960         "implements"/generic.
9962         * progmodes/cc-engine.el (c-backward-over-enum-header):
9963         Extracted from the three other places and enhanced to handle generics.
9964         (c-inside-bracelist-p): Uses new function above.
9965         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
9966         function above.
9967         (c-font-lock-enum-tail): Uses new function above.
9969 2013-10-13  Kenichi Handa  <handa@gnu.org>
9971         * international/mule-cmds.el (select-safe-coding-system): Remove a
9972         superfluous condition in chekcing whether a coding system is safe
9973         or not.
9975 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
9977         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
9979 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
9981         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
9983 2013-10-13  Glenn Morris  <rgm@gnu.org>
9985         * menu-bar.el (menu-bar-update-buffers):
9986         Unify Buffers menu prompt string.  (Bug#15576)
9988         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
9990         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
9991         Add some entries.
9992         (authors-fixed-entries): Use accented form of name.
9994 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9996         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
9997         method calls (bug#15594).
9998         (ruby-smie--args-separator-p): New function.
9999         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
10000         recognize paren-free method calls.
10002         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
10003         internals of universal-argument.
10005 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
10007         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
10008         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
10009         dropped menu on second mouse click on the menu bar.
10011 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10013         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
10014         (explicit-shell-file-name): Declare.
10015         (sh--vars-before-point, sh--cmd-completion-table): New functions.
10016         (sh-completion-at-point-function): New function.
10017         (sh-mode): Use it.
10018         (sh-smie--keyword-p): Remove unused argument.
10019         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
10020         vars.
10021         (sh-set-shell): Always setup SMIE, even if we use the
10022         old indentation code.
10024 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
10026         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
10027         cases of ? and =.
10028         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
10029         predicate would return nil are almost non-existent.
10030         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
10032         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
10033         cache also after commands that modify the buffer but don't move
10034         point.
10036 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10038         * env.el (substitute-env-in-file-name): New function.
10039         (substitute-env-vars): Extend the meaning of the optional arg.
10041 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
10043         * term/w32-win.el (dynamic-library-alist): Define separate lists
10044         of GIF DLLs for versions before and after 5.0.0 of giflib.
10045         (Bug#15531)
10047 2013-10-10  João Távora  <joaotavora@gmail.com>
10049         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
10050         not locked, use last revision and current source as
10051         defaults.  (Bug#15569)
10053 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
10055         * menu-bar.el (menu-bar-open): Don't use popup-menu if
10056         menu-bar is hidden.
10058 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
10060         * window.el (pop-to-buffer-same-window): Fix doc-string.
10061         (Bug#15492)
10063 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10065         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
10067 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
10069         * calendar/icalendar.el (icalendar-import-file):
10070         Fix interactive spec.  (Bug#15482)
10072 2013-10-10  Glenn Morris  <rgm@gnu.org>
10074         * desktop.el (desktop-save): Default to saving in .emacs.d,
10075         since PWD is no longer in desktop-path by default.  (Bug#15319)
10077         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
10078         now that text mode has a menu with the same entry.
10079         (menu-bar-text-mode-auto-fill): Remove now unused func.
10080         * textmodes/text-mode.el (text-mode-map):
10081         Use auto-fill help text from menu-bar.el.
10083 2013-10-10  John Anthony  <john@jo.hnanthony.com>
10085         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
10087 2013-10-09  Juri Linkov  <juri@jurta.org>
10089         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
10090         instead of this-command-keys.  Add universal-argument-more and
10091         universal-argument-minus to the list of prefix commands.  (Bug#15568)
10093 2013-10-09  Glenn Morris  <rgm@gnu.org>
10095         * vc/vc-svn.el (vc-svn-create-repo):
10096         Expand paths in file://... url.  (Bug#15446)
10098         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
10099         Add some entries.
10100         (authors): Remove unused local variables.
10102 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10104         * profiler.el: Create a more coherent calltree from partial backtraces.
10105         (profiler-format): Hide the tail with `invisible' so that C-s can still
10106         find the hidden elements.
10107         (profiler-calltree-depth): Don't recurse so enthusiastically.
10108         (profiler-function-equal): New hash-table-test.
10109         (profiler-calltree-build-unified): New function.
10110         (profiler-calltree-build): Use it.
10111         (profiler-report-make-name-part): Indent the calltree less.
10112         (profiler-report-mode): Add visibility specs for profiler-format.
10113         (profiler-report-expand-entry, profiler-report-toggle-entry):
10114         Expand the whole subtree when provided with a prefix arg.
10116 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
10118         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
10119         iuwu-mod token.
10120         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
10121         hanging iuwu-mod token.
10122         (ruby-smie--forward-token): Do not include a dot after a token in
10123         that token.
10124         (ruby-smie--backward-token): Likewise.
10126 2013-10-08  Juri Linkov  <juri@jurta.org>
10128         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
10129         to isearch-other-control-char.
10130         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
10131         and isearch-post-command-hook to post-command-hook.
10132         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
10133         and isearch-post-command-hook from post-command-hook.
10134         (isearch-unread-key-sequence)
10135         (isearch-reread-key-sequence-naturally)
10136         (isearch-lookup-scroll-key, isearch-other-control-char)
10137         (isearch-other-meta-char): Remove functions.
10138         (isearch-pre-command-hook, isearch-post-command-hook):
10139         New functions based on isearch-other-meta-char rewritten
10140         relying on the new behavior of overriding-terminal-local-map
10141         that does not replace the local keymaps any more.  (Bug#15200)
10143 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
10145         Support menus on text-mode terminals.
10146         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
10147         functionality.
10149         * tooltip.el (tooltip-mode): Don't error out on TTYs.
10151         * menu-bar.el (popup-menu, popup-menu-normalize-position):
10152         Move here from mouse.el.
10153         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
10154         and arrow keys.
10155         (tty-menu-navigation-map): New map for TTY menu navigation.
10157         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
10159         * frame.el (display-mouse-p): Report text-mode mouse as available
10160         on w32.
10161         (display-popup-menus-p): Report availability if mouse is
10162         available; don't condition on window-system.
10164         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
10165         (tty-menu-selected-face): New faces.
10167 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10169         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
10170         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
10171         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
10172         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
10173         New constants.
10174         (lisp-mode-variables): New `elisp' argument.
10175         (emacs-lisp-mode): Use it.
10176         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
10177         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
10179         * indent.el: Use lexical-binding.
10180         (indent-region): Add progress reporter.
10181         (tab-stop-list): Make it implicitly extend to infinity by repeating the
10182         last step.
10183         (indent--next-tab-stop): New function to implement this behavior.
10184         (tab-to-tab-stop, move-to-tab-stop): Use it.
10186 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
10188         * indent.el (indent-rigidly--current-indentation): New function.
10189         (indent-rigidly-map): New var.
10190         (indent-rigidly): Use it to provide interactive mode (bug#8196).
10192 2013-10-08  Bastien Guerry  <bzg@gnu.org>
10194         * register.el (insert-register): Fix 2013-10-07 change.
10196 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10198         * progmodes/perl-mode.el: Use lexical-binding.
10199         Remove redundant :group args.
10200         (perl-nochange): Change default to be closer to other major modes's
10201         standard behavior.
10202         (perl-indent-line): Don't consider text on current line as a
10203         valid beginning of function from which to indent.
10205         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
10206         with more than one argument (bug#15538).
10208         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
10210         * vc/pcvs.el: Use lexical-binding.
10211         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
10212         environment of `eval'.
10213         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
10214         than a list of expressions.  Adjust callers.
10215         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
10217 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
10219         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
10220         case of the dot in a chained method call being on the following line.
10222 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10224         * electric.el (electric-indent-inhibit): New var.
10225         (electric-indent-post-self-insert-function): Use it.
10226         * progmodes/python.el (python-mode): Set it.
10228         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
10229         open braces.
10231         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
10233         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
10234         (css-mode): Use electric-indent-chars.
10236         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
10237         (font-lock-beg, font-lock-end): Move before first use.
10238         (nxml-mode): Use syntax-propertize-function.
10239         (nxml-after-change, nxml-after-change1): Adjust accordingly.
10240         (nxml-extend-after-change-region): Remove.
10241         * nxml/xmltok.el: Use lexical-binding.
10242         (xmltok-save): Use `declare'.
10243         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
10244         * nxml/nxml-util.el: Use lexical-binding.
10245         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
10246         Use `declare'.
10247         * nxml/nxml-ns.el: Use lexical-binding.
10248         (nxml-ns-save): Use `declare'.
10249         (nxml-ns-prefixes-for): Avoid add-to-list.
10250         * nxml/rng-match.el: Use lexical-binding.
10251         (rng--ipattern): Use cl-defstruct.
10252         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
10253         (rng-cons-group-after, rng-subst-group-after)
10254         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
10255         Use closures instead of `(lambda...).
10257 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
10259         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
10260         of BEG and END.
10262         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10263         Use `tramp-handle-insert-file-contents'.
10264         (tramp-gvfs-handle-insert-file-contents): Remove function.
10266         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10267         Use `save-restriction' in order to keep markers.
10269         * net/trampver.el: Update release number.
10271 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10273         * progmodes/compile.el (compilation-parse-errors):
10274         Use compilation--put-prop.
10275         (compilation--ensure-parse): Check compilation-multiline.
10277         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
10279         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
10280         lexical-binding.
10282         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
10284         * progmodes/ruby-mode.el: Fix recently added tests.
10285         (ruby-smie-grammar): Add - and +.
10286         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
10287         (ruby-smie--backward-id): New functions.
10288         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
10289         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
10290         any more.
10292 2013-10-07  Leo Liu  <sdl.web@gmail.com>
10294         * register.el (register-preview-delay)
10295         (register-preview-functions): New variables.
10296         (register-read-with-preview, register-preview)
10297         (register-describe-oneline): New functions.
10298         (point-to-register, window-configuration-to-register)
10299         (frame-configuration-to-register, jump-to-register)
10300         (number-to-register, view-register, insert-register)
10301         (copy-to-register, append-to-register, prepend-to-register)
10302         (copy-rectangle-to-register): Use register-read-with-preview to
10303         read register.  (Bug#15525)
10305 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
10307         * net/network-stream.el (network-stream-open-starttls): Don't add
10308         --insecure if it's already present, because that gnutls-cli
10309         rejects getting that parameter twice.
10311 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
10313         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
10314         keyword, too.
10316 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
10318         * newcomment.el (comment-use-global-state): Change default value
10319         to t, mark obsolete (Bug#15251).
10320         (comment-beginning): In addition to `comment-to-syntax', check the
10321         value of `comment-use-global-state'.
10323 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10325         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
10326         (ruby-comment-column): Follow the global default, by default.
10327         (ruby-smie-grammar): Add assignment syntax.
10328         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
10329         open-paren, a comma, or a \.
10330         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
10331         and line continuations.
10332         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
10333         followed by implicit semi-colons.  Add rule for string concatenation
10334         and for indentation at BOB.
10335         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
10337         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
10338         calling next-sexp, since next-token may have skipped chars which
10339         next-sexp doesn't know should be skipped!
10341 2013-10-05  Leo Liu  <sdl.web@gmail.com>
10343         * progmodes/octave.el (octave-send-region):
10344         Call compilation-forget-errors.
10346 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
10348         * vc/vc-svn.el (vc-svn-find-admin-dir):
10349         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
10350         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
10351         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
10352         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
10354 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10356         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
10358 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10360         * subr.el (read-passwd): Hide chars even when called within a context
10361         where after-change-functions is disabled (bug#15501).
10362         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
10363         until we removed ourself from overriding-terminal-local-map.
10365 2013-10-04  Leo Liu  <sdl.web@gmail.com>
10367         * progmodes/octave.el (inferior-octave-mode):
10368         Call compilation-forget-errors.
10370 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
10372         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
10374 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
10376         * net/secrets.el (secrets-create-collection): Add optional
10377         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
10378         dbus-call-method argument.  (Bug#15516)
10380 2013-10-04  Leo Liu  <sdl.web@gmail.com>
10382         * progmodes/octave.el (inferior-octave-error-regexp-alist)
10383         (inferior-octave-compilation-font-lock-keywords): New variables.
10384         (compilation-error-regexp-alist)
10385         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
10386         (inferior-octave-mode): Use compilation-shell-minor-mode.
10388 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
10390         * minibuffer.el (completion--replace): Be careful that `end' might be
10391         a marker.
10393 2013-10-03  Daiki Ueno  <ueno@gnu.org>
10395         Add support for package signature checking.
10396         * emacs-lisp/package.el (url-http-file-exists-p)
10397         (epg-make-context, epg-context-set-home-directory)
10398         (epg-verify-string, epg-context-result-for)
10399         (epg-signature-status, epg-signature-to-string)
10400         (epg-check-configuration, epg-configuration)
10401         (epg-import-keys-from-file): Declare.
10402         (package-check-signature): New user option.
10403         (package-unsigned-archives): New user option.
10404         (package-desc): Add `signed' field.
10405         (package-load-descriptor): Set `signed' field if .signed file exists.
10406         (package--archive-file-exists-p): New function.
10407         (package--check-signature): New function.
10408         (package-install-from-archive): Check package signature.
10409         (package--download-one-archive): Check archive signature.
10410         (package-delete): Remove .signed file.
10411         (package-import-keyring): New command.
10412         (package-refresh-contents): Import default keyring.
10413         (package-desc-status): Add "unsigned" status.
10414         (describe-package-1, package-menu--print-info)
10415         (package-menu-mark-delete, package-menu--find-upgrades)
10416         (package-menu--status-predicate): Support "unsigned" status.
10418 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10420         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
10421         the new compilation scheme using the new byte-codes.
10423         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
10424         (byte-pophandler): New byte codes.
10425         (byte-goto-ops): Adjust accordingly.
10426         (byte-compile--use-old-handlers): New var.
10427         (byte-compile-catch): Use new byte codes depending on
10428         byte-compile--use-old-handlers.
10429         (byte-compile-condition-case--old): Rename from
10430         byte-compile-condition-case.
10431         (byte-compile-condition-case--new): New function.
10432         (byte-compile-condition-case): New function that dispatches depending
10433         on byte-compile--use-old-handlers.
10434         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
10435         when we can.
10437         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10438         Optimize under `condition-case' and `catch' if
10439         byte-compile--use-old-handlers is nil.
10440         (disassemble-offset): Handle new bytecodes.
10442 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10444         * subr.el (error): Use `declare'.
10445         (decode-char, encode-char): Use advertised-calling-convention instead
10446         of the docstring to discourage use of the `restriction' arg.
10448 2013-10-03  Daiki Ueno  <ueno@gnu.org>
10450         * epg.el (epg-verify-file): Add a comment saying that it does not
10451         notify verification error as a return value nor a signal.
10452         (epg-verify-string): Ditto.
10454 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
10456         * progmodes/compile.el (compilation-start): Try globbing the arg to
10457         `cd' (bug#15417).
10459 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
10461         Sync with Tramp 2.2.8.
10463         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
10464         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
10465         * net/trampver.el: Update release number.
10467 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
10469         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10470         and default-process-coding-system for darwin only.
10472 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10474         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
10476 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
10478         * vc/vc-git.el (vc-git-grep): Disable pager.
10480 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
10482         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
10483         Use :url instead of :homepage, as per
10484         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
10486         * newcomment.el (comment-beginning): When `comment-use-syntax' is
10487         non-nil, use `syntax-ppss' (Bug#15251).
10489 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10491         * progmodes/octave.el (inferior-octave-startup-file):
10492         Prefer ~/.emacs.d/init_octave.m.
10494 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
10496         * emacs-lisp/package.el (package-desc-from-define):
10497         Accept additional arguments as plist, convert them to an alist and store
10498         them in the `extras' slot.
10499         (package-generate-description-file): Convert extras alist back to
10500         plist and append to the `define-package' form arguments.
10501         (package--alist-to-plist): New function.
10502         (package--ac-desc): Add `extras' slot.
10503         (package--add-to-archive-contents): Check if the archive-contents
10504         vector is long enough, and if it is, pass its `extras' slot value
10505         to `package-desc-create'.
10506         (package-buffer-info): Call `lm-homepage', pass the returned value
10507         to `package-desc-from-define'.
10508         (describe-package-1): Render the homepage button (Bug#13291).
10510         * emacs-lisp/package-x.el (package-upload-buffer-internal):
10511         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
10513 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
10515         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10516         and default-process-coding-system to utf-8-unix (Bug#15402).
10518 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
10520         * subr.el (looking-back): Do not recommend using looking-back.
10522 2013-09-28  Alan Mackenzie  <acm@muc.de>
10524         Fix indentation/fontification of Java enum with "implements".
10526         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
10527         regexp which matches "implements", etc., in Java.
10528         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
10529         specifier clauses coming after "enum".
10530         * progmodes/cc-fonts.el (c-font-lock-declarations)
10531         (c-font-lock-enum-tail): Check for extra specifier clauses coming
10532         after "enum".
10534 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
10536         * faces.el (region): Change ns_selection_color to
10537         ns_selection_fg_color, add ns_selection_bg_color.
10539 2013-09-28  Leo Liu  <sdl.web@gmail.com>
10541         * progmodes/octave.el (inferior-octave-completion-table)
10542         (inferior-octave-completion-at-point): Minor tweaks.
10544         * textmodes/ispell.el (ispell-lookup-words): Rename from
10545         lookup-words.  (Bug#15460)
10546         (lookup-words): Obsolete.
10547         (ispell-complete-word, ispell-command-loop): All uses changed.
10549 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10551         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
10552         (octave-mode-menu): Add octave-send-buffer.
10553         (octave-send-buffer): New function.
10555 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10557         * progmodes/octave.el (octave-mode-map): Add key binding for
10558         octave-lookfor.
10559         (octave-mode-menu): Add octave-lookfor.
10560         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
10561         octave-lookfor.
10562         (octave-lookfor): New function.
10564 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10566         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
10567         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
10568         its convention.
10569         (cl--loop-set-iterator-function): New function.
10570         (cl-loop): Adjust accordingly, so as not to use cl-subst.
10571         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
10572         Bind `it' with `let' instead of substituting it with `cl-subst'.
10573         (cl--unused-var-p): New function.
10574         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
10575         Eliminate some unused variable warnings (bug#15326).
10577 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
10579         * doc-view.el (doc-view-scale-reset): Rename from
10580         `doc-view-reset-zoom-level'.
10581         (doc-view-scale-adjust): New command.
10582         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
10583         `doc-view-scale-adjust'.
10585 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
10587         * doc-view.el (doc-view-reset-zoom-level): New command.
10588         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
10589         zoom commands (bug#15466).
10591 2013-09-26  Kenichi Handa  <handa@gnu.org>
10593         * international/quail.el (quail-help): Make it not a command.
10595 2013-09-26  Leo Liu  <sdl.web@gmail.com>
10597         * minibuffer.el (completion-all-sorted-completions): Make args
10598         optional as they are.
10600 2013-09-25  Daniel Colascione  <dancol@dancol.org>
10602         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
10603         specs are and that they're not evaluated.
10605 2013-09-24  Sam Steingold  <sds@gnu.org>
10607         * midnight.el (clean-buffer-list-kill-regexps)
10608         (clean-buffer-list-kill-buffer-names): Update for the new Man
10609         buffer naming which includes the object name.
10611 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10613         * eshell/esh-cmd.el (eshell--sep-terms): New var.
10614         (eshell-parse-command, eshell-parse-pipeline): Use it since
10615         eshell-separate-commands requires a dynamic scoped var.
10616         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
10618 2013-09-23  Leo Liu  <sdl.web@gmail.com>
10620         * autoinsert.el (auto-insert-alist): Make the value of
10621         lexical-binding match its file setting.
10623 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
10625         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
10627         * autoarg.el (autoarg-kp-digit-argument):
10628         * electric.el (Electric-command-loop):
10629         * kmacro.el (kmacro-step-edit-insert):
10630         Do not set universal-argument-num-events.
10632 2013-09-22  Leo Liu  <sdl.web@gmail.com>
10634         * files.el (interpreter-mode-alist): Add octave.
10636 2013-09-21  Alan Mackenzie  <acm@muc.de>
10638         C++: fontify identifier in declaration following "public:" correctly.
10639         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
10640         to match "public", etc.
10641         (c-decl-prefix-re): Add ":" into the C++ value.
10642         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
10643         bit.  Add a check for a ":" preceded by "public", etc.
10645 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
10647         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
10648         recognized by GDB 7.5 and later.
10650 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
10652         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
10654 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10656         * subr.el (internal--call-interactively): New const.
10657         (called-interactively-p): Use it (bug#3984).
10659 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
10661         * vc/pcvs.el (cvs-mode-ignore):
10662         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
10663         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
10665 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10667         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
10668         (eshell-ls-orig-insert-directory): Remove.
10669         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
10670         (eshell-ls-use-in-dired): Use advice-add/remove.
10671         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
10672         Add `orig-fun' arg for use in :around advice.
10673         Make it check (redundantly) eshell-ls-use-in-dired.
10675 2013-09-19  Glenn Morris  <rgm@gnu.org>
10677         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
10679         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
10681         * emacs-lisp/eieio.el (class-parent): Undo previous change.
10683 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
10685         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
10686         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
10687         (tramp-get-remote-python): New defuns.
10688         (tramp-get-remote-uid-with-perl)
10689         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
10690         contributed by yary <not.com@gmail.com> (tiny change).
10691         (tramp-get-remote-uid-with-python)
10692         (tramp-get-remote-gid-with-python): New defuns.  Python code
10693         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
10694         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
10696 2013-09-19  Glenn Morris  <rgm@gnu.org>
10698         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
10700         * eshell/em-unix.el (eshell-remove-entries):
10701         Rename argument to avoid name-clash with global `top-level'.
10703         * eshell/esh-proc.el (eshell-kill-process-function):
10704         Remove eshell-reset-after-proc from eshell-kill-hook if present.
10705         (eshell-reset-after-proc): Remove unused arg `proc'.
10707         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
10708         (directory-files-and-attributes): Mark unused arg.
10710         * eshell/em-unix.el (eshell-remove-entries):
10711         Remove unused arg `path'.  Update callers.
10713         * eshell/em-hist.el (eshell-hist-parse-arguments):
10714         Remove unused arg `silent'.  Update callers.
10716         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
10717         Fix (f)boundp mix-up.
10719         * eshell/em-smart.el (eshell-smart-scroll-window)
10720         (eshell-disable-after-change):
10721         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
10723 2013-09-18  Alan Mackenzie  <acm@muc.de>
10725         Fix fontification of type when followed by "const".
10726         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
10727         "known" types from fontification.
10729 2013-09-18  Glenn Morris  <rgm@gnu.org>
10731         * emacs-lisp/chart.el (x-display-color-cells): Declare.
10732         (chart-face-list): Drop Emacsen without display-color-p.
10734         * net/eww.el (libxml-parse-html-region): Declare.
10735         (eww-display-html): Explicit error if no libxml2 support.
10737         * doc-view.el (doc-view-mode): Silence --without-x compilation.
10739         * image.el (image-type-from-buffer, image-multi-frame-p):
10740         Remove --without-x warning/error.
10742         * mouse.el (mouse-yank-primary):
10743         * term.el (term-mouse-paste):
10744         Reorder to silence --without-x compilation.
10746         * mpc.el (doc-view-mode): Silence --without-x compilation.
10748         * mail/rmailmm.el (rmail-mime-set-bulk-data):
10749         Silence --without-x compilation.
10751         * progmodes/gud.el (gud-find-file, gud-mode):
10752         Silence --without-x compilation.
10753         (tooltip-mode): Declare.
10755         * wdired.el (dired-backup-overwrite): Remove declaration.
10756         (wdired-mode-map): Add doc string.
10758         * custom.el (x-get-resource): Declare.
10760         * eshell/em-glob.el (ange-cache):
10761         * eshell/em-unix.el (ange-cache): Declare.
10763         * faces.el (x-display-list, x-open-connection, x-get-resource):
10764         Declare.
10766         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
10767         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
10768         Declare.
10770         * frame.el (x-display-grayscale-p, x-display-name): Declare.
10772         * net/gnutls.el (gnutls-log-level): Declare.
10774         * net/shr.el (image-size, image-animate): Declare.
10776         * simple.el (font-info): Declare.
10778         * subr.el (x-popup-dialog): Declare.
10780         * term/common-win.el (x-select-enable-primary)
10781         (x-last-selected-text-primary, x-last-selected-text-clipboard):
10782         Declare.
10784         * term/ns-win.el (x-handle-args): Declare.
10786         * term/x-win.el (x-select-enable-clipboard): Declare.
10788         * term/w32-win.el (create-default-fontset): Declare.
10790         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
10791         Declare.
10793         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
10794         (fit-frame-to-buffer): Explicit error if --without-x.
10795         (mouse-autoselect-window-select): Silence compiler.
10797         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10799         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
10800         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
10801         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
10802         * eshell/esh-util.el (eshell-sublist):
10803         Remove unused local variables.
10805         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
10807         * textmodes/two-column.el: Make 2C-split work for --without-x.
10808         (scroll-bar-columns): Autoload.
10809         (top-level): Require fringe when compiling.
10811 2013-09-18  Leo Liu  <sdl.web@gmail.com>
10813         * subr.el (add-hook): Robustify to handle closure as well.
10815 2013-09-17  Glenn Morris  <rgm@gnu.org>
10817         * simple.el (messages-buffer-mode-map): Unbind "g".
10819 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10821         * help-mode.el (help-mode-finish): Use derived-mode-p.
10822         Remove obsolete highlighting.
10824         * play/life.el (life-mode): Use define-derived-mode.  Derive from
10825         special-mode.
10826         (life): Let-bind inhibit-read-only.
10827         (life-setup): Avoid `setq'.  Use `life-mode'.
10829         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
10830         which should not be needed any more.
10831         (package-menu-refresh, package-menu-describe-package): Use user-error.
10833         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
10834         (eshell-post-rewrite-command-hook): Make obsolete.
10835         (eshell-parse-command): Simplify.
10836         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
10837         (eshell--cmd): Declare.
10838         (eshell-parse-pipeline): Remove unused var `final-p'.
10839         Pass a dynvar to eshell-post-rewrite-command-hook.
10840         Implement the new eshell-post-rewrite-command-function.
10841         (eshell-invoke-directly): Remove unused arg `input'.
10842         * eshell/esh-io.el (eshell-io-initialize):
10843         Use eshell-post-rewrite-command-function (bug#15399).
10844         (eshell--apply-redirections): Rename from eshell-apply-redirections;
10845         adjust to new calling convention.
10846         (eshell-create-handles): Rename args to avoid clashing with dynvar
10847         `standard-output'.
10849 2013-09-17  Glenn Morris  <rgm@gnu.org>
10851         * simple.el (messages-buffer-mode): New major mode.
10852         (messages-buffer): New function.
10853         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
10854         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
10855         (ert-run-test): Use `messages-buffer' function.
10856         (ert--force-message-log-buffer-truncation): Ignore read-only.
10857         * help.el (view-echo-area-messages): Use `messages-buffer' function.
10858         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
10860 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10862         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
10864         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
10866 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10868         * icomplete.el (icomplete-in-buffer): New var.
10869         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
10870         vars and replace them with functions.
10871         (icomplete-minibuffer-setup): Adjust accordingly.
10872         (icomplete--completion-table, icomplete--completion-predicate)
10873         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
10874         New functions.
10875         (icomplete-forward-completions, icomplete-backward-completions)
10876         (icomplete-simple-completing-p, icomplete-exhibit)
10877         (icomplete-completions): Use them.
10878         (icomplete--in-region-buffer): New var.
10879         (icomplete--in-region-setup): New function.
10880         (icomplete-mode): Use it.
10882         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
10883         (bug#15379).
10884         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
10885         return args and options.
10886         (eshell-eval-using-options): Use the new return value of
10887         eshell--do-opts to set the options's vars in their scope.
10888         (eshell--set-option): Rename from eshell-set-option.
10889         Add arg `opt-vals'.
10890         (eshell--process-option): Rename from eshell-process-option.
10891         Add arg `opt-vals'.
10892         (eshell--process-args): Use an `opt-vals' alist to store the options's
10893         values during their processing and return them additionally to the
10894         remaining args.
10896 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
10898         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
10899         continuation character an operator, as far as indentation is
10900         concerned (Bug#15369).
10902 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
10904         * window.el (window--state-put-2): Don't process buffer state
10905         when buffer doesn't exist any more (Bug#15382).
10907 2013-09-15  Glenn Morris  <rgm@gnu.org>
10909         * eshell/em-unix.el (eshell/rm):
10910         Make -f ignore missing files.  (Bug#15373)
10912         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
10913         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
10914         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
10916 2013-09-14  Glenn Morris  <rgm@gnu.org>
10918         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
10920 2013-09-13  Glenn Morris  <rgm@gnu.org>
10922         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
10923         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
10925 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
10927         * frame.el (x-focus-frame): Mark as declared in frame.c.
10929 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10931         * ls-lisp.el: Use advice-add.
10932         (original-insert-directory): Remove.
10933         (ls-lisp--insert-directory): Rename from insert-directory; add
10934         `orig-fun' argument.
10935         (insert-directory): Advise.
10937 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
10939         * term.el (term-emulate-terminal): Decode the command string
10940         before passing it to term-command-hook.  (Bug#15337)
10942 2013-09-13  Glenn Morris  <rgm@gnu.org>
10944         * eshell/esh-util.el (ange-cache): Move declaration earlier.
10946         * eshell/esh-ext.el (eshell-search-path): Declare.
10948         * eshell/em-prompt.el (eshell/pwd): Autoload it.
10949         Otherwise an error occurs if eshell-dirs module not loaded.
10951         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
10953 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
10955         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
10956         `tramp-check-proper-host'.  Check for a valid method name.
10958         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10959         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10960         * net/tramp-sh.el (tramp-maybe-open-connection):
10961         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
10963         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
10964         also for hash values.
10966 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10968         * term/ns-win.el (parameters): Don't declare as dynamic.
10969         (before-make-frame-hook): Don't add ineffective function.
10971         * eshell/*.el: Use lexical-binding (bug#15231).
10973 2013-09-12  Kenichi Handa  <handa@gnu.org>
10975         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
10977 2013-09-12  Glenn Morris  <rgm@gnu.org>
10979         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
10980         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
10982         * subr.el (do-after-load-evaluation): Also give compiler warnings
10983         when obsolete files are used (except by obsolete files).
10985         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
10986         in the status output, assume `filename' is the first.  (Bug#15322)
10988         * vc/vc.el (vc-deduce-fileset): Doc fix.
10990         * calc/calc-help.el (Info-goto-node):
10991         * progmodes/cperl-mode.el (Info-find-node):
10992         * vc/ediff.el (Info-goto-node): Update declarations.
10994         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
10996         * vc/vc-bzr.el (vc-compilation-mode): Declare.
10997         (vc-bzr-pull): Require vc-dispatcher.
10998         * vc/vc-git.el (vc-compilation-mode): Declare.
10999         (vc-git-pull): Require vc-dispatcher.
11001         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
11003         * progmodes/octave.el (help-button-action): Declare.
11005         * shell.el (shell-directory-tracker): Output error as a message
11006         rather than just returning it as a string.
11007         (shell-process-pushd): Remove useless use of message.
11009         * dframe.el (dframe-timer-fn):
11010         * files.el (dir-locals-read-from-file):
11011         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
11012         (mpc-format):
11013         * reveal.el (reveal-post-command):
11014         * saveplace.el (load-save-place-alist-from-file):
11015         * shell.el (shell-resync-dirs):
11016         * w32-common-fns.el (x-get-selection-value):
11017         * emacs-lisp/copyright.el (copyright-find-copyright):
11018         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11019         * emulation/tpu-edt.el (tpu-copy-keyfile):
11020         * play/bubbles.el (bubbles--mark-neighbourhood):
11021         * progmodes/executable.el
11022         (executable-make-buffer-file-executable-if-script-p):
11023         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
11025 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11027         Cleanup Eshell to rely less on dynamic scoping.
11028         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
11029         last-value, and ext-command here.  Bind `args' closer to `body'.
11030         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
11031         (eshell--args): Declare new dynamic var.
11032         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
11033         last-value, and ext-command.  Pass `args' to `body'.
11034         (eshell-process-args): Bind eshell--args.
11035         (eshell-set-option): Use eshell--args.
11036         * eshell/eshell.el (eshell): Use derived-mode-p.
11037         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
11038         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
11039         (eshell-glob-function): Declare.
11040         * eshell/esh-util.el: Require cl-lib.
11041         (eshell-read-hosts-file): Avoid add-to-list.
11042         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
11043         `err'.
11044         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
11045         Declare.
11046         (eshell/diff): Remove unused var `err'.
11047         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
11048         `killflag'.
11049         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
11050         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
11051         first use.
11052         * eshell/em-glob.el (eshell-glob-matches, message-shown):
11053         Move declaration before first use.
11054         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
11055         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
11056         rely on cl-return.
11058 2013-09-12  Glenn Morris  <rgm@gnu.org>
11060         * term/ns-win.el (global-map): Remove binding for ispell-next,
11061         deleted 1999-05-29.  (Bug#15357)
11063 2013-09-11  Glenn Morris  <rgm@gnu.org>
11065         * echistory.el (electric-command-history): Remove call to deleted func.
11067         * play/landmark.el (landmark-mode): Fix typos.
11069         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
11070         Check cvs-sort-ignore-file is bound.
11072         * savehist.el: No need for cl when compiling on Emacs.
11074 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11076         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
11077         (bug#15338).
11078         (eshell-self-insert-command, eshell-send-invisible):
11079         Remove unused argument.
11080         (eshell-handle-control-codes): Remove unused var `orig'.
11081         Avoid delete-backward-char.
11083         * files.el (set-auto-mode): Simplify a bit further.
11085 2013-09-11  Glenn Morris  <rgm@gnu.org>
11087         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
11088         (set-auto-mode): Don't regexp-quote elements.
11089         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
11090         * progmodes/cc-mode.el (interpreter-mode-alist):
11091         * progmodes/ruby-mode.el (interpreter-mode-alist):
11092         Revert previous change.
11094 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11096         * play/snake.el (snake-mode):
11097         * play/mpuz.el (mpuz-mode):
11098         * play/landmark.el (lm-mode):
11099         * play/blackbox.el (blackbox-mode):
11100         * play/5x5.el (5x5-mode):
11101         * obsolete/options.el (Edit-options-mode):
11102         * net/quickurl.el (quickurl-list-mode):
11103         * net/newst-treeview.el (newsticker-treeview-mode):
11104         * mail/rmailsum.el (rmail-summary-mode):
11105         * mail/mspools.el (mspools-mode):
11106         * locate.el (locate-mode):
11107         * ibuffer.el (ibuffer-mode):
11108         * emulation/ws-mode.el (wordstar-mode):
11109         * emacs-lisp/debug.el (debugger-mode):
11110         * array.el (array-mode):
11111         * net/eudc.el (eudc-mode): Use define-derived-mode.
11112         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
11113         Move initialization into declaration.
11114         (mairix-searches-mode): Use define-derived-mode.
11115         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
11116         (eudc-edit-hotlist): Use dolist.
11117         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
11118         (Man-mode): Use define-derived-mode.
11119         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
11120         (Info-edit-mode): Use define-derived-mode.
11121         (Info-cease-edit): Use Info-mode.
11122         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
11123         into declaration.
11124         (eshell-mode): Use define-derived-mode.
11125         * chistory.el (command-history-mode-map): Rename from
11126         command-history-map.
11127         (command-history-mode): Use define-derived-mode.
11128         (Command-history-setup): Remove function.
11129         * calc/calc.el (calc-trail-mode-map): New var.
11130         (calc-trail-mode): Use define-derived-mode.
11131         (calc-trail-buffer): Set calc-main-buffer manually.
11132         * bookmark.el (bookmark-insert-annotation): New function.
11133         (bookmark-edit-annotation): Use it.
11134         (bookmark-edit-annotation-mode): Make it a proper major mode.
11135         (bookmark-send-edited-annotation): Use derived-mode-p.
11136         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
11137         closer to its ideal place.  Use \' to match EOS.
11139         * profiler.el (profiler-calltree-find): Use function-equal.
11141 2013-09-10  Glenn Morris  <rgm@gnu.org>
11143         * files.el (interpreter-mode-alist): Convert to regexps.
11144         (set-auto-mode): Adapt for this.  (Bug#15306)
11145         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
11146         Comment out unused variable.
11147         * progmodes/cc-mode.el (interpreter-mode-alist):
11148         * progmodes/python.el (interpreter-mode-alist):
11149         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
11150         * progmodes/sh-script.el (sh-set-shell):
11151         No longer use interpreter-mode-alist to get list of shells.
11153         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
11155 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11157         * simple.el: Use set-temporary-overlay-map for universal-argument.
11158         (universal-argument-map): Don't use default-bindings (bug#15317).
11159         Bind switch-frame explicitly.  Replace universal-argument-minus with
11160         a conditional binding.
11161         (universal-argument-num-events, saved-overriding-map): Remove.
11162         (restore-overriding-map): Remove.
11163         (universal-argument--mode): Rename from save&set-overriding-map,
11164         and rewrite.
11165         (universal-argument, universal-argument-more, negative-argument)
11166         (digit-argument): Adjust accordingly.
11167         (universal-argument-minus): Remove.
11168         (universal-argument-other-key): Remove.
11170         * subr.el (with-demoted-errors): Add `format' argument.
11172 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
11174         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
11175         `tramp-cleanup-connection'.
11177         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
11178         parameters KEEP-DEBUG and KEEP-PASSWORD.
11180         * net/tramp.el (tramp-file-name-handler):
11181         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11182         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11183         (tramp-maybe-open-connection):
11184         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11185         Use `tramp-cleanup-connection'.
11187         * net/tramp-sh.el (tramp-maybe-open-connection):
11188         Catch 'uname-changed inside the progress reporter.
11190 2013-09-10  Glenn Morris  <rgm@gnu.org>
11192         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
11194         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
11195         returns "alternate access method" in mode (eg "-rw-r--r--.").
11197 2013-09-08  Glenn Morris  <rgm@gnu.org>
11199         * saveplace.el (load-save-place-alist-from-file):
11200         Demote errors.  (Bug#15305)
11202 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
11204         Improve compatibility with older Emacsen, and XEmacs.
11206         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
11207         only if it is bound.  It isn't for XEmacs.
11208         (with-tramp-progress-reporter): Do not let-bind `result'.
11209         This yields to scoping errors in XEmacs.
11210         (tramp-handle-make-auto-save-file-name): New function, moved from
11211         tramp-sh.el.
11213         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
11214         for `make-auto-save-file-name'.
11215         (tramp-adb--gnu-switches-to-ash):
11216         Use `tramp-compat-replace-regexp-in-string'.
11218         * net/tramp-cache.el (tramp-cache-print): Call
11219         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
11221         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
11222         bound.  It isn't for XEmacs.
11224         * net/tramp-compat.el (tramp-compat-copy-file):
11225         Catch `wrong-number-of-arguments' error.
11226         (tramp-compat-replace-regexp-in-string): New defun.
11228         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
11229         for `make-auto-save-file-name'.
11230         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
11231         `copy-file'.
11232         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
11233         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
11234         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
11236         * net/tramp-gw.el (tramp-gw-open-network-stream):
11237         Use `tramp-compat-replace-regexp-in-string'.
11239         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11240         Call `tramp-handle-make-auto-save-file-name'.
11241         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
11242         (tramp-sh-file-gvfs-monitor-dir-process-filter)
11243         (tramp-sh-file-inotifywait-process-filter):
11244         Use `tramp-compat-replace-regexp-in-string'.
11245         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
11247         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
11248         for `make-auto-save-file-name'.
11249         (tramp-smb-handle-copy-directory):
11250         Call `tramp-compat-replace-regexp-in-string'.
11251         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
11252         (tramp-smb-handle-copy-file): Improve error message.
11253         (tramp-smb-handle-rename-file): Rename directly only in case
11254         `newname' does not exist yet.  This is a restriction of smbclient.
11255         (tramp-smb-maybe-open-connection): Rerun the function only when
11256         `auth-sources' is non-nil.
11258 2013-09-08  Kenichi Handa  <handa@gnu.org>
11260         * international/characters.el: Set category "^" (Combining) for
11261         more characters.
11263 2013-09-07  Alan Mackenzie  <acm@muc.de>
11265         Correctly fontify Java class constructors.
11266         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
11267         in Java Mode.
11268         (c-recognize-typeless-decls): Set the Java value to t.
11269         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11270         While handling a "(", add a check for, effectively, Java, and handle a
11271         "typeless" declaration there.
11273 2013-09-07  Roland Winkler  <winkler@gnu.org>
11275         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
11276         field subtitle for entry type book.
11278 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11280         * minibuffer.el: Make minibuffer-complete call completion-in-region
11281         rather than other way around.
11282         (completion--some, completion-pcm--find-all-completions):
11283         Don't delay signals when debugging.
11284         (minibuffer-completion-contents): Beware fields within the
11285         minibuffer contents.
11286         (completion-all-sorted-completions): Use defvar-local.
11287         (completion--do-completion, completion--cache-all-sorted-completions)
11288         (completion-all-sorted-completions, minibuffer-force-complete):
11289         Add args `beg' and `end'.
11290         (completion--in-region-1): New fun, extracted from minibuffer-complete.
11291         (minibuffer-complete): Use completion-in-region.
11292         (completion-complete-and-exit): New fun, extracted from
11293         minibuffer-complete-and-exit.
11294         (minibuffer-complete-and-exit): Use it.
11295         (completion--complete-and-exit): Rename from
11296         minibuffer--complete-and-exit.
11297         (completion-in-region--single-word): New function, extracted from
11298         minibuffer-complete-word.
11299         (minibuffer-complete-word): Use it.
11300         (display-completion-list): Make `common-substring' argument obsolete.
11301         (completion--in-region): Call completion--in-region-1 instead of
11302         minibuffer-complete.
11303         (completion-help-at-point): Pass boundaries to
11304         minibuffer-completion-help as args rather than via an overlay.
11305         (completion-pcm--string->pattern): Use `any-delim'.
11306         (completion-pcm--optimize-pattern): New function.
11307         (completion-pcm--pattern->regex): Handle `any-delim'.
11308         * icomplete.el (icomplete-forward-completions)
11309         (icomplete-backward-completions, icomplete-completions):
11310         Adjust calls to completion-all-sorted-completions and
11311         completion--cache-all-sorted-completions.
11312         (icomplete-with-completion-tables): Default to t.
11313         * emacs-lisp/crm.el (crm--current-element): Rename from
11314         crm--select-current-element.  Don't put an overlay but return the
11315         boundaries instead.
11316         (crm--completion-command): Take two new args to bind to the boundaries.
11317         (crm-completion-help): Adjust accordingly.
11318         (crm-complete): Use completion-in-region.
11319         (crm-complete-word): Use completion-in-region--single-word.
11320         (crm-complete-and-exit): Use completion-complete-and-exit.
11322 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11324         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
11325         than dynamically.
11327 2013-09-06  Juri Linkov  <juri@jurta.org>
11329         * info.el (Info-display-images-node): When image file doesn't exist
11330         display text version of the image if it's provided in the Info file.
11331         Otherwise, display the location of missing image from SRC attribute.
11332         Add help-echo text property from ALT attribute.  (Bug#15279)
11334 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11336         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
11337         (edit-abbrevs-mode): Use define-derived-mode.
11339         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
11340         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
11341         that it's defined.
11342         (epa-key-list-mode, epa-key-mode, epa-info-mode):
11343         Use define-derived-mode.
11345         * epg.el (epg-start-encrypt): Minor CSE simplification.
11347 2013-09-06  William Xu  <william.xwl@gmail.com>
11349         * arc-mode.el: Add support for 7za (bug#15264).
11350         (archive-7z-program): New var.
11351         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
11352         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
11353         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
11355 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
11357         Remove URL syntax.
11359         * net/tramp.el (tramp-syntax, tramp-prefix-format)
11360         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
11361         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
11362         (tramp-postfix-host-format, tramp-file-name-regexp)
11363         (tramp-completion-file-name-regexp)
11364         (tramp-completion-dissect-file-name)
11365         (tramp-handle-substitute-in-file-name): Remove 'url case.
11366         (tramp-file-name-regexp-url)
11367         (tramp-completion-file-name-regexp-url): Remove constants.
11369 2013-09-06  Glenn Morris  <rgm@gnu.org>
11371         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
11373 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
11375         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
11376         keywords" below "here-doc beginnings" (Bug#15270).
11378 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11380         * subr.el (pop): Use `car-safe'.
11381         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
11382         to detect unused `pop' return value.
11384         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
11385         var `block-regexp'.
11386         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
11387         (python-fill-string): Remove unused var `marker'.
11388         (python-skeleton-add-menu-items): Remove unused var `items'.
11390         * international/mule-cmds.el: Require CL.
11391         (find-coding-systems-for-charsets): Avoid add-to-list.
11392         (sanitize-coding-system-list): New function, extracted from
11393         select-safe-coding-system-interactively.
11394         (select-safe-coding-system-interactively): Use it.
11395         (read-input-method-name): Accept symbols for `default'.
11397         * emacs-lisp/advice.el (defadvice): Add indent rule.
11399 2013-09-05  Daniel Hackney  <dan@haxney.org>
11401         * dired-x.el:
11402         * net/ange-ftp.el:
11403         * net/browse-url.el:
11404         * net/dbus.el:
11405         * net/eudc.el:
11406         * net/eudcb-ldap.el:
11407         * net/eww.el:
11408         * net/imap.el:
11409         * printing.el:
11410         * vc/ediff-diff.el:
11411         * vc/ediff-init.el:
11412         * vc/ediff-merg.el:
11413         * vc/ediff-mult.el:
11414         * vc/ediff-util.el:
11415         * vc/ediff-wind.el:
11416         * vc/ediff.el:
11417         * vc/emerge.el:
11418         * vc/pcvs.el:
11419         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
11420         byte compiler.  Remove some unused let-bound variables.
11422 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11424         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
11425         a "ref-cell", since it gets better optimized (bug#14883).
11427 2013-09-05  Glenn Morris  <rgm@gnu.org>
11429         * progmodes/cc-awk.el (c-forward-sws): Declare.
11431 2013-09-04  Glenn Morris  <rgm@gnu.org>
11433         * generic-x.el [rul-generic-mode]: Require cc-mode.
11434         (c++-mode-syntax-table): Declare.
11435         (rul-generic-mode-syntax-table): Init in the defvar.
11437 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11439         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
11440         (vc-do-command, vc-set-async-update):
11441         * vc/vc-mtn.el (vc-mtn-dir-status):
11442         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
11443         (vc-hg-pull, vc-hg-merge-branch):
11444         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
11445         (vc-git-merge-branch):
11446         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
11447         (vc-cvs-dir-status-files):
11448         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
11449         (vc-bzr-dir-status-files):
11450         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
11451         * vc/vc-annotate.el: Use lexical-binding.
11452         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
11453         (vc-sentinel-movepoint): Declare.
11454         (vc-annotate): Don't use `goto-line'.
11455         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
11456         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
11457         (vc-sentinel-movepoint): Declare.
11458         * vc/vc-svn.el: Use lexical-binding.
11459         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
11460         * vc/vc-sccs.el:
11461         * vc/vc-rcs.el: Use lexical-binding.
11463         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
11464         `deleted'.  Don't drop errors silently.
11466         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
11468 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
11470         * vc/vc.el (vc-ignore): Rewrite.
11471         (vc-default-ignore): New function.
11472         (vc-default-ignore-completion-table): Use find-ignore-file.
11474         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
11475         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
11476         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
11477         Remove.  Most code moved to vc.el.
11479 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11481         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
11482         * net/tramp-smb.el (tramp-smb-get-file-entries):
11483         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
11484         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
11486         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
11487         Update call to it.
11488         (eww-change-select): Remove unused var `properties'.
11489         (eww-make-unique-file-name): Remove unused var `base'.
11491         * finder.el (finder-compile-keywords): Don't mess with windows.
11493         * calculator.el (calculator-funcall): Fix typo in last change.
11495         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
11497         * emacs-lisp/package.el (package-activate-1): Don't let a missing
11498         <pkg>-autoloads.el file stop us.
11500         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
11501         warnings, and factor out common code.
11503 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
11505         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
11506         two-character operators and whether the character preceding them
11507         changes their meaning (Bug#15208).
11509 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11511         Format code sent to Python shell for robustness.
11512         * progmodes/python.el (python-shell-buffer-substring):
11513         New function.
11514         (python-shell-send-region, python-shell-send-buffer): Use it.
11516 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
11518         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
11519         * net/tramp.el (tramp-user-error): ... here.
11520         (tramp-find-method, tramp-check-proper-host)
11521         (tramp-dissect-file-name, tramp-debug-message)
11522         (tramp-handle-shell-command):
11523         * net/tramp-adb.el (tramp-adb-handle-shell-command):
11524         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
11526         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
11528 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
11530         * avoid.el (mouse-avoidance-point-position)
11531         (mouse-avoidance-too-close-p): Handle case where posn-at-point
11532         returns nil.
11534 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11536         * progmodes/python.el (python-shell-completion-get-completions):
11537         Drop use of deleted `comint-last-prompt-overlay'.
11538         (python-nav-if-name-main): New command.
11540 2013-09-01  Glenn Morris  <rgm@gnu.org>
11542         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11543         Avoid leading space in $wins.  Otherwise the sed command used by
11544         eg compile-main ends up containing "/*.el".  (Bug#15170)
11546         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
11548 2013-08-30  Glenn Morris  <rgm@gnu.org>
11550         * emacs-lisp/bytecomp.el (byte-recompile-directory):
11551         Fix is-this-a-directory logic.  (Bug#15220)
11553 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11555         * textmodes/css-mode.el: Use SMIE.
11556         (css-smie-grammar): New var.
11557         (css-smie--forward-token, css-smie--backward-token)
11558         (css-smie-rules): New functions.
11559         (css-mode): Use them.
11560         (css-navigation-syntax-table): Remove var.
11561         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
11562         (css-indent-calculate, css-indent-line): Remove functions.
11564         Misc changes to reduce use of `(lambda...); and other cleanups.
11565         * cus-edit.el: Use lexical-binding.
11566         (customize-push-and-save, customize-apropos)
11567         (custom-buffer-create-internal): Use closures.
11568         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
11569         * progmodes/ada-xref.el: Use setq.
11570         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
11571         * dframe.el: Use lexical-binding.
11572         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
11573         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
11574         * descr-text.el: Use lexical-binding.
11575         (describe-text-widget, describe-text-sexp, describe-property-list):
11576         Use closures.
11577         * comint.el (comint-history-isearch-push-state): Use a closure.
11578         * calculator.el: Use lexical-binding.
11579         (calculator-number-to-string): Make it work with lexical-binding.
11580         (calculator-funcall): Same and use cl-letf.
11582         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
11583         (lisp--company-doc-string, lisp--company-location): New functions.
11584         (lisp-completion-at-point): Use them to improve Company support.
11586         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
11587         params of lambda expressions.
11588         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
11589         (ruby-smie--opening-pipe-p): New function.
11590         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
11591         symbols and matched |...| for formal params.
11592         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
11593         from being treated as hanging.  Handle "rescue".
11595 2013-08-29  Glenn Morris  <rgm@gnu.org>
11597         * progmodes/cc-engine.el (c-pull-open-brace):
11598         Move definition before use.
11600 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11602         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
11603         are immutable.  Don't use `unsafe' any more.
11604         (cl--defsubst-expand): Don't substitute at the same time as keeping
11605         a residual unused let-binding.  Don't use `unsafe' any more.
11607 2013-08-29  Glenn Morris  <rgm@gnu.org>
11609         * calendar/cal-china.el (calendar-chinese-year-cache):
11610         Recenter on 2015.
11612         * nxml/nxml-util.el (nxml-debug-clear-inside):
11613         Use cl-loop rather than loop.
11615         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
11617         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
11619 2013-08-28  Glenn Morris  <rgm@gnu.org>
11621         * progmodes/antlr-mode.el: No need to require cc-mode twice.
11623         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
11625         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
11627 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11629         * simple.el (repeat-complex-command--called-interactively-skip):
11630         New function.
11631         (repeat-complex-command): Use it (bug#14136).
11633         * progmodes/cc-mode.el: Minor cleanup of var declarations.
11634         (c-define-abbrev-table): Add `doc' argument.
11635         (c-mode-abbrev-table, c++-mode-abbrev-table)
11636         (objc-mode-abbrev-table, java-mode-abbrev-table)
11637         (idl-mode-abbrev-table, pike-mode-abbrev-table)
11638         (awk-mode-abbrev-table): Use it.
11639         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
11640         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
11641         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
11642         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
11643         Move initialization into the declaration; and remove any
11644         autoload cookie.
11646         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
11647         and dynamic let binding.
11649         * vc/smerge-mode.el: Remove redundant :group args.
11651         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
11652         to load-path.
11654 2013-08-28  Juri Linkov  <juri@jurta.org>
11656         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
11657         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
11658         (isearch-other-meta-char): Handle an undefined shifted printing
11659         character by downshifting it.  (Bug#15200)
11661 2013-08-28  Juri Linkov  <juri@jurta.org>
11663         * isearch.el (isearch-search): Change regexp error message for
11664         non-regexp searches.  (Bug#15166)
11666 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
11668         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
11669         for portability to hosts where /bin/sh has problems.
11671 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11673         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
11675 2013-08-27  Juri Linkov  <juri@jurta.org>
11677         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
11678         in the keyboard macro.  (Bug#15126)
11680 2013-08-27  Juri Linkov  <juri@jurta.org>
11682         * isearch.el (isearch-quote-char): Comment out converting unibyte
11683         to multibyte, thus syncing with its `quoted-insert' counterpart.
11684         (Bug#15166)
11686 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
11688         * window.el (display-buffer-use-some-window): Add missing
11689         argument in call of get-largest-window (Bug#15185).
11690         Reported by Stephen Leake.
11692 2013-08-27  Glenn Morris  <rgm@gnu.org>
11694         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
11696 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11698         * progmodes/python.el (python-font-lock-keywords): Don't return nil
11699         from a matcher-function unless there's no more matches (bug#15161).
11701 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
11703         * minibuffer.el: Revert change from 2013-08-20.
11705         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
11706         with text property `tramp-default', if appropriate.
11707         (tramp-check-proper-host): New defun.
11708         (tramp-dissect-file-name): Do not check hostname.  Revert change
11709         of 2013-03-18.
11710         (tramp-backtrace): Make VEC-OR-PROC optional.
11712         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11713         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11714         * net/tramp-sh.el (tramp-maybe-open-connection):
11715         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11716         Apply `tramp-check-proper-host'.
11718 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
11720         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
11721         lambda expression in order to have `describe-variable' display it.
11723 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
11725         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
11726         BUF can be optional.  (Bug#15186)
11728 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
11730         * progmodes/flymake.el (flymake-get-real-file-name-function):
11731         Fix broken customization.  (Bug#15184)
11733 2013-08-25  Alan Mackenzie  <acm@muc.de>
11735         Improve indentation of bracelists defined by macros (without "=").
11737         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
11738         expansion begins with "{", regard it as bracelist when it doesn't
11739         contain a ";".
11741         Parse C++ inher-intro when there's a template split over 2 lines.
11743         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
11744         rigorously the search for "class" etc. followed by ":".
11746         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
11747         random languages a regexp which never matches rather than nil.
11749         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
11751         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
11752         (c-awk-regexp-one-line-possibly-open-char-list-re)
11753         (c-awk-one-line-possibly-open-regexp-re)
11754         (c-awk-one-line-non-syn-ws*-re): Remove.
11755         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
11756         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
11757         (c-awk-space*-unclosed-regexp-/-re): New constants.
11758         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
11759         aren't regexp delimiters.
11761         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
11762         handling for a rare situation in AWK Mode involving unterminated
11763         strings/regexps.
11765 2013-08-23  Glenn Morris  <rgm@gnu.org>
11767         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
11769         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
11771         * files.el (create-file-buffer): If the result would begin with
11772         spaces, prepend a "|" instead of removing them.  (Bug#15162)
11774 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11776         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
11777         text-properties (bug#15155).
11779         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
11780         exist any more.
11781         (calc-keypad-redraw): Remove unused var `pad'.
11782         (calc-keypad-press): Remove unused var `menu'.
11784 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
11786         * window.el (display-buffer-pop-up-frame):
11787         Call pop-up-frame-function with BUFFER current so `make-frame' will
11788         use it as the new frame's buffer (Bug#15133).
11790 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11792         * calendar/timeclock.el: Minor cleanups.
11793         (timeclock-ask-before-exiting, timeclock-use-display-time):
11794         Use `symbol'.
11795         (timeclock-modeline-display): Define as alias before the
11796         actual definition.
11797         (timeclock-mode-line-display): Use define-minor-mode.
11798         (timeclock-day-list-template): Make it a function, add an argument.
11799         (timeclock-day-list-required, timeclock-day-list-length)
11800         (timeclock-day-list-debt, timeclock-day-list-span)
11801         (timeclock-day-list-break): Adjust calls accordingly.
11803 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11805         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
11806         Use read--expression so that completion works again.
11808 2013-08-21  Sam Steingold  <sds@gnu.org>
11810         Add rudimentary inferior shell interaction
11811         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
11812         (sh-set-shell): Reset it.
11813         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
11814         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
11816 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11818         * align.el: Use lexical-binding.
11819         (align-region): Simplify accordingly.
11821 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
11823         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
11825         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
11826         `non-essential' up.
11828 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
11830         * net/tramp.el:
11831         * net/tramp-adb.el:
11832         * net/tramp-cmds.el:
11833         * net/tramp-ftp.el:
11834         * net/tramp-gvfs.el:
11835         * net/tramp-gw.el:
11836         * net/tramp-sh.el: Don't wrap external variable declarations by
11837         `eval-when-compile'.
11839 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11841         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
11842         now that Emacs supports ImageMagick animations.
11844 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
11846         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
11847         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
11849 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
11851         * window.el (mouse-autoselect-window-select): Do autoselect when
11852         mouse pointer is on margin.
11854 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
11856         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
11858 2013-08-16  Glenn Morris  <rgm@gnu.org>
11860         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
11861         Handle "Remote Directory" response of some clients.  (Bug#15058)
11863         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
11864         Tweak warning.  (Bug#14926)
11866         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
11867         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
11869         * image-mode.el (image-mode-map): Add menu items to reverse,
11870         increase, decrease, reset animation speed.
11871         (image--set-speed, image-increase-speed, image-decrease-speed)
11872         (image-reverse-speed, image-reset-speed): New functions.
11873         (image-mode-map): Add bindings for speed commands.
11875         * image.el (image-animate-get-speed, image-animate-set-speed):
11876         New functions.
11877         (image-animate-timeout): Respect image :speed property.
11879 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11881         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
11882         previous line (bug#15101).
11883         (debugger-eval-expression, debugger-record-expression):
11884         Use read--expression (bug#15102).
11886 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
11888         Remove byte compiler warnings, visible when compiling with
11889         `byte-compile-force-lexical-warnings' set to t.
11891         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
11892         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
11893         (tramp-handle-unhandled-file-name-directory)
11894         (tramp-handle-file-notify-add-watch, tramp-action-login)
11895         (tramp-action-succeed, tramp-action-permission-denied)
11896         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
11897         arguments with "_".
11899         * net/tramp-adb.el (tramp-adb-parse-device-names)
11900         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
11901         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
11902         (tramp-adb-handle-file-truename): Remove unused arguments.
11904         * net/tramp-cache.el (tramp-flush-directory-property)
11905         (tramp-flush-connection-property, tramp-list-connections)
11906         (tramp-parse-connection-properties): Prefix unused arguments with "_".
11908         * net/tramp-compat.el (tramp-compat-make-temp-file):
11909         Rename FILENAME to F.
11911         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
11912         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
11913         (tramp-zeroconf-parse-workstation-device-names)
11914         (tramp-zeroconf-parse-webdav-device-names)
11915         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
11917         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
11918         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
11920         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
11921         arguments.
11922         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
11923         (tramp-sh-handle-insert-file-contents-literally)
11924         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
11925         with "_".
11926         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
11927         Remove unused variables.
11929         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11930         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
11931         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
11933         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
11934         Make them a defconst.
11935         (tramp-uuencode-region): Remove unused variable.
11937 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
11939         * frameset.el (frameset--prop-setter): New function.
11940         (frameset-prop): Add gv-setter declaration.
11941         (frameset-filter-minibuffer): Deal with the case that the minibuffer
11942         parameter was already set in FILTERED.  Doc fix.
11943         (frameset--record-minibuffer-relationships): Allow saving a
11944         minibufferless frame without its corresponding minibuffer frame.
11945         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
11946         frame, if the frame id matches.
11947         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
11948         frames before orphaned ones.
11949         (frameset-restore): Warn about orphaned windows, instead of error out.
11951 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
11953         * window.el (window-make-atom): Don't overwrite parameter
11954         already present.
11955         (display-buffer-in-atom-window): Handle special case where we
11956         split an already atomic window.
11957         (window--major-non-side-window, display-buffer-in-side-window)
11958         (window--side-check): Ignore minibuffer window when walking
11959         window tree.
11960         (window-deletable-p): Return 'frame only if no other frame uses
11961         our minibuffer window.
11962         (record-window-buffer): Run buffer-list-update-hook.
11963         (split-window): Make sure window--check-frame won't destroy an
11964         existing atomic window in case the new window gets nested
11965         inside.
11966         (display-buffer-at-bottom): Ignore minibuffer window when
11967         walking window tree.  Don't split a side window.
11968         (pop-to-buffer): Don't set-buffer here, the select-window call
11969         should do that.
11970         (mouse-autoselect-window-select): Autoselect only if we are in the
11971         text portion of the window.
11973 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11975         * net/shr.el (shr-parse-image-data): New function to grab both the
11976         data itself and the Content-Type.
11977         (shr-put-image): Use it.
11979         * net/eww.el (eww-display-image): Ditto.
11981         * image.el (image-content-type-suffixes): New variable.
11983 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11985         * progmodes/python.el (python-imenu--build-tree)
11986         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
11988 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
11990         * simple.el (backward-word): Mention the optional argument.
11992 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11994         * frameset.el (frameset--make): Rename constructor from make-frameset.
11995         (frameset-p, frameset-valid-p): Don't autoload.
11996         (frameset-valid-p): Use normal accessors.
11998 2013-08-13  Glenn Morris  <rgm@gnu.org>
12000         * progmodes/compile.el (compile-command): Tweak example in doc.
12001         * obsolete/scribe.el (scribe-mode):
12002         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
12004         * mail/feedmail.el (feedmail-confirm-outgoing)
12005         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
12007         * cus-start.el (truncate-partial-width-windows): Fix type.
12009         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
12011         * net/shr.el (shr-table-horizontal-line): Fix custom type.
12013 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12015         * emacs-lisp/timer.el (timer--time-setter): New function.
12016         (timer--time): Use it as gv-setter.
12018         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
12019         setter is not a symbol.
12021 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
12023         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
12024         if sending fails.  This makes debugging easier.
12026 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
12028         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
12029         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
12030         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
12032 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
12034         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
12036 2013-08-12  Glenn Morris  <rgm@gnu.org>
12038         * format.el (format-annotate-function):
12039         Handle read-only text properties in the source.  (Bug#14887)
12041 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12043         * net/eww.el (eww-display-html): Ignore coding system errors.
12044         One web site uses "utf-8lias" as the coding system.
12046 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
12048         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
12050 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
12052         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
12053         (tutorial--detailed-help): Remove unused local variables.
12054         (tutorial--save-tutorial-to): Use ignore-errors.
12055         (help-with-tutorial): Use looking-at-p.
12057         * view.el (view-buffer-other-window, view-buffer-other-frame):
12058         Mark unused arguments.
12060         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
12061         (woman-select-symbol-fonts, woman, woman-find-file)
12062         (woman-insert-file-contents, woman-non-underline-faces):
12063         Use string-match-p.
12064         (woman1-unquote): Move declaration.
12066         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
12067         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
12068         argument.  Remove unused local variable.
12069         (xml-parse-elem-type): Use string-match-p.
12070         (xml-substitute-numeric-entities): Use ignore-errors.
12072         * calculator.el (calculator): Mark unused argument.
12073         (calculator-paste, calculator-quit, calculator-integer-p):
12074         Use ignore-errors.
12075         (calculator-string-to-number, calculator-decimal, calculator-exp)
12076         (calculator-op-or-exp): Use string-match-p.
12078         * dired.el (dired-buffer-more-recently-used-p): Declare.
12079         (dired-insert-set-properties, dired-insert-old-subdirs):
12080         Use ignore-errors.
12082         * dired-aux.el (dired-compress): Use ignore-errors.
12083         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
12084         (dired-do-async-shell-command, dired-do-shell-command)
12085         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
12086         (dired-insert-subdir-validate): Use string-match-p.
12087         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
12088         (dired-add-entry): Use string-match-p, looking-at-p.
12089         (dired-insert-subdir-newpos): Remove unused local variable.
12091         * filenotify.el (file-notify-callback): Remove unused local variable.
12093         * filesets.el (filesets-error): Mark unused argument.
12094         (filesets-which-command-p, filesets-filter-dir-names)
12095         (filesets-directory-files, filesets-get-external-viewer)
12096         (filesets-ingroup-get-data): Use string-match-p.
12098         * find-file.el (ff-other-file-name, ff-other-file-name)
12099         (ff-find-the-other-file, ff-cc-hh-converter):
12100         Remove unused local variables.
12101         (ff-get-file-name): Use string-match-p.
12102         (ff-all-dirs-under): Use ignore-errors.
12104         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
12105         (follow-select-if-visible): Remove unused local variable.
12107         * forms.el (read-file-filter): Move declaration.
12108         (forms--make-format, forms--make-parser, forms-insert-record):
12109         Quote function with #'.
12110         (forms--update): Use string-match-p.  Quote function with #'.
12112         * help-mode.el (help-dir-local-var-def): Mark unused argument.
12113         (help-make-xrefs): Use looking-at-p.
12114         (help-xref-on-pp): Use looking-at-p, ignore-errors.
12116         * ibuffer.el (ibuffer-ext-visible-p): Declare.
12117         (ibuffer-confirm-operation-on): Use string-match-p.
12119         * msb.el (msb-item-handler, msb-dired-item-handler):
12120         Mark unused arguments.
12122         * ses.el (ses-decode-cell-symbol)
12123         (ses-kill-override): Remove unused local variable.
12124         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
12125         (ses-load): Use ignore-errors, looking-at-p.
12126         (ses-jump-safe): Use ignore-errors.
12127         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
12129         * tabify.el (untabify, tabify): Mark unused arguments.
12131         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
12132         Mark unused argument.
12133         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
12134         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
12136         * emacs-lisp/timer.el (timer--time): Define setter with
12137         gv-define-setter to avoid deprecation warning.
12139         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
12140         (*record-cmpl-statistics-p*): Remove (was commented out).
12141         (cmpl-statistics-block): Remove (body was commented out).
12142         All callers changed.
12143         (add-completions-from-buffer, load-completions-from-file):
12144         Remove unused variables.
12146 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
12148         * filecache.el (file-cache-delete-file-list):
12149         Print message only when told so.
12150         (file-cache-files-matching): Use #' in mapconcat argument.
12152         * ffap.el (ffap-url-at-point): Fix reference to variable
12153         thing-at-point-default-mail-uri-scheme.
12155 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12157         * subr.el (define-error): New function.
12158         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
12159         error-file-not-found and define with define-error.
12160         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
12161         and define with define-error.
12162         * userlock.el (file-locked, file-supersession):
12163         * simple.el (mark-inactive):
12164         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
12165         * progmodes/ada-mode.el (ada-mode-errors):
12166         * play/life.el (life-extinct):
12167         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
12168         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
12169         * nxml/rng-util.el (rng-error):
12170         * nxml/rng-uri.el (rng-uri-error):
12171         * nxml/rng-match.el (rng-compile-error):
12172         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
12173         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
12174         * nxml/nxml-rap.el (nxml-scan-error):
12175         * nxml/nxml-outln.el (nxml-outline-error):
12176         * net/soap-client.el (soap-error):
12177         * net/gnutls.el (gnutls-error):
12178         * net/ange-ftp.el (ftp-error):
12179         * mpc.el (mpc-proc-error):
12180         * json.el (json-error, json-readtable-error, json-unknown-keyword)
12181         (json-number-format, json-string-escape, json-string-format)
12182         (json-key-format, json-object-format):
12183         * jka-compr.el (compression-error):
12184         * international/quail.el (quail-error):
12185         * international/kkc.el (kkc-error):
12186         * emacs-lisp/ert.el (ert-test-failed):
12187         * calc/calc.el (calc-error, inexact-result, math-overflow)
12188         (math-underflow):
12189         * bookmark.el (bookmark-error-no-filename):
12190         * epg.el (epg-error): Define with define-error.
12192         * time.el (display-time-event-handler)
12193         (display-time-next-load-average): Don't call sit-for since it seems
12194         unnecessary (bug#15045).
12196         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
12197         Use #' instead of ' to quote functions.
12198         (checkdoc-output-mode): Use setq-local.
12199         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
12200         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
12201         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
12202         (checkdoc-ispell, checkdoc-ispell-current-buffer)
12203         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
12204         (checkdoc-ispell-message-text, checkdoc-ispell-start)
12205         (checkdoc-ispell-continue, checkdoc-ispell-comments)
12206         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
12208         * ido.el (ido-completion-help): Fix up compiler warning.
12210 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
12212         * frameset.el (frameset-p): Add autoload cookie.
12213         (frameset--jump-to-register): New function, based on code moved from
12214         register.el.
12215         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
12217         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
12218         (frameset-restore, frameset-save, frameset-session-filter-alist):
12219         Remove declarations.
12220         (register-alist): Doc fix.
12221         (frameset-to-register): Move to frameset.el.
12222         (jump-to-register, describe-register-1): Remove frameset-specific code.
12224 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12226         * allout-widgets.el (allout-widgets-pre-command-business)
12227         (allout-widgets-post-command-business)
12228         (allout-widgets-after-change-handler)
12229         (allout-decorate-item-and-context, allout-set-boundary-marker)
12230         (allout-body-modification-handler)
12231         (allout-graphics-modification-handler): Mark ignored arguments.
12232         (allout-widgets-post-command-business)
12233         (allout-widgets-exposure-change-processor)
12234         (allout-widgets-exposure-undo-processor)
12235         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
12236         (allout-parse-item-at-point, allout-decorate-item-guides)
12237         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
12238         * allout.el (epa-passphrase-callback-function): Declare.
12239         (allout-overlay-insert-in-front-handler)
12240         (allout-overlay-interior-modification-handler)
12241         (allout-isearch-end-handler, allout-chart-siblings)
12242         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
12243         (allout-yank-processing, allout-process-exposed)
12244         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
12245         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
12246         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
12247         (lisp-indent-defform): Mark ignored arguments.
12248         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
12249         (calculate-lisp-indent): Remove unused variables.
12250         * international/characters.el (indian-2-column, arabic-2-column)
12251         (tibetan): Mark ignored arguments.
12252         (use-cjk-char-width-table): Mark ignored arguments.
12253         Remove unused variables.
12254         * international/fontset.el (build-default-fontset-data)
12255         (x-compose-font-name, create-fontset-from-fontset-spec):
12256         Mark ignored arguments.
12257         (fontset-plain-name): Remove unused variables.
12258         * international/mule.el (charset-id, charset-bytes, generic-char-p)
12259         (keyboard-coding-system): Mark ignored arguments.
12260         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
12261         * help.el (resize-temp-buffer-window):
12262         * window.el (display-buffer-in-major-side-window)
12263         (display-buffer-in-side-window, display-buffer-in-previous-window):
12264         Remove unused variables.
12265         * isearch.el (isearch-forward-symbol):
12266         * version.el (emacs-bzr-version-bzr):
12267         * international/mule-cmds.el (current-language-environment):
12268         * term/common-win.el (x-handle-iconic, x-handle-geometry)
12269         (x-handle-display):
12270         * term/pc-win.el (x-list-fonts, x-display-planes)
12271         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
12272         (x-server-version, x-display-screens, x-display-mm-height)
12273         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
12274         (x-selection-owner-p, x-own-selection-internal)
12275         (x-disown-selection-internal, x-get-selection-internal)
12276         (msdos-initialize-window-system):
12277         * term/tty-colors.el (tty-color-alist, tty-color-clear):
12278         * term/x-win.el (x-handle-no-bitmap-icon):
12279         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
12280         (vc-default-find-file-hook, vc-default-extra-menu):
12281         Mark ignored arguments.
12283 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12285         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
12286         break-condition in the context of the debugged code (bug#12685).
12288 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
12290         * comint.el:
12291         Do not use an overlay to highlight the last prompt.  (Bug#14744)
12292         (comint-mode): Make comint-last-prompt buffer local.
12293         (comint-last-prompt): New variable.
12294         (comint-last-prompt-overlay): Remove.  Superseded by
12295         comint-last-prompt.
12296         (comint-snapshot-last-prompt, comint-output-filter):
12297         Use comint-last-prompt.
12299 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12301         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
12302         (frameset-save): Check validity of the resulting frameset.
12304 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
12306         * ido.el (ido-record-command): Add doc string.
12308 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12310         * frameset.el (frameset): Do not disable creation of the default
12311         frameset-p predicate.  Doc fix.
12312         (frameset-valid-p): New function, copied from the old predicate-p.
12313         Add additional checks.
12314         (frameset-restore): Check with frameset-valid-p.
12315         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
12316         (frameset-name, frameset-description, frameset-properties)
12317         (frameset-states): Add docstring.
12318         (frameset-session-filter-alist, frameset-persistent-filter-alist)
12319         (frameset-filter-alist): Doc fixes.
12321 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12323         * frameset.el (frameset-p, frameset-prop): Doc fixes.
12325 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12327         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
12328         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
12329         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
12330         (byte-compile-normal-call): Remove obsolescence check.
12332 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12334         * frameset.el (frameset-restore): Doc fix.
12336         * register.el (frameset-frame-id, frameset-frame-with-id)
12337         (frameset-p, frameset-restore, frameset-save): Declare.
12338         (register-alist): Document framesets.
12339         (frameset-session-filter-alist): Declare.
12340         (frameset-to-register): New function.
12341         (jump-to-register): Implement jumping to framesets.  Doc fix.
12342         (describe-register-1): Describe framesets.
12344         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
12346 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
12348         * desktop.el (desktop-save-frameset): Use new frameset-save args.
12349         Use lexical-binding.
12351         * frameset.el (frameset): Use type vector, not list (incompatible
12352         change).  Do not declare a new constructor, use the default one.
12353         Upgrade suggested properties `app', `name' and `desc' to slots `app',
12354         `name' and `description', respectively, and add read-only slot
12355         `timestamp'.  Doc fixes.
12356         (frameset-copy, frameset-persistent-filter-alist)
12357         (frameset-filter-alist, frameset-switch-to-gui-p)
12358         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
12359         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
12360         (frameset-filter-iconified, frameset-keep-original-display-p):
12361         Doc fixes.
12362         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
12363         Rename from frameset-filter-(save|restore)-param.  All callers changed.
12364         Doc fix.
12365         (frameset-p): Adapt to change to vector and be more thorough.
12366         Change arg name to OBJECT.  Doc fix.
12367         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
12368         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
12369         All callers changed.
12370         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
12371         All callers changed.
12372         (frameset--record-minibuffer-relationships): Rename from
12373         frameset--process-minibuffer-frames.  All callers changed.
12374         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
12375         Use new default constructor (again).  Doc fix.
12376         (frameset--find-frame-if): Rename from `frameset--find-frame'.
12377         All callers changed.
12378         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
12379         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
12380         Doc fix.
12381         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
12382         PARAMETERS and WINDOW-STATE, respectively.
12383         (frameset-restore): Add new keyword argument PREDICATE.
12384         Reset frameset--target-display to nil.  Doc fix.
12386 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12388         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
12389         (bat-mode): Use it.
12390         (bat-mode-syntax-table): Mark \n as end-of-comment.
12391         (bat-font-lock-keywords): Remove comment rule.
12393         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
12394         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
12396         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
12397         (byte-compile-callargs-warn): Use `push'.
12398         (byte-compile-arglist-warn): Ignore higher-order "calls".
12399         (byte-compile-file-form-autoload): Use `pcase'.
12400         (byte-compile-function-form): If quoting a symbol, check that it exists.
12402 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
12404         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
12405         and add a few popular commands found in batch files.
12406         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
12407         (dos-mode): Doc fixes.
12409 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12411         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
12412         (dos-mode): Use setq-local.  Add space after "rem".
12413         (dos-mode-syntax-table): Don't use "w" for symbol chars.
12414         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
12416 2013-08-07  Arni Magnusson  <arnima@hafro.is>
12418         * progmodes/dos.el: New file.
12419         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
12420         dos-mode.
12422 2013-08-06  Glenn Morris  <rgm@gnu.org>
12424         * calendar/calendar.el: Add new faces, and day-header-array.
12425         (calendar-weekday-header, calendar-weekend-header)
12426         (calendar-month-header): New faces.
12427         (calendar-day-header-construct): New function.
12428         (calendar-day-header-width): Also :set calendar-day-header-array.
12429         (calendar-american-month-header, calendar-european-month-header)
12430         (calendar-iso-month-header): Use calendar- faces.
12431         (calendar-generate-month):
12432         Use calendar-day-header-array for day headers; apply faces to them.
12433         (calendar-mode): Check calendar-font-lock-keywords non-nil.
12434         (calendar-abbrev-construct): Add optional maxlen argument.
12435         (calendar-day-name-array): Doc fix.
12436         (calendar-day-name-array, calendar-abbrev-length)
12437         (calendar-day-abbrev-array):
12438         Also :set calendar-day-header-array, and maybe redraw.
12439         (calendar-day-header-array): New option.  (Bug#15007)
12440         (calendar-font-lock-keywords): Set to nil and make obsolete.
12441         (calendar-day-name): Add option to use header array.
12443 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12445         * net/shr.el (shr-render-td): Remove debugging.
12446         (shr-render-td): Make width computation consistent by defaulting
12447         all zero-width columns to 10 characters.  This may not be optimal,
12448         but it's at least consistent.
12449         (shr-make-table-1): Redo last change to fix the real problem in
12450         colspan handling.
12452 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
12454         * files.el (cache-long-line-scans):
12455         Make obsolete alias to `cache-long-scans'.
12457 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
12459         * frameset.el (frameset, frameset-filter-alist)
12460         (frameset-filter-params, frameset-save, frameset--reuse-frame)
12461         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
12462         (frameset-compute-pos): Rename from frameset--compute-pos,
12463         and add docstring.
12464         (frameset-move-onscreen): Use frameset-compute-pos.
12465         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12467         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
12468         Fix typos in docstrings.
12470 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
12472         * frame.el (get-other-frame): Tiny cleanup.
12474 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
12476         * vc/vc.el (vc-default-ignore-completion-table):
12477         Silence byte-compiler warning.
12479         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
12480         slot, which can indeed be nil.
12481         (frameset-live-filter-alist, frameset-persistent-filter-alist):
12482         Move entry for `left' from persistent to live filter alist.
12483         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
12484         Doc fixes.
12485         (frameset-filter-params): When restoring a frame, copy items added to
12486         `filtered', to avoid unwittingly modifying the original parameters.
12487         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
12488         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
12490         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
12491         to use looking-at-p instead of looking-at.  (Bug#15028)
12493 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12495         Revert introduction of isearch-filter-predicates (bug#14714).
12496         Rely on add-function instead.
12497         * isearch.el (isearch-filter-predicates): Rename it back to
12498         isearch-filter-predicate.
12499         (isearch-message-prefix): Use advice-function-mapc and advice
12500         properties to get the isearch-message-prefix.
12501         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
12502         instead of run-hook-with-args-until-failure.
12503         (isearch-filter-visible): Not obsolete any more.
12504         * loadup.el: Preload nadvice.
12505         * replace.el (perform-replace): Revert to funcall
12506         instead of run-hook-with-args-until-failure.
12507         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
12508         * dired-aux.el (dired-isearch-filenames-mode): Rename from
12509         dired-isearch-filenames-toggle; make it into a proper minor mode.
12510         Use add/remove-function.
12511         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
12512         Call the minor-mode rather than add/remove-hook.
12513         (dired-isearch-filter-filenames):
12514         Remove isearch-message-prefix property.
12515         * info.el (Info--search-loop): New function, extracted from Info-search.
12516         Funcall isearch-filter-predicate instead of
12517         run-hook-with-args-until-failure isearch-filter-predicates.
12518         (Info-search): Use it.
12519         (Info-mode): Use isearch-filter-predicate instead of
12520         isearch-filter-predicates.
12522 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
12524         Do not call to `selected-window' where it is assumed by default.
12525         Affected functions are `window-minibuffer-p', `window-dedicated-p',
12526         `window-hscroll', `window-width', `window-height', `window-buffer',
12527         `window-frame', `window-start', `window-point', `next-window'
12528         and `window-display-table'.
12529         * abbrev.el (abbrev--default-expand):
12530         * bs.el (bs--show-with-configuration):
12531         * buff-menu.el (Buffer-menu-mouse-select):
12532         * calc/calc.el (calc):
12533         * calendar/calendar.el (calendar-generate-window):
12534         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
12535         (diary-make-entry):
12536         * comint.el (send-invisible, comint-dynamic-complete-filename)
12537         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
12538         * completion.el (complete):
12539         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
12540         * disp-table.el (describe-current-display-table):
12541         * doc-view.el (doc-view-insert-image):
12542         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
12543         * ehelp.el (with-electric-help):
12544         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12545         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
12546         * emacs-lisp/helper.el (Helper-help-scroller):
12547         * emulation/cua-base.el (cua--post-command-handler-1):
12548         * eshell/esh-mode.el (eshell-output-filter):
12549         * ffap.el (ffap-gnus-wrapper):
12550         * help-macro.el (make-help-screen):
12551         * hilit-chg.el (highlight-compare-buffers):
12552         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
12553         * hl-line.el (global-hl-line-highlight):
12554         * icomplete.el (icomplete-simple-completing-p):
12555         * isearch.el (isearch-done):
12556         * jit-lock.el (jit-lock-stealth-fontify):
12557         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
12558         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
12559         * mpc.el (mpc-tagbrowser, mpc):
12560         * net/rcirc.el (rcirc-any-buffer):
12561         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
12562         * play/landmark.el (landmark-max-width, landmark-max-height):
12563         * play/zone.el (zone):
12564         * progmodes/compile.el (compilation-goto-locus):
12565         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
12566         * progmodes/etags.el (find-tag-other-window):
12567         * progmodes/fortran.el (fortran-column-ruler):
12568         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12569         * progmodes/verilog-mode.el (verilog-point-text):
12570         * reposition.el (reposition-window):
12571         * rot13.el (toggle-rot13-mode):
12572         * server.el (server-switch-buffer):
12573         * shell.el (shell-dynamic-complete-command)
12574         (shell-dynamic-complete-environment-variable):
12575         * simple.el (insert-buffer, set-selective-display)
12576         (delete-completion-window):
12577         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
12578         (speedbar-recenter):
12579         * startup.el (fancy-splash-head):
12580         * textmodes/ispell.el (ispell-command-loop):
12581         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
12582         * tutorial.el (help-with-tutorial):
12583         * vc/add-log.el (add-change-log-entry):
12584         * vc/compare-w.el (compare-windows):
12585         * vc/ediff-help.el (ediff-indent-help-message):
12586         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
12587         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
12588         (ediff-setup-control-frame):
12589         * vc/emerge.el (emerge-position-region):
12590         * vc/pcvs-util.el (cvs-bury-buffer):
12591         * window.el (walk-windows, mouse-autoselect-window-select):
12592         * winner.el (winner-set-conf, winner-undo): Related users changed.
12594 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
12596         * frameset.el (frameset--set-id): Doc fix.
12597         (frameset-frame-id, frameset-frame-id-equal-p)
12598         (frameset-locate-frame-id): New functions.
12599         (frameset--process-minibuffer-frames, frameset--reuse-frame)
12600         (frameset-restore): Use them.
12602 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
12604         Do not call to `selected-frame' where it is assumed by default.
12605         Affected functions are `raise-frame', `redraw-frame',
12606         `frame-first-window', `frame-terminal' and `delete-frame'.
12607         * calendar/appt.el (appt-disp-window):
12608         * epg.el (epg-wait-for-completion):
12609         * follow.el (follow-delete-other-windows-and-split)
12610         (follow-avoid-tail-recenter):
12611         * international/mule.el (set-terminal-coding-system):
12612         * mail/rmail.el (rmail-mail-return):
12613         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12614         * progmodes/f90.el (f90-add-imenu-menu):
12615         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
12616         * server.el (server-switch-buffer):
12617         * simple.el (delete-completion-window):
12618         * talk.el (talk):
12619         * term/xterm.el (terminal-init-xterm-modify-other-keys)
12620         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
12621         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
12622         * vc/ediff.el (ediff-documentation): Related users changed.
12623         * frame.el (selected-terminal): Remove the leftover.
12625 2013-08-05  Glenn Morris  <rgm@gnu.org>
12627         * calendar/calendar.el (calendar-generate-month):
12628         Fix for calendar-column-width != 1 + calendar-day-digit-width.
12629         (calendar-generate-month, calendar-font-lock-keywords):
12630         Fix for calendar-day-header-width > length of any day name.
12632 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
12634         * desktop.el (desktop-clear): Use new name of sort predicate.
12636         * frameset.el (frameset): Add docstring.  Move :version property to its
12637         own `version' slot.
12638         (frameset-copy): Rename from copy-frameset.
12639         (frameset-p): Check more thoroughly.
12640         (frameset-prop): Do not check for :version, which is no longer a prop.
12641         (frameset-live-filter-alist, frameset-persistent-filter-alist):
12642         Use new :never value instead of t.
12643         (frameset-filter-alist): Expand and clarify docstring.
12644         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
12645         (frameset-filter-minibuffer, frameset-filter-save-param)
12646         (frameset-filter-restore-param, frameset-filter-iconified):
12647         Add pointer to docstring of frameset-filter-alist.
12648         (frameset-filter-params): Rename filter values to be more meaningful:
12649         :never instead of t, and reverse the meanings of :save and :restore.
12650         (frameset--process-minibuffer-frames): Clarify error message.
12651         (frameset-save): Avoid unnecessary and confusing call to framep.
12652         Use new BOA constructor for framesets.
12653         (frameset--reuse-list): Doc fix.
12654         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
12655         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
12656         (frameset-minibufferless-first-p): Doc fix.
12657         Rename from frameset-sort-frames-for-deletion.
12658         (frameset-restore): Doc fixes.  Use new function names.
12659         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12661 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
12663         * desktop.el (desktop-restore-forces-onscreen)
12664         (desktop-restore-reuses-frames): Document :keyword constant values.
12665         (desktop-filter-parameters-alist): Remove, now identical to
12666         frameset-filter-alist.
12667         (desktop--filter-tty*): Remove, moved to frameset.el.
12668         (desktop-save-frameset, desktop-restore-frameset):
12669         Do not pass :filters argument.
12671         * frameset.el (frameset-live-filter-alist)
12672         (frameset-persistent-filter-alist): New variables.
12673         (frameset-filter-alist): Use them.  Add autoload cookie.
12674         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
12675         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
12676         `frameset--id' (it's supposed to be internal to frameset.el).
12677         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
12678         (frameset--initial-params): New function.
12679         (frameset--get-frame): Use it.  Doc fix.
12680         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
12681         Accept :all, not 'all.
12682         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
12683         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
12684         with fbound symbols.  Fix frame id matching, and remove matching ids if
12685         the frame being restored is deleted.  Obey :delete.
12687 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12689         * subr.el (macrop): New function.
12690         (text-clone--maintaining): New var.
12691         (text-clone--maintain): Rename from text-clone-maintain.  Use it
12692         instead of inhibit-modification-hooks.
12694         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
12695         a proxy, so as handle autoloads and redefinitions of the target.
12696         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
12698         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
12699         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
12700         (pcase--mutually-exclusive-p): New function.
12701         (pcase--split-consp): Use it.
12702         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
12703         mutually exclusive with the current predicate.
12705         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
12706         (edebug-macrop): Remove.  Use `macrop' instead.
12707         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
12708         (ad-macro-p):
12709         * eshell/esh-cmd.el (eshell-macrop):
12710         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
12712 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12714         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
12715         (advice-mapc): New function, using it.
12716         (advice-function-member-p): New function.
12717         (advice--normalize): Store the cdr in advice--saved-rewrite since
12718         that's the part that will be changed.
12719         (advice--symbol-function): New function.
12720         (advice-remove): Handle removal before the function is defined.
12721         Adjust to new advice--saved-rewrite.
12722         (advice-member-p): Use advice-function-member-p and
12723         advice--symbol-function.
12725 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
12727         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
12728         (frameset-filter-minibuffer): Doc fix.
12729         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
12730         (frameset--set-id, frameset--process-minibuffer-frames)
12731         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
12732         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
12734         * desktop.el (desktop-clear): Only delete frames when called
12735         interactively and desktop-restore-frames is non-nil.  Doc fix.
12736         (desktop-read): Set desktop-saved-frameset to nil.
12738 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
12740         * vc/vc.el (vc-ignore): Rewrite.
12741         (vc-default-ignore-completion-table, vc--read-lines)
12742         (vc--add-line, vc--remove-regexp): New functions.
12744         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
12745         (vc-svn-ignore-completion-table): New function.
12747         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
12748         (vc-hg-ignore-completion-table)
12749         (vc-hg-find-ignore-file): New functions.
12751         * vc/vc-git.el (vc-git-ignore): Rewrite.
12752         (vc-git-ignore-completion-table)
12753         (vc-git-find-ignore-file): New functions.
12755         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
12757         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
12758         (vc-bzr-ignore-completion-table)
12759         (vc-bzr-find-ignore-file): New functions.
12761 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
12763         * frameset.el (frameset-prop): New function and setter.
12764         (frameset-save): Do not modify frame list passed by the caller.
12766 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12768         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
12770 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12772         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
12773         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
12775         * custom.el (custom-initialize-default, custom-initialize-set)
12776         (custom-initialize-reset, custom-initialize-changed): Affect the
12777         toplevel-default-value (bug#6275, bug#14586).
12778         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
12779         for bug#6275.
12781 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
12783         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
12784         Add cl-def* expressions.
12786         * frameset.el (frameset-filter-params): Fix order of arguments.
12788 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
12790         Move code related to saving frames to frameset.el.
12791         * desktop.el: Require frameset.
12792         (desktop-restore-frames): Doc fix.
12793         (desktop-restore-reuses-frames): Rename from
12794         desktop-restoring-reuses-frames.
12795         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
12796         (desktop-clear): Clear frames too.
12797         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
12798         (desktop--filter-tty*, desktop-save, desktop-read):
12799         Use frameset functions.
12800         (desktop-before-saving-frames-functions, desktop--filter-*-color)
12801         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12802         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
12803         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
12804         (desktop--process-minibuffer-frames, desktop-save-frames)
12805         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
12806         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
12807         (desktop--sort-states, desktop-restoring-frames-p)
12808         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
12809         (desktop-restoring-frameset-p, desktop-restore-frameset)
12810         (desktop--check-dont-save, desktop-save-frameset): New functions.
12811         (desktop--app-id): New constant.
12812         (desktop-first-buffer, desktop-buffer-ok-count)
12813         (desktop-buffer-fail-count): Move before first use.
12814         * frameset.el: New file.
12816 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12818         * files.el: Use lexical-binding.
12819         (dir-locals-read-from-file): Remove unused `err' variable.
12820         (hack-dir-local-variables--warned-coding): New var.
12821         (hack-dir-local-variables): Use it to avoid repeated warnings.
12822         (make-backup-file-name--default-function): New function.
12823         (make-backup-file-name-function): Use it as default.
12824         (buffer-stale--default-function): New function.
12825         (buffer-stale-function): Use it as default.
12826         (revert-buffer-insert-file-contents--default-function): New function.
12827         (revert-buffer-insert-file-contents-function): Use it as default.
12828         (insert-directory): Avoid add-to-list.
12830         * autorevert.el (auto-revert-handler): Simplify.
12831         Use buffer-stale--default-function.
12833 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
12835         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
12837         * whitespace.el (whitespace-ensure-local-variables): New function.
12838         (whitespace-cleanup-region): Call it.
12839         (whitespace-turn-on): Call it.
12841 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
12843         Complete file name handlers.
12845         * net/tramp.el (tramp-handle-set-visited-file-modtime)
12846         (tramp-handle-verify-visited-file-modtime)
12847         (tramp-handle-file-notify-rm-watch): New functions.
12848         (tramp-call-process): Do not bind `default-directory'.
12850         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12851         Order alphabetically.
12852         <access-file, add-name-to-file, dired-call-process>:
12853         <dired-compress-file, file-acl, file-notify-rm-watch>:
12854         <file-ownership-preserved-p, file-selinux-context>:
12855         <make-directory-internal, make-symbolic-link, set-file-acl>:
12856         <set-file-selinux-context, set-visited-file-modtime>:
12857         <verify-visited-file-modtime>: Add handler.
12858         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
12860         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12861         <file-notify-add-watch, file-notify-rm-watch>:
12862         <set-file-times, set-visited-file-modtime>:
12863         <verify-visited-file-modtime>: Add handler.
12864         (with-tramp-gvfs-error-message)
12865         (tramp-gvfs-handle-set-visited-file-modtime)
12866         (tramp-gvfs-fuse-file-name): Remove.
12867         (tramp-gvfs-handle-file-notify-add-watch)
12868         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
12869         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
12871         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12872         Order alphabetically.
12873         <file-notify-rm-watch>: Use default Tramp handler.
12874         <executable-find>: Remove private handler.
12875         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
12876         `default-directory'.
12877         (tramp-sh-handle-executable-find)
12878         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
12879         (tramp-sh-file-gvfs-monitor-dir-process-filter)
12880         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
12881         Do not use `format' in `tramp-message'.
12883         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
12884         <file-notify-rm-watch, set-visited-file-modtime>:
12885         <verify-visited-file-modtime>: Add handler.
12886         (tramp-smb-call-winexe): Do not bind `default-directory'.
12888 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
12890         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
12892 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
12894         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
12895         use it.
12896         (log-view-diff-changeset): Same.
12897         (log-view-diff-common): Call backend command `previous-revision'
12898         to find out the previous revision, in both cases.  Swap the
12899         variables `to' and `fr', so that `fr' usually refers to the
12900         earlier revision (Bug#14989).
12902 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
12904         * ibuf-ext.el (ibuffer-filter-by-filename):
12905         Make it work with dired buffers too.
12907 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
12909         * emacs-lisp/re-builder.el (reb-color-display-p):
12910         * files.el (save-buffers-kill-terminal):
12911         * net/browse-url.el (browse-url):
12912         * server.el (server-save-buffers-kill-terminal):
12913         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
12914         Prefer nil to selected-frame for the first arg of frame-parameter.
12916 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
12918         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
12920 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
12922         * minibuffer.el (completion--twq-all): Try and preserve each
12923         completion's case choice (bug#14907).
12925 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12927         * net/network-stream.el (open-network-stream): Mention the new
12928         :nogreeting parameter.
12929         (network-stream-open-starttls): Use the :nogreeting parameter
12930         (bug#14938).
12932         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
12934         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
12935         more natural than popping.
12937         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
12938         (shr-urlify): Highlight under mouse.
12940 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
12942         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
12944         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
12946         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
12947         buffer for output.
12949         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
12950         point-min==1.  Fix search string.  Fix parentheses missing.
12952         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
12953         assume point-min==1.  Fix search string.  Fix parentheses missing.
12955         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
12957         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
12958         buffer for output.
12960 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
12962         * frame.el (frame-notice-user-settings): Avoid inflooping when the
12963         initial frame is minibuffer-less.  (Bug#14841)
12965 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
12967         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
12968         option.
12970         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12971         (tramp-maybe-open-connection): Use it.
12973 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
12975         * desktop.el (desktop--make-frame): Include `minibuffer' in the
12976         minimal set of parameters passed when creating a frame, because
12977         the minibuffer status of a frame cannot be changed later.
12979 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
12981         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
12982         replace-regexp-in-string and inadvertent omissions in previous change.
12983         (todo-filter-items): Ensure only file names are comma-separated in
12984         name of filtered items buffer.
12986 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
12988         * desktop.el: Optionally force offscreen frames back onscreen.
12989         (desktop-restoring-reuses-frames): New option.
12990         (desktop--compute-pos, desktop--move-onscreen): New functions.
12991         (desktop--make-frame): Use desktop--move-onscreen.
12993 2013-07-27  Alan Mackenzie  <acm@muc.de>
12995         Fontify a Java generic method as a function.
12996         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
12997         value to t.
12999 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
13001         * calendar/todo-mode.el: Add command to rename todo files.
13002         (todo-rename-file): New command.
13003         (todo-key-bindings-t): Add key binding for it.  Change the
13004         bindings of todo-filter-regexp-items(-multifile) to use `x'
13005         instead of `r', since the latter is better suited to the new
13006         renaming command.
13008 2013-07-27  Alan Mackenzie  <acm@muc.de>
13010         Make Java try-with-resources statement parse properly.
13011         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
13012         (c-block-stmt-1-2-key): New language constants/variables.
13013         * progmodes/cc-engine.el (c-beginning-of-statement-1)
13014         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
13015         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
13016         with c-block-stmt-1-2-key.
13018 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
13020         * desktop.el (desktop--make-frame): Apply most frame parameters after
13021         creating the frame to force (partially or totally) offscreen frames to
13022         be restored as such.
13024 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
13026         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
13027         (Bug#14948)
13029 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13031         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
13032         `base' arg of backtrace-frame.
13034 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
13036         * simple.el (list-processes): Doc fix.
13038 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
13040         * desktop.el (desktop--select-frame):
13041         Try harder to reuse existing frames.
13043 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13045         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
13046         (edebug-eval): Use backtrace-eval.
13047         (edebug--display, edebug--recursive-edit): Don't let-bind the
13048         edebug-outer-* vars that keep track of variables we locally let-bind.
13049         (edebug-outside-excursion): Don't restore outside values of locally
13050         let-bound vars.
13051         (edebug--display): Use user-error.
13052         (cl-lexical-debug, cl-debug-env): Remove.
13054 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
13056         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
13057         are restored to be sure that they are visible before deleting any
13058         remaining ones.
13060 2013-07-26  Matthias Meulien  <orontee@gmail.com>
13062         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
13063         vc-print-root-log.  (Bug#14948)
13065 2013-07-26  Richard Stallman  <rms@gnu.org>
13067         Add aliases for encrypting mail.
13068         * epa.el (epa-mail-aliases): New option.
13069         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
13070         Bind inhibit-read-only so read-only text doesn't ruin everything.
13071         (epa-mail-default-recipients): New subroutine broken out.
13072         Handle epa-mail-aliases.
13074 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13076         Add support for lexical variables to the debugger's `e' command.
13077         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
13078         vars, except for debugger-outer-match-data.
13079         (debugger-frame-number): Move check for "on a function call" from
13080         callers into it.  Add `skip-base' argument.
13081         (debugger-frame, debugger-frame-clear): Simplify accordingly.
13082         (debugger-env-macro): Only reset the state stored in non-variables,
13083         i.e. current-buffer and match-data.
13084         (debugger-eval-expression): Rewrite using backtrace-eval.
13085         * subr.el (internal--called-interactively-p--get-frame): Remove.
13086         (called-interactively-p):
13087         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
13088         `base' arg of backtrace-frame instead.
13090 2013-07-26  Glenn Morris  <rgm@gnu.org>
13092         * align.el (align-regexp): Doc fix.  (Bug#14857)
13093         (align-region): Explicit error if subexpression missing/does not match.
13095         * simple.el (global-visual-line-mode):
13096         Do not duplicate the mode lighter.  (Bug#14858)
13098 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
13100         * window.el (display-buffer): In display-buffer bind
13101         split-window-keep-point to t, bug#14829.
13103 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
13105         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
13106         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
13107         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
13108         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13109         Change accordingly.
13110         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13111         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
13113 2013-07-25  Glenn Morris  <rgm@gnu.org>
13115         * dired-x.el (dired-mark-extension): Convert comment to doc string.
13117 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
13119         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
13120         parameter to modify-frame-parameters if the value has not changed;
13121         this is a workaround for bug#14949.
13122         (desktop--make-frame): On cl-delete-if call, check parameter name,
13123         not full parameter.
13125 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
13127         * vc/vc.el (vc-ignore): New function.
13129         * vc/vc-svn.el (vc-svn-ignore): New function.
13131         * vc/vc-hg.el (vc-hg-ignore): New function.
13133         * vc/vc-git.el (vc-git-ignore): New function.
13135         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
13136         (vc-dir-ignore): New function.
13138         * vc/vc-cvs.el (vc-cvs-ignore): New function.
13139         (cvs-append-to-ignore): Move here from pcvs.el.
13141         * vc/vc-bzr.el (vc-bzr-ignore): New function.
13143         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
13145 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
13147         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
13148         (desktop-restore-frames): Warn when deleting an existing frame failed.
13150 2013-07-24  Glenn Morris  <rgm@gnu.org>
13152         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
13154 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
13156         * filenotify.el (file-notify-supported-p):
13157         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13158         Remove functions.
13160         * autorevert.el (auto-revert-use-notify)
13161         (auto-revert-notify-add-watch):
13162         * net/tramp.el (tramp-file-name-for-operation):
13163         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13164         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13165         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13166         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13167         Remove `file-notify-supported-p' entry.
13169 2013-07-24  Glenn Morris  <rgm@gnu.org>
13171         * printing.el: Replace all uses of deleted ps-windows-system,
13172         ps-lp-system, ps-flatten-list with lpr- versions.
13174 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13176         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
13177         checked with memq (bug#14935).
13179         * files.el (revert-buffer-function): Use a non-nil default.
13180         (revert-buffer-preserve-modes): Declare var to
13181         provide access to the `preserve-modes' argument.
13182         (revert-buffer): Let-bind it.
13183         (revert-buffer--default): New function, extracted from revert-buffer.
13185 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13187         * lpr.el: Signal print errors more prominently.
13188         (print-region-function): Don't default to nil.
13189         (lpr-print-region): New function, extracted from print-region-1.
13190         Check lpr's return value and signal an error in case of problem.
13191         (print-region-1): Use it.
13192         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
13193         versions instead.
13194         (ps-printer-name): Default to nil.
13195         (ps-printer-name-option): Default to lpr-printer-switch.
13196         (ps-print-region-function): Don't default to nil.
13197         (ps-postscript-code-directory): Simplify default.
13198         (ps-do-despool): Use lpr-print-region to properly check the outcome.
13199         (ps-string-list, ps-eval-switch, ps-flatten-list)
13200         (ps-flatten-list-1): Remove.
13201         (ps-multibyte-buffer): Avoid setq.
13202         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
13203         (print-region-function, ps-print-region-function): Don't set them here.
13205 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
13207         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
13208         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
13209         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
13210         (ido-decorations): Doc fix.
13212         * ansi-color.el: Fix old URL.
13214 2013-07-23  Michael R. Mauger  <michael@mauger.com>
13216         * progmodes/sql.el: Version 3.3
13217         (sql-product-alist): Improve oracle :prompt-cont-regexp.
13218         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
13219         (sql-interactive-remove-continuation-prompt): Rewrite, use
13220         functions above.  Fix continuation prompt and complete output line
13221         handling.
13222         (sql-redirect-one, sql-execute): Use `read-only-mode' on
13223         redirected output buffer.
13224         (sql-mode): Restore deleted code (Bug#13591).
13226 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
13228         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
13230 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
13232         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
13234         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13235         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13236         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
13238 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
13240         * desktop.el (desktop-clear): Simplify; remove useless checks
13241         against invalid buffer names.
13242         (desktop-list*): Use cl-list*.
13243         (desktop-buffer-info, desktop-create-buffer): Simplify.
13245 2013-07-23  Leo Liu  <sdl.web@gmail.com>
13247         * bookmark.el (bookmark-make-record): Restore NAME as a default
13248         value.  (Bug#14933)
13250 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13252         * emacs-lisp/autoload.el (autoload--setup-output): New function,
13253         extracted from autoload--insert-text.
13254         (autoload--insert-text): Remove.
13255         (autoload--print-cookie-text): New function, extracted from
13256         autoload--insert-cookie-text.
13257         (autoload--insert-cookie-text): Remove.
13258         (autoload-generate-file-autoloads): Adjust calls accordingly.
13260         * winner.el (winner-hook-installed-p): Remove.
13261         (winner-mode): Simplify accordingly.
13263         * subr.el (add-to-list): Fix compiler-macro when `append' is
13264         not constant.  Don't use `cl-member' for the base case.
13266         * progmodes/subword.el: Fix boundary case (bug#13758).
13267         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
13268         own group.
13269         (subword-backward-regexp): Make it a constant.
13270         (subword-forward-internal): Don't treat a trailing capital as the
13271         beginning of a word.
13273 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
13275         * emacs-lisp/package.el (package-menu-mode): Don't modify the
13276         global value of tabulated-list-revert-hook (bug#14930).
13278 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
13280         * desktop.el: Require 'cl-lib.
13281         (desktop-before-saving-frames-functions): New hook.
13282         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
13283         for frames being saved.  Rename from desktop--save-minibuffer-frames.
13284         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
13285         Do not save frames with non-nil `desktop-dont-save' parameter.
13286         Filter out deleted frames.
13287         (desktop--find-frame): Use cl-find-if.
13288         (desktop--select-frame): Use cl-(first|second|third) to access values
13289         of desktop-mini.
13290         (desktop--make-frame): Use cl-delete-if.
13291         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
13292         (desktop-restore-frames): Use cl-(first|second|third) to access values
13293         of desktop-mini.  Look for visible frame at the end, not while
13294         restoring frames.
13296         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
13297         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
13298         Use string-match-p, looking-at-p (bug#14927).
13300 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
13302         * desktop.el (desktop-saved-frame-states):
13303         Rename from desktop--saved-states; all users changed.
13304         (desktop-save-frames): Rename from desktop--save-frames.
13305         Do not save state to desktop file.
13306         (desktop-save): Save desktop-saved-frame-states to desktop file
13307         and reset to nil.
13308         (desktop-restoring-frames-p): New function.
13309         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
13310         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
13311         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
13313         * desktop.el: Correctly restore iconified frames.
13314         (desktop--filter-iconified-position): New function.
13315         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
13317 2013-07-20  Glenn Morris  <rgm@gnu.org>
13319         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
13320         Let `message' do the formatting.
13321         (def-gdb-preempt-display-buffer): Add explicit format.
13323         * image-dired.el (image-dired-track-original-file):
13324         Use with-current-buffer.
13325         (image-dired-track-thumbnail): Use with-current-buffer.
13326         Avoid changing point of wrong window.
13328         * image-dired.el (image-dired-track-original-file):
13329         Avoid changing point of wrong window.  (Bug#14909)
13331 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
13333         * progmodes/gdb-mi.el (gdb-done-or-error):
13334         Guard against "%" in gdb output.  (Bug#14127)
13336 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
13338         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
13339         (Bug#14826)
13341         * international/mule.el (coding-system-iso-2022-flags): Fix last
13342         change.
13344 2013-07-20  Kenichi Handa  <handa@gnu.org>
13346         * international/mule.el (coding-system-iso-2022-flags):
13347         Add `8-bit-level-4'.  (Bug#8522)
13349 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13351         * net/shr.el (shr-mouse-browse-url): New command and keystroke
13352         (bug#14815).
13354         * net/eww.el (eww-process-text-input): Allow inputting when the
13355         point is at the start of the line, as the properties aren't
13356         front-sticky.
13358         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
13359         degenerate widths.
13361 2013-07-19  Richard Stallman  <rms@gnu.org>
13363         * epa.el (epa-popup-info-window): Doc fix.
13365         * subr.el (split-string): New arg TRIM.
13367 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
13369         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
13370         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
13372 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
13374         * filenotify.el (file-notify--library): Rename from
13375         `file-notify-support'.  Do not autoload.  Adapt all uses.
13376         (file-notify-supported-p): New defun.
13378         * autorevert.el (auto-revert-use-notify):
13379         Use `file-notify-supported-p' instead of `file-notify-support'.
13380         Adapt docstring.
13381         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
13383         * net/tramp.el (tramp-file-name-for-operation):
13384         Add `file-notify-supported-p'.
13386         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13387         New defun.
13388         (tramp-sh-file-name-handler-alist): Add it as handler for
13389         `file-notify-supported-p '.
13391         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13392         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13393         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13394         Add `ignore' as handler for `file-notify-*' functions.
13396 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
13398         * simple.el (line-move-partial, line-move): Don't start vscroll or
13399         scroll-up if the current line is not taller than the window.
13400         (Bug#14881)
13402 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
13404         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
13405         highlight question marks in the method names as strings.
13406         (ruby-block-beg-keywords): Inline.
13407         (ruby-font-lock-keyword-beg-re): Extract from
13408         `ruby-font-lock-keywords'.
13410 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
13412         * frame.el (blink-cursor-blinks): New defcustom.
13413         (blink-cursor-blinks-done): New defvar.
13414         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
13415         (blink-cursor-timer-function): Check if number of blinks has been
13416         done on X and NS.
13417         (blink-cursor-suspend, blink-cursor-check): New defuns.
13419 2013-07-15  Glenn Morris  <rgm@gnu.org>
13421         * edmacro.el (edmacro-format-keys): Fix previous change.
13423 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
13425         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
13426         The hack didn't work outside English locales anyway.
13428 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
13430         * simple.el (define-alternatives): Rename from alternatives-define,
13431         per RMS' suggestion.
13433 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
13435         * desktop.el (desktop-restore-frames): Change default to t.
13436         (desktop-restore-in-current-display): Now offer more options.
13437         (desktop-restoring-reuses-frames): New customization option.
13438         (desktop--saved-states): Doc fix.
13439         (desktop-filter-parameters-alist): New variable, renamed and expanded
13440         from desktop--excluded-frame-parameters.
13441         (desktop--target-display): New variable.
13442         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
13443         (desktop--filter-tty*, desktop--filter-*-color)
13444         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13445         (desktop--filter-save-desktop-parm)
13446         (desktop-restore-in-original-display-p): New functions.
13447         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
13448         (desktop--save-minibuffer-frames): New function, inspired by a similar
13449         function from Martin Rudalics.
13450         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
13451         (desktop--restore-in-this-display-p): Remove.
13452         (desktop--find-frame): Rename from desktop--find-frame-in-display
13453         and add predicate argument.
13454         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
13455         (desktop--reuse-list): New variable.
13456         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
13457         New functions.
13458         (desktop--restore-frames): Add support for "minibuffer-special" frames.
13460 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
13462         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
13464 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
13466         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13467         Highlight conversion methods on Kernel.
13469 2013-07-13  Alan Mackenzie  <acm@muc.de>
13471         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
13472         and comment it out.  This out-commenting enables certain C++
13473         declarations to be parsed correctly.
13475 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
13477         * international/mule.el (define-coding-system): Doc fix.
13479         * simple.el (default-font-height): Don't call font-info if the
13480         frame's default font didn't change since the frame was created.
13481         (Bug#14838)
13483 2013-07-13  Leo Liu  <sdl.web@gmail.com>
13485         * ido.el (ido-read-file-name): Guard against non-symbol value.
13487 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13489         * progmodes/python.el (python-imenu--build-tree): Fix corner case
13490         in nested defuns.
13492 2013-07-13  Leo Liu  <sdl.web@gmail.com>
13494         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
13495         ido-set-matches call.  (Bug#6852)
13497 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
13499         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
13500         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
13501         Ruby 2.0.
13502         (ruby-font-lock-keywords): Distinguish calls to functions with
13503         module-like names from module references.  Highlight character
13504         literals.
13506 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
13508         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
13509         (gdb-send): Handle continued commands.  (Bug#14847)
13511 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
13513         * desktop.el (desktop--v2s): Remove unused local variable.
13514         (desktop-save-buffer): Make defvar-local; adjust docstring.
13515         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
13516         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
13518 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
13520         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
13522 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
13524         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
13525         (Bug#14842)
13527 2013-07-12  Glenn Morris  <rgm@gnu.org>
13529         * doc-view.el: Require cl-lib at runtime too.
13530         (doc-view-remove-if): Remove.
13531         (doc-view-search-next-match, doc-view-search-previous-match):
13532         Use cl-remove-if.
13534         * edmacro.el: Require cl-lib at runtime too.
13535         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
13536         (edmacro-mismatch, edmacro-subseq): Remove.
13538         * shadowfile.el: Require cl-lib.
13539         (shadow-remove-if): Remove.
13540         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
13541         Use cl-remove-if.
13543         * wid-edit.el: Require cl-lib.
13544         (widget-choose): Use cl-remove-if.
13545         (widget-remove-if): Remove.
13547         * progmodes/ebrowse.el: Require cl-lib at runtime too.
13548         (ebrowse-delete-if-not): Remove.
13549         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
13550         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
13551         Use cl-delete-if-not.
13553 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
13555         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
13556         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
13558 2013-07-12  Leo Liu  <sdl.web@gmail.com>
13560         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
13562 2013-07-11  Glenn Morris  <rgm@gnu.org>
13564         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
13565         (edebug-gensym-index, edebug-gensym):
13566         Remove reimplementation of cl-gensym.
13567         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
13569         * thumbs.el: Require cl-lib at run-time too.
13570         (thumbs-gensym-counter, thumbs-gensym):
13571         Remove reimplementation of cl-gensym.
13572         (thumbs-temp-file): Use cl-gensym.
13574         * emacs-lisp/ert.el: Require cl-lib at runtime too.
13575         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
13576         (ert--intersection, ert--set-difference, ert--set-difference-eq)
13577         (ert--union, ert--gensym-counter, ert--gensym-counter)
13578         (ert--coerce-to-vector, ert--remove*, ert--string-position)
13579         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
13580         (ert-make-test-unbound, ert--expand-should-1)
13581         (ert--expand-should, ert--should-error-handle-error)
13582         (should-error, ert--explain-equal-rec)
13583         (ert--plist-difference-explanation, ert-select-tests)
13584         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
13585         Use cl-lib functions rather than reimplementations.
13587 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
13589         * net/tramp.el (tramp-methods): Extend docstring.
13590         (tramp-connection-timeout): New defcustom.
13591         (tramp-error-with-buffer): Reset timestamp only when appropriate.
13592         (with-tramp-progress-reporter): Simplify.
13593         (tramp-process-actions): Improve messages.
13595         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13596         * net/tramp-sh.el (tramp-maybe-open-connection):
13597         Use `tramp-connection-timeout'.
13598         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
13599         (Bug#14808)
13601 2013-07-11  Leo Liu  <sdl.web@gmail.com>
13603         * ido.el (ido-read-file-name): Conform to the requirements of
13604         read-file-name.  (Bug#11861)
13605         (ido-read-directory-name): Conform to the requirements of
13606         read-directory-name.
13608 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
13610         * subr.el (delay-warning): New function.
13612 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
13614         * simple.el (default-line-height): New function.
13615         (line-move-partial, line-move): Use it instead of computing the
13616         line height inline.
13617         (line-move-partial): Always compute ROWH.  If the last line is
13618         partially-visible, but its text is completely visible, allow
13619         cursor to enter such a partially-visible line.
13621 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
13623         Improve error messages.  (Bug#14808)
13625         * net/tramp.el (tramp-current-connection): New defvar, moved from
13626         tramp-sh.el.
13627         (tramp-message-show-progress-reporter-message): Remove, not
13628         needed anymore.
13629         (tramp-error-with-buffer): Show message in minibuffer.
13630         Discard input before waiting.  Reset connection timestamp.
13631         (with-tramp-progress-reporter): Improve messages.
13632         (tramp-process-actions): Use progress reporter.  Delete process in
13633         case of error.  Improve messages.
13635         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
13636         Call `tramp-error-with-buffer' with vector and buffer.
13637         (tramp-current-connection): Remove.
13638         (tramp-maybe-open-connection): The car of
13639         `tramp-current-connection' are the first 3 slots of the vector.
13641 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
13643         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
13644         inside continued strings.
13646 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
13648         Timestamp fixes for undo (Bug#14824).
13649         * files.el (clear-visited-file-modtime): Move here from fileio.c.
13651 2013-07-10  Leo Liu  <sdl.web@gmail.com>
13653         * files.el (require-final-newline): Allow safe local value.
13654         (Bug#14834)
13656 2013-07-09  Leo Liu  <sdl.web@gmail.com>
13658         * ido.el (ido-read-directory-name): Handle fallback.
13659         (ido-read-file-name): Update DIR to ido-current-directory.
13660         (Bug#1516)
13661         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
13663 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
13665         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
13666         "autoload".  Remove "warn lower camel case" section, previously
13667         commented out.  Highlight negation char.  Do not highlight the
13668         target in singleton method definitions.
13670 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13672         * faces.el (tty-setup-hook): Declare the hook.
13674         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
13675         and detect when a guard/pred depends on local vars (bug#14773).
13676         (pcase--u1): Adjust caller.
13678 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
13680         * simple.el (line-move-partial, line-move): Account for
13681         line-spacing.
13682         (line-move-partial): Avoid setting vscroll when the last
13683         partially-visible line in window is of default height.
13685 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13687         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
13688         been used a while.
13690 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
13692         * subr.el (read-quoted-char): Remove unused local variable `char'.
13694 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13696         * vc/ediff.el (ediff-version): Version update.
13697         (ediff-files-command, ediff3-files-command, ediff-merge-command)
13698         (ediff-merge-with-ancestor-command, ediff-directories-command)
13699         (ediff-directories3-command, ediff-merge-directories-command)
13700         (ediff-merge-directories-with-ancestor-command): New functions.
13701         All are command-line interfaces to ediff: to facilitate calling
13702         Emacs with the appropriate ediff functions invoked.
13704         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
13705         New function.
13706         (viper-save-kill-buffer): Check if buffer is modified.
13708         * emulation/viper.el (viper-version): Version update.
13709         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
13711 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13713         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
13714         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
13715         (viper-intercept-ESC-key): Simplify.
13716         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
13717         don't use kbd.
13718         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
13719         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
13720         (viper-setup-ESC-to-escape): New functions.
13721         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
13722         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
13724 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
13726         * simple.el (default-font-height, window-screen-lines):
13727         New functions.
13728         (line-move, line-move-partial): Use them instead of
13729         frame-char-height and window-text-height.  This makes scrolling
13730         text smoother when the buffer's default face uses a font that is
13731         different from the frame's default font.
13733 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
13735         * files.el (write-file): Do not display confirm dialog for NS,
13736         it does its own dialog, which can't be canceled (Bug#14578).
13738 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
13740         * simple.el (line-move-partial): Adjust the row returned by
13741         posn-at-point for the current window-vscroll.  (Bug#14567)
13743 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
13745         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
13746         (tramp-sh-file-inotifywait-process-filter): Handle file names with
13747         spaces.
13749 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
13751         * window.el (window-state-put-stale-windows): New variable.
13752         (window--state-put-2): Save list of windows without matching buffer.
13753         (window-state-put): Remove "bufferless" windows if possible.
13755 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
13757         * simple.el (alternatives-define): Remove leftover :group keyword.
13758         Tweak docstring.
13760 2013-07-06  Leo Liu  <sdl.web@gmail.com>
13762         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
13763         (ido-enable-virtual-buffers): New variable.
13764         (ido-buffer-internal, ido-toggle-virtual-buffers)
13765         (ido-make-buffer-list): Use it.
13766         (ido-exhibit): Support turning on and off virtual buffers
13767         automatically.
13769 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
13771         * simple.el (alternatives-define): New macro.
13773 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13775         * subr.el (read-quoted-char): Use read-key.
13776         (sit-for): Let read-event decode tty input (bug#14782).
13778 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
13780         * calendar/todo-mode.el: Add handling of file deletion, both by
13781         mode command and externally.  Fix various related bugs.
13782         Clarify Commentary and improve some documentation strings and code.
13783         (todo-delete-file): New command.
13784         (todo-check-file): New function.
13785         (todo-show): Handle external deletion of the file we're trying to
13786         show (bug#14688).  Replace called-interactively-p by an optional
13787         prefix argument to avoid problematic interaction with catch form
13788         when byte compiled (bug#14702).
13789         (todo-quit): Handle external deletion of the archive's todo file.
13790         Make sure the buffer that was visiting the archive file is still
13791         live before trying to bury it.
13792         (todo-category-completions): Handle external deletion of any
13793         category completion files.
13794         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
13795         of todo files, in case of external deletion.
13796         (todo-add-file): Replace unnecessary setq by let-binding.
13797         (todo-find-archive): Check whether there are any archives.
13798         Replace unnecessary setq by let-binding.
13799         (todo-archive-done-item): Use find-file-noselect to get the
13800         archive buffer whether or not the archive already exists.
13801         Remove superfluous code.  Use file size instead of buffer-file-name to
13802         check if the archive is new; if it is, update list of archives.
13803         (todo-default-todo-file): Allow nil to be a valid value for when
13804         there are no todo files.
13805         (todo-reevaluate-default-file-defcustom): Use corrected definition
13806         of todo-default-todo-file.
13807         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
13808         (todo-delete-category, todo-show-categories-table)
13809         (todo-category-number): Clarify comment.
13810         (todo-filter-items): Clarify documentation string.
13811         (todo-show-current-file, todo-display-as-todo-file)
13812         (todo-reset-and-enable-done-separator): Tweak documentation string.
13813         (todo-done-separator): Make separator length window-width, since
13814         bug#2749 is now fixed.
13816 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
13818         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
13819         Support both "gvfs-monitor-dir" and "inotifywait".
13820         (tramp-sh-file-inotifywait-process-filter): Rename from
13821         `tramp-sh-file-notify-process-filter'.
13822         (tramp-sh-file-gvfs-monitor-dir-process-filter)
13823         (tramp-get-remote-gvfs-monitor-dir): New defuns.
13825 2013-07-05  Leo Liu  <sdl.web@gmail.com>
13827         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
13829 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13831         * frame.el (display-pixel-height, display-pixel-width)
13832         (display-mm-height, display-mm-width): Mention behavior on
13833         multi-monitor setups in docstrings.
13834         (w32-display-monitor-attributes-list): Declare function.
13835         (display-monitor-attributes-list): Use it.
13837 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
13839         * filenotify.el: New package.
13841         * autorevert.el (top): Require filenotify.el.
13842         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
13843         instead.
13844         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13845         (auto-revert-notify-handler): Use `file-notify-*' functions.
13847         * subr.el (file-notify-handle-event): Move function to filenotify.el.
13849         * net/tramp.el (tramp-file-name-for-operation):
13850         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
13852         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
13853         for `file-notify-add-watch' and `file-notify-rm-watch'.
13854         (tramp-process-sentinel): Improve trace.
13855         (tramp-sh-handle-file-notify-add-watch)
13856         (tramp-sh-file-notify-process-filter)
13857         (tramp-sh-handle-file-notify-rm-watch)
13858         (tramp-get-remote-inotifywait): New defuns.
13860 2013-07-03  Juri Linkov  <juri@jurta.org>
13862         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
13863         call of `occur-read-primary-args' to interactive spec.
13865         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
13866         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
13868 2013-07-03  Matthias Meulien  <orontee@gmail.com>
13870         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
13871         `Buffer-menu-multi-occur'.  Add it to the menu.
13872         (Buffer-menu-mode): Document it in docstring.
13873         (Buffer-menu-multi-occur): New command.  (Bug#14673)
13875 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
13877         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
13878         keywords and built-ins.
13880 2013-07-03  Glenn Morris  <rgm@gnu.org>
13882         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
13884         Make info-xref checks case-sensitive by default
13885         * info.el (Info-find-node, Info-find-in-tag-table)
13886         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
13887         Add option for exact case matching of nodes.
13888         * info-xref.el (info-xref): New custom group.
13889         (info-xref-case-fold): New option.
13890         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
13892 2013-07-03  Leo Liu  <sdl.web@gmail.com>
13894         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
13896 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
13898         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
13899         middle of block statement initially, lower the depth.  Remove
13900         FIXME comment, not longer valid.  Remove middle of block statement
13901         detection, no need to do that anymore since we've been using
13902         `ruby-parse-region' here.
13904 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
13906         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
13908 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
13910         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
13912 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
13914         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
13915         (desktop-restore-in-current-display): New customization option.
13916         (desktop--excluded-frame-parameters): Add `font'.
13917         (desktop--save-frames): Rename from desktop--save-windows.
13918         (desktop--restore-in-this-display-p): New function.
13919         (desktop--make-full-frame): Remove unwanted width/height from
13920         full(width|height) frames.
13921         (desktop--restore-frames): Rename from desktop--restore-windows.
13922         Obey desktop-restore-current-display.  Do not delete old frames or
13923         select a new frame unless we were able to restore at least one frame.
13925 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
13927         * files.el (find-file-noselect): Simplify conditional expression.
13929         * textmodes/remember.el (remember-append-to-file):
13930         Don't mix `find-buffer-visiting' and `get-file-buffer'.
13932         Add `remember-notes' function to store random notes across Emacs
13933         restarts.
13934         * textmodes/remember.el (remember-data-file): Add :set callback to
13935         affect notes buffer (if any).
13936         (remember-notes): New command.
13937         (remember-notes-buffer-name, bury-remember-notes-on-kill):
13938         New defcustoms for the `remember-notes' function.
13939         (remember-notes-save-and-bury-buffer): New command.
13940         (remember-notes-mode-map): New variable.
13941         (remember-mode): New minor mode.
13942         (remember-notes--kill-buffer-query): New function.
13943         * startup.el (initial-buffer-choice): Add notes to custom type.
13945 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
13947         * bindings.el (right-char, left-char): Don't call sit-for, this is
13948         no longer needed.  Use arithmetic comparison only for numerical
13949         arguments.
13951         * international/mule-cmds.el (select-safe-coding-system):
13952         Handle the case of FROM being a string correctly.  (Bug#14755)
13954 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13956         * net/shr.el (shr-make-table-1): Add a sanity check that allows
13957         progression on degenerate tables.
13958         (shr-rescale-image): ImageMagick animated images currently don't work.
13960 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
13962         Some fixes and improvements for desktop frame restoration.
13963         It is still experimental and disabled by default.
13964         * desktop.el (desktop--save-windows): Put the selected frame at
13965         the head of the list.
13966         (desktop--make-full-frame): New function.
13967         (desktop--restore-windows): Try to re-select the frame that was
13968         selected upon saving.  Do not abort if some frames fail to restore,
13969         just show an error message and continue.  Set up maximized frames
13970         so they have default non-maximized dimensions.
13972 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
13974         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13975         Don't start heredoc inside a string or comment.
13977 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
13979         * bindings.el (visual-order-cursor-movement): New defcustom.
13980         (right-char, left-char): Provide visual-order cursor motion by
13981         calling move-point-visually.  Update the doc strings.
13983 2013-06-28  Kenichi Handa  <handa@gnu.org>
13985         * international/mule.el (define-coding-system): New coding system
13986         properties :inhibit-null-byte-detection,
13987         :inhibit-iso-escape-detection, and :prefer-utf-8.
13988         (set-buffer-file-coding-system): If :charset-list property of
13989         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
13990         appropriate for setting.
13992         * international/mule-cmds.el (select-safe-coding-system):
13993         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
13994         multibyte characters, return utf-8 (or one of its siblings).
13996         * international/mule-conf.el (prefer-utf-8): New coding system.
13997         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
13998         files.
14000 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
14002         * net/shr.el (shr-render-region): New function.
14004         * net/eww.el: Autoload `eww-browse-url'.
14006 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
14008         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14009         Adapt to `package-desc-version' being a list.
14010         Use `package--ac-desc-version' to retrieve version from a package
14011         archive element.
14013 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
14015         New experimental feature to save&restore window and frame setup.
14016         * desktop.el (desktop-save-windows): New defcustom.
14017         (desktop--saved-states): New var.
14018         (desktop--excluded-frame-parameters): New defconst.
14019         (desktop--filter-frame-parms, desktop--find-frame-in-display)
14020         (desktop--restore-windows, desktop--save-windows): New functions.
14021         (desktop-save): Call `desktop--save-windows'.
14022         (desktop-read): Call `desktop--restore-windows'.
14024 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14026         * net/shr.el (add-face-text-property): Remove compat definition.
14028 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
14030         * info.el (Info-try-follow-nearest-node): Move search for footnote
14031         above search for node name to prevent missing a footnote (bug#14717).
14033 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
14035         * obsolete/otodo-mode.el: Add obsolescence info to file header.
14037 2013-06-27  Leo Liu  <sdl.web@gmail.com>
14039         * net/eww.el (eww-read-bookmarks): Check file size.
14041 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14043         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
14044         advice--pending if newdef is nil or an autoload (bug#13820).
14045         (advice-mapc): New function.
14047 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14049         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
14050         probably.
14051         (eww-mode-map): Add a menu bar.
14052         (eww-add-bookmark): New command.
14053         (eww-bookmark-mode): New mode and commands.
14054         (eww-add-bookmark): Remove newlines from the title.
14055         (eww-bookmark-browse): Don't bug out if it's the only window.
14057 2013-06-26  Glenn Morris  <rgm@gnu.org>
14059         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
14060         (hfy-size): Handle ttys.  (Bug#14668)
14062         * info-xref.el: Update for Texinfo 5 change in *note format.
14063         (info-xref-node-re, info-xref-note-re): New constants.
14064         (info-xref-check-buffer): Use info-xref-note-re.
14066 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14068         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
14070         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
14071         nil terminate the loop (bug#14718).
14073 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14075         * net/eww.el: Rework history traversal.  When going forward/back,
14076         put these actions into the history, too, so that they can be
14077         replayed.
14078         (eww-render): Move the history reset to the correct buffer.
14080 2013-06-25  Juri Linkov  <juri@jurta.org>
14082         * files-x.el (modify-dir-local-variable): Change the header comment
14083         in the file with directory local variables.  (Bug#14692)
14085         * files-x.el (read-file-local-variable-value): Add `default'.
14086         (Bug#14710)
14088 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14090         * net/eww.el (eww-make-unique-file-name): Create a unique file
14091         name before saving to entering `y' accidentally asynchronously.
14093 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
14095         * net/eww.el (eww-download): New command and keystroke.
14097 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14099         * net/eww.el (eww-copy-page-url): Change name of command.
14101         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
14102         be more consistent with Info and dired.
14104         * net/eww.el (eww-mode-map): Ditto.
14106 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14108         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
14109         packages from archives.
14110         (package-archive-contents): Change format; include obsolete packages.
14111         (package-desc): Use `dir' to mark builtin packages.
14112         (package--from-builtin): Set the `dir' field to `builtin'.
14113         (generated-autoload-file, version-control): Declare.
14114         (package-compute-transaction): Change first arg and return value to be
14115         lists of package-descs.  Adjust to new package-archive-contents format.
14116         (package--add-to-archive-contents): Adjust to new
14117         package-archive-contents format.
14118         (package-download-transaction): Arg is now a list of package-descs.
14119         (package-install): If `pkg' is a package name, pass it as
14120         a requirement, so it is subject to the usual (e.g. disabled) checks.
14121         (describe-package): Accept package-desc as well.
14122         (describe-package-1): Describe a specific package-desc.  Add links to
14123         other package-descs for the same package name.
14124         (package-menu-describe-package): Pass the actual package-desc.
14125         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
14126         works correctly.
14127         (package-desc-status): New function.
14128         (package-menu--refresh): New function, extracted
14129         from package-menu--generate.
14130         (package-menu--generate): Use it.
14131         (package-delete): Update package-alist.
14132         (package-menu-execute): Don't call package-initialize.
14134         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
14135         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
14136         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
14137         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
14138         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
14139         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
14141 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
14143         * window.el (window--state-get-1): Workaround for bug#14527.
14144         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
14146 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14148         * net/eww.el (eww-back-url): Implement the history by stashing all
14149         the data into a list.
14150         (eww-forward-url): Allow going forward in the history, too.
14152 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14154         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
14155         for values and use read--expression for expressions (bug#14710).
14156         (read-file-local-variable): Avoid setq.
14157         (read-file-local-variable-mode): Use minor-mode-list.
14159 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14161         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
14162         for DOI URLs.
14164 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14166         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
14167         Update imenu-support when dialect changes.
14169 2013-06-25  Leo Liu  <sdl.web@gmail.com>
14171         * ido.el (ido-read-internal): Allow forward slash on windows.
14173 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14175         * net/eww.el (eww): Start of strings is \\`, not ^.
14177 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
14179         * net/shr.el (shr-browse-url): Fix interactive spec.
14181         * net/eww.el (eww): Add a trailing slash to domain names.
14183 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
14185         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
14187 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14189         * net/shr.el (shr-browse-url): Use an external browser if given a
14190         prefix.
14192         * net/eww.el (eww-external-browser): Move to shr.
14194 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
14196         * net/eww.el (eww): Work more correctly for file: URLs.
14197         (eww-detect-charset): Allow quoted charsets.
14198         (eww-yank-page-url): New command and keystroke.
14200 2013-06-24  Daiki Ueno  <ueno@gnu.org>
14202         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
14203         file name of gpg executable.
14204         (epg-context-program): New function.
14205         (epg-context-home-directory): New function.
14206         (epg-context-set-program): New function.
14207         (epg-context-set-home-directory): New function.
14208         (epg--start): Use `epg-context-program' instead of
14209         'epg-gpg-program'.
14210         (epg--list-keys-1): Likewise.
14212 2013-06-24  Leo Liu  <sdl.web@gmail.com>
14214         * ido.el (ido-read-internal): Fix bug#14620.
14216 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
14218         * faces.el (face-documentation): Simplify.
14219         (read-face-attribute, tty-find-type, x-resolve-font-name):
14220         Use `string-match-p'.
14221         (list-faces-display): Use `string-match-p'.  Simplify.
14222         (face-spec-recalc): Check face to avoid face alias loops.
14223         (read-color): Use `string-match-p' and non-capturing parenthesis.
14225 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14227         * net/shr.el (shr-rescale-image): Use the new
14228         :max-width/:max-height functionality.
14230 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
14232         * net/eww.el (eww-search-prefix): New variable.
14233         (eww): Use it.
14234         (eww-external-browser): New variable.
14235         (eww-mode-map): New keystroke.
14236         (eww-browse-with-external-browser): New command.
14238         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
14240 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
14242         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14243         Don't skip aligning the next header field when padding is 0;
14244         otherwise, field width is not respected unless the title is as
14245         wide as the field.
14247 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14249         * emacs-lisp/package.el (package-el-version): Remove.
14250         (package-process-define-package): Fix inf-loop.
14251         (package-install): Allow symbols as arguments again.
14253 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
14255         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
14256         add some more keyword-like methods.
14257         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
14259 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
14261         * bs.el (bs-buffer-show-mark): Make defvar-local.
14262         (bs-mode): Use setq-local.
14264         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
14265         (emacs-lock--try-unlocking): Make defvar-local.
14267 2013-06-22  Glenn Morris  <rgm@gnu.org>
14269         * play/cookie1.el (cookie-apropos): Minor simplification.
14271         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
14273 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
14275         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
14276         `regexp-opt', it breaks the build during dumping.
14278 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
14280         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
14281         Highlight keyword-like methods on Kernel and Module with
14282         font-lock-builtin-face.
14283         (auto-mode-alist): Consolidate different entries into one regexp
14284         and add more *file-s.
14286 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
14288         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
14290         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
14291         (diary-entry): Use it in the action of this button type instead of
14292         diary-goto-entry.
14294         * calendar/todo-mode.el: New version.
14295         (todo-add-category): Append new category to end of file and give
14296         it the highest number, instead of putting it at the beginning and
14297         giving it 0.  Incorporate noninteractive functionality.
14298         (todo-forward-category): Adapt to 1-based category numbering.
14299         Allow skipping over archived categories.
14300         (todo-backward-category): Derive from todo-forward-category.
14301         (todo-backward-item, todo-forward-item): Make noninteractive and
14302         delegate interactive part to new commands.  Make sensitive to done items.
14303         (todo-categories): Make value an alist of category names and
14304         vectors of item counts.
14305         (todo-category-beg): Make a defconst.
14306         (todo-category-number): Use 1 instead of 0 as initial value.
14307         (todo-category-select): Make sensitive to overlays, optional item
14308         highlighting and done items.
14309         (todo-delete-item): Make sensitive to overlays and marked and done items.
14310         (todo-edit-item): Make sensitive to overlays and editing of
14311         date/time header optional.  Add format checks.
14312         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
14313         no-op if point is not on an item.  Advertise using todo-edit-quit.
14314         (todo-edit-mode): Make sensitive to new format, font-locking, and
14315         multiple todo files.
14316         (todo-insert-item, todo-insert-item-here): Derive from
14317         todo-basic-insert-item and extend functionality.
14318         (todo-item-end, todo-item-start): Make sensitive to done items.
14319         (todo-item-string): Don't return text properties.  Restore point.
14320         (todo-jump-to-category): Make sensitive to multiple todo files and
14321         todo archives.  Use extended category completion.
14322         (todo-lower-item, todo-raise-item): Rename to *-priority and
14323         derive from todo-set-item-priority.
14324         (todo-mode): Derive from special-mode.  Make sensitive to new
14325         format, font-locking and multiple todo files.  Make read-only.
14326         (todo-mode-map): Don't suppress digit keys, so they can supply
14327         prefix arguments.  Add many new key bindings.
14328         (todo-prefix): Insert as an overlay instead of file text.
14329         Change semantics from diary date expression to purely visual mark.
14330         (todo-print): Rename to todo-print-buffer.  Make buffer display
14331         features printable.  Remove option to restrict number of items
14332         printed.  Add option to print to file.
14333         (todo-print-function): Rename to todo-print-buffer-function.
14334         (todo-quit): Extend to handle exiting new todo modes.
14335         (todo-remove-item): Make sensitive to overlays.
14336         (todo-save): Extend to buffers of filtered items.
14337         (todo-show): Make sensitive to done items, multiple todo files and
14338         new todo modes.  Offer to convert legacy todo file before creating
14339         first new todo file.
14340         (todo-show-priorities): Rename to todo-top-priorities.
14341         Change semantics of value 0.
14342         (todo-top-priorities): Rename to todo-filter-top-priorities,
14343         derive from todo-filter-items and extend functionality.
14344         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
14345         and extend functionality to other types of filtered items.
14346         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
14347         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
14348         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
14349         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
14350         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
14351         (todo-edit-mode-hook, todo-entry-prefix-function)
14352         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
14353         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
14354         (todo-initials, todo-insert-threshold, todo-item-string-start)
14355         (todo-line-string, todo-menu, todo-mode-hook)
14356         (todo-more-important-p, todo-previous-answer, todo-previous-line)
14357         (todo-print-priorities, todo-remove-separator)
14358         (todo-save-top-priorities-too, todo-string-count-lines)
14359         (todo-string-multiline-p, todo-time-string-format)
14360         (todo-tmp-buffer-name): Remove.
14361         (todo-add-file, todo-archive-done-item, todo-choose-archive)
14362         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
14363         (todo-edit-category-diary-inclusion)
14364         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
14365         (todo-edit-file, todo-edit-item-date-day)
14366         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
14367         (todo-edit-item-date-month, todo-edit-item-date-to-today)
14368         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
14369         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
14370         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
14371         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
14372         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
14373         (todo-filter-top-priorities-multifile, todo-find-archive)
14374         (todo-find-filtered-items-file, todo-go-to-source-item)
14375         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
14376         (todo-jump-to-archive-category, todo-lower-category)
14377         (todo-mark-category, todo-marked-item-p, todo-merge-category)
14378         (todo-move-category, todo-move-item, todo-next-button)
14379         (todo-next-item, todo-padded-string, todo-powerset)
14380         (todo-previous-button, todo-previous-item)
14381         (todo-print-buffer-to-file, todo-raise-category)
14382         (todo-rename-category, todo-repair-categories-sexp, todo-search)
14383         (todo-set-category-number, todo-set-item-priority)
14384         (todo-set-top-priorities-in-category)
14385         (todo-set-top-priorities-in-file, todo-show-categories-table)
14386         (todo-sort-categories-alphabetically-or-numerically)
14387         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
14388         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
14389         (todo-toggle-item-header, todo-toggle-item-highlighting)
14390         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
14391         (todo-toggle-view-done-items, todo-toggle-view-done-only)
14392         (todo-unarchive-items, todo-unmark-category): New commands.
14393         (todo-absolute-file-name, todo-add-to-buffer-list)
14394         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
14395         (todo-basic-insert-item, todo-category-completions)
14396         (todo-category-number, todo-category-string-matcher-1)
14397         (todo-category-string-matcher-2, todo-check-filtered-items-file)
14398         (todo-check-format, todo-clear-matches)
14399         (todo-comment-string-matcher, todo-convert-legacy-date-time)
14400         (todo-current-category, todo-date-string-matcher)
14401         (todo-define-insertion-command, todo-diary-expired-matcher)
14402         (todo-diary-goto-entry, todo-diary-item-p)
14403         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
14404         (todo-display-categories, todo-display-sorted, todo-done-item-p)
14405         (todo-done-item-section-p, todo-done-separator)
14406         (todo-done-string-matcher, todo-files, todo-filter-items)
14407         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
14408         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
14409         (todo-insert-category-line, todo-insert-item-from-calendar)
14410         (todo-insert-sort-button, todo-insert-with-overlays)
14411         (todo-insertion-command-name, todo-insertion-key-bindings)
14412         (todo-label-to-key, todo-longest-category-name-length)
14413         (todo-make-categories-list, todo-mode-external-set)
14414         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
14415         (todo-modes-set-3, todo-multiple-filter-files)
14416         (todo-nondiary-marker-matcher, todo-prefix-overlays)
14417         (todo-read-category, todo-read-date, todo-read-dayname)
14418         (todo-read-file-name, todo-read-time)
14419         (todo-reevaluate-category-completions-files-defcustom)
14420         (todo-reevaluate-default-file-defcustom)
14421         (todo-reevaluate-filelist-defcustoms)
14422         (todo-reevaluate-filter-files-defcustom)
14423         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
14424         (todo-reset-done-separator, todo-reset-done-separator-string)
14425         (todo-reset-done-string, todo-reset-global-current-todo-file)
14426         (todo-reset-highlight-item, todo-reset-nondiary-marker)
14427         (todo-reset-prefix, todo-set-categories)
14428         (todo-set-date-from-calendar, todo-set-show-current-file)
14429         (todo-set-top-priorities, todo-short-file-name)
14430         (todo-show-current-file, todo-sort, todo-time-string-matcher)
14431         (todo-total-item-counts, todo-update-buffer-list)
14432         (todo-update-categories-display, todo-update-categories-sexp)
14433         (todo-update-count, todo-validate-name, todo-y-or-n-p):
14434         New functions.
14435         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
14436         New major modes.
14437         (todo-categories, todo-display, todo-edit, todo-faces)
14438         (todo-filtered): New defgroups.
14439         (todo-archived-only, todo-button, todo-category-string, todo-date)
14440         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
14441         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
14442         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
14443         (todo-add-item-if-new-category, todo-always-add-time-string)
14444         (todo-categories-align, todo-categories-archived-label)
14445         (todo-categories-category-label, todo-categories-diary-label)
14446         (todo-categories-done-label, todo-categories-number-separator)
14447         (todo-categories-todo-label, todo-categories-totals-label)
14448         (todo-category-completions-files, todo-completion-ignore-case)
14449         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
14450         (todo-done-separator-string, todo-done-string)
14451         (todo-files-function, todo-filter-done-items, todo-filter-files)
14452         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
14453         (todo-initial-category, todo-initial-file, todo-item-mark)
14454         (todo-legacy-date-time-regexp, todo-mode-line-function)
14455         (todo-nondiary-marker, todo-number-prefix)
14456         (todo-print-buffer-function, todo-show-current-file)
14457         (todo-show-done-only, todo-show-first, todo-show-with-done)
14458         (todo-skip-archived-categories, todo-top-priorities-overrides)
14459         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
14460         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
14461         New defcustoms.
14462         (todo-category-done, todo-date-pattern, todo-date-string-start)
14463         (todo-diary-items-buffer, todo-done-string-start)
14464         (todo-filtered-items-buffer, todo-item-start)
14465         (todo-month-abbrev-array, todo-month-name-array)
14466         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
14467         (todo-top-priorities-buffer): New defconsts.
14468         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
14469         (todo-categories-with-marks, todo-category-string-face)
14470         (todo-comment-face, todo-comment-string, todo-current-todo-file)
14471         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
14472         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
14473         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
14474         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
14475         (todo-font-lock-keywords, todo-global-current-todo-file)
14476         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
14477         (todo-insertion-commands-args)
14478         (todo-insertion-commands-args-genlist)
14479         (todo-insertion-commands-names, todo-insertion-map)
14480         (todo-key-bindings-t, todo-key-bindings-t+a)
14481         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
14482         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
14483         (todo-nondiary-face, todo-print-buffer, todo-time-face)
14484         (todo-visited): New variables.
14486 2013-06-21  Glenn Morris  <rgm@gnu.org>
14488         * play/cookie1.el (cookie-apropos): Add optional display argument.
14489         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
14490         (psychoanalyze-pinhead): Use cookie-doctor.
14492 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14494         * emacs-lisp/package.el (tar-get-file-descriptor)
14495         (tar--extract): Declare.
14497 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
14499         Extend flymake's warning predicate to be a function (bug#14217).
14500         * progmodes/flymake.el (flymake-warning-predicate): New.
14501         (flymake-parse-line): Use it.
14502         (flymake-warning-re): Make obsolete alias to
14503         `flymake-warning-predicate'.
14505 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14507         * emacs-lisp/package.el (package-alist): Include obsolete packages.
14508         (package-obsolete-list): Remove.
14509         (package-activate): Remove min-version argument.  Add `force' argument.
14510         Adjust to new package-alist format.
14511         (package-mark-obsolete): Remove.
14512         (package-unpack): Force reload of the package's autoloads.
14513         (package-installed-p): Check builtins if the installed package is not
14514         recent enough.
14515         (package-initialize): Don't reset package-obsolete-list.
14516         Don't specify which package version to activate.
14517         (package-process-define-package, describe-package-1)
14518         (package-menu--generate): Adjust to new package-alist format.
14520 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14522         * allout-widgets.el (allout-widgets-mode-off)
14523         (allout-widgets-mode-on, allout-widgets-pre-command-business)
14524         (allout-widgets-post-command-business)
14525         (allout-widgets-after-copy-or-kill-function)
14526         (allout-widgets-after-undo-function, allout-test-range-overlaps)
14527         (allout-decorate-item-and-context)
14528         (allout-graphics-modification-handler): Fix typos in docstrings.
14529         (allout-get-or-create-parent-widget): Use `looking-at-p'.
14531         * cmuscheme.el (scheme-start-file): Doc fix.
14532         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
14533         (scheme-input-filter): Use `string-match-p'.
14535         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
14537         * dired-x.el: Use Dired consistently in docstrings.
14539         * dired.el: Use Dired consistently in docstrings.
14540         (dired-readin, dired-mode): Use `setq-local'.
14541         (dired-switches-alist): Make defvar-local.
14542         (dired-buffers-for-dir): Use `zerop'.
14543         (dired-safe-switches-p, dired-switches-escape-p)
14544         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
14545         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
14546         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
14547         (dired-goto-next-nontrivial-file): Use `string-match-p'.
14548         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
14549         (dired-toggle-marks, dired-mark-files-containing-regexp)
14550         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
14551         (dired-flag-auto-save-files, dired-flag-backup-files):
14552         Use `looking-at-p'.
14553         (dired-mark-files-regexp, dired-build-subdir-alist):
14554         Use `string-match-p', `looking-at-p'.
14556         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
14557         (direct-print-region-helper): Use `string-match-p'.
14559 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14561         * comint.el (comint-redirect-results-list-from-process):
14562         Fix infinite loop.
14564 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14566         * net/eww.el (eww-update-header-line-format): Quote % characters.
14568 2013-06-21  Glenn Morris  <rgm@gnu.org>
14570         * play/cookie1.el (cookie): New custom group.
14571         (cookie-file): New option.
14572         (cookie-check-file): New function.
14573         (cookie): Make it interactive.  Make start and end messages optional.
14574         Interactively, display the result.  Default to cookie-file.
14575         (cookie-insert): Default to cookie-file.
14576         (cookie-snarf): Make start and end messages optional.
14577         Default to cookie-file.  Use with-temp-buffer.
14578         (cookie-read): Rename from read-cookie.
14579         Make start and end messages optional.  Default to cookie-file.
14580         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
14581         Do not autoload it.
14582         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
14583         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
14585 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14587         * progmodes/octave.el (octave-mode): Backward compatibility fix.
14589 2013-06-21  Glenn Morris  <rgm@gnu.org>
14591         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
14593 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14594             Daniel Hackney  <dan@haxney.org>
14596         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
14597         Consolidate the single-file vs tarball code.
14598         (package-desc-suffix): New function.
14599         (package-desc-full-name): Don't bother inlining it.
14600         (package-load-descriptor): Return the new package-desc.
14601         (package-mark-obsolete): Remove unused arg `package'.
14602         (package-unpack): Make it work for single files as well.
14603         Make it update package-alist.
14604         (package--make-autoloads-and-stuff): Rename from
14605         package--make-autoloads-and-compile.  Don't compile any more.
14606         (package--compile): New function.
14607         (package-generate-description-file): New function, extracted from
14608         package-unpack-single.
14609         (package-unpack-single): Remove.
14610         (package--with-work-buffer): Add indentation and debugging info.
14611         (package-download-single): Remove.
14612         (package-install-from-archive): Rename from package-download-tar, make
14613         it take a pkg-desc, and make it work for single files as well.
14614         (package-download-transaction): Simplify.
14615         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
14616         external tar program.
14617         (package-install-from-buffer): Remove `pkg-desc' argument.
14618         Use package-tar-file-info for tar-mode buffers.
14619         (package-install-file): Simplify accordingly.
14620         (package-archive-base): Change to take a pkg-desc.
14621         * tar-mode.el (tar--check-descriptor): New function, extracted from
14622         tar-get-descriptor.
14623         (tar-get-descriptor): Use it.
14624         (tar-get-file-descriptor): New function.
14625         (tar--extract): New function, extracted from tar-extract.
14626         (tar--extract): Use it.
14627         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
14628         case the summary uses non-ascii.  Adjust to new calling convention of
14629         package-tar-file-info.
14631 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14633         * comint.el (comint-redirect-results-list-from-process):
14634         Fix random delay.  (Bug#14681)
14636 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14638         * profiler.el (profiler-format-number): Use log, not log10.
14640 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14642         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
14644 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14646         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
14647         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
14648         yet available.
14649         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
14650         (AUTOGENEL): ... here.
14651         * emacs-lisp/cl-macs.el (cl--sublis): New function.
14652         (cl--defsubst-expand): Use it.
14654 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
14656         * subr.el (log10): Move here from C code, and declare as obsolete.
14657         All uses of (log10 X) replaced with (log X 10).
14659 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14661         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
14662         Declare with `defvar-local'.
14663         (tabulated-list-use-header-line, tabulated-list-entries)
14664         (tabulated-list-padding, tabulated-list-printer)
14665         (tabulated-list-sort-key): Declare with `defvar-local'.
14666         (tabulated-list-init-header, tabulated-list-print-fake-header):
14667         Use `setq-local'.
14669 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
14671         * arc-mode.el (archive-mode): Add `archive-write-file' to
14672         `write-contents-functions' also for remote files.  (Bug#14652)
14674 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14676         * cus-edit.el (custom-commands): Fix typos.
14677         (custom-display): Fix tooltip text.
14678         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
14679         Fix typos in docstrings.
14680         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
14681         (custom-unlispify-menu-entry, custom-magic-value-create)
14682         (custom-add-see-also, custom-group-value-create): Use ?\s.
14683         (custom-guess-type, customize-apropos, editable-field)
14684         (custom-face-value-create): Use `string-match-p'.
14685         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
14687         * custom.el (custom-load-symbol): Use `string-match-p'.
14689         * ansi-color.el: Convert to lexical binding.
14690         (ansi-colors): Fix URL.
14691         (ansi-color-context, ansi-color-context-region): Use defvar-local.
14692         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
14693         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
14695 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14697         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
14699         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
14701 2013-06-19  Tom Tromey  <tromey@redhat.com>
14703         * net/eww.el (eww-top-url): Remove.
14704         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
14705         (eww-render): Set new variables.  Don't set eww-top-url.
14706         (eww-handle-link): Handle "prev", "home", and "contents".
14707         Downcase the rel text.
14708         (eww-top-url): Choose best top URL.
14710 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14712         * net/eww.el: Rewrite to implement form elements "by hand" instead of
14713         relying in widget.el.  Using widget.el leads to too many
14714         user interface inconsistencies.
14715         (eww-self-insert): Implement entering commands in text fields.
14716         (eww-process-text-input): New function to make text input field editing
14717         work.
14718         (eww-submit): Rewrite to use the new-style form methods.
14719         (eww-select-display): Display the correct selected item.
14720         (eww-change-select): Implement changing the select value.
14721         (eww-toggle-checkbox): Implement radio/checkboxes.
14722         (eww-update-field): Fix compilation error.
14723         (eww-tag-textarea): Implement <textarea>.
14725         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
14726         we don't shadow mode-specific bindings.
14728         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
14729         nothing to push.
14731         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
14733 2013-06-19  Glenn Morris  <rgm@gnu.org>
14735         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
14737 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
14739         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
14740         not needed.
14742         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
14744 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14746         * net/browse-url.el (browse-url-browser-function):
14747         `eww-browse-url' has the right calling signature, `eww' does not.
14749 2013-06-19  Glenn Morris  <rgm@gnu.org>
14751         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14752         Only eval autoloaded macros.
14753         (byte-compile-autoload): Only give the macro warning for macros.
14755         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
14756         (ps-underlined-faces): Declare.
14758         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
14759         (speedbar-add-supported-extension): Declare.
14761         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
14762         Don't include a date stamp in the header of the generated file;
14763         it leads to needless differences between output files.
14765 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
14767         * net/secrets.el (secrets-struct-secret-content-type):
14768         Replace check of introspection data by a test call of "CreateItem".
14769         Some servers do not offer introspection.
14771 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14773         * electric.el (electric-pair-mode): Improve interaction with
14774         electric-layout-mode.
14775         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
14776         (electric-pair-syntax): Use text-mode-syntax-table in comments
14777         and strings.
14778         (electric-pair--insert): New function.
14779         (electric-pair-post-self-insert-function): Use it and
14780         electric--after-char-pos.
14782 2013-06-19  Leo Liu  <sdl.web@gmail.com>
14784         * progmodes/octave.el (octave-help): Fix regexp.
14786 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14788         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
14789         (shr-table-horizontal-line): Allow nil as a value, and change the
14790         default.
14791         (shr-insert-table-ruler): Respect the nil value.
14793 2013-06-18  Tom Tromey  <tromey@barimba>
14795         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14796         New defvars.
14797         (eww-open-file): New defun.
14798         (eww-render): Initialize new variables.
14799         (eww-display-html): Handle "link" and "a".
14800         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
14801         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
14802         (eww-back-url): Rename from eww-previous-url.
14803         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14804         New defuns.
14806 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
14808         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
14809         Distinguish ternary operator tokens from slash symbol and slash
14810         char literal.
14812 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
14814         Convert symbol prettification into minor mode and global minor mode.
14816         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
14817         `prog-prettify-symbols', and make a local defvar instead of defcustom.
14818         (prettify-symbols--keywords): Rename from
14819         `prog-prettify-symbols-alist' and make a local defvar.
14820         (prettify-symbols--compose-symbol): Rename from
14821         `prog--prettify-font-lock-compose-symbol'.
14822         (prettify-symbols--make-keywords): Rename from
14823         `prog-prettify-font-lock-symbols-keywords' and simplify.
14824         (prog-prettify-install): Remove.
14825         (prettify-symbols-mode): New minor mode, based on
14826         `prog-prettify-install'.
14827         (turn-on-prettify-symbols-mode): New function.
14828         (global-prettify-symbols-mode): New globalized minor mode.
14830         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14831         * progmodes/cfengine.el (cfengine3-mode):
14832         * progmodes/perl-mode.el (perl-mode): Don't call
14833         `prog-prettify-install'; set `prettify-symbols-alist' instead.
14835 2013-06-18  Juri Linkov  <juri@jurta.org>
14837         * files-x.el (modify-file-local-variable-message): New function.
14838         (modify-file-local-variable)
14839         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
14840         and call `modify-file-local-variable-message' when it's non-nil.
14841         (add-file-local-variable, delete-file-local-variable)
14842         (add-file-local-variable-prop-line)
14843         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
14844         and use it.  (Bug#9820)
14846 2013-06-18  Juri Linkov  <juri@jurta.org>
14848         * emulation/vi.el (vi-shell-op):
14849         * emulation/vip.el (vip-execute-com, ex-command):
14850         * emulation/viper-cmd.el (viper-exec-bang):
14851         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
14852         the call of `shell-command-on-region'.  (Bug#14637)
14854         * simple.el (shell-command-on-region): Doc fix.
14856 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14858         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
14859         (bug#14633).
14861 2013-06-18  Glenn Morris  <rgm@gnu.org>
14863         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
14865         * newcomment.el (comment-search-forward, comment-search-backward):
14866         Doc fix.  (Bug#14376)
14868 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
14870         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
14871         (buffer-face-mode-invoke): Doc fix.
14873 2013-06-18  Matthias Meulien  <orontee@gmail.com>
14875         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
14876         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
14878 2013-06-18  Glenn Morris  <rgm@gnu.org>
14880         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
14881         Replace obsolete function generic-make-keywords with its expansion.
14883         * progmodes/python.el (ffap-alist): Declare.
14885         * textmodes/reftex.el (bibtex-mode-map): Declare.
14887 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14889         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
14890         (package-unpack, package-unpack-single): Return the pkg-dir.
14891         (package-download-transaction): Use it to update package-alist.
14893 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14895         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
14896         possible choice.
14898 2013-06-17  Juri Linkov  <juri@jurta.org>
14900         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
14902 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
14904         * emacs-lisp/package.el (package-load-descriptor):
14905         Remove `with-syntax-table' call, `read' doesn't need it.
14906         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
14908 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
14910         * startup.el (command-line): Expand package name returned by
14911         `package--description-file' (bug#14639).
14913 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
14915         * emacs-lisp/package.el (package-load-descriptor): Do not call
14916         `emacs-lisp-mode', just use its syntax table.
14918 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
14920         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
14921         `font-lock-extra-managed-props' if any prettifying keyword is added.
14922         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
14923         (prog-mode): Use `setq-local'.
14925 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14927         * international/characters.el (standard-case-table): Set syntax of ?»
14928         and ?« to punctuation.
14930 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
14932         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
14933         Save relevant match data before calling `syntax-ppss' (bug#14595).
14935 2013-06-15  Juri Linkov  <juri@jurta.org>
14937         * files-x.el (modify-file-local-variable-prop-line): Add local
14938         variables to the end of the existing comment on the first line.
14939         Use `file-auto-mode-skip' to skip interpreter magic line,
14940         and also skip XML declaration.
14942 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14944         * startup.el (package--builtin-versions): New var.
14945         (package-subdirectory-regexp): Remove.
14946         (package--description-file): Hard code its value instead.
14948         * emacs-lisp/package.el: Don't activate packages older than builtin.
14949         (package-obsolete-list): Rename from package-obsolete-alist, and make
14950         it into a simple list of package-desc.
14951         (package-strip-version): Remove.
14952         (package-built-in-p): Use package--builtin-versions.
14953         (package-mark-obsolete): Simplify.
14954         (package-process-define-package): Mark it obsolete if older than the
14955         builtin version.
14956         (package-handle-response): Use line-end-position.
14957         (package-read-archive-contents, package--download-one-archive):
14958         Simplify.
14959         (package--add-to-archive-contents): Skip if older than the builtin or
14960         installed version.
14961         (package-menu-describe-package): Fix last change.
14962         (package-list-unversioned): New var.
14963         (package-menu--generate): Use it.
14965         * emacs-lisp/autoload.el: Manage package--builtin-versions.
14966         (autoload--insert-text, autoload--insert-cookie-text): New functions.
14967         (autoload-builtin-package-versions): New variable.
14968         (autoload-generate-file-autoloads): Use them.
14969         Remove the list of autoloaded functions/macros from the
14970         (autoload...) comments.
14972         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
14974 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
14976         * simple.el (line-move-partial): Don't jump to the next screen
14977         line as soon as it becomes visible.  Instead, continue enlarging
14978         the vscroll until the portion of a tall screen line that's left on
14979         display is about the height of the frame's default font.
14980         (Bug#14567)
14982 2013-06-15  Glenn Morris  <rgm@gnu.org>
14984         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
14985         compilation-error-regexp-alist void, or local while let-bound.
14987         * progmodes/make-mode.el (makefile-mode-syntax-table):
14988         Treat "=" as punctuation.  (Bug#14614)
14990 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
14992         * help-fns.el (describe-variable):
14993         Add extra line for permanent-local variables.
14995 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
14997         * progmodes/scheme.el (scheme-font-lock-keywords-2):
14998         Add export, import, library.  (Bug#9164)
14999         (library): Set indent function.
15001 2013-06-14  Glenn Morris  <rgm@gnu.org>
15003         * term/xterm.el (xterm--query):
15004         Stop after first matching handler.  (Bug#14615)
15006 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
15008         Add support for dired in saveplace.
15009         * dired.el (dired-initial-position-hook): New variable.
15010         (dired-initial-position): Call hook to place cursor position.
15011         * saveplace.el (save-place-to-alist): Add dired position.
15012         (save-place-dired-hook): New function.
15014 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15016         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
15017         through a symbol rather than letrec.
15019         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
15020         (package-desc): Add `dir' field.
15021         (package-desc-full-name): New function.
15022         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
15023         (package-maybe-load-descriptor): Remove.
15024         (package-load-all-descriptors): Just call package-load-descriptor.
15025         (package--disabled-p): New function.
15026         (package-desc-vers, package-desc-doc): Remove aliases.
15027         (package--dir): Remove function.
15028         (package-activate): Check if a package is disabled.
15029         (package-process-define-package): New function, extracted from
15030         define-package.
15031         (define-package): Turn into a place holder.
15032         (package-unpack-single, package-tar-file-info):
15033         Use package--description-file.
15034         (package-compute-transaction): Use package--disabled-p.
15035         (package-download-transaction): Don't call
15036         package-maybe-load-descriptor since they're all loaded anyway.
15037         (package-install): Change argument to be a pkg-desc.
15038         (package-delete): Use a single pkg-desc argument.
15039         (describe-package-1): Use package-desc-dir instead of package--dir.
15040         Use package-desc property instead of package-symbol.
15041         (package-install-button-action): Adjust accordingly.
15042         (package--push): Rewrite.
15043         (package-menu--print-info): Adjust accordingly.  Change the ID format
15044         to be a pkg-desc.
15045         (package-menu-describe-package, package-menu-get-status)
15046         (package-menu--find-upgrades, package-menu-mark-upgrades)
15047         (package-menu-execute, package-menu--name-predicate):
15048         Adjust accordingly.
15049         * startup.el (package--description-file): New function.
15050         (command-line): Use it.
15051         * emacs-lisp/package-x.el (package-upload-buffer-internal):
15052         Use package-desc-version.
15054         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
15055         (byte-compile-preprocess): Use it.
15056         (byte-compile-file-form-defalias): Try a bit harder to use macros we
15057         can't quite recognize.
15058         (byte-compile-add-to-list): Remove.
15059         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
15060         (cconv-closure-convert): Add assertion.
15062         * emacs-lisp/map-ynp.el: Use lexical-binding.
15063         (map-y-or-n-p): Remove unused vars `tail' and `object'.
15064         Factor out some repeated code.
15066 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15068         * subr.el (with-eval-after-load): New macro.
15069         (eval-after-load): Allow form to be a function.
15070         take advantage of lexical-binding.
15071         (do-after-load-evaluation): Use dolist and adjust to new format.
15072         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
15074 2013-06-13  Juri Linkov  <juri@jurta.org>
15076         * replace.el (perform-replace): Display "symbol " and other search
15077         modes from `isearch-message-prefix' in the *Help* buffer.
15079         * isearch.el (isearch-query-replace): Add " symbol" and other
15080         possible search modes from `isearch-message-prefix' to the prompt.
15081         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
15082         when reading a regexp to collect.
15084 2013-06-13  Juri Linkov  <juri@jurta.org>
15086         * isearch.el (word-search-regexp): Match whitespace if the search
15087         string begins or ends in whitespace.  The LAX arg is applied to
15088         both ends of the search string.  Use `regexp-quote' and explicit
15089         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
15090         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
15091         boundaries are replaced with symbol boundaries, and characters
15092         between symbols match non-word non-symbol syntax.  (Bug#14602)
15094 2013-06-13  Juri Linkov  <juri@jurta.org>
15096         * isearch.el (isearch-del-char): Don't exceed the length of
15097         `isearch-string' by the prefix arg.  (Bug#14563)
15099 2013-06-13  Juri Linkov  <juri@jurta.org>
15101         * isearch.el (isearch-yank-word, isearch-yank-line)
15102         (isearch-char-by-name, isearch-quote-char)
15103         (isearch-printing-char, isearch-process-search-char):
15104         Add optional count prefix arg.  (Bug#14563)
15106         * international/isearch-x.el
15107         (isearch-process-search-multibyte-characters):
15108         Add optional count prefix arg.
15110 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15112         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
15113         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
15114         lexical-binding.
15116 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
15118         * subr.el (set-temporary-overlay-map): Add on-exit argument.
15120 2013-06-13  Glenn Morris  <rgm@gnu.org>
15122         * startup.el (tty-handle-args):
15123         Don't just discard "--" and anything after.  (Bug#14608)
15125         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
15127 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
15129         Implement changes in Secret Service API.  Make it backward compatible.
15130         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
15131         (secrets-create-item): Use it.  Prefix properties with interface.
15133 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
15135         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
15136         (term-emulate-terminal): Respect term-suppress-hard-newline.
15138 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
15140         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
15141         Only remove a `thumb-file' overlay.  (Bug#14548)
15143 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
15145         * mail/reporter.el (reporter-submit-bug-report):
15146         Handle missing package-name.  (Bug#14600)
15148 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
15150         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
15151         (reftex-citation-prompt, reftex-default-bibliography)
15152         (reftex-bib-or-thebib, reftex-get-bibfile-list)
15153         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
15154         (reftex-bib-sort-author, reftex-bib-sort-year)
15155         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
15156         (reftex-extract-bib-entries-from-thebibliography)
15157         (reftex-get-bibkey-default, reftex-get-bib-names)
15158         (reftex-parse-bibtex-entry, reftex-get-bib-field)
15159         (reftex-format-bib-entry, reftex-parse-bibitem)
15160         (reftex-format-bibitem, reftex-do-citation)
15161         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
15162         (reftex-restrict-bib-matches, reftex-extract-bib-file)
15163         (reftex-insert-bib-matches, reftex-format-citation)
15164         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
15165         (reftex-create-bibtex-file): Add docstrings, mostly by converting
15166         existing comments into docstrings.
15168 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
15170         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
15172 2013-06-12  Andreas Schwab  <schwab@suse.de>
15174         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
15175         for auto-save files.
15177 2013-06-12  Glenn Morris  <rgm@gnu.org>
15179         * ido.el (ido-delete-ignored-files): Remove.
15180         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
15181         Go back to calling ido-ignore-item-p directly.
15183 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
15185         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
15187         * ido.el (ido-delete-ignored-files): New function,
15188         split from ido-make-file-list-1.
15189         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
15190         (ido-make-file-list-1): Use ido-delete-ignored-files.
15192 2013-06-12  Leo Liu  <sdl.web@gmail.com>
15194         * progmodes/octave.el (inferior-octave-startup)
15195         (inferior-octave-completion-table)
15196         (inferior-octave-track-window-width-change)
15197         (octave-eldoc-function-signatures, octave-help)
15198         (octave-find-definition): Use single quoted strings.
15199         (inferior-octave-startup-args): Change default value.
15200         (inferior-octave-startup): Do not hard code "-i" and
15201         "--no-line-editing".
15202         (inferior-octave-resync-dirs): Add optional arg NOERROR.
15203         (inferior-octave-directory-tracker): Use it.
15204         (octave-goto-function-definition): Robustify.
15205         (octave-help): Support highlighting operators in 'See also'.
15206         (octave-find-definition): Find subfunctions only in Octave mode.
15208 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15210         * help-fns.el (help-fns--compiler-macro): If the handler function is
15211         named, then put a link to it.
15212         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
15213         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
15214         (cl-typep): Use it.
15215         (cl-eval-when): Simplify debug spec.
15216         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
15217         compiler-macro function instead of setting `compiler-macro-file'.
15219 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
15221         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
15222         * vc/vc-hooks.el (vc-stay-local): Doc fix.
15224 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15225             Daniel Hackney  <dan@haxney.org>
15227         First part of Daniel Hackney's patch to package.el.
15228         * emacs-lisp/package.el: Use defstruct.
15229         (package-desc): New, main struct.
15230         (package--bi-desc, package--ac-desc): New structs, used to describe the
15231         format in external files.
15232         (package-desc-vers): Replace with package-desc-version accessor.
15233         (package-desc-doc): Replace with package-desc-summary accessor.
15234         (package-activate-1): Remove `package' arg since the pkg-vec now
15235         includes the name.
15236         (define-package): Use package-desc-from-define.
15237         (package-unpack-single): Change file-name arg to be a symbol.
15238         (package--add-to-archive-contents): Use package-desc-create and new
15239         accessor functions to package--ac-desc.
15240         (package-buffer-info, package-tar-file-info): Return a package-desc.
15241         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
15242         arg to be a package-desc.
15243         (package-install-file): Adjust accordingly.  Use \' to match EOS.
15244         (package--from-builtin): New function.
15245         (describe-package-1, package-menu--generate): Use it.
15246         (package--make-autoloads-and-compile): Change name arg to be a symbol.
15247         (package-generate-autoloads): Idem and return the name of the file.
15248         * emacs-lisp/package-x.el (package-upload-buffer-internal):
15249         Change pkg-info arg to be a package-desc.
15250         Use package-make-ac-desc.
15251         (package-upload-file): Use \' to match EOS.
15252         * finder.el (finder-compile-keywords): Use package-make-builtin.
15254 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15256         * vc/vc.el (vc-deduce-fileset): Change error message.
15257         (vc-read-backend): New function.
15258         (vc-next-action): Use it.
15260         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
15262         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
15263         (prolog-font-lock-keywords): Use regexp-opt instead.
15264         Don't manually highlight strings.
15265         (prolog-mode-variables): Simplify comment-start-skip.
15266         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
15268         * emacs-lisp/generic.el (generic--normalise-comments)
15269         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
15270         (generic-mode-set-comments): Use them.
15271         (generic-bracket-support): Use setq-local.
15272         (generic-make-keywords-list): Declare obsolete.
15274 2013-06-11  Glenn Morris  <rgm@gnu.org>
15276         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15277         Prettify after setting font-lock-defaults.  (Bug#14574)
15279 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
15281         * replace.el (query-replace, occur-read-regexp-defaults-function)
15282         (replace-search):
15283         * subr.el (declare-function, number-sequence, local-set-key)
15284         (substitute-key-definition, locate-user-emacs-file)
15285         (with-silent-modifications, split-string, eval-after-load):
15286         Fix typos, remove unneeded backslashes and reflow some docstrings.
15288 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15290         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
15291         default for Elisp files.
15293 2013-06-11  Glenn Morris  <rgm@gnu.org>
15295         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
15296         although define-derived-mode was doing this anyway.  (Bug#14583)
15298 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
15300         * allout.el (allout-encryption-plaintext-sanitization-regexps):
15301         Fix make-variable-buffer-local call to refer to the correct variable.
15303 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
15305         * eshell/em-term.el (eshell-visual-commands)
15306         (eshell-visual-subcommands, eshell-visual-options):
15307         Add summary line to docstrings.  Add cross-references.
15309 2013-06-10  Glenn Morris  <rgm@gnu.org>
15311         * epa.el (epa-read-file-name): New function.  (Bug#14510)
15312         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
15314 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
15316         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
15317         output redirection to be ignored with visual commands.
15319 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
15321         * eshell/em-term.el (eshell-visual-command-p): New function.
15322         (eshell-term-initialize): Move long lambda to separate function
15323         eshell-visual-command-p.
15324         * eshell/em-dirs.el (eshell-dirs-initialize):
15325         * eshell/em-script.el (eshell-script-initialize):
15326         Add missing #' to lambda.
15328 2013-06-08  Leo Liu  <sdl.web@gmail.com>
15330         * progmodes/octave.el (octave-add-log-current-defun): New function.
15331         (octave-mode): Set add-log-current-defun-function.
15332         (octave-goto-function-definition): Do not move point if not found.
15333         (octave-find-definition): Enhance to try subfunctions first.
15335 2013-06-08  Glenn Morris  <rgm@gnu.org>
15337         * emacs-lisp/bytecomp.el (byte-compile-char-before)
15338         (byte-compile-backward-char, byte-compile-backward-word):
15339         Improve previous change, to handle non-explicit nil.
15341 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15343         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
15344         (smie--opener/closer-at-point): New function.
15345         (smie--matching-block-data): Use it.  Don't match from right after an
15346         opener or right before a closer.  Obey smie-blink-matching-inners.
15347         Don't signal a mismatch for repeated inners like "switch..case..case".
15349 2013-06-07  Leo Liu  <sdl.web@gmail.com>
15351         * progmodes/octave.el (octave-mode): Set comment-use-global-state
15352         to t.  (Bug#14303)
15353         (octave-function-header-regexp): Fix.  (Bug#14570)
15354         (octave-help-mode-finish-hook, octave-help-mode-finish):
15355         Remove.  Just use temp-buffer-show-hook.
15357         * newcomment.el (comment-search-backward): Revert last change.
15358         (Bug#14434)
15360         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
15362 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
15364         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
15365         through xargs, to avoid failure due to MS-Windows limitations on
15366         command-line length.
15368 2013-06-06  Glenn Morris  <rgm@gnu.org>
15370         * font-lock.el (lisp-font-lock-keywords-2):
15371         Treat user-error like error.
15373         * emacs-lisp/bytecomp.el (byte-compile-char-before)
15374         (byte-compile-backward-char, byte-compile-backward-word):
15375         Handle explicit nil arguments.  (Bug#14565)
15377 2013-06-05  Alan Mackenzie  <acm@muc.de>
15379         * isearch.el (isearch-allow-prefix): New user option.
15380         (isearch-other-meta-char): Don't exit isearch when a prefix
15381         argument is typed whilst `isearch-allow-prefix' is non-nil.
15382         (Bug#9706)
15384 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15386         * autorevert.el (auto-revert-notify-handler): Use memq.
15387         Hide assertion failure.
15389         * skeleton.el: Use cl-lib.
15390         (skeleton-further-elements): Use defvar-local.
15391         (skeleton-insert): Use cl-progv.
15393 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
15395         * progmodes/prog-mode.el (prog-prettify-symbols)
15396         (prog-prettify-install): Update docstrings.
15398 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15400         * simple.el: Move all the prog-mode code to prog-mode.el.
15401         * progmodes/prog-mode.el: New file.
15402         * loadup.el: Add prog-mode.el.
15404 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
15406         * simple.el (prog-prettify-symbols): Add version.
15407         (prog-prettify-install): Add convenience function to prettify symbols.
15409         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
15410         (perl--augmented-font-lock-keywords-1)
15411         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
15412         variables and use it.
15414         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15415         (cfengine3-mode): Remove unneeded variable and use it.
15417         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15418         (lisp--augmented-font-lock-keywords-1)
15419         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
15420         Remove unneeded variables and use it.
15422 2013-06-05  João Távora  <joaotavora@gmail.com>
15424         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
15425         to point when opening the connection.  (Bug#14380)
15427 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15429         * subr.el (load-history-regexp, load-history-filename-element)
15430         (eval-after-load, after-load-functions, do-after-load-evaluation)
15431         (eval-next-after-load, display-delayed-warnings)
15432         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
15433         definition of save-match-data.
15434         (overriding-local-map): Remove accidental obsolescence declaration.
15436         * emacs-lisp/edebug.el (edebug-result): Move before first use.
15438 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
15440         Generalize symbol prettify support to prog-mode and implement it
15441         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
15442         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
15443         (prog--prettify-font-lock-compose-symbol)
15444         (prog-prettify-font-lock-symbols-keywords): New variables and
15445         functions to support symbol prettification.
15446         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15447         (lisp--augmented-font-lock-keywords-1)
15448         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
15449         (lisp--prettify-symbols-alist): Implement prettify of lambda.
15450         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15451         (cfengine3--prettify-symbols-alist, cfengine3-mode):
15452         Implement prettify of -> => :: strings.
15453         * progmodes/perl-mode.el (perl-prettify-symbols)
15454         (perl--font-lock-compose-symbol)
15455         (perl--font-lock-symbols-keywords): Move to prog-mode.
15456         (perl--prettify-symbols-alist): Prettify -> => :: strings.
15457         (perl-font-lock-keywords-1)
15458         (perl-font-lock-keywords-2): Remove explicit prettify support.
15459         (perl--augmented-font-lock-keywords)
15460         (perl--augmented-font-lock-keywords-1)
15461         (perl--augmented-font-lock-keywords-2, perl-mode):
15462         Implement prettify support.
15464 2013-06-05  Leo Liu  <sdl.web@gmail.com>
15466         Re-implement SMIE matching block highlight using
15467         show-paren-data-function.  (Bug#14395)
15468         * emacs-lisp/smie.el (smie-matching-block-highlight)
15469         (smie--highlight-matching-block-overlay)
15470         (smie--highlight-matching-block-lastpos)
15471         (smie-highlight-matching-block)
15472         (smie-highlight-matching-block-mode): Remove.
15473         (smie--matching-block-data-cache): New variable.
15474         (smie--matching-block-data): New function.
15475         (smie-setup): Use smie--matching-block-data for
15476         show-paren-data-function.
15478         * progmodes/octave.el (octave-mode-menu): Fix.
15479         (octave-find-definition): Skip garbage lines.
15481 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15483         Fix compilation error with simultaneous dynamic+lexical scoping.
15484         Add warning when a defvar appears after the first let-binding.
15485         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
15486         (byte-compile-close-variables): Initialize it.
15487         (byte-compile--declare-var): New function.
15488         (byte-compile-file-form-defvar)
15489         (byte-compile-file-form-define-abbrev-table)
15490         (byte-compile-file-form-custom-declare-variable): Use it.
15491         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
15492         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
15493         (byte-compile-bind): Handle dynamic bindings that shadow
15494         lexical bindings.
15495         (byte-compile-unbind): Make arg non-optional.
15496         (byte-compile-let): Simplify.
15497         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
15498         (cconv--analyse-function, cconv-analyse-form): Populate it.
15499         Protect byte-compile-bound-variables to limit the scope of defvars.
15500         (cconv-analyse-form): Add missing rule for (defvar <foo>).
15501         Remove unneeded rule for `declare'.
15503         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
15504         so as to avoid depending on cl-adjoin at run-time.
15505         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
15507         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
15508         (macroexp--warn-and-return): Use it.
15510 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15512         * subr.el: Convert to lexical binding.
15513         (overriding-local-map): Make obsolete.
15514         (add-to-list): Doc fix.  Add compiler macro.
15515         (read-key): Swap values of local maps.
15517 2013-06-05  Leo Liu  <sdl.web@gmail.com>
15519         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
15521 2013-06-04  Leo Liu  <sdl.web@gmail.com>
15523         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
15524         (compilation-auto-jump): Suppress the "Mark set" message to give
15525         way to exit message.
15527 2013-06-04  Alan Mackenzie  <acm@muc.de>
15529         Remove faulty optimisation from indentation calculation.
15530         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
15531         search limit based on 2000 characters back from indent-point.
15533 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
15535         * eshell/em-term.el (cl-lib): Require `cl-lib'.
15537 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15539         * emacs-lisp/lisp.el: Use lexical-binding.
15540         (lisp--local-variables-1, lisp--local-variables): New functions.
15541         (lisp--local-variables-completion-table): New var.
15542         (lisp-completion-at-point): Use it complete let-bound vars.
15544         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
15545         eagerly (bug#14422).
15547 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
15549         * autorevert.el (auto-revert-notify-enabled)
15550         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
15551         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
15552         (auto-revert-notify-handler): Handle also gfilenotify.
15554         * subr.el (file-notify-handle-event): New defun.  Replacing ...
15555         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
15556         Remove.
15558 2013-06-03  Juri Linkov  <juri@jurta.org>
15560         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
15561         `M-s h .'.  (Bug#14427)
15563         * hi-lock.el (highlight-symbol-at-point): New alias for the new
15564         command `hi-lock-face-symbol-at-point'.
15565         (hi-lock-face-symbol-at-point): New command.
15566         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
15567         (hi-lock-menu): Add `highlight-symbol-at-point'.
15568         (hi-lock-mode): Doc fix.
15570         * isearch.el (isearch-forward-symbol-at-point): New command.
15571         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
15572         (isearch-highlight-regexp): Add a regexp which matches
15573         words/symbols for word/symbol mode.
15575         * subr.el (find-tag-default-bounds): New function with the body
15576         mostly moved from `find-tag-default'.
15577         (find-tag-default): Move most code to `find-tag-default-bounds',
15578         call it and apply `buffer-substring-no-properties' afterwards.
15580 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
15582         * eshell/em-term.el (eshell-term-initialize):
15583         Use `cl-intersection' rather than `intersection'.
15585 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
15587         * vc/log-view.el: Doc fix.
15588         (log-view-mode-map): Copy keymap from `special-mode-map'.
15590 2013-06-02  Eric Ludlam  <zappo@gnu.org>
15592         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
15593         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
15594         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
15595         (eieio-unbound, eieio-default-superclass)
15596         (eieio--define-field-accessors, method-static, method-before)
15597         (method-primary, method-after, method-num-lists)
15598         (method-generic-before, method-generic-primary)
15599         (method-generic-after, method-num-slots)
15600         (eieio-specialized-key-to-generic-key)
15601         (eieio--check-type, class-v, class-p)
15602         (eieio-class-name, define-obsolete-function-alias)
15603         (eieio-class-parents-fast, eieio-class-children-fast)
15604         (same-class-fast-p, class-constructor, generic-p)
15605         (generic-primary-only-p, generic-primary-only-one-p)
15606         (class-option-assoc, class-option, eieio-object-p)
15607         (class-abstract-p, class-method-invocation-order)
15608         (eieio-defclass-autoload-map, eieio-defclass-autoload)
15609         (eieio-class-un-autoload, eieio-defclass)
15610         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
15611         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
15612         (eieio--defgeneric-init-form, eieio-defgeneric-form)
15613         (eieio-defgeneric-reset-generic-form)
15614         (eieio-defgeneric-form-primary-only)
15615         (eieio-defgeneric-reset-generic-form-primary-only)
15616         (eieio-defgeneric-form-primary-only-one)
15617         (eieio-defgeneric-reset-generic-form-primary-only-one)
15618         (eieio-unbind-method-implementations)
15619         (eieio--defmethod, eieio--typep)
15620         (eieio-perform-slot-validation, eieio-validate-slot-value)
15621         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
15622         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
15623         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
15624         (eieio-slot-name-index, eieio-class-slot-name-index)
15625         (eieio-set-defaults, eieio-initarg-to-attribute)
15626         (eieio-attribute-to-initarg, eieio-c3-candidate)
15627         (eieio-c3-merge-lists, eieio-class-precedence-c3)
15628         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
15629         (eieio-class-precedence-list, eieio-generic-call-methodname)
15630         (eieio-generic-call-arglst, eieio-generic-call-key)
15631         (eieio-generic-call-next-method-list)
15632         (eieio-pre-method-execution-functions, eieio-generic-call)
15633         (eieio-generic-call-primary-only, eieiomt-method-list)
15634         (eieiomt-optimizing-obarray, eieiomt-install)
15635         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
15636         (eieio-generic-form, eieio-defmethod, make-obsolete)
15637         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
15638         (defclass): Remove `eval-and-compile' from macro.
15639         (call-next-method, shared-initialize): Instead of using
15640         `scoped-class' variable, use new eieio--scoped-class, and
15641         eieio--with-scoped-class.
15642         (initialize-instance): Rename local variable 'scoped-class' to
15643         'this-class' to remove ambiguitity from old global.
15645         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
15646         eieio.el.
15647         (eieio--scoped-class-stack): New variable.
15648         (eieio--scoped-class): New fcn.
15649         (eieio--with-scoped-class): New scoping macro.
15650         (eieio-defclass): Use pushnew instead of add-to-list.
15651         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
15652         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
15653         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
15654         `scoped-class' variable, use new eieio--scoped-class, and
15655         eieio--with-scoped-class.
15657         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
15659 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
15661         * eshell/esh-ext.el (eshell-external-command): Pass args to
15662         `eshell-find-interpreter'.
15663         (eshell-find-interpreter): Add new second parameter ARGS.
15665         * eshell/em-script.el (eshell-script-initialize): Add second arg
15666         to the function added as MATCH to `eshell-interpreter-alist'.
15668         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
15669         the function added as MATCH to `eshell-interpreter-alist'.
15671         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
15672         (eshell-visual-options): New defcustom.
15673         (eshell-escape-control-x): Adapt docstring.
15674         (eshell-term-initialize): Test `eshell-visual-subcommands' and
15675         `eshell-visual-options' in addition to `eshell-visual-commands'.
15676         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
15678 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15680         * progmodes/python.el (python-indent-block-enders): Add break,
15681         continue and raise keywords.
15683 2013-06-01  Glenn Morris  <rgm@gnu.org>
15685         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
15687         Plain (f)boundp silences compilation warnings since Emacs 22.1.
15688         * progmodes/cc-cmds.el (delete-forward-p):
15689         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
15690         * progmodes/cc-engine.el (buffer-syntactic-context):
15691         * progmodes/cc-fonts.el (face-property-instance):
15692         * progmodes/cc-mode.el (set-keymap-parents):
15693         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
15694         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
15695         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
15696         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
15697         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
15699         * progmodes/cc-vars.el (other): Emacs has this widget since
15700         at least 21.1, so don't (re)define it.
15702         * eshell/em-cmpl.el (eshell-cmpl-initialize):
15703         Replace the obsolete alias pcomplete-arg-quote-list.
15705 2013-06-01  Leo Liu  <sdl.web@gmail.com>
15707         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
15708         punctuation syntax.
15709         (inferior-octave-minimal-columns)
15710         (inferior-octave-last-column-width): New variables.
15711         (inferior-octave-track-window-width-change): New function.
15712         (inferior-octave-mode): Adjust column width so that Octave output,
15713         for example from 'ls', can fit into the window nicely.
15715 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
15717         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15718         Highlight expansions inside regexp literals.
15720 2013-05-31  Glenn Morris  <rgm@gnu.org>
15722         * obsolete/sym-comp.el (symbol-complete):
15723         Replace obsolete completion-annotate-function.
15725         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
15727 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
15729         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15730         New function, checks if point is inside a literal that allows
15731         expression expansion.
15732         (ruby-syntax-propertize-expansion): Use it.
15733         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
15734         around the body.
15736 2013-05-30  Juri Linkov  <juri@jurta.org>
15738         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
15739         to "\M-si".
15740         (isearch-invisible): New variable.
15741         (isearch-forward): Doc fix.
15742         (isearch-mode): Set `isearch-invisible'
15743         to the value of `search-invisible'.
15744         (isearch-toggle-case-fold): Doc fix.
15745         (isearch-toggle-invisible): New command.
15746         (isearch-query-replace): Let-bind `search-invisible'
15747         to the value of `isearch-invisible'.
15748         (isearch-search): Use `isearch-invisible' instead of
15749         `search-invisible'.  Let-bind `search-invisible'
15750         to the value of `isearch-invisible'.  (Bug#11378)
15752 2013-05-30  Juri Linkov  <juri@jurta.org>
15754         * replace.el (perform-replace): Avoid `isearch-range-invisible'
15755         call when `query-flag' is nil and `search-invisible' is non-nil.
15756         (Bug#11746)
15758 2013-05-30  Glenn Morris  <rgm@gnu.org>
15760         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
15762         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
15763         (cc-require): Suppress spurious "noruntime" warnings.
15764         (cc-require-when-compile): Use fboundp, for sake of compiler.
15766         * progmodes/cc-mode.el: Move load of cc-vars before that of
15767         cc-langs (which in turn loads cc-vars), to quieten compiler.
15769 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15771         * paren.el: Simplify the code.
15772         (show-paren-mode): Always start the timer.
15773         (show-paren--idle-timer): Rename from show-paren-idle-timer.
15774         (show-paren--overlay, show-paren--overlay-1): Rename from
15775         show-paren-overlay and show-paren-overlay-1, and initialize to an
15776         overlay rather than to nil.
15777         (show-paren-function): Misc cleanup and simplifications.
15779 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15781         * paren.el (show-paren-data-function): New hook.
15782         (show-paren--default): New function, extracted from show-paren-function.
15783         (show-paren-function): Use show-paren-data-function.
15785 2013-05-30  Glenn Morris  <rgm@gnu.org>
15787         * ielm.el (ielm-map, ielm-complete-symbol):
15788         Use completion-at-point rather than obsolete functions.
15789         (inferior-emacs-lisp-mode): Doc fix.
15790         Set completion-at-point-functions, rather than
15791         comint-dynamic-complete-functions.
15793         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
15794         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
15795         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
15797         * image.el (image-animated-p): Tweak definition.
15799         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
15800         (rlogin-process-connection-type): Tweak default.  Add set-after.
15801         (rlogin-host): Doc fix.
15802         (rlogin): Tweak prompt.
15803         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
15805         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
15806         * progmodes/tcl.el (inferior-tcl-mode-map):
15807         Use completion-at-point rather than obsolete alias.
15809         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
15811         * minibuffer.el (read-file-name-completion-ignore-case):
15812         Move before completion--in-region, for eager macro expansion.
15814 2013-05-29  Juri Linkov  <juri@jurta.org>
15816         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
15817         for total count of matching lines.  Add `global-matches' for total
15818         count of matches.  Rename `matches' to `lines' for count of
15819         matching lines.  Add `matches' for count of matches.
15820         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
15821         to `prev-line' for line number of prev match endpt.
15822         Increment `matches' for every match.  Print the number of
15823         matching lines in the header.
15824         (occur-context-lines): Rename `lines' to `curr-line'.
15825         Rename `prev-lines' to `prev-line'.  (Bug#14017)
15827 2013-05-29  Juri Linkov  <juri@jurta.org>
15829         * replace.el (perform-replace): Add `skip-read-only-count',
15830         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
15831         Increment them for corresponding conditions and report the number
15832         of skipped occurrences in the final message.  (Bug#11746)
15833         (query-replace, query-replace-regexp, query-replace-regexp-eval)
15834         (replace-string, replace-regexp): Doc fix.
15836 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15838         * emacs-lisp/trace.el (trace--read-args): Provide a default.
15840         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
15841         prog-mode-map (bug#14504).
15843 2013-05-29  Leo Liu  <sdl.web@gmail.com>
15845         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
15846         (octave-help): Small simplification.
15848         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
15849         off the highlight first.
15851 2013-05-29  Glenn Morris  <rgm@gnu.org>
15853         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
15854         Handle idlwave-last-system-routine-info-cons-cell being nil.
15856         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15857         (idlwave-write-paths): Simplify via with-temp-buffer.
15859         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
15860         * emulation/cua-rect.el: Also load cua-base at run time.
15862         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
15863         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
15864         (cperl-imenu-on-info): Require imenu.
15866 2013-05-28  Alan Mackenzie  <acm@muc.de>
15868         Handle "capitalised keywords" correctly.
15869         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
15871 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
15873         * eshell/em-unix.el: Add -r option to cp.
15875 2013-05-28  Glenn Morris  <rgm@gnu.org>
15877         * vc/vc-arch.el (vc-exec-after): Declare.
15878         (vc-switches): Autoload.
15879         * vc/vc-bzr.el: No need to require vc when compiling.
15880         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
15881         (vc-resynch-buffer, vc-dir-refresh): Declare.
15882         (vc-setup-buffer, vc-switches): Autoload.
15883         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
15884         (vc-resynch-buffer): Declare.
15885         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
15886         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
15887         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
15888         (grep-read-regexp, grep-read-files, grep-expand-template)
15889         (vc-dir-refresh): Declare.
15890         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
15891         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
15892         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
15893         * vc/vc-mtn.el (vc-exec-after): Declare.
15894         (vc-switches): Autoload.
15895         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
15896         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
15897         (vc-file-tree-walk): Declare.
15898         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
15899         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
15900         (vc-tag-precondition, vc-rename-master): Autoload.
15901         * vc/vc-svn.el (vc-exec-after): Declare.
15902         (vc-switches, vc-setup-buffer): Autoload.
15903         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
15904         Autoload.
15905         (vc-resynch-buffer): Declare.
15907         * obsolete/fast-lock.el (byte-compile-warnings):
15908         Don't warn about obsolete features in this obsolete file.
15910         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
15911         Move definition before use.
15913         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
15914         (dun-unix-verbs): Remove dun-zippy.
15915         (dun-zippy): Remove function.
15917         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
15919 2013-05-27  Juri Linkov  <juri@jurta.org>
15921         * replace.el (replace-search): New function with code moved out
15922         from `perform-replace'.
15923         (replace-highlight, replace-dehighlight): Move function definitions
15924         up closer to `replace-search'.  (Bug#11746)
15926 2013-05-27  Juri Linkov  <juri@jurta.org>
15928         * replace.el (perform-replace): Ignore invisible matches.
15929         In addition to checking `query-replace-skip-read-only', also
15930         filter out matches by calling `run-hook-with-args-until-failure'
15931         on `isearch-filter-predicates', and also check `search-invisible'
15932         for t or call `isearch-range-invisible'.
15933         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
15935 2013-05-27  Juri Linkov  <juri@jurta.org>
15937         * isearch.el (isearch-filter-predicates): Rename from
15938         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
15939         (isearch-message-prefix): Display text from the property
15940         `isearch-message-prefix' of the currently active filters.
15941         (isearch-search): Don't compare `isearch-filter-predicate' with
15942         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
15943         on `isearch-filter-predicates'.  Also check `search-invisible' for t
15944         or call `isearch-range-invisible'.
15945         (isearch-filter-visible): Make obsolete.
15946         (isearch-lazy-highlight-search):
15947         Call `run-hook-with-args-until-failure' on
15948         `isearch-filter-predicates' and use `isearch-range-invisible'.
15950         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
15951         `isearch-filter-predicates' instead of `funcall'ing
15952         `isearch-filter-predicate'.
15953         (Info-mode): Set `Info-isearch-filter' to
15954         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
15956         * dired-aux.el (dired-isearch-filter-predicate-orig):
15957         Remove variable.
15958         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
15959         (dired-isearch-filenames-end): Add and remove
15960         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
15961         instead of changing the value of `isearch-filter-predicate'.
15962         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
15963         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
15964         Put property `isearch-message-prefix' to "filename " on
15965         `dired-isearch-filter-filenames'.
15967         * wdired.el (wdired-change-to-wdired-mode):
15968         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
15969         locally instead of changing `isearch-filter-predicate'.
15970         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
15972 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
15974         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
15975         return the commit hash (Bug#14459).  Also set the
15976         `vc-git-detached' property.
15977         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
15978         (vc-git-mode-line-string): Use the same help-echo format whether
15979         in detached mode or not, because we know the actual revision now.
15980         When in detached mode, shorten the revision to 7 chars.
15982 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15984         * emacs-lisp/easy-mmode.el (define-minor-mode):
15985         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
15986         mode hook and provide a docstring.
15988 2013-05-27  Alan Mackenzie  <acm@muc.de>
15990         Remove spurious syntax-table text properties inserted by C-y.
15991         * progmodes/cc-mode.el (c-after-change): Also clear hard
15992         syntax-table property with value nil.
15994 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
15996         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
15997         when reading the events; the buffer layout shall not be changed.
15999 2013-05-27  Leo Liu  <sdl.web@gmail.com>
16001         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
16002         New variable.
16003         (inferior-octave-directory-tracker): Automatically re-sync
16004         default-directory.
16005         (octave-help): Improve handling of 'See also'.
16007 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16009         * doc-view.el: Minor naming convention tweaks.
16010         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
16012         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
16013         even if there's no `display' property yet (bug#14435).
16015 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
16017         * subr.el (unmsys--file-name): Rename from reveal-filename.
16019         * Makefile.in (custom-deps, finder-data, autoloads)
16020         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16021         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16022         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
16024 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16026         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
16027         error-completion on the first 2 args of condition-case (bug#14446).
16028         Don't burp at EOB.
16030 2013-05-25  Leo Liu  <sdl.web@gmail.com>
16032         * comint.el (comint-previous-matching-input): Do not flood the
16033         *Messages* buffer with trivial messages.
16035 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16037         * progmodes/flymake.el (flymake-nop): Don't return a string.
16038         (flymake-set-at): Fix typo.
16040         * simple.el (read--expression): New function, extracted from
16041         eval-expression.  Set completion-at-point-functions (bug#14465).
16042         (eval-expression, eval-minibuffer): Use it.
16044 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
16046         * progmodes/flymake.el (flymake-save-buffer-in-file)
16047         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
16048         (flymake-selected-frame, flymake-log, flymake-ins-after)
16049         (flymake-set-at, flymake-get-buildfile-from-cache)
16050         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
16051         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
16052         Refine the doc string.
16053         (flymake-get-file-name-mode-and-masks): Reformat.
16054         (flymake-get-real-file-name-function): Fix a minor bug.
16056 2013-05-24  Juri Linkov  <juri@jurta.org>
16058         * progmodes/grep.el (grep-mode-font-lock-keywords):
16059         Support =linenumber= format used by git-grep for lines with
16060         function names.  (Bug#13549)
16062 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16064         * progmodes/octave.el (octave-smie-rules): Return nil rather than
16065         0 after a semi-colon; it works better for smie-auto-fill.
16066         (octave--indent-new-comment-line): New function.
16067         (octave-indent-new-comment-line): Use it (indirectly).
16068         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
16069         modify comment-line-break-function.
16071         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
16072         (smie-setup): Use add-function to set it.
16074 2013-05-24  Sam Steingold  <sds@gnu.org>
16076         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
16077         argument (before the `interactive' argument).
16079 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16081         * image-mode.el (image-mode-winprops): Add winprops to
16082         image-mode-winprops-alist before running
16083         image-mode-new-window-functions.
16084         * doc-view.el (doc-view-new-window-function): Don't delay
16085         doc-view-goto-page via timers (bug#14435).
16087 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
16089         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
16090         (doc-view-desktop-save-buffer): New function.
16091         (doc-view-restore-desktop-buffer): New function.
16092         (desktop-buffer-mode-handlers):
16093         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
16094         handler.
16095         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
16096         `desktop-save-buffer' function.
16098 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
16100         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
16101         (tramp-gvfs-file-name-handler): Raise a user error when
16102         `tramp-gvfs-enabled' is nil.
16103         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
16104         Do not raise a user error when loading package.  (Bug#14447)
16106         * net/xesam.el: Move to obsolete/.
16108 2013-05-24  Glenn Morris  <rgm@gnu.org>
16110         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
16112         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
16114         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
16115         (Info-find-node, Man-getpage-in-background): Declare.
16117         * mail/unrmail.el (unrmail):
16118         Replace obsolete detect-coding-with-priority.
16120         * net/socks.el (socks-split-string): Use this rather than split-string.
16121         (socks-nslookup-host): Update for above change.
16122         (dynamic-choice, s5-dynamic-choice-match)
16123         (s5-dynamic-choice-match-inline, s5-widget-value-create):
16124         Comment out unused code.
16126         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
16127         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
16128         (gud-tooltip-echo-area): Make obsolete.
16129         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
16131         * progmodes/js.el (js--optimize-arglist): Declare.
16133         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
16135         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
16136         (ediff-window-C): Declare.
16138         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
16139         Tweak requires to silence compiler.
16141         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
16142         (he-search-string, he-tried-table, he-expand-list)
16143         (he-init-string, he-string-member, he-substitute-string)
16144         (he-reset-string): Declare.
16146         * obsolete/options.el (list-options): Use custom-variable-p,
16147         rather than obsolete alias.
16149 2013-05-23  Sam Steingold  <sds@gnu.org>
16151         * simple.el (shell-command-on-region): Pass the `replace' argument
16152         down to `call-process-region' to comply with the doc as reported on
16153         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
16155 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16157         * emacs-lisp/smie.el (smie-indent-forward-token)
16158         (smie-indent-backward-token): Handle string tokens (bug#14381).
16160 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16162         * ielm.el (ielm-menu): New menu.
16163         (inferior-emacs-lisp-mode): Set comment-start.
16165 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16167         * textmodes/reftex.el (reftex-ref-style-toggle):
16168         Fix deactivate action.
16170         * textmodes/reftex-vars.el (reftex-ref-style-alist):
16171         Add cleveref macros.
16173         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
16174         Accept options for bibliography commands.
16175         * textmodes/reftex-vars.el (reftex-bibliography-commands):
16176         Add addbibresource.  Basic Biblatex support.
16178 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
16180         * net/tramp-gvfs.el (top):
16181         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
16182         when loading package.  (Bug#14447)
16184 2013-05-23  Glenn Morris  <rgm@gnu.org>
16186         * progmodes/js.el: No need to load comint when compiling.
16187         (ring-insert, comint-send-string, comint-send-input)
16188         (comint-last-input-end, ido-chop): Declare.
16190         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
16191         * vc/ediff-mult.el: Adjust requires.
16192         (ediff-directories-internal, ediff-directory-revisions-internal)
16193         (ediff-patch-file-internal): Declare.
16194         * vc/ediff-ptch.el: Adjust requires.
16195         (ediff-use-last-dir, ediff-buffers-internal): Declare.
16196         (ediff-find-file): Autoload.
16197         * vc/ediff-util.el: No need to load ediff when compiling.
16198         (ediff-regions-internal): Declare.
16199         * vc/ediff-wind.el: Adjust requires.
16200         (ediff-compute-toolbar-width): Define when compiling.
16201         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
16202         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
16203         (dired-get-filename, dired-get-marked-files)
16204         (ediff-last-dir-patch, ediff-patch-default-directory)
16205         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
16206         (ediff-patch-buffer-internal): Declare.
16208         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
16209         (ispell-process, ispell-buffer-local-words, lm-summary)
16210         (lm-section-start, lm-section-end): Declare.
16211         (checkdoc-ispell-init): Simplify.
16213         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
16214         (he-string-member, he-reset-string, he-substitute-string): Declare.
16216         * eshell/em-ls.el: Adjust requires.
16217         (eshell-glob-regexp): Declare.
16218         * eshell/em-tramp.el: Adjust requires.
16219         (eshell-parse-command): Autoload.
16220         * eshell/em-xtra.el: Adjust requires.
16221         (eshell-parse-command): Autoload.
16222         * eshell/esh-ext.el: Adjust requires.
16223         (eshell-parse-command, eshell-close-handles): Autoload.
16224         * eshell/esh-io.el: Adjust requires.
16225         (eshell-output-filter): Autoload.
16226         * eshell/esh-util.el: No need to load tramp when compiling.
16227         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
16228         Declare.
16229         (eshell-parse-ange-ls): Require ange-ftp and tramp.
16230         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
16231         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
16232         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
16233         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
16234         * eshell/esh-opt.el, eshell/esh-proc.el:
16235         * eshell/esh-var.el: Adjust requires.
16236         * eshell/eshell.el: Do not require esh-util twice.
16237         (eshell-add-input-to-history): Declare.
16238         (eshell-command): Check history module is active before using it.
16240         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
16242 2013-05-22  Leo Liu  <sdl.web@gmail.com>
16244         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
16246 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
16248         * autorevert.el (auto-revert-notify-add-watch)
16249         (auto-revert-notify-handler): Add `attrib' for the inotify case,
16250         it indicates changes in file modification time.
16252 2013-05-22  Glenn Morris  <rgm@gnu.org>
16254         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
16255         Always delete the autoloaded function from the noruntime and
16256         unresolved functions lists.
16258         * allout.el: No need to load epa, epg, overlay when compiling.
16259         (epg-context-set-passphrase-callback, epg-list-keys)
16260         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
16261         (epg-key-user-id-list): Declare.
16263         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16264         (viper-set-parsing-style-toggling-macro)
16265         (viper-set-emacs-state-searchstyle-macros):
16266         Use called-interactively-p on Emacs.
16267         (viper-looking-back): Make it an obsolete alias.  Update callers.
16268         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
16269         Use looking-back rather than viper-looking-back.
16270         (viper-tmp-insert-at-eob, viper-enlarge-region)
16271         (viper-read-string-with-history, viper-register-to-point)
16272         (viper-append-to-register, viper-change-state-to-vi)
16273         (viper-backward-char-carefully, viper-forward-char-carefully)
16274         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
16275         (viper-change-state-to-emacs): Declare.
16276         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
16277         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
16278         * emulation/viper-mous.el: Do not load viper-cmd.
16279         (viper-backward-char-carefully, viper-forward-char-carefully)
16280         (viper-forward-word, viper-adjust-window): Declare.
16282         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
16284         * progmodes/idlw-help.el (idlwave-help-fontify):
16285         Use called-interactively-p.
16287         * term/w32console.el (w32-get-console-codepage)
16288         (w32-get-console-output-codepage): Declare.
16290         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
16291         Remove unnecessary declarations.
16292         (dframe-message): Doc fix.
16294         * info.el (dframe-select-attached-frame, dframe-current-frame):
16295         Declare.
16297         * speedbar.el (speedbar-message): Make it an obsolete alias.
16298         Update all callers.
16299         (speedbar-with-attached-buffer)
16300         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
16301         (speedbar-with-writable): Use backquote.
16302         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
16303         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
16304         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
16305         rather than speedbar- aliases.
16306         * mail/rmail.el: Load dframe rather than speedbar when compiling.
16307         (speedbar-make-specialized-keymap, speedbar-insert-button)
16308         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
16309         (speedbar-do-function-pointer): Declare.
16310         (rmail-speedbar-button, rmail-speedbar-find-file)
16311         (rmail-speedbar-move-message):
16312         Use dframe-with-attached-buffer rather than speedbar- alias.
16313         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
16314         (dframe-message, speedbar-make-specialized-keymap)
16315         (speedbar-add-expansion-list, speedbar-mode-functions-list)
16316         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
16317         (speedbar-insert-button, dframe-select-attached-frame)
16318         (dframe-maybee-jump-to-attached-frame)
16319         (speedbar-change-initial-expansion-list)
16320         (speedbar-previously-used-expansion-list-name): Declare.
16321         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
16322         Use dframe-message, dframe-with-attached-buffer rather than
16323         speedbar- aliases.
16324         (gud-sentinel): Silence compiler.
16325         * progmodes/vhdl-mode.el (speedbar-refresh)
16326         (speedbar-do-function-pointer, speedbar-add-supported-extension)
16327         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
16328         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
16329         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
16330         (speedbar-file-lists, speedbar-make-tag-line)
16331         (speedbar-line-directory, speedbar-goto-this-file)
16332         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
16333         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
16334         (speedbar-make-button, speedbar-reset-scanners)
16335         (speedbar-files-item-info, speedbar-line-text)
16336         (speedbar-find-file-in-frame, speedbar-set-timer)
16337         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
16338         (speedbar-with-writable): Do not (re)define it.
16339         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
16340         rather than speedbar- alias.
16342 2013-05-21  Leo Liu  <sdl.web@gmail.com>
16344         * progmodes/octave.el (octave-mode-menu): Update and re-organize
16345         menu items.
16346         (octave-mode): Tweak fill-nobreak-predicate.
16347         (inferior-octave-startup): Check process to avoid infinite loop.
16348         (inferior-octave): Pop to buffer first to show abornmal process
16349         exit information.
16351 2013-05-21  Glenn Morris  <rgm@gnu.org>
16353         * printing.el (pr-menu-bar): Define when compiling.
16355 2013-05-21  Leo Liu  <sdl.web@gmail.com>
16357         * progmodes/octave.el (octave-auto-fill): Remove.
16358         (octave-indent-new-comment-line): Improve.
16359         (octave-mode): Use auto fill mode through
16360         comment-line-break-function and fill-nobreak-predicate.
16361         (octave-goto-function-definition): Support DEFUN_DLD.
16362         (octave-beginning-of-defun): Small tweak.
16363         (octave-help): Show parent directory.
16365 2013-05-21  Glenn Morris  <rgm@gnu.org>
16367         * files.el (dired-unmark):
16368         * progmodes/gud.el (gdb-input): Update declarations.
16370         * calculator.el (electric, ehelp): No need to load when compiling.
16371         (Electric-command-loop, electric-describe-mode): Declare.
16373         * doc-view.el (doc-view-current-converter-processes): Move before use.
16375         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16376         Move MODE-set-explicitly definition before use.
16378         * international/mule-diag.el (mule-diag):
16379         Don't use obsolete window-system-version.
16381         * mail/feedmail.el (smtpmail): No need to load when compiling.
16382         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
16384         * mail/mail-utils.el (rfc822): No need to load when compiling.
16385         (rfc822-addresses): Autoload it.
16386         (mail-strip-quoted-names): Trivial simplification.
16388         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
16389         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
16391         * net/snmp-mode.el (tempo): Don't duplicate requires.
16393         * progmodes/prolog.el (info): No need to load when compiling.
16394         (comint): Require before shell requires it.
16395         (Info-goto-node): Autoload it.
16396         (Info-follow-nearest-node): Declare.
16397         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
16399         * textmodes/artist.el (picture-mode-exit): Declare.
16401         * textmodes/reftex-parse.el (reftex-parse-from-file):
16402         Trivial rewrite so the compiler can parse it better.
16404 2013-05-20  Leo Liu  <sdl.web@gmail.com>
16406         * progmodes/octave.el (octave-help-mode-map)
16407         (octave-help-mode-finish-hook): New variables.
16408         (octave-help-mode, octave-help-mode-finish): New functions.
16409         (octave-help): Use octave-help-mode.
16411 2013-05-20  Glenn Morris  <rgm@gnu.org>
16413         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
16415 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
16417         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
16418         start at point, so that expansion starting right after opening
16419         slash in a regexp is recognized.
16420         (ruby-syntax-before-regexp-re): New defvar, extracted from
16421         ruby-syntax-propertize-function.  Since the value of this regexp
16422         is looked up at runtime now, we should be able to turn
16423         `ruby-syntax-methods-before-regexp' into a defcustom later.
16424         (ruby-syntax-propertize-function): Split regexp matching into two
16425         parts, for opening and closing slashes.  That allows us to skip
16426         over string interpolations and support multiline regexps.
16427         Don't call `ruby-syntax-propertize-expansions', instead use another rule
16428         for them, which calls `ruby-syntax-propertize-expansion'.
16429         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
16430         call to `ruby-syntax-propertize-function'.
16431         (ruby-syntax-propertize-expansion): Extracted from
16432         `ruby-syntax-propertize-expansions'.  Handles one expansion.
16433         (ruby-syntax-propertize-percent-literal): Leave point right after
16434         the percent symbol, so that the expression expansion rule can
16435         propertize the contents.
16436         (ruby-syntax-propertize-heredoc): Leave point at bol following the
16437         heredoc openers.
16438         (ruby-syntax-propertize-expansions): Remove.
16440 2013-05-18  Juri Linkov  <juri@jurta.org>
16442         * man.el (Man-default-man-entry): Remove `-' from the end
16443         of the default value.  (Bug#14400)
16445 2013-05-18  Glenn Morris  <rgm@gnu.org>
16447         * comint.el (comint-password-prompt-regexp):
16448         Allow "password for XXX" where XXX contains colons (eg https://...).
16450 2013-05-18  Leo Liu  <sdl.web@gmail.com>
16452         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
16453         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
16454         (octave-source-directories): Don't check process.
16455         (octave-source-directories, octave-find-definition): Doc fix.
16457 2013-05-18  Glenn Morris  <rgm@gnu.org>
16459         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
16460         Remove backspace/delete bindings.  (Bug#14392)
16462         * cus-dep.el (custom-make-dependencies): Sort the output.
16463         (custom-versions-load-alist): Convert comment to doc.
16465 2013-05-17  Leo Liu  <sdl.web@gmail.com>
16467         * newcomment.el (comment-search-backward): Stricter in finding
16468         comment start.  (Bug#14303)
16470         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
16471         (octave-comment-start-skip): Properly anchored.
16473 2013-05-17  Leo Liu  <sdl.web@gmail.com>
16475         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
16476         Clean up when turned off.  (Bug#14395)
16477         (smie--highlight-matching-block-overlay): No longer buffer-local.
16478         (smie-highlight-matching-block): Adjust.
16480 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
16482         Doc string fix for "nanoseconds" (Bug#14406).
16483         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
16484         Fix doc string typo that had "nanoseconds" instead of "microseconds".
16486 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
16488         * calc/calc-units.el (math-extract-units): Preserve powers
16489         of units.
16491 2013-05-17  Leo Liu  <sdl.web@gmail.com>
16493         * subr.el (delete-consecutive-dups): New function.
16494         * ido.el (ido-set-matches-1): Use it.
16495         * progmodes/octave.el (inferior-octave-completion-table): Use it.
16496         * ido.el (ido-remove-consecutive-dups): Remove.
16498 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16500         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16501         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
16502         regexp-opt's `words'.
16504 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16506         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
16507         (smie--highlight-matching-block-overlay)
16508         (smie--highlight-matching-block-lastpos)
16509         (smie--highlight-matching-block-timer): New variables.
16510         (smie-highlight-matching-block): New function.
16511         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
16512         (smie-setup): Conditionally enable smie-blink-matching-open.
16514 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
16516         Sync with upstream verilog-mode r840.
16517         * progmodes/verilog-mode.el (verilog-mode-version)
16518         (verilog-mode-release-date): Update.
16519         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
16520         (verilog-sig-tieoff): Fix string error on
16521         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
16522         (verilog-read-decls): Fix parameters confusing
16523         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
16525 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
16527         * subr.el (reveal-filename): New function.
16529         * loadup.el: Compute Emacs executable versions on MS-Windows,
16530         where executables have the .exe extension.  Add a hard link
16531         emacs-XX.YY.ZZ.exe on MS-Windows.
16533         * Makefile.in (XARGS_LIMIT): New variable.
16534         (custom-deps, finder-data, autoloads)
16535         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16536         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16537         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
16538         (compile-main): Limit xargs according to $(XARGS_LIMIT).
16540 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16542         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
16543         (octave-mode-menu, octave-mode-map): Remove its uses.
16545 2013-05-16  Reto Zimmermann  <reto@gnu.org>
16547         Sync with upstream vhdl mode v3.34.2.
16548         * progmodes/vhdl-mode.el: Use `push' throughout.
16549         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
16550         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
16551         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
16552         (vhdl-actual-generic-name): New option to derive actual generic name.
16553         (vhdl-port-paste-signals): Replace formal by actual generics.
16554         (vhdl-beautify): New name for old group vhdl-align.  Update users.
16555         (vhdl-beautify-options): New option.
16556         (vhdl-last-input-event): New compat alias.  Use throughout.
16557         (vhdl-goto-line): Replace user level function `goto-line'.
16558         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
16559         vhdl-fix-statement-buffer.
16560         (vhdl-create-mode-menu): Add some entries.
16561         (vhdl-align-region-groups): Respect vhdl-beautify-options.
16562         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
16563         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
16564         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
16565         to force statements on one line.
16566         (vhdl-remove-trailing-spaces-region):
16567         New, split from vhdl-remove-trailing-spaces.
16568         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
16569         Respect vhdl-beautify-options.
16570         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
16571         (vhdl-update-sensitivity-list): Not add with index if exists without.
16572         Not include array index with signal.  Ignore keywords in comments.
16573         (vhdl-get-visible-signals): Regexp tweaks.
16574         (vhdl-template-component-inst): Handle empty library.
16575         (vhdl-template-type): Add template for 'enum' type.
16576         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
16577         Use vhdl-replace-string.
16578         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
16579         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
16580         (vhdl-speedbar-initialize): Update for above name change.
16581         (vhdl-compose-wire-components): Fix in handling of constants.
16582         (vhdl-error-regexp-emacs-alist): New variable.
16583         (vhdl-error-regexp-add-emacs): New function;
16584         adds support for new compile.el (Emacs 22+)
16585         (vhdl-generate-makefile-1): Change target order for single lib. units.
16586         Allow use of absolute file names.
16588 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16590         * simple.el (prog-indent-sexp): Indent enclosing defun.
16592 2013-05-15  Glenn Morris  <rgm@gnu.org>
16594         * cus-start.el (show-trailing-whitespace): Move to editing basics.
16595         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
16596         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
16597         (whitespace-highlight): Move to whitespace group.
16599         * comint.el (comint-source):
16600         * pcmpl-linux.el (pcmpl-linux):
16601         * shell.el (shell-faces):
16602         * eshell/esh-opt.el (eshell-opt):
16603         * international/ccl.el (ccl): Remove empty custom groups.
16605         * completion.el (dynamic-completion-mode):
16606         * jit-lock.el (jit-lock-debug-mode):
16607         * minibuffer.el (completion-in-region-mode):
16608         * type-break.el (type-break-mode-line-message-mode)
16609         (type-break-query-mode):
16610         * emulation/tpu-edt.el (tpu-edt-mode):
16611         * progmodes/subword.el (global-subword-mode, global-superword-mode):
16612         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16613         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
16615         * term/xterm.el (xterm): Change parent group to terminals.
16617         * master.el (master): Remove empty custom group.
16618         (master-mode): Remove unused :group argument.
16619         * textmodes/refill.el (refill): Remove empty custom group.
16620         (refill-mode): Remove unused :group argument.
16622         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
16624         * cus-dep.el: Provide a feature.
16625         (custom-make-dependencies): Ignore dotfiles (dir-locals).
16626         Don't mistakenly ignore files whose basenames match a basename
16627         from preloaded-file-list (eg cedet/ede/simple.el).
16628         Add a fallback method for getting :group.
16630 2013-05-15  Juri Linkov  <juri@jurta.org>
16632         * isearch.el (isearch-char-by-name): Rename from
16633         `isearch-insert-char-by-name'.  Doc fix.
16634         (isearch-forward): Mention `isearch-char-by-name' in
16635         the docstring.  (Bug#13348)
16637         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
16638         `exit-minibuffer' instead of
16639         `isearch-nonincremental-exit-minibuffer'.
16640         (isearch-edit-string): Remove mention of
16641         `isearch-nonincremental-exit-minibuffer' from docstring.
16642         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
16643         (isearch-forward-exit-minibuffer)
16644         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
16646 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16648         * loadup.el: Just use unversioned DOC.
16650         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
16651         literals as extending to EOB.
16652         (nxml-last-fontify-end): Remove unused variable.
16653         (nxml-after-change1): Use with-silent-modifications.
16654         (nxml-extend-after-change-region): Simplify.
16655         (nxml-extend-after-change-region1): Remove function.
16656         (nxml-after-change1): Don't adjust for dependent regions.
16657         (nxml-fontify-matcher): Simplify.
16658         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
16659         (xmltok-add-dependent): Remove function.
16660         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
16661         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
16662         (xmltok-scan-prolog-after-processing-instruction-open): Treat
16663         unclosed <[[, <?, comment, and other literals as extending to EOB.
16664         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
16665         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
16666         Remove functions.
16667         (rng-do-some-validation-1): Don't mark dependent regions.
16668         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
16669         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
16670         (nxml-clear-dependent-regions): Remove functions.
16671         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
16672         (nxml-ensure-scan-up-to-date):
16673         Don't clear&mark dependent regions.
16675 2013-05-15  Leo Liu  <sdl.web@gmail.com>
16677         * progmodes/octave.el (octave-goto-function-definition):
16678         Improve and fix callers.
16680 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16682         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
16683         the setter (bug#14387).
16685         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
16686         surrounding group (bug#14402).
16688 2013-05-14  Juri Linkov  <juri@jurta.org>
16690         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
16691         (Bug#14390)
16693 2013-05-14  Glenn Morris  <rgm@gnu.org>
16695         * progmodes/f90.el (f90-imenu-generic-expression):
16696         Fix typo in 2013-05-08 change.  (Bug#14402)
16698 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16700         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
16701         Remove signals for which replies are never received.
16703 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16705         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
16706         (gdb-handler-alist, gdb-handler-number): Remove variables.
16707         (gdb-handler-list): New variable.
16708         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
16709         (gdb-pending-handler-p, gdb-handle-reply)
16710         (gdb-remove-all-pending-triggers): New functions.
16711         (gdb-discard-unordered-replies): New defcustom.
16712         (gdb-handler): New defstruct.
16713         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
16714         instead of gdb-pending-triggers.  Update docstring.
16715         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
16716         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
16717         (gdb-var-update-handler, def-gdb-auto-update-trigger)
16718         (def-gdb-auto-update-handler, gdb-get-changed-registers)
16719         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
16720         (gdb-frame-handler): Pending triggers are now automatically managed.
16721         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
16722         Remove argument.
16723         (gdb-input): Automatically handles pending triggers.  Update docstring.
16724         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
16725         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
16726         Update comments.
16727         (gdb-done-or-error): Now use gdb-handle-reply.
16729 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16731         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
16732         gdb-debug-log.
16734 2013-05-14  Glenn Morris  <rgm@gnu.org>
16736         * subr.el (user-emacs-directory-warning): New option.
16737         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
16739 2013-05-14  Leo Liu  <sdl.web@gmail.com>
16741         * progmodes/octave.el (octave-font-lock-keywords): Fix error
16742         during redisplay.
16743         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
16744         (octave-font-lock-texinfo-comment): Fix invalid search bound
16745         error: wrong side of point.
16747 2013-05-14  Glenn Morris  <rgm@gnu.org>
16749         * progmodes/flymake.el (flymake-xml-program): New option.
16750         (flymake-xml-init): Use it.
16752         * term/xterm.el: Provide a feature.
16754         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
16756 2013-05-13  Glenn Morris  <rgm@gnu.org>
16758         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
16759         Add compat aliases as a hack workaround.  (Bug#14384)
16761 2013-05-13  Leo Liu  <sdl.web@gmail.com>
16763         * progmodes/octave.el (octave-indent-comment): Fix indentation for
16764         ###, and %!.
16765         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
16766         C-M-q.
16767         (octave-comment-start-skip): Include %!.
16768         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
16770 2013-05-12  Leo Liu  <sdl.web@gmail.com>
16772         * progmodes/octave.el (inferior-octave-startup): Store the value
16773         of __octave_srcdir__ for octave-source-directories.
16774         (inferior-octave-check-process): New function refactored out of
16775         inferior-octave-send-list-and-digest.
16776         (octave-source-directories)
16777         (octave-find-definition-filename-function): New variables.
16778         (octave-source-directories)
16779         (octave-find-definition-default-filename): New functions.
16780         (octave-find-definition): Improve to find functions implemented in C++.
16782 2013-05-12  Glenn Morris  <rgm@gnu.org>
16784         * calendar/diary-lib.el (diary-outlook-format-1):
16785         Don't include dayname in the output.  (Bug#14349)
16787 2013-05-11  Glenn Morris  <rgm@gnu.org>
16789         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
16791         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
16792         Treat cc-provide like provide.
16794 2013-05-11  Kevin Ryde  <user42@zip.com.au>
16796         * cus-dep.el (custom-make-dependencies):
16797         Use generated-autoload-load-name for the sake of files such
16798         such cedet/semantic/bovine/c.el, where the base file name
16799         is not in load-path.  (Bug#5277)
16801 2013-05-11  Glenn Morris  <rgm@gnu.org>
16803         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
16804         Provide features.
16806 2013-05-11  Leo Liu  <sdl.web@gmail.com>
16808         * progmodes/octave.el (octave-indent-comment): Improve.
16809         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
16810         (octave-eldoc-function-signatures, octave-eldoc-function):
16811         New functions.
16812         (octave-mode, inferior-octave-mode): Add eldoc support.
16814 2013-05-11  Richard Stallman  <rms@gnu.org>
16816         * epa.el (epa-decrypt-file): Take output file name as argument
16817         and read it using `interactive'.
16819 2013-05-11  Leo Liu  <sdl.web@gmail.com>
16821         * progmodes/octave.el (octave-beginning-of-line)
16822         (octave-end-of-line): Check before using up-list because it jumps
16823         out of more syntactic contructs since moving to smie.
16824         (octave-indent-comment): New function.
16825         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
16826         (octave-begin-keywords, octave-end-keywords)
16827         (octave-reserved-words, octave-smie-bnf-table)
16828         (octave-smie-rules): Add new keywords from Octave 3.6.4.
16830 2013-05-11  Glenn Morris  <rgm@gnu.org>
16832         * faces.el (internal-face-x-get-resource):
16833         * frame.el (ns-display-monitor-attributes-list):
16834         * calc/calc-aent.el (math-to-radians-2):
16835         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
16836         Fix declarations.
16838         * calc/calc-menu.el: Make it loadable in isolation.
16840         * net/eudcb-bbdb.el: Make it loadable without bbdb.
16841         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
16842         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
16843         (eudc-bbdb-query-internal): Require 'bbdb.
16845         * lpr.el (lpr-headers-switches):
16846         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
16848         * progmodes/sql.el (sql-login-params): Fix and improve :type.
16850         * emulation/edt-mapper.el: In batch mode, error rather than hang.
16852         * term.el (term-set-escape-char): Make it idempotent.
16854 2013-05-10  Leo Liu  <sdl.web@gmail.com>
16856         * progmodes/octave.el (inferior-octave-completion-table):
16857         No longer a function and all uses changed.  Use cache to speed up
16858         completion due to bug#11906.
16859         (octave-beginning-of-defun): Re-write to be more general.
16861 2013-05-10  Glenn Morris  <rgm@gnu.org>
16863         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
16865 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16867         * comint.el (comint-redirect-send-command-to-process): Use :around
16868         rather than :override for comint-redirect-filter.
16869         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
16870         Call it instead of comint-redirect-original-filter-function (which
16871         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
16873 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
16875         * frame.el (display-monitor-attributes-list): Add NS case.
16876         (ns-display-monitor-attributes-list): Declare.
16878 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
16880         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
16882 2013-05-09  Glenn Morris  <rgm@gnu.org>
16884         * international/fontset.el (vertical-centering-font-regexp):
16885         Set standard-value.
16887         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
16889         * bookmark.el (bookmark-search-delay):
16890         * cus-start.el (vertical-centering-font-regexp):
16891         * ps-mule.el (ps-mule-font-info-database-default):
16892         * ps-print.el (ps-default-fg, ps-default-bg):
16893         * type-break.el (type-break-good-break-interval):
16894         * whitespace.el (whitespace-indentation-regexp)
16895         (whitespace-space-after-tab-regexp):
16896         * emacs-lisp/testcover.el (testcover-1value-functions)
16897         (testcover-noreturn-functions, testcover-progn-functions)
16898         (testcover-prog1-functions):
16899         * emulation/viper-init.el (viper-emacs-state-cursor-color):
16900         * eshell/em-glob.el (eshell-glob-translate-alist):
16901         * play/tetris.el (tetris-tty-colors):
16902         * progmodes/cpp.el (cpp-face-default-list):
16903         * progmodes/flymake.el (flymake-allowed-file-name-masks):
16904         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
16905         (idlwave-help-browser-generic-args):
16906         * progmodes/make-mode.el (makefile-special-targets-list):
16907         * progmodes/python.el (python-shell-virtualenv-path):
16908         * progmodes/verilog-mode.el (verilog-active-low-regexp)
16909         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
16910         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
16911         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
16912         * textmodes/reftex-vars.el (reftex-format-label-function):
16913         * textmodes/remember.el (remember-diary-file): Fix custom types.
16915         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
16916         Add :version.
16918 2013-05-09  Leo Liu  <sdl.web@gmail.com>
16920         * progmodes/octave.el (inferior-octave-completion-at-point):
16921         Restore file completion.  (Bug#14300)
16922         (inferior-octave-startup): Fix incorrect highlighting for the
16923         first prompt.
16925 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16927         * progmodes/ruby-mode.el: First cut at SMIE support.
16928         (ruby-use-smie): New var.
16929         (ruby-smie-grammar): New constant.
16930         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
16931         (ruby-smie--forward-token, ruby-smie--backward-token)
16932         (ruby-smie-rules): New functions.
16933         (ruby-mode-variables): Setup SMIE if applicable.
16935 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
16937         * simple.el (line-move-visual): Signal beginning/end of buffer
16938         only if vertical-motion moved less than it was requested.  Avoids
16939         silly incorrect error messages when there are display strings with
16940         multiple newlines at EOL.
16942 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16944         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
16945         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
16946         (prolog-char-quote-workaround):
16947         * progmodes/cperl-mode.el (cperl-under-as-char):
16948         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
16949         Mark as obsolete.
16950         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
16951         their declaration.
16952         (vhdl-mode-syntax-table-init): Remove.
16954         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
16955         last change.
16957         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
16958         syntax for "_".
16959         (ld-script-font-lock-keywords):
16960         Change regexps to use things like \_< and \_>.
16962         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
16963         Change all regexps to use things like \_< and \_>.
16965         * progmodes/autoconf.el (autoconf-definition-regexp)
16966         (autoconf-font-lock-keywords, autoconf-current-defun-function):
16967         Handle a _ with symbol syntax.
16968         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
16970         * progmodes/ada-mode.el (ada-mode-abbrev-table):
16971         Consolidate declaration.
16972         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
16973         the declaration.
16974         (ada-create-syntax-table): Remove.
16975         (ada-capitalize-word): Don't mess with the syntax of "_" since it
16976         already has the right syntax nowadays.
16977         (ada-goto-next-word): Don't change the syntax of "_".
16979         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
16980         with-wrapper-hook.
16982 2013-05-08  Sam Steingold  <sds@gnu.org>
16984         * thingatpt.el (thing-at-point): Accept optional second argument
16985         NO-PROPERTIES to strip the text properties from the return value.
16986         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
16987         to `thing-at-point' instead of stripping the properties ourselves.
16988         Also, when `thing-at-point' fails to find a url, prepend "http://"
16989         to the filename at point on the assumption that the user is
16990         pointing at something like gnu.org/gnu.
16992 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
16994         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16995         * faces.el (crm-separator):
16996         Silence byte-compiler.
16998         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
16999         (tool-bar-map): Remove unneeded defvars.
17001 2013-05-08  Leo Liu  <sdl.web@gmail.com>
17003         Re-work a fix for bug#10994 based on Le Wang's patch.
17004         * ido.el (ido-remove-consecutive-dups): New helper.
17005         (ido-completing-read): Use it.
17006         (ido-chop): Revert fix for bug#10994.
17008 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
17010         * cus-edit.el (custom-save-variables):
17011         Pretty-print long values.  (Bug#14187)
17013 2013-05-08  Glenn Morris  <rgm@gnu.org>
17015         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
17016         (m4-mode-syntax-table): Init in the defvar.
17017         (m4-mode-abbrev-table): Let define-derived-mode define it.
17019 2013-05-08  Tom Tromey  <tromey@redhat.com>
17021         * progmodes/m4-mode.el (m4-mode-syntax-table):
17022         Do not treat "_" as word constituent.  (Bug#14167)
17024 2013-05-07  Glenn Morris  <rgm@gnu.org>
17026         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
17027         Remove explicit eshell-isearch-cancel-map.
17029         * progmodes/f90.el (f90-smart-end-names): New option.
17030         (f90-smart-end): Doc fix.
17031         (f90-end-block-optional-name): New constant.
17032         (f90-block-match): Respect f90-smart-end-names.
17034 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17036         * progmodes/octave.el (octave-smie-forward-token): Be more careful
17037         about implicit semi-colons (bug#14218).
17039 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
17041         * frame.el (display-monitor-attributes-list)
17042         (frame-monitor-attributes): New functions.
17044 2013-05-06  Leo Liu  <sdl.web@gmail.com>
17046         * progmodes/octave.el (octave-syntax-propertize-function): Change
17047         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
17048         (octave-font-lock-keywords): Use octave-operator-regexp.
17049         (octave-completion-at-point): Rename from
17050         octave-completion-at-point-function.
17051         (inferior-octave-directory-tracker): Robustify.
17052         (octave-text-functions): Remove and fix its uses.  No such things
17053         any more.
17055 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17057         * emacs-lisp/trace.el (trace--display-buffer): New function.
17058         (trace-make-advice): Use it.
17060 2013-05-06  Juri Linkov  <juri@jurta.org>
17062         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
17063         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
17064         Doc fix.
17065         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
17066         in the help string.  (Bug#12985)
17068 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
17070         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
17072 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17074         * progmodes/perl-mode.el: Add support for here documents.
17075         (perl-syntax-propertize-function): Match here-doc markers.
17076         (perl-syntax-propertize-special-constructs): Find their end.
17077         (perl-imenu-generic-expression): Use [:alnum:].
17079         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
17080         (advice--add-function): Refresh the advice if already present
17081         (bug#14317).
17083 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
17085         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
17087 2013-05-06  Glenn Morris  <rgm@gnu.org>
17089         * w32-fns.el (w32-charset-info-alist): Declare.
17091         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
17092         of its defcustom properties.
17093         (eshell-cmpl-initialize): No need to load pcomplete.
17095         * generic-x.el: No need to require comint when compiling.
17097         * net/eudc-export.el: Make it loadable without bbdb.
17098         (top-level): Use require rather than load-library.
17099         (eudc-create-bbdb-record, eudc-bbdbify-phone)
17100         (eudc-batch-export-records-to-bbdb)
17101         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
17102         Require bbdb.
17104 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17106         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
17107         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
17108         some tweaks, instead.
17110 2013-05-05  Leo Liu  <sdl.web@gmail.com>
17112         * progmodes/octave.el (octave-font-lock-keywords)
17113         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
17114         (inferior-octave-send-list-and-digest): Improve error message.
17115         (octave-mode, inferior-octave-mode): Use setq-local.
17116         (octave-help): Set info-lookup-mode.
17118 2013-05-05  Richard Stallman  <rms@gnu.org>
17120         * vc/compare-w.el (compare-windows-whitespace):
17121         Treat no-break space as whitespace.
17123         * mail/rmailsum.el (rmail-summary-rmail-update):
17124         Detect empty summary and don't change selected message.
17125         (rmail-summary-goto-msg): Likewise.
17127         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
17128         Doc fixes, rename args.
17130 2013-05-05  Alan Mackenzie  <acm@muc.de>
17132         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
17134 2013-05-05  Juri Linkov  <juri@jurta.org>
17136         * info.el (Info-read-subfile): Use (point-min) instead of (point)
17137         to not add the length of the summary segment to the return value.
17138         (Bug#14125)
17140 2013-05-05  Leo Liu  <sdl.web@gmail.com>
17142         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
17143         (inferior-octave-output-filter): Remove.
17144         (octave-send-region, inferior-octave-startup): Fix callers.
17145         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
17146         (octave-binary-file-extensions): New user variable.
17147         (octave-find-definition): Confirm if opening binary files.
17148         (octave-help-file): Use octave-find-definition to get the binary
17149         confirmation.
17150         (octave-help): Adjust for octave-help-file change.
17152 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17154         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
17155         Merge the two entries that handle function definitions.
17156         (pascal--syntax-propertize): New const.
17157         (pascal-mode): Use it.  Use setq-local.
17159 2013-05-04  Glenn Morris  <rgm@gnu.org>
17161         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
17162         (diary-from-outlook): Respect diary-from-outlook-function.
17164 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17166         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
17167         Move the declaration from C.
17168         (read-minibuffer, eval-minibuffer): Move from C.
17169         (completion-setup-function): Avoid minibuffer-completion-contents.
17171 2013-05-03  Leo Liu  <sdl.web@gmail.com>
17173         * progmodes/octave.el (octave-font-lock-keywords): Do not
17174         dehighlight 'end' in comments or strings.
17175         (octave-completing-read, octave-goto-function-definition):
17176         New helpers.
17177         (octave-help-buffer): New user variable.
17178         (octave-help-file, octave-help-function): New button types.
17179         (octave-help): New command and bind it to C-h ;.
17180         (octave-find-definition): New command and bind it to M-.
17181         (user-error): Alias to error if not defined.
17183 2013-05-02  Leo Liu  <sdl.web@gmail.com>
17185         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
17186         for \.  (bug#14332)
17187         (octave-font-lock-keywords): Include [ and {.
17189 2013-05-02  Leo Liu  <sdl.web@gmail.com>
17191         * progmodes/octave.el (inferior-octave-startup-file): Change default.
17192         (inferior-octave): Remove calling comint-mode and return the buffer.
17193         (inferior-octave-startup): Cosmetic changes.
17195 2013-05-02  Leo Liu  <sdl.web@gmail.com>
17197         * progmodes/octave.el (octave-syntax-propertize-function):
17198         Include the case when ' is at line beginning.  (Bug#14336)
17200 2013-05-02  Glenn Morris  <rgm@gnu.org>
17202         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
17203         * desktop.el (vc-dir-mode): Just autoload it here.
17205 2013-05-02  Alan Mackenzie  <acm@muc.de>
17207         Eliminate variable c-standard-font-lock-fontify-region-function.
17208         * progmodes/cc-mode.el
17209         (c-standard-font-lock-fontify-region-function): Remove.
17210         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
17212 2013-05-01  Leo Liu  <sdl.web@gmail.com>
17214         * progmodes/octave.el: Compatible with older emacs-24 releases.
17215         (inferior-octave-has-built-in-variables): Remove.  Built-in
17216         variables were removed from Octave in 2007.
17217         (inferior-octave-startup): Fix uses.
17218         (comint-line-beginning-position): Remove compatibility code for
17219         emacs 21.
17221 2013-05-01  Juri Linkov  <juri@jurta.org>
17223         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
17225 2013-05-01  Juri Linkov  <juri@jurta.org>
17227         * comint.el (comint-previous-matching-input): Don't print message
17228         "History item: %d" when `isearch-mode' is active.
17229         (comint-history-isearch-message): Print message "History item: %d"
17230         when `comint-input-ring-index' is not empty and this function is
17231         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
17233 2013-05-01  Leo Liu  <sdl.web@gmail.com>
17235         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
17236         definitions.  Use completion-at-point to insert keywords.
17237         (octave-abbrev-start): Remove.
17238         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
17240 2013-04-30  Leo Liu  <sdl.web@gmail.com>
17242         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
17243         change.
17245 2013-04-30  Alan Mackenzie  <acm@muc.de>
17247         Handle arbitrarily long C++ member initialisation lists.
17248         * progmodes/cc-engine.el (c-back-over-member-initializers):
17249         new function.
17250         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
17251         (most) member init lists.
17253 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17255         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
17256         variable.
17258 2013-04-30  Leo Liu  <sdl.web@gmail.com>
17260         * progmodes/octave.el (octave-variables): Remove.  No builtin
17261         variables any more.  All converted to functions.
17262         (octave-font-lock-keywords, octave-completion-at-point-function):
17263         Fix uses.
17264         (octave-font-lock-texinfo-comment): New user variable.
17265         (octave-texinfo-font-lock-keywords): New variable for texinfo
17266         comment block.
17267         (octave-function-comment-block): New face.
17268         (octave-font-lock-texinfo-comment): New function.
17269         (octave-mode): Font lock texinfo comment block.
17271 2013-04-29  Leo Liu  <sdl.web@gmail.com>
17273         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
17274         indexing expression.
17275         (octave-continuation-string): Do not use \.
17276         (inferior-octave-complete-impossible): Remove.
17277         (inferior-octave-completion-table)
17278         (inferior-octave-completion-at-point): Remove its uses.
17279         (inferior-octave-startup): completion_matches was introduced to
17280         Octave in 1996 so safe to assume it.
17281         (octave-function-file-comment): Improve to follow how Octave does it.
17282         (octave-update-function-file-comment): Tweak.
17284 2013-04-29  Leo Liu  <sdl.web@gmail.com>
17286         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
17287         (inferior-octave-startup): Remove inferior-octave-startup-hook.
17288         (octave-function-file-comment): Fix typo.
17289         (octave-sync-function-file-names): Use read-char-choice.
17291 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
17293         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
17294         to t for the less important warnings.
17296 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
17298         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
17300 2013-04-27  Glenn Morris  <rgm@gnu.org>
17302         * vc/log-view.el (log-view-current-entry):
17303         Treat "---" separator lines as part of the following rev.  (Bug#14169)
17305 2013-04-27  Juri Linkov  <juri@jurta.org>
17307         * subr.el (read-number): Doc fix about using it by interactive
17308         code letter `n'.  (Bug#14254)
17310 2013-04-27  Juri Linkov  <juri@jurta.org>
17312         * desktop.el (desktop-auto-save-timeout): New option.
17313         (desktop-file-checksum): New variable.
17314         (desktop-save): Add optional arg `auto-save' and don't auto-save
17315         if nothing changed.
17316         (desktop-auto-save-timer): New variable.
17317         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
17318         (after-init-hook): Call `desktop-auto-save-set-timer'.
17319         Suggested by Reuben Thomas <rrt@sc3d.org> in
17320         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
17322 2013-04-27  Leo Liu  <sdl.web@gmail.com>
17324         * progmodes/octave.el (octave-function-file-p)
17325         (octave-skip-comment-forward, octave-function-file-comment)
17326         (octave-update-function-file-comment): New functions.
17327         (octave-mode-map): Bind C-c ; to
17328         octave-update-function-file-comment.
17329         (octave-mode-menu): Add octave-update-function-file-comment.
17330         (octave-mode, inferior-octave-mode): Fix doc-string.
17331         (octave-insert-defun): Conform to Octave's coding convention.
17332         (Bug#14285)
17334         * files.el (basic-save-buffer): Don't let errors in
17335         before-save-hook prevent saving buffer.
17337 2013-04-20  Roland Winkler  <winkler@gnu.org>
17339         * faces.el (read-face-name): Use completing-read if arg multiple
17340         is nil.
17342 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
17344         * ls-lisp.el (ls-lisp-insert-directory): If no files are
17345         displayed, move point to after the totals line.
17346         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
17347         for the details.
17349 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17351         * emacs-lisp/package.el (package-autoload-ensure-default-file):
17352         Add current dir to the load-path.
17353         (package-generate-autoloads): Don't rely on
17354         autoload-ensure-default-file.
17356 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
17358         * textmodes/remember.el (remember-store-in-files): Document that
17359         the file name format is passed to `format-time-string'.
17361 2013-04-26  Leo Liu  <sdl.web@gmail.com>
17363         * progmodes/octave.el (octave-sync-function-file-names): New function.
17364         (octave-mode): Use it in before-save-hook.
17366 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17368         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
17369         (bug#14274).
17371         * progmodes/octave.el (octave-smie-forward-token): Properly skip
17372         \n and comment, even if it's not an implicit ; (bug#14218).
17374 2013-04-26  Glenn Morris  <rgm@gnu.org>
17376         * subr.el (read-number): Once more use `read' rather than
17377         `string-to-number', to trap non-numeric input.  (Bug#14254)
17379 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
17381         * emacs-lisp/syntax.el (syntax-propertize-multiline):
17382         Use `syntax-multiline' text property consistently instead of
17383         `font-lock-multiline'.  (Bug#14237)
17385 2013-04-26  Glenn Morris  <rgm@gnu.org>
17387         * emacs-lisp/shadow.el (list-load-path-shadows):
17388         No longer necessary to check for duplicate simple.el, since
17389         2012-07-07 change to init_lread to not include installation lisp
17390         directories in load-path when running uninstalled.  (Bug#14270)
17392 2013-04-26  Leo Liu  <sdl.web@gmail.com>
17394         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
17395         (octave-mode, inferior-octave-mode): Use setq-local.
17396         (octave-not-in-string-or-comment-p): Rename to
17397         octave-in-string-or-comment-p.
17398         (octave-in-comment-p, octave-in-string-p)
17399         (octave-in-string-or-comment-p): Replace defsubst with defun.
17401 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
17403         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
17405 2013-04-25  Bastien Guerry  <bzg@gnu.org>
17407         * textmodes/remember.el (remember-data-directory)
17408         (remember-directory-file-name-format): Fix custom types.
17410 2013-04-25  Leo Liu  <sdl.web@gmail.com>
17412         * progmodes/octave.el (octave-completion-at-point-function):
17413         Make use of inferior octave process.
17414         (octave-initialize-completions): Remove.
17415         (inferior-octave-completion-table): New function.
17416         (inferior-octave-completion-at-point): Use it.
17417         (octave-completion-alist): Remove.
17419 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17421         * progmodes/opascal.el: Use font-lock and syntax-propertize.
17422         (opascal-mode-syntax-table): New var.
17423         (opascal-literal-kind, opascal-is-literal-end)
17424         (opascal-literal-token-at): Rewrite.
17425         (opascal--literal-start-re, opascal-font-lock-keywords)
17426         (opascal--syntax-propertize): New constants.
17427         (opascal-font-lock-defaults): Adjust.
17428         (opascal-mode): Use them.  Set comment-<foo> variables as well.
17429         (delphi-comment-face, opascal-comment-face, delphi-string-face)
17430         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
17431         (delphi-other-face, opascal-other-face): Remove face variables.
17432         (opascal-save-state): Remove macro.
17433         (opascal-fontifying-progress-step): Remove constant.
17434         (opascal--ignore-changes): Remove var.
17435         (opascal-set-token-property, opascal-parse-next-literal)
17436         (opascal-is-stable-literal, opascal-complete-literal)
17437         (opascal-is-literal-start, opascal-face-of)
17438         (opascal-parse-region, opascal-parse-region-until-stable)
17439         (opascal-fontify-region, opascal-after-change)
17440         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
17441         (opascal-debug-parse-region, opascal-debug-parse-window)
17442         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
17443         (opascal-debug-fontify-buffer): Remove.
17444         (opascal-debug-mode-map): Adjust accordingly.
17446 2013-04-25  Leo Liu  <sdl.web@gmail.com>
17448         Merge octave-mod.el and octave-inf.el into octave.el with some
17449         cleanups.
17450         * progmodes/octave.el: New file renamed from octave-mod.el.
17451         * progmodes/octave-inf.el: Merged into octave.el.
17452         * progmodes/octave-mod.el: Renamed to octave.el.
17454 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
17456         * textmodes/reftex-vars.el
17457         (reftex-label-ignored-macros-and-environments): New defcustom.
17459         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
17461 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17463         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
17464         (smie-indent-keyword): Improve the check to ensure that the next
17465         comment is really on the same line.
17466         (smie-indent-comment): Don't align with a subsequent closer (or eob).
17468         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
17469         semi-colons if the line is not otherwise empty (bug#14218).
17471 2013-04-25  Glenn Morris  <rgm@gnu.org>
17473         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
17475 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17477         * progmodes/opascal.el (opascal-set-token-property): Rename from
17478         opascal-set-text-properties and only set `token' (bug#14134).
17479         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
17480         (opascal-literal-text-properties): Remove.
17481         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
17482         Adjust callers.
17484 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
17486         * textmodes/remember.el (remember-handler-functions): Add an
17487         option for a new handler `remember-store-in-files'.
17488         (remember-data-directory, remember-directory-file-name-format):
17489         New options.
17490         (remember-store-in-files): New function to store remember notes
17491         as separate files within a directory.
17493 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
17495         * progmodes/compile.el (compilation-next-error-function):
17496         Pass "formats" to compilation-find-file (bug#11777).
17498 2013-04-24  Glenn Morris  <rgm@gnu.org>
17500         * vc/vc-bzr.el (vc-bzr-print-log):
17501         * vc/vc-hg.el (vc-hg-print-log):
17502         * vc/vc-svn.el (vc-svn-print-log):
17503         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
17505         * vc/vc-bzr.el (vc-bzr-print-log):
17506         * vc/vc-cvs.el (vc-cvs-print-log):
17507         * vc/vc-git.el (vc-git-print-log):
17508         * vc/vc-hg.el (vc-hg-print-log):
17509         * vc/vc-mtn.el (vc-mtn-print-log):
17510         * vc/vc-rcs.el (vc-rcs-print-log):
17511         * vc/vc-sccs.el (vc-sccs-print-log):
17512         * vc/vc-svn.el (vc-svn-print-log):
17513         * vc/vc.el (vc-print-log-internal): Doc fixes.
17515 2013-04-23  Glenn Morris  <rgm@gnu.org>
17517         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
17518         Remove venerable code attempting to avoid substitute-command-keys.
17520 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
17522         * textmodes/reftex-vars.el (reftex-label-regexps):
17523         Call `reftex-compile-variables' after changes to this variable.
17525 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17527         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
17528         Use lexical-binding.
17529         (jit-lock-force-redisplay): Use markers, check buffer's continued
17530         existence and beware narrowed buffers.
17531         (jit-lock-fontify-now): Adjust call accordingly.
17533 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17535         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
17536         to avoid misleading the user.
17538 2013-04-22  Leo Liu  <sdl.web@gmail.com>
17540         * info-look.el: Prefer latex2e.info.  (Bug#14240)
17542 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
17544         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
17546         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
17547         * net/tramp.el (tramp-call-process): ... here.
17548         (tramp-set-completion-function, tramp-parse-putty):
17549         * net/tramp-adb.el (tramp-adb-execute-adb-command):
17550         * net/tramp-gvfs.el (tramp-gvfs-send-command):
17551         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17552         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
17553         (tramp-call-local-coding-command): Use `tramp-call-process'
17554         instead of `tramp-compat-call-process'.
17556         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
17557         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
17558         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
17559         (tramp-find-inline-compress): Improve traces.
17560         (tramp-maybe-send-script): Check for Perl binary.
17561         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
17563 2013-04-22  Daiki Ueno  <ueno@gnu.org>
17565         * epg.el (epg-context-pinentry-mode): New function.
17566         (epg-context-set-pinentry-mode): New function.
17567         (epg--start): Pass --pinentry-mode option to gpg command.
17569 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
17571         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
17572         `comint-dynamic-complete' is obsolete since 24.1, replaced by
17573         `completion-at-point'.  (Bug#13774)
17575         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
17576         default key binding for `describe-distribution' has been moved to
17577         `C-h C-o'.  (Bug#13970)
17579 2013-04-21  Glenn Morris  <rgm@gnu.org>
17581         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
17582         Add doc strings.
17583         (vc-print-log): Clarify interactive prompt.
17585 2013-04-20  Glenn Morris  <rgm@gnu.org>
17587         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17588         No longer include timestamp etc information.
17590 2013-04-20  Roland Winkler  <winkler@gnu.org>
17592         * faces.el (read-face-name): Bug fix, return just one face if arg
17593         multiple is nil.  (Bug#14209)
17595 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17597         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
17598         (remove-function): Autoload.
17600         * comint.el (comint-redirect-original-filter-function): Remove.
17601         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
17602         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
17603         (vc-cvs-annotate-command):
17604         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
17605         * progmodes/prolog.el (prolog-consult-compile):
17606         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
17607         Use add/remove-function instead.
17608         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
17609         (gud-tooltip-process-output, gud-tooltip-tips):
17610         Use add/remove-function instead.
17611         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
17612         (scheme-interaction-mode, exit-scheme-interaction-mode):
17613         Use add/remove-function instead.
17615         * vc/vc-dispatcher.el: Use lexical-binding.
17616         (vc--process-sentinel): Rename from vc-process-sentinel.
17617         Change last arg to be the code to run.  Don't use vc-previous-sentinel
17618         and vc-sentinel-commands any more.
17619         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
17620         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
17622 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
17624         * progmodes/sh-script.el (sh-imenu-generic-expression):
17625         Handle function names with a single character.  (Bug#14111)
17627 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
17629         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
17630         for subroutines defined in an eval (bug#14182).
17632 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17634         * bookmark.el (bookmark-completing-read): Improve handling of empty
17635         string (bug#14176).
17637 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17639         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
17641 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17643         New faster Imenu implementation (bug#14058).
17644         * progmodes/python.el (python-imenu-prev-index-position)
17645         (python-imenu-format-item-label-function)
17646         (python-imenu-format-parent-item-label-function)
17647         (python-imenu-format-parent-item-jump-label-function):
17648         New vars.
17649         (python-imenu-format-item-label)
17650         (python-imenu-format-parent-item-label)
17651         (python-imenu-format-parent-item-jump-label)
17652         (python-imenu--put-parent, python-imenu--build-tree)
17653         (python-imenu-create-index, python-imenu-create-flat-index)
17654         (python-util-popn): New functions.
17655         (python-mode): Set imenu-create-index-function to
17656         python-imenu-create-index.
17658 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17660         * winner.el (winner-active-region): Use region-active-p, activate-mark
17661         and deactivate-mark (bug#14225).
17663         * simple.el (deactivate-mark): Don't inline it.
17665 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
17667         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
17669 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
17671         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
17672         file extensions from the archive-mode entry in order to prefer
17673         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
17675 2013-04-18  Leo Liu  <sdl.web@gmail.com>
17677         * bindings.el (help-event-list): Add ?\?.
17679 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17681         * subr.el (with-wrapper-hook): Declare obsolete.
17682         * simple.el (filter-buffer-substring-function): New hook.
17683         (filter-buffer-substring): Use it.
17684         (filter-buffer-substring-functions): Mark obsolete.
17685         * minibuffer.el (completion-in-region-function): New hook.
17686         (completion-in-region): Use it.
17687         (completion-in-region-functions): Mark obsolete.
17688         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
17689         * abbrev.el (abbrev-expand-function): New hook.
17690         (expand-abbrev): Use it.
17691         (abbrev-expand-functions): Mark obsolete.
17692         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
17693         and :filter-return.
17695 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17697         * progmodes/python.el (python-nav--syntactically): Fix cornercases
17698         and do not care about match data.
17700 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17702         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
17703         completion tables when completing error conditions and
17704         `declare' arguments.
17705         (lisp-complete-symbol, field-complete): Mark as obsolete.
17706         (check-parens): Unmatched parens are user errors.
17707         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
17709 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
17711         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
17712         command changed buffer (ie. `flyspell-pre-buffer' is not current
17713         buffer), which prevents making decisions based on invalid value of
17714         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
17715         cause an error when `flyspell-pre-point' was nil after switching
17716         buffers.
17717         (flyspell-post-command-hook): No longer needs to change buffers when
17718         checking pre-word.  While at it remove unnecessary progn.
17720 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
17722         * textmodes/ispell.el (ispell-add-per-file-word-list):
17723         Fix `flyspell-correct-word-before-point' error when accepting
17724         words and `coment-padding' is an integer by using
17725         `comment-normalize-vars' (Bug #14214).
17727 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17729         New defun movement commands.
17730         * progmodes/python.el (python-nav--syntactically)
17731         (python-nav--forward-defun, python-nav-backward-defun)
17732         (python-nav-forward-defun): New functions.
17734 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17736         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
17737         (python-syntax-context): Use named compiler-macro for backwards
17738         compatibility with Emacs 24.x.
17740 2013-04-17  Leo Liu  <sdl.web@gmail.com>
17742         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
17743         octave-hide-process-buffer.
17745 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17747         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
17748         (bug#14216).
17750 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
17752         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
17753         Fix adjustment of offset when receiving incomplete responses from GDB
17754         (bug#14129).
17756 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17758         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
17759         python-mode-abbrev-table.
17760         (python-skeleton-define): Adjust accordingly.
17761         (python-mode-abbrev-table): New table that inherits from it so that
17762         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
17764         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
17765         (abbrev-symbol): Use it.
17766         (abbrev--before-point): Use it since we already handle inheritance.
17768 2013-04-16  Leo Liu  <sdl.web@gmail.com>
17770         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
17771         binding to info-lookup-symbol.
17773 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
17775         * minibuffer.el (completion--twq-all):
17776         * term/ns-win.el (ns-initialize-window-system):
17777         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
17779 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17781         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
17782         global bindings.
17784         * doc-view.el (doc-view-start-process): Handle url-handler directories.
17786 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
17788         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
17789         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
17790         to nil.
17791         (ruby-end-of-defun): Remove the unused arg, change the docstring
17792         to reflect that this function is only used as the value of
17793         `end-of-defun-function'.
17794         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
17795         to reflect an earlier change that beginning/end-of-defun functions
17796         jump between methods in a class definition, as well as top-level
17797         functions.
17799 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17801         * minibuffer.el (minibuffer-complete): Don't just scroll
17802         a *Completions* that's been iconified.
17803         (minibuffer-force-complete): Make sure repetitions do cycle when going
17804         through completion-in-region -> minibuffer-complete.
17806 2013-04-15  Alan Mackenzie  <acm@muc.de>
17808         Correct the placement of c-cpp-delimiters when there're #s not at
17809         col 0.
17811         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
17812         place a submatch around the #.
17813         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
17814         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
17815         on the #, not BOL.
17817 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17819         * emacs-lisp/nadvice.el: Properly test names when adding advice.
17820         (advice--member-p): New arg `name'.
17821         (advice--add-function, advice-member-p): Use it (bug#14202).
17823 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
17825         Reformulate java imenu-generic-expression.
17826         The old expression contained ill formed regexps.
17828         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
17829         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
17830         (cc-imenu-java-method-arg-regexp): New defconsts.
17831         (cc-imenu-java-build-type-args-regex): New defun.
17832         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
17833         handling of spaces in the regexp.
17835 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
17837         * textmodes/ispell.el (ispell-command-loop): Remove
17838         flyspell highlight of a word when ispell accepts it (bug #14178).
17840 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
17842         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
17843         uses code from the previous `ange-ftp-run-real-handler'.
17844         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
17845         only in case that function exist.  This is needed for proper
17846         unloading of Tramp.
17848 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
17850         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
17852         * textmodes/reftex.el (reftex-compile-variables): Use it.
17854 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17856         * files.el (normal-mode): Only use default major-mode if no other mode
17857         was specified.
17859         * emacs-lisp/trace.el (trace-values): New function.
17861         * files.el: Allow : in local variables (bug#14089).
17862         (hack-local-variable-regexp): New var.
17863         (hack-local-variables-prop-line, hack-local-variables): Use it.
17865 2013-04-13  Roland Winkler  <winkler@gnu.org>
17867         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
17868         data before it gets modified by bibtex-beginning-of-entry.
17870 2013-04-13  Roland Winkler  <winkler@gnu.org>
17872         * textmodes/bibtex.el (bibtex-url): Doc fix.
17874 2013-04-13  Roland Winkler  <winkler@gnu.org>
17876         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
17877         does not visit a BibTeX file, exclude it from the list of buffers
17878         returned by bibtex-initialize.
17880 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
17882         * window.el (split-window): Remove interactive form, since as a
17883         command this function is a special case of split-window-below.
17884         Correct doc string.
17886 2013-04-12  Roland Winkler  <winkler@gnu.org>
17888         * faces.el (read-face-name): Do not override value of arg default.
17889         Allow single faces and strings as default values.  Remove those
17890         elements from return value that are not faces.
17891         (describe-face): Simplify.
17892         (face-at-point): New optional args thing and multiple so that this
17893         function can provide the same functionality previously provided by
17894         read-face-name.
17895         (make-face-bold, make-face-unbold, make-face-italic)
17896         (make-face-unitalic, make-face-bold-italic, invert-face)
17897         (modify-face, read-face-and-attribute): Use face-at-point.
17899         * cus-edit.el (customize-face, customize-face-other-window)
17900         * cus-theme.el (custom-theme-add-face)
17901         * face-remap.el (buffer-face-set)
17902         * facemenu.el (facemenu-set-face): Use face-at-point.
17904 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
17906         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
17908 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
17910         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
17911         off leading { and trailing } from field values.
17913 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17915         * emacs-lisp/timer.el (timer--check): New function.
17916         (timer--time, timer-set-function, timer-event-handler): Use it.
17917         (timer-set-idle-time): Simplify.
17918         (timer--activate): CSE.
17919         (timer-event-handler): Give more info in error message.
17920         (internal-timer-start-idle): New function, moved from C.
17922         * mpc.el (mpc-proc): Add `restart' argument.
17923         (mpc-proc-cmd): Use it.
17924         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
17925         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
17926         less often.
17928 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
17930         * progmodes/sh-script.el: Implement `sh-mode' own
17931         `add-log-current-defun-function' (bug#14112).
17932         (sh-current-defun-name): New function.
17933         (sh-mode): Use the function.
17935 2013-04-09  Bastien Guerry  <bzg@gnu.org>
17937         * simple.el (choose-completion-string): Fix docstring (bug#14163).
17939 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17941         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
17943         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
17944         timer (bug#14156).
17946 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
17948         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
17949         declaration.
17951 2013-04-07  Leo Liu  <sdl.web@gmail.com>
17953         * pcmpl-x.el: New file.
17955 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
17957         Do not set x-display-name until X connection is established.
17958         This is needed to prevent from weird situation described at
17959         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
17960         * frame.el (make-frame): Set x-display-name after call to
17961         window system initialization function, not before.
17962         * term/x-win.el (x-initialize-window-system): Add optional
17963         display argument and use it.
17964         * term/w32-win.el (w32-initialize-window-system):
17965         * term/ns-win.el (ns-initialize-window-system):
17966         * term/pc-win.el (msdos-initialize-window-system):
17967         Add compatible optional display argument.
17969 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
17971         * files.el (normal-backup-enable-predicate): On MS-Windows and
17972         MS-DOS compare truenames of temporary-file-directory and of the
17973         file, so that 8+3 aliases (usually found in $TEMP on Windows)
17974         don't fail comparison by compare-strings.  Also, compare file
17975         names case-insensitively on MS-Windows and MS-DOS.
17977 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17979         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
17980         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
17982 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
17984         * whitespace.el (whitespace-color-on, whitespace-color-off):
17985         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
17987 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
17989         * ispell.el (ispell-set-spellchecker-params):
17990         Really set `ispell-args' for all equivs.
17992 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17994         * ido.el (ido-completions): Use extra elements of ido-decorations
17995         (bug#14143).
17996         (ido-decorations): Update docstring.
17998 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
18000         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18001         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
18002         nil during initialization, in order not to miss changes since the
18003         file was opened.  (Bug#14140)
18005 2013-04-05  Leo Liu  <sdl.web@gmail.com>
18007         * kmacro.el (kmacro-call-macro): Fix bug#14135.
18009 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
18011         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
18013 2013-04-04  Glenn Morris  <rgm@gnu.org>
18015         * electric.el (electric-pair-inhibit-predicate): Add :version.
18017 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18019         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
18020         when a package is required several times (bug#14082).
18022 2013-04-04  Roland Winkler  <winkler@gnu.org>
18024         * faces.el (read-face-name): Behave as promised by the docstring.
18025         Assume that arg default is a list of faces.
18026         (describe-face): Call read-face-name with list of default faces.
18028 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
18030         * bookmark.el: Fix deletion of bookmarks (bug#13972).
18031         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
18032         (bookmark-bmenu-execute-deletions): Only skip first line if it's
18033         the header.
18034         (bookmark-exit-hook-internal): Save even if list is empty.
18036 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
18038         * emacs-lisp/package.el (package-pinned-packages): New var.
18039         (package--add-to-archive-contents): Obey it (bug#14118).
18041 2013-04-03  Alan Mackenzie  <acm@muc.de>
18043         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
18044         Also adapt to the new values of element 7 of a parse state.
18046         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
18047         parameter `not-in-delimiter'.  Handle being inside comment opener.
18048         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
18049         character in case we're typing a '*' after a '/'.
18050         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
18051         instead by passing the parameter to c-state-pp-to-literal.
18053         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
18054         for elt. 7 of a parse state.
18056 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
18058         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
18059         * international/latin1-disp.el, international/mule-util.el:
18060         * language/cyril-util.el, language/european.el, language/ind-util.el:
18061         * language/lao-util.el, language/thai.el, language/tibet-util.el:
18062         * language/tibetan.el, language/viet-util.el:
18063         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
18065 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18067         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
18068         (electric-pair-post-self-insert-function): Use it.
18069         (electric-pair-default-inhibit): New function, extracted from
18070         electric-pair-post-self-insert-function.
18072 2013-03-31  Roland Winkler  <winkler@gnu.org>
18074         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
18076 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18078         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
18080 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
18082         Un-indent after "pass" and "return" statements (Bug#13888)
18083         * progmodes/python.el (python-indent-block-enders): New var.
18084         (python-indent-calculate-indentation): Use it.
18086 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
18088         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
18089         defun.  Defining it as defalias could introduce too eager
18090         byte-compiler optimization.  (Bug#14030)
18092 2013-03-30  Chong Yidong  <cyd@gnu.org>
18094         * iswitchb.el (iswitchb-read-buffer): Fix typo.
18096 2013-03-30  Leo Liu  <sdl.web@gmail.com>
18098         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
18099         (kmacro-execute-from-register): Pass the keyboard macro to
18100         kmacro-call-macro or repeating won't work correctly.
18102 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
18104         * progmodes/subword.el: Back to using `forward-symbol'.
18106         * subr.el (forward-whitespace, forward-symbol)
18107         (forward-same-syntax): Move from thingatpt.el.
18109 2013-03-29  Leo Liu  <sdl.web@gmail.com>
18111         * kmacro.el (kmacro-to-register): New command.
18112         (kmacro-execute-from-register): New function.
18113         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
18115 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18117         * mpc.el: Use defvar-local and setq-local.
18118         (mpc--proc-connect): Connection failures are not bugs.
18119         (mpc-mode-map): `follow-link' only applies to the buffer's content.
18120         (mpc-volume-map): Bind to the up-events.
18122 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
18124         * progmodes/subword.el (superword-mode): Use `forward-sexp'
18125         instead of `forward-symbol'.
18127 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18129         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
18130         (edebug--recursive-edit): Use it.
18131         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
18132         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
18134 2013-03-28  Leo Liu  <sdl.web@gmail.com>
18136         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
18138 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
18140         * facemenu.el (list-colors-callback): New defvar.
18141         (list-colors-redisplay): New function.
18142         (list-colors-display): Install list-colors-redisplay as the
18143         revert-buffer-function.  (Bug#14063)
18145 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18147         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
18148         and suffixes don't overlap (bug#14061).
18150         * case-table.el: Use lexical-binding.
18151         (case-table-get-table): New function.
18152         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
18154 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
18156         * progmodes/subword.el: Add `superword-mode' to do word motion
18157         over symbol_words (parallels and leverages `subword-mode' which
18158         does word motion inside MixedCaseWords).
18160 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
18162         * eshell/em-unix.el: Move su and sudo to...
18163         * eshell/em-tramp.el: ...Eshell tramp module.
18165 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18167         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
18168         Change return value to be a sexp.  Delay `get-buffer' to after
18169         restoring the desktop (bug#13951).
18171 2013-03-26  Leo Liu  <sdl.web@gmail.com>
18173         * register.el: Move semantic tag handling back to
18174         cedet/semantic/senator.el.  (Bug#14052)
18176 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18178         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
18179         into the prompt either (bug#13963).
18181 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18183         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
18184         part of "(error-foo)".
18186 2013-03-24  Juri Linkov  <juri@jurta.org>
18188         * replace.el (list-matching-lines-prefix-face): New defcustom.
18189         (occur-1): Pass `list-matching-lines-prefix-face' to the function
18190         `occur-engine' if `face-differs-from-default-p' returns t.
18191         (occur-engine): Add `,' inside backquote construct to evaluate
18192         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
18193         Pass `prefix-face' to the functions `occur-context-lines' and
18194         `occur-engine-add-prefix'.
18195         (occur-engine-add-prefix, occur-context-lines): Add optional arg
18196         `prefix-face' and propertize the prefix with `prefix-face'.
18197         (Bug#14017)
18199 2013-03-24  Leo Liu  <sdl.web@gmail.com>
18201         * nxml/rng-valid.el (rng-validate-while-idle)
18202         (rng-validate-quick-while-idle): Guard against deleted buffer.
18203         (Bug#13999)
18205         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
18206         is the last entry in kill-buffer-hook.
18208         * files.el (kill-buffer-hook): Doc fix.
18210 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
18212         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
18213         Make it safe-local.
18215         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
18217 2013-03-23  Leo Liu  <sdl.web@gmail.com>
18219         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
18220         Remove.
18222         * nxml/rng-valid.el (rng-validate-mode)
18223         (rng-after-change-function, rng-do-some-validation):
18224         * nxml/rng-maint.el (rng-validate-buffer):
18225         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
18226         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
18227         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
18228         (nxml-extend-after-change-region): Use with-silent-modifications.
18230         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
18231         timer-idle-list.
18233         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
18234         (rng-next-error-1, rng-previous-error-1): Do not let-bind
18235         timer-idle-list.  (Bug#13999)
18237 2013-03-23  Juri Linkov  <juri@jurta.org>
18239         * info.el (info-index-match): New face.
18240         (Info-index, Info-apropos-matches): Add a nested subgroup to the
18241         main pattern and add text properties with the new face to matches
18242         in index entries relative to the beginning of the index entry.
18243         (Bug#14015)
18245 2013-03-21  Eric Ludlam  <zappo@gnu.org>
18247         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
18248         Inhibit read only while inserting objects.
18250 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
18252         * progmodes/cfengine.el: Update docs to mention
18253         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
18254         symbol motion.  Remove "_" from the word syntax.
18256 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
18258         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
18259         syntax for both `cfengine2-mode' and `cfengine3-mode'.
18261 2013-03-20  Juri Linkov  <juri@jurta.org>
18263         * info.el (Info-next-reference-or-link)
18264         (Info-prev-reference-or-link): New functions.
18265         (Info-next-reference, Info-prev-reference): Use them.
18266         (Info-try-follow-nearest-node): Handle footnote navigation.
18267         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
18269 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18271         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
18272         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
18274 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
18276         Suppress unnecessary non-ASCII chatter during build process.
18277         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
18278         (batch-skkdic-convert): Suppress most of the chatter.
18279         It's not needed so much now that machines are faster,
18280         and its non-ASCII component was confusing; see Dmitry Gutov in
18281         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
18283 2013-03-20  Leo Liu  <sdl.web@gmail.com>
18285         * ido.el (ido-chop): Fix bug#10994.
18287 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
18289         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
18290         Remove vars.
18291         (whitespace-color-on, whitespace-color-off):
18292         Use `font-lock-fontify-buffer' (Bug#13817).
18294 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18296         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
18297         remapping in mode-line.
18298         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
18300 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
18302         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
18303         value for `whitespace-line' face (Bug#13875).
18304         (whitespace-font-lock-keywords): Change description.
18305         (whitespace-color-on): Don't save `font-lock-keywords' value, save
18306         the constructed keywords instead.
18307         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
18309 2013-03-19  Leo Liu  <sdl.web@gmail.com>
18311         * progmodes/compile.el (compilation-display-error): New command.
18312         (compilation-mode-map, compilation-minor-mode-map): Bind it to
18313         C-o.  (Bug#13992)
18315 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
18317         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
18319 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
18321         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
18323 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
18325         * net/tramp-compat.el (tramp-compat-user-error): New defun.
18327         * net/tramp-adb.el (tramp-adb-handle-shell-command):
18328         * net/tramp-gvfs.el (top):
18329         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
18330         (tramp-handle-shell-command): Use it.
18331         (tramp-dissect-file-name): Raise an error when hostname is a
18332         method name, and neither method nor user is specified.
18334         * net/trampver.el: Update release number.
18336 2013-03-18  Leo Liu  <sdl.web@gmail.com>
18338         Make sure eldoc can be turned off properly.
18339         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
18340         eldoc-mode.
18341         (eldoc-display-message-p): Revert last change.
18342         (eldoc-display-message-no-interference-p)
18343         (eldoc-print-current-symbol-info): Tweak.
18345 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
18347         * doc-view.el (doc-view-new-window-function): Check the new window
18348         overlay's display property instead the char property of the
18349         buffer's first char.  Use `with-selected-window' instead of
18350         `save-window-excursion' with `select-window'.
18351         (doc-view-document->bitmap): Check the current doc-view overlay's
18352         display property instead the char property of the buffer's first char.
18354 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
18356         Automate the build of ja-dic.el (Bug#13984).
18357         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
18358         from the input, rather than assume that it's been done for us by the
18359         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
18360         the current date into a ja-dic.el comment, as that complicates
18361         regression testing.
18363 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18365         * whitespace.el: Fix double evaluation.
18366         (whitespace-space, whitespace-hspace, whitespace-tab)
18367         (whitespace-newline, whitespace-trailing, whitespace-line)
18368         (whitespace-space-before-tab, whitespace-indentation)
18369         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
18370         obsolete defvars.
18371         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
18372         (whitespace-color-on): Use a single font-lock-add-keywords call.
18373         Fix double-evaluation of face variables.
18375 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
18377         * net/tramp-adb.el (tramp-adb-parse-device-names):
18378         Use `start-process' instead of `call-process'.  Otherwise, the
18379         function might be blocked under MS Windows.  (Bug#13299)
18381 2013-03-17  Leo Liu  <sdl.web@gmail.com>
18383         Extend eldoc to display info in the mode-line.  (Bug#13978)
18384         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
18385         (eldoc-mode-line-string): New variable.
18386         (eldoc-minibuffer-message): New function.
18387         (eldoc-message-function): New variable.
18388         (eldoc-message): Use it.
18389         (eldoc-display-message-p)
18390         (eldoc-display-message-no-interference-p):
18391         Support eldoc-post-insert-mode.
18393         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
18394         (eval-expression): Run it.
18396 2013-03-17  Roland Winkler  <winkler@gnu.org>
18398         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
18399         strings in the list of return values.
18401 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
18403         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
18404         radix before checking for HMS forms.
18406 2013-03-16  Leo Liu  <sdl.web@gmail.com>
18408         * progmodes/scheme.el: Add indentation and font-locking for λ.
18409         (Bug#13975)
18411 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18413         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
18414         token before point (bug#13942).
18416 2013-03-16  Leo Liu  <sdl.web@gmail.com>
18418         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
18420 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
18422         * startup.el (command-line-normalize-file-name): Fix handling of
18423         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
18424         <xfq.free@gmail.com> in
18425         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
18427 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
18429         Sync with Tramp 2.2.7.
18431         * net/trampver.el: Update release number.
18433 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
18435         * doc-view.el: Fix bug#13887.
18436         (doc-view-insert-image): Don't modify overlay associated to
18437         non-live windows, and implement horizontal centering of image in
18438         case it's smaller than the window.
18439         (doc-view-new-window-function): Force redisplay of new windows on
18440         doc-view buffers.
18442 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
18444         * saveplace.el (save-place-alist-to-file): Don't sort
18445         `save-place-alist', just pretty-print it (bug#13882).
18447 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
18449         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
18450         Check whether `default-file-name-coding-system' is bound.
18451         It isn't in XEmacs.
18453 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18455         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
18456         backquotes for `obsolete' (bug#13929).
18458         * international/mule.el (find-auto-coding): Include file name in
18459         obsolescence warning (bug#13922).
18461 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
18463         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
18464         for CFEngine 3-specific indentation.
18465         (cfengine3-indent-line): Use it.  Fix up category regex.
18466         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
18468 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18470         * type-break.el (type-break-file-name):
18471         * textmodes/remember.el (remember-data-file):
18472         * strokes.el (strokes-file):
18473         * shadowfile.el (shadow-initialize):
18474         * saveplace.el (save-place-file):
18475         * ps-bdf.el (bdf-cache-file):
18476         * progmodes/idlwave.el (idlwave-config-directory):
18477         * net/quickurl.el (quickurl-url-file):
18478         * international/kkc.el (kkc-init-file-name):
18479         * ido.el (ido-save-directory-list-file):
18480         * emulation/viper.el (viper-custom-file-name):
18481         * emulation/vip.el (vip-startup-file):
18482         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
18483         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
18485 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
18487         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
18488         * language/thai-word.el: Switch to UTF-8.
18490 See ChangeLog.16 for earlier changes.
18492 ;; Local Variables:
18493 ;; coding: utf-8
18494 ;; End:
18496   Copyright (C) 2011-2014 Free Software Foundation, Inc.
18498   This file is part of GNU Emacs.
18500   GNU Emacs is free software: you can redistribute it and/or modify
18501   it under the terms of the GNU General Public License as published by
18502   the Free Software Foundation, either version 3 of the License, or
18503   (at your option) any later version.
18505   GNU Emacs is distributed in the hope that it will be useful,
18506   but WITHOUT ANY WARRANTY; without even the implied warranty of
18507   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18508   GNU General Public License for more details.
18510   You should have received a copy of the GNU General Public License
18511   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.