* lisp/progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
[emacs.git] / lisp / ChangeLog
blobe41633548c64a0a1ece8cda3855b71d72c4b78c7
1 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
4         byte-compiler.
5         (lookup-syntax-properties): Silence byte-compiler.
6         (c-lang-defconst): Quote the code with `lambda' rather than with
7         `quote'.
8         (c-lang-const): Avoid unneeded setq.
9         (c-lang-constants-under-evaluation): Add docstring.
10         (c-lang--novalue): New constant.
11         (c-find-assignment-for-mode): Use it instead of c-lang-constants.
12         (c-get-lang-constant): Same here.
13         Get the mode's value using `funcall' now that the code is quoted
14         with `lambda'.
16 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
18         * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
19         (Bug#18326)
21 2014-08-28  Martin Rudalics  <rudalics@gmx.at>
23         * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
24         interpretation of `portion-whole'.
26 2014-08-28  Michael Albinus  <michael.albinus@gmx.de>
28         * emacs-lisp/authors.el (authors-aliases): Addition.
30         * net/tramp-adb.el: Spell author name correctly.
32 2014-08-28  João Távora  <joaotavora@gmail.com>
34         * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
35         use url-expand-file-name.  (Bug#18310)
37 2014-08-28  Glenn Morris  <rgm@gnu.org>
39         * emulation/cua-rect.el (cua--highlight-rectangle):
40         Avoid error at point-min.  (Bug#18309)
42 2014-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
44         * progmodes/python.el (python-shell-prompt-detect): Remove redundant
45         executable-find (bug#18244).
47         * simple.el (self-insert-uses-region-functions): Defvar.
49 2014-08-28  Glenn Morris  <rgm@gnu.org>
51         * subr.el (remq): Revert 2014-08-25 doc change (not always true).
53 2014-08-27  Dmitry Antipov  <dmantipov@yandex.ru>
55         * startup.el (normal-top-level): Now use internal--top-level-message.
57 2014-08-26  Dmitry Antipov  <dmantipov@yandex.ru>
59         * startup.el (normal-top-level): Use top-level-message.
61 2014-08-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
63         * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
64         URLs containing spaces and the like.
66 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
68         * subr.el (remq): Fix docstring (Bug#18253).
70 2014-08-25  Christoph Scholtes  <cschol2112@gmail.com>
72         * replace.el (query-replace): Fix typo in docstring (Bug#18320).
74 2014-08-24  Alan Mackenzie  <acm@muc.de>
76         Handle C++11's "auto" and "decltype" constructions.
77         * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
78         and return 'decltype.
79         (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
80         prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto"
81         keyword.
82         * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
83         "decltype" keyword.
84         (c-font-lock-c++-new): Handle "decltype" constructions.
85         * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
86         New c-lang-defconsts/defvars.
87         (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
88         (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
89         (c-typeless-decl-kwds): Append "auto" onto the C++ value.
90         (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
92         Make ">>" act as double template ender in C++ Mode.
93         * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
94         off from c->-op-cont-re.
95         (c->-op-cont-tokens): Change to use the above.
96         (c->-op-without->-cont-regexp): New lang-const.
97         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
98         Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
101 2014-08-23  Alan Mackenzie  <acm@muc.de>
103         * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
104         loop, bug #18306.  The bug was introduced on 2014-08-02.
106 2014-08-21  Eli Zaretskii  <eliz@gnu.org>
108         * textmodes/texnfo-upd.el (texinfo-specific-section-type):
109         Don't recognize a Top node if there are other sectioning commands
110         earlier in the Texinfo file.  This fixes a bug in
111         texinfo-make-menu and avoids inflooping in
112         texinfo-all-menus-update when they are invoked on texinfo.texi.
114 2014-08-21  Martin Rudalics  <rudalics@gmx.at>
116         * window.el (window--side-window-p): New function.
117         (split-window, window-splittable-p): Use window--side-window-p to
118         determine whether WINDOW can be split (Bug#18304).
119         * calendar/calendar.el (calendar-basic-setup): Fix one call of
120         `window-splittable-p' and add another (Bug#18304).
122 2014-08-20  Sam Steingold  <sds@gnu.org>
124         * progmodes/python.el (python-new-pythonpath): Extract from
125         `python-shell-calculate-process-environment'.
127 2014-08-18  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
129         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
130         for &key args (bug#18048).
132 2014-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
134         * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
135         (eldoc-function-argstring-format): Remove.
136         (eldoc-function-argstring): Always return upcase args.
137         Use help-make-usage.  Don't add parens.
138         (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
139         it's too late to do it right (bug#18048).
141 2014-08-18  Eli Zaretskii  <eliz@gnu.org>
143         * scroll-bar.el (scroll-bar-horizontal-drag-1)
144         (scroll-bar-toolkit-horizontal-scroll): When determining the
145         paragraph direction, use the buffer of the window designated in
146         the event.
148 2014-08-16  Andreas Schwab  <schwab@linux-m68k.org>
150         * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
151         context of unified diff.
153 2014-08-16  Paul Eggert  <eggert@cs.ucla.edu>
155         Add dependencies to fix loaddefs race during parallel builds.
156         Without this, for example, 'make -j bootstrap' can fail and report
157         "Opening input file: no such file or directory,
158         .../lisp/calendar/diary-loaddefs.el ... recipe for target
159         'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
160         got confused because diary-loaddefs.el was being built in parallel.
161         * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
162         Depend on $(CAL_DIR)/cal-loaddefs.el.
163         ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
165 2014-08-16  Martin Rudalics  <rudalics@gmx.at>
167         * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
168         portion-whole for scrolling right-to-left text.
170 2014-08-15  Leo Liu  <sdl.web@gmail.com>
172         * speedbar.el (speedbar-generic-list-tag-p): Allow special
173         elements from imenu.
175 2014-08-15  Glenn Morris  <rgm@gnu.org>
177         * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
179 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
181         * progmodes/compile.el (compilation-error-regexp-alist-alist):
182         Add Guile regexpses.
184 2014-08-13  Jan Nieuwenhuizen  <janneke@gnu.org>
186         * progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
187         add Guile debugger support for GUD.
189 2014-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
191         * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
192         (mouse-sel--ignore): New function.
193         (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
194         (mouse-sel-original-interprogram-cut-function)
195         (mouse-sel-original-interprogram-paste-function): Remove.
197 2014-08-13  Eric S. Raymond  <esr@thyrsus.com>
199         * vc/vc-git.el (vc-git-resolve-when-done): New function.
200         Call "git add" when there are no longer conflict markers.
202 2014-08-13  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
204         * vc/vc-git.el (vc-git-find-file-hook): New function.
205         Adds support for calling smerge (and resolve) on a conflicted file.
206         (vc-git-conflicted-files): New function.
207         Useful in itself and a step towards better smerge support.
209 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
211         * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
212         to the first part if they're the same as the selection.
214 2014-08-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
216         * image-mode.el (image-transform-reset): New command and menu item.
217         (image-mode-map): Rearrange the menu items to put presumably more
218         obscure items at the end.
220 2014-08-12  Juri Linkov  <juri@jurta.org>
222         * vc/vc-annotate.el (vc-annotate-background-mode):
223         Use `with-demoted-errors' instead of `ignore-errors'.  (Bug#18189)
225 2014-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
227         * files.el (out-of-memory-warning-percentage): Turn it off by default.
229 2014-08-11  Sam Steingold  <sds@gnu.org>
231         * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
232         the presence of known validators (tidy, (o)nsgmls).
234 2014-08-11  Ulf Jasper  <ulf.jasper@web.de>
236         Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
238         * net/newst-treeview.el (newsticker-treeview-date-format): New.
239         (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
241 2014-08-11  Glenn Morris  <rgm@gnu.org>
243         * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
244         chose coding system for writing before backing up, since it causes
245         a more serious problem than the one it solves.  (Closes Bug#18141,
246         reopens Bug#13522.)
248 2014-08-11  Martin Rudalics  <rudalics@gmx.at>
250         * window.el (window-total-size): Make doc-string more self-contained.
252         * window.el (display-buffer-below-selected): Restore original
253         behavior if buffer is already displayed in the window below the
254         selected one (Bug#18181).
256 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
258         * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
259         event (bug#18212).
261 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
263         * info.el (info): Doc fix.
265 2014-08-11  Stefan Monnier  <monnier@iro.umontreal.ca>
267         * info.el (Info-mode-map): Override a global down-mouse-2 binding
268         (bug#18212).
270 2014-08-11  Eli Zaretskii  <eliz@gnu.org>
272         * simple.el (default-line-height): A floating-point value of
273         line-spacing means a fraction of the default frame font's height,
274         not of the font currently used by the 'default' face.
275         Truncate the pixel value, like the display engine does.
276         (window-screen-lines): Use window-inside-pixel-edges for
277         determining the window height in pixels.  (Bug#18195)
279 2014-08-11  Grégoire Jadi  <daimrod@gmail.com>
281         * leim/quail/latin-post.el: Transform " __" into " _".  (Bug#18023)
283 2014-08-10  Ulf Jasper  <ulf.jasper@web.de>
285         Enumerate evaluated sexp diary entries (Bug#7911).
286         * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
287         (icalendar-export-sexp-enumeration-days): New.
288         (icalendar-export-region): Now `icalendar--convert-to-ical'
289         returns a cons cell or a list of cons cells.
290         (icalendar--convert-to-ical): Take care of
291         `icalendar-export-sexp-enumerate-all'.  Return (a list of) cons cells.
292         (icalendar--convert-ordinary-to-ical)
293         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
294         (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
295         (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
296         (icalendar--convert-anniversary-to-ical): Return cons cell.
297         (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
298         entries.  Return (list of) cons cells.
300 2014-08-09  Juri Linkov  <juri@jurta.org>
302         * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
303         to reevaluate `vc-annotate-color-map'.  (Bug#18189)
305 2014-08-09  Alan Mackenzie  <acm@muc.de>
307         * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
308         for top-level that can cause unacceptable slow-down in scrolling.
309         See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
310         Antipov from 2013-10-14 in emacs-devel.
312 2014-08-08  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
314         * ibuffer.el (ibuffer-mode-map): Use toggle button for
315         `ibuffer-auto-mode' menu entry.
316         (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
318 2014-08-08  Matthias Meulien  <orontee@gmail.com>
320         * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
321         (Bug#16394)
323 2014-08-07  Martin Rudalics  <rudalics@gmx.at>
325         * window.el (window--min-size-1): Explicitly set WINDOW arg in
326         calls of window-min-pixel-height and window-min-pixel-width.
328 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
330         * progmodes/ada-mode.el:
331         * net/tramp.el (tramp-handle-file-symlink-p):
332         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
333         about VMS, which we no longer support.
334         * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
335         and fix a FIXME, using convert-standard-filename in place of
336         removed ada-convert-file-name.
338 2014-08-07  Eli Zaretskii  <eliz@gnu.org>
340         * files.el (auto-mode-alist): Remove support for VMS from a pattern.
342 2014-08-07  Reuben Thomas  <rrt@sc3d.org>
344         Refer to MS-DOS using the same name everywhere.
345         * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
346         ``msdog'' become ``MS-DOS''.
348 2014-08-07  Michael Albinus  <michael.albinus@gmx.de>
350         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
351         Use cached "remote-copy-args" value, if available.  (Bug#18199)
353 2014-08-07  Leo Liu  <sdl.web@gmail.com>
355         * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
356         Revert change on 2014-03-22.
358 2014-08-06  Ulf Jasper  <ulf.jasper@web.de>
360         * calendar/icalendar.el (icalendar--diarytime-to-isotime)
361         (icalendar--convert-ordinary-to-ical): Allow for missing minutes
362         (Bug#13750).
365 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
367         * image-mode.el (image-toggle-display-image): Always rescale images
368         to not be bigger than the current window.
370 2014-08-05  Eric Brown  <brown@fastmail.fm>  (tiny change)
372         * net/eww.el (eww-bookmarks-directory): New variable.
373         (eww-write-bookmarks): Use it.
374         (eww-read-bookmarks): Ditto.
376 2014-08-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
378         * net/shr.el (shr-copy-url): Also copy the image URL.
380 2014-08-05  Michael Albinus  <michael.albinus@gmx.de>
382         * net/tramp-cache.el (tramp-flush-file-function): Suppress function
383         also for Tramp working buffers.
385 2014-08-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
387         * progmodes/python.el: Fix completions inside (i)pdb.
388         (python-shell-completion-pdb-string-code): Make obsolete.
389         (python-shell-completion-get-completions):
390         Use python-shell-completion-string-code resending setup code
391         continuously for (i)pdb.
393 2014-08-04  Paul Eggert  <eggert@cs.ucla.edu>
395         * rect.el (rectangle--default-line-number-format): Rename
396         from misspelled rectange--default-line-number-format (Bug#18045).
397         All uses changed.
399 2014-08-03  Paul Eggert  <eggert@cs.ucla.edu>
401         Don't mishandle year-9999 dates (Bug#18176).
402         * calendar/parse-time.el (parse-time-rules):
403         Allow years up to most-positive-fixnum.
404         * calendar/time-date.el (date-to-time):
405         Pass "Specified time is not representable" errors through.
407 2014-08-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
409         * progmodes/python.el: Completion code cleanups.
410         (python-shell-completion-get-completions): Detect and send import
411         statements directly to completion function.
412         (python-shell-completion-at-point): Simplify prompt calculation
413         and import vs input completion logic.
415 2014-08-02  Alan Mackenzie  <acm@muc.de>
417         Fix confusion in C++ file caused by comma in "= {1,2},".
418         Bug #17756.
419         * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
420         for a statement boundary marked by "}", check there's no "="
421         before the "{".
422         (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
423         non-nil `comma-delim' argument.
424         * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
425         initializer expression more accurately.
427         Correct loop termination condition in c-syntactic-skip-backward.
428         * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
429         the situation where, after moving back out of a literal,
430         skip-chars-backward doesn't move further, yet checks have still to
431         be done.
433 2014-08-01  Eli Zaretskii  <eliz@gnu.org>
435         * tutorial.el (tutorial--display-changes): Accept punctuation
436         characters before the key binding.  (Bug#18146)
438 2014-07-31  Fabián Ezequiel Gallina  <fgallina@gnu.org>
440         * progmodes/python.el: Shell output capture enhancements.
441         (python-shell-accept-process-output): New function.
442         (inferior-python-mode)
443         (python-shell-send-setup-code): Use it.
445 2014-07-30  Christophe Deleuze  <christophe.deleuze@free.fr>  (tiny change)
447         * calendar/icalendar.el (icalendar--decode-isodatetime):
448         Use actual current-time-zone when converting to local time. (Bug#15408)
450 2014-07-29  Martin Rudalics  <rudalics@gmx.at>
452         * window.el (window--state-put-2): Handle horizontal scroll
453         bars, if present.
455 2014-07-29  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
457         * menu-bar.el (menu-bar-update-buffers): Update item list format
458         in `buffers-menu' to confirm with changes to `get_keyelt'
459         (r117463).  (Bug#18016)
461 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
463         * progmodes/python.el (inferior-python-mode): Make input prompts
464         read-only.
466 2014-07-28  Emilio C. Lopes  <eclig@gmx.net>
468         * net/tramp-sh.el (tramp-get-remote-python): Also search for
469         executables named "python2" or "python3".
470         (tramp-get-remote-uid-with-python): Use parentheses around
471         arguments to `print' to make it compatible with Python 3.
472         (tramp-get-remote-gid-with-python): Ditto.  (Bug#18118)
474 2014-07-28  Eli Zaretskii  <eliz@gnu.org>
476         * window.el (window--pixel-to-total): Use FRAME's root window, not
477         that of the selected frame.  (Bug#18112, Bug#16674)
479 2014-07-28  Andreas Schwab  <schwab@linux-m68k.org>
481         * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
482         (Bug#18117)
484 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
486         * progmodes/python.el (inferior-python-mode): Doc fix.
488 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
490         * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
491         not a character, ignore it instead of raising an error.
493         * calendar/todo-mode.el: Fix handling of marked items and make
494         minor code improvements.
495         (todo-edit-item): If there are marked items, ensure user can only
496         invoke editing commands that work with marked items.
497         (todo-edit-item--text): When there are marked items, make it a
498         noop if invoked with point not on an item; otherwise, ensure it
499         applies only to item at point.
500         (todo-item-undone): If there are marked not-done items, return
501         point to its original position before signaling user error.
502         (todo--user-error-if-marked-done-item): New function.
503         (todo-edit-item--header, todo-edit-item--diary-inclusion)
504         (todo-item-done): Use it.
506 2014-07-28  Glenn Morris  <rgm@gnu.org>
508         * files.el (toggle-read-only): Re-add basic doc-string.
509         * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
511         * progmodes/prolog.el (prolog-mode-keybindings-edit):
512         Replace missing `switch-to-prolog' with `run-prolog'.
513         (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
515 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
517         * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
518         of file-wide setting when changing category-wide setting.
520 2014-07-28  Stephen Berman  <stephen.berman@gmx.net>
522         * doc-view.el (doc-view-open-text): Don't require that the
523         document is saved in a file (e.g., email attachment).
525 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
527         Parse completion input in a iPython friendly way.  (Bug#18084)
528         * progmodes/python.el
529         (python-shell-completion-at-point): Rename from
530         python-shell-completion-complete-at-point.
531         (inferior-python-mode): Use it.
532         (python-completion-at-point): Rename from
533         python-completion-complete-at-point.  Parse input up to first
534         backward occurrence of whitespace, open-paren, close-paren or
535         string delimiter.
536         (python-mode): Use it.
538 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
540         Prevent Python process shell buffer to pop twice.
541         * progmodes/python.el (python-shell-switch-to-shell): Do not call
542         pop-to-buffer.
544 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
546         * progmodes/python.el
547         (python-shell-with-shell-buffer): New macro.
548         (python-shell-font-lock-get-or-create-buffer)
549         (python-shell-font-lock-kill-buffer)
550         (python-shell-font-lock-with-font-lock-buffer)
551         (python-shell-font-lock-cleanup-buffer)
552         (python-shell-font-lock-toggle): Use it.
553         (python-shell-font-lock-turn-on)
554         (python-shell-font-lock-turn-off): Use it.  Make command.
556 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
558         Grab all Python process output before inferior-python-mode hooks.
559         * progmodes/python.el (inferior-python-mode):
560         Call accept-process-output and sit-for to ensure all output for process
561         has been received before running hooks.
562         (python-shell-internal-get-or-create-process):
563         Cleanup accept-process-output and sit-for calls.
565 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
567         More robust shell startup and code setup.
568         * progmodes/python.el (python-shell-make-comint):
569         Remove accept-process-output call.
570         (python-shell-get-buffer): Return current buffer if major-mode is
571         inferior-python-mode.
572         (python-shell-get-or-create-process): Use it.
573         (python-shell-send-setup-code): Send all setup code in one string,
574         output success message and accept-process-output.
576 2014-07-27  Eli Zaretskii  <eliz@gnu.org>
578         * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
579         Add rudimentary support for bidirectional text.
581 2014-07-27  Martin Rudalics  <rudalics@gmx.at>
583         * frame.el (frame-notice-user-settings): Rewrite using
584         frame-initial-frame-tool-bar-height.
585         * menu-bar.el (menu-bar-horizontal-scroll-bar)
586         (menu-bar-no-horizontal-scroll-bar): New functions.
587         (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
588         scroll bars.
589         * scroll-bar.el (scroll-bar-lines)
590         (set-horizontal-scroll-bar-mode)
591         (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
592         (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
593         (scroll-bar-toolkit-horizontal-scroll): New functions.
594         (horizontal-scroll-bar-mode)
595         (previous-horizontal-scroll-bar-mode)
596         (horizontal-scroll-bar-mode-explicit): New variables.
597         (horizontal-scroll-bar-mode): New option.
598         (toggle-horizontal-scroll-bar): Do something.
599         (top-level): Bind horizontal-scroll-bar mouse-1.
600         * startup.el (tool-bar-originally-present): Remove variable.
601         (command-line): Don't set tool-bar-originally-present.
602         * window.el (window-min-height): Update doc-string.
603         (window--dump-frame): Dump horizontal scroll bar values.
604         (window--min-size-1): Handle minibuffer window separately.
605         Count in margins and horizontal scroll bar.  Return safe value
606         iff IGNORE equals 'safe.
607         (frame-windows-min-size): New function (used by frame resizing
608         routines).
609         (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
610         scroll bars.
611         (window--sanitize-window-sizes): New function.
612         (window-split-min-size): Remove.
613         (split-window): Count divider-width.  Don't use
614         `window-split-min-size' any more.  Reword error messages.
615         Sanitize windows sizes after splitting.
617 2014-07-27  Thien-Thi Nguyen  <ttn@gnu.org>
619         Use `defvar-local' more.
620         * progmodes/hideshow.el
621         (hs-c-start-regexp, hs-block-start-regexp)
622         (hs-block-start-mdata-select, hs-block-end-regexp)
623         (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
624         remove corresponding `make-variable-buffer-local' top-level calls.
626 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
628         Cleanup error signals.  (Bug#18067)
629         * progmodes/python.el
630         (python-indent-shift-left): Use user-error instead.
631         (python-shell-prompt-detect): Use lwarn with python group.
632         (python-completion-complete-at-point)
633         (python-eldoc--get-doc-at-point): Don't signal error.
635 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
637         Support for packages in Python shell.  (Bug#13570)
638         * progmodes/python.el (python-shell--package-depth): New var.
639         (python-shell-package-enable): New command.
640         (python-util-list-directories, python-util-list-files)
641         (python-util-list-packages): New functions.
643 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
645         Faster comint output.  (Bug#16875)
646         * progmodes/python.el:
647         (python-comint-output-filter-function): Make obsolete.
648         (python-comint-postoutput-scroll-to-bottom): New function.
649         (inferior-python-mode): Set comint-output-filter-functions to a
650         minimum.
652 2014-07-27  Fabián Ezequiel Gallina  <fgallina@gnu.org>
654         * progmodes/python.el (python-shell-font-lock-post-command-hook):
655         Safeguard current point and undo history.
657 2014-07-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
659         Robust shell syntax highlighting.  (Bug#18084, Bug#16875)
660         * progmodes/python.el:
661         (python-shell-prompt-input-regexps): Add iPython block prompt.
662         (python-shell-output-syntax-table): Delete var.
663         (python-shell-font-lock-with-font-lock-buffer): New macro.
664         (python-shell-font-lock-get-or-create-buffer)
665         (python-shell-font-lock-kill-buffer)
666         (python-shell-font-lock-cleanup-buffer)
667         (python-shell-font-lock-post-command-hook)
668         (python-shell-font-lock-turn-off): New functions.
669         (python-shell-font-lock-turn-on): New function.
670         (inferior-python-mode): Use it.
671         (python-shell-font-lock-toggle): New command.
672         (python-shell-font-lock-enable): Rename from
673         python-shell-enable-font-lock.
674         (run-python-internal): Use it.
675         (python-shell-font-lock-comint-output-filter-function): New function.
676         (python-shell-comint-end-of-output-p): New function.
677         (python-shell-output-filter): Use it.
678         (python-util-comint-last-prompt): New function.
679         (python-util-text-properties-replace-name): New function.
681 2014-07-25  Glenn Morris  <rgm@gnu.org>
683         * vc/ediff-init.el (ediff-toggle-read-only-function):
684         * vc/ediff-util.el (ediff-toggle-read-only):
685         Replace obsolete toggle-read-only with read-only-mode.
687 2014-07-24  Michael Albinus  <michael.albinus@gmx.de>
689         * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
690         with `save-match-data'.  (Bug#18095)
692 2014-07-21  Vincent Belaïche  <vincentb1@users.sourceforge.net>
694         * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
695         order to ensure that row and col are lexically bound inside the
696         evaluated sexp.
698 2014-07-21  Glenn Morris  <rgm@gnu.org>
700         * progmodes/hideif.el (hide-ifdef-mode-submap):
701         Also substitute read-only-mode.
702         * bindings.el (mode-line-toggle-read-only):
703         * bs.el (bs-toggle-readonly):
704         * buff-menu.el (Buffer-menu-toggle-read-only):
705         * dired.el (dired-toggle-read-only):
706         * files.el (view-read-only, find-file-read-only)
707         (find-file-read-only-other-window)
708         (find-file-read-only-other-frame):
709         * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
710         Doc fixes re toggle-read-only.
712 2014-07-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
714         * progmodes/python.el: Add comment about pipe buffering and
715         solutions for missing/delayed output in inferior Python shells.
716         (Bug#17304)
718         * progmodes/python.el (python-mode): Don't set
719         mode-require-final-newline.  (Bug#17990)
721         Make python.el work with IPython automatically.  (Bug#15510)
722         * progmodes/python.el:
723         (python-shell-completion-setup-code): New value supporting iPython.
724         (python-shell-completion-string-code): New value supporting iPython.
725         (python-shell-completion-get-completions): Use them.
726         (python-shell-completion-module-string-code): Make obsolete.
727         (python-shell-prompt-input-regexps)
728         (python-shell-prompt-output-regexps): Add safeguard for ipdb.
729         (python-shell-output-filter): Fix comment typo.
731         Fix Python shell prompts detection for remote hosts.
732         * progmodes/python.el (python-shell-prompt-detect):
733         Replace call-process with process-file and make it more robust.
735         Autodetect Python shell prompts.  (Bug#17370)
736         * progmodes/python.el:
737         (python-shell-interpreter-interactive-arg)
738         (python-shell-prompt-detect-enabled)
739         (python-shell-prompt-detect-failure-warning)
740         (python-shell-prompt-input-regexps)
741         (python-shell-prompt-output-regexps): New vars.
742         (python-shell-prompt-calculated-input-regexp)
743         (python-shell-prompt-calculated-output-regexp): New vars.
744         (python-shell-get-process-name)
745         (python-shell-internal-get-process-name)
746         (python-shell-output-filter)
747         (python-shell-completion-get-completions): Use them.
748         (python-shell-prompt-detect)
749         (python-shell-prompt-validate-regexps): New functions.
750         (python-shell-prompt-set-calculated-regexps): New function.
751         (inferior-python-mode): Use it.  Also honor overriden
752         python-shell-interpreter and python-shell-interpreter-args.
753         (python-shell-make-comint): Honor overriden
754         python-shell-interpreter and python-shell-interpreter-args.
755         (python-shell-get-or-create-process): Make it testable by allowing
756         to call run-python non-interactively.
757         (python-util-valid-regexp-p): New function.
758         (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
759         (python-shell-prompt-output-regexp)
760         (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
762 2014-07-21  Stefan Monnier  <monnier@iro.umontreal.ca>
764         * emacs-lisp/smie.el (smie-config--guess-1): Split from
765         smie-config--guess.
766         (smie-config--guess): Use it.
768         * emacs-lisp/edebug.el: Use nadvice.
769         (edebug-original-read): Remove.
770         (edebug--read): Rename from edebug-read and add `orig' arg.
771         (edebug-uninstall-read-eval-functions)
772         (edebug-install-read-eval-functions): Use nadvice.
773         (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
774         (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
775         (edebug-read-string, edebug-read-function): Use just `read'.
776         (edebug-original-debug-on-entry): Remove.
777         (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
778         `orig' arg.
779         (debug-on-entry): Override with nadvice.
781         * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
782         it also makes sense to bind it to a non-mouse event.
784         * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
786 2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
788         * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
789         (bug#18015).
791         * rect.el (rectangle--string-preview): Don't assume there
792         a non-nil default (bug#17984).
794 2014-07-16  Glenn Morris  <rgm@gnu.org>
796         * desktop.el (after-init-hook): Disable startup frame restoration
797         in non-graphical situations.  (Bug#17693)
799         * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
800         if it was "empty", or used for a different set of files.  (Bug#17884)
802 2014-07-16  Eli Zaretskii  <eliz@gnu.org>
804         * bindings.el (mode-line-remote): If default-directory is not a
805         string, don't call file-remote-p on it; instead state in the
806         help-echo that it is nil.  (Bug#17986)
808 2014-07-14  Daniel Colascione  <dancol@dancol.org>
810         * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
811         to `macroexpand-all'
813         * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
814         Use `macroexpand-all' instead of `cl-macroexpand-all'.
816 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
818         Fix bug: C-x v v discarded existing log message (Bug#17884).
819         * vc/vc-dispatcher.el (vc-log-edit):
820         Don't clobber an already-existing log message.
822 2014-07-12  Glenn Morris  <rgm@gnu.org>
824         * vc/log-edit.el (log-edit-changelog-entries):
825         Check for a visited-but-never-saved ChangeLog.
827 2014-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
829         * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
830         a non-existing file (bug#17970).
832         * faces.el (face-name): Undo last change.
833         (x-resolve-font-name): Don't call face-name (bug#17956).
835 2014-07-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
837         Fix dedenters and electric colon handling. (Bug#15163)
838         * progmodes/python.el
839         (python-rx-constituents): Add dedenter and block-ender.
840         (python-indent-dedenters, python-indent-block-enders): Delete.
841         (python-indent-context): Return new case for dedenter-statement.
842         (python-indent-calculate-indentation): Handle new case.
843         (python-indent-calculate-levels): Fix levels calculation for
844         dedenter statements.
845         (python-indent-post-self-insert-function): Fix colon handling.
846         (python-info-dedenter-opening-block-message): New function.
847         (python-indent-line): Use it.
848         (python-info-closing-block)
849         (python-info-closing-block-message): Remove.
850         (python-info-dedenter-opening-block-position)
851         (python-info-dedenter-opening-block-positions)
852         (python-info-dedenter-statement-p): New functions.
854 2014-07-11  Dmitry Antipov  <dmantipov@yandex.ru>
856         * files.el (out-of-memory-warning-percentage): New defcustom.
857         (warn-maybe-out-of-memory): Use it.
859 2014-07-11  Michael Albinus  <michael.albinus@gmx.de>
861         * subr.el (read-passwd): Use `read-hide-char' if non-nil.  Bind it
862         when calling `read-string'.  (Bug#17839)
864 2014-07-10  Eli Zaretskii  <eliz@gnu.org>
866         * files.el (warn-maybe-out-of-memory): Fix the wording of the
867         warning.
869 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
871         * files.el (warn-maybe-out-of-memory): New function.
872         (find-file-noselect): Use it.
874 2014-07-09  Sam Steingold  <sds@gnu.org>
876         * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
877         `constant' like `bless', `return' &c
879 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
881         * rect.el (apply-on-rectangle): Check forward-line really moved to the
882         next line.
884 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
886         * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
887         the middle of a line (bug#17896).
889 2014-07-09  Juri Linkov  <juri@jurta.org>
891         * startup.el (command-line): Append displaying the warning about
892         the errors in the init file to the end of `after-init-hook'.
893         (Bug#17927)
895         * faces.el (face-name): Return input arg `face' as-is
896         when it's not a symbol.
897         (x-resolve-font-name): Don't check if the face is a symbol.
898         (Bug#17956)
900         * facemenu.el (list-colors-print): In help-echo format use %.2f
901         instead of %d because now HSV values are floating-point components
902         between 0.0 and 1.0.
904 2014-07-09  Glenn Morris  <rgm@gnu.org>
906         * emulation/cua-rect.el (cua--activate-rectangle):
907         Avoid setting cua--rectangle to nil.  (Bug#17877)
909 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
911         * calendar/todo-mode.el: Fix wrong-type-argument error when
912         marking multiple consecutive items.
913         (todo-toggle-mark-item): Don't try to mark the empty lines at the
914         end of the todo and done items sections.  Note in doc string that
915         items marked by passing a numeric prefix argument can include the
916         last todo and first done items.
917         (todo-mark-category): Don't try to mark the empty line between the
918         todo and done items sections.
920 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
922         * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
923         proper Lisp quoting (bug#17934).
925         * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
926         require-final-newline since prog-mode already took care of it (bug#17947).
928 2014-07-09  Stephen Berman  <stephen.berman@gmx.net>
930         * calendar/todo-mode.el: Fix two bugs.  Shorten Commentary and
931         refer to the Todo mode Info manual.  Update the comment on
932         requiring cl-lib.
933         (todo-find-filtered-items-file): Add todo-prefix overlays.
934         (todo-filter-items): Reorder a let-bound variable to avoid a
935         wrong-type-argument error on canceling the file choice dialog.
937 2014-07-09  Stefan Monnier  <monnier@iro.umontreal.ca>
939         * progmodes/octave.el (inferior-octave-mode):
940         Set comint-input-ring-size to a number (bug#17912).
942 2014-07-09  Juri Linkov  <juri@jurta.org>
944         * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
945         and `isearch-mode' associated with nil.  (Bug#17849)
947 2014-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
949         * linum.el (linum--face-height): New function (bug#17813).
950         (linum-update-window): Use it to adjust margin to linum's width.
952         * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
953         * eshell/em-smart.el (eshell-smart-scroll-window):
954         Use with-selected-window.
956         * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
957         Remove also pointless window&mark manipulation.
959         * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
960         (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
961         (perl-continuation-line-p): Don't skip over anything else than labels.
962         Return the previous char.
963         (perl-calculate-indent): Use syntax-ppss instead of parse-start
964         and update callers accordingly.  For continuation lines, check the
965         the case of array hashes.
966         (perl-backward-to-noncomment): Make it non-interactive.
967         (perl-backward-to-start-of-continued-exp): Rewrite.
969 2014-07-08  Sam Steingold  <sds@gnu.org>
971         * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
972         New user commands.
974 2014-07-08  Juri Linkov  <juri@jurta.org>
976         * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
977         (vc-annotate-color-map): Use less saturated colors (20%) for
978         background-mode.
979         (vc-annotate-very-old-color): Add default value for background-mode.
980         (vc-annotate-background): Set default value to nil since now text on
981         the default backgrounds should be legible in light and dark modes.
982         (vc-annotate-lines): Use `vc-annotate-background-mode'.  Doc fix.
983         (Bug#17808)
985 2014-07-08  Juri Linkov  <juri@jurta.org>
987         * simple.el (transpose-chars): Don't move point into read-only area.
988         (Bug#17829)
990 2014-07-08  Juri Linkov  <juri@jurta.org>
992         * window.el (with-displayed-buffer-window): New macro.
993         (with-temp-buffer-window, with-current-buffer-window):
994         Use `macroexp-let2' to evaluate and bind variables
995         in the same order as macro arguments.
996         (display-buffer--action-function-custom-type):
997         Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
999         * minibuffer.el (minibuffer-completion-help): Replace
1000         `with-output-to-temp-buffer' with `with-displayed-buffer-window'
1001         with actions that display *Completions* at-bottom when called
1002         from the minibuffer, or below-selected in a normal buffer.
1003         Associate `window-height' with `fit-window-to-buffer'.
1004         Let-bind `pop-up-windows' to nil.
1006         * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
1007         instead of `with-current-buffer-window'.  (Bug#17809)
1009 2014-07-07  Luke Lee  <luke.yx.lee@gmail.com>
1011         * progmodes/hideif.el (hide-ifdef-env): Change to global.
1012         (hide-ifdef-env-backup): New variable.
1013         (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
1014         New customizable variables.
1015         (hif-clear-all-ifdef-defined): New defun.
1016         (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
1017         (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
1018         (hif-tokenize): Fix for MS-DOS/Win EOL style.
1019         (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
1020         Fix bug to hide the correct #elif region(s).
1021         (hif-range-elif): New defun.
1022         (hif-recurse-level): New var.
1023         (hif-evaluate-region, hif-evaluate-macro): New defun.
1024         (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
1025         fully hidden.
1026         (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
1027         Better interaction.
1029 2014-07-04  Michael Albinus  <michael.albinus@gmx.de>
1031         * net/dbus.el (dbus-peer-handler): New defun.
1032         (dbus-register-service): Register it.  (Bug#17858)
1033         (dbus-managed-objects-handler): Fix docstring.
1035 2014-07-04  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
1037         * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
1038         (narrow-to-defun): New arg include-comments, defaulting to it
1039         (bug#16328).
1041 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1043         * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
1044         different calling convention to rectangle--unhighlight-for-redisplay.
1046 2014-07-03  Michael Albinus  <michael.albinus@gmx.de>
1048         * net/tramp.el (tramp-call-process): Handle error strings.
1050         * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
1052         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
1053         (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
1055         * net/trampver.el: Update release number.
1057 2014-07-03  Juri Linkov  <juri@jurta.org>
1059         * desktop.el (desktop-save): Rename arg `auto-save' to
1060         `only-if-changed'.  Doc fix.  (Bug#17873)
1062 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1064         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1065         Use insert-for-yank (bug#17271).
1067 2014-07-03  Leo Liu  <sdl.web@gmail.com>
1069         * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1070         Support lexical-binding.
1072 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1074         * vc/log-edit.el (log-edit-goto-eoh): New function.
1075         (log-edit--match-first-line): Use it (bug#17861).
1077 2014-07-03  Glenn Morris  <rgm@gnu.org>
1079         * vc/log-edit.el (log-edit-hook): Add missing :version.
1081 2014-07-03  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1083         * progmodes/python.el (python-indent-post-self-insert-function):
1084         Enhancements to electric indentation behavior inside
1085         parens. (Bug#17658)
1087 2014-07-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1089         * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1090         buffer-invisibility-spec (bug#17867).
1092 2014-07-03  Andreas Schwab  <schwab@linux-m68k.org>
1094         * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1095         pass "-a".
1097 2014-07-03  Glenn Morris  <rgm@gnu.org>
1099         * cus-edit.el (help):
1100         * finder.el (finder-known-keywords):
1101         * help.el (help-for-help-internal):
1102         * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1103         (ediff-redraw-registry-buffer):
1104         * vc/ediff-ptch.el (ediff-patch-file-internal):
1105         Doc fixes re "online" help.  (Bug#17803)
1107         * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1108         (idlwave-mode): Doc URL update.
1110 2014-07-01  Juri Linkov  <juri@jurta.org>
1112         * man.el: Display man pages immediately and use process-filter
1113         to format them asynchronously.
1114         (Man-width): Doc fix.
1115         (man): Doc fix.
1116         (Man-start-calling): Use `with-selected-window' to get
1117         `frame-width' and `window-width'.
1118         (Man-getpage-in-background): Call `Man-notify-when-ready'
1119         immediately after creating a new buffer.  Call `Man-mode' and set
1120         `mode-line-process' in the created buffer.  Set process-filter to
1121         `Man-bgproc-filter' in start-process branch.  In call-process branch
1122         call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
1123         Use `Man-start-calling' inside `with-current-buffer'.
1124         (Man-fontify-manpage): Don't print messages.  Fix boundary condition.
1125         (Man-cleanup-manpage): Don't print messages.
1126         (Man-bgproc-filter): New function.
1127         (Man-bgproc-sentinel): Add `save-excursion' to keep point when
1128         user moved it during asynchronous formatting.  Move calls of
1129         `Man-fontify-manpage' and `Man-cleanup-manpage' to
1130         `Man-bgproc-filter'.  Move the call of `Man-mode' to
1131         `Man-getpage-in-background'.  Use `quit-restore-window'
1132         instead of `kill-buffer'.  Use `message' instead of `error'
1133         because errors are caught by process sentinel.
1134         (Man-mode): Move calls of `Man-build-page-list',
1135         `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
1136         `Man-bgproc-sentinel'.  Doc fix.  (Bug#2588, bug#5054, bug#9084, bug#17831)
1138         * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
1139         for the message about the man page cleaned up.
1141 2014-07-01  Mario Lang  <mlang@delysid.org>
1143         * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
1144         cosutomization option `gnutls-verify-error'.
1146 2014-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1148         * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
1149         Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
1151         * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
1152         (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
1153         is suspended (bug#17857).
1155 2014-07-01  Michael Albinus  <michael.albinus@gmx.de>
1157         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1158         Prefer utf-8 coding.  (Bug#17859)
1160 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1162         * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
1163         for `reverse'.
1165 2014-06-30  Glenn Morris  <rgm@gnu.org>
1167         * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
1168         (autoload-ensure-default-file): Maybe make existing output writable.
1169         * Makefile.in (AUTOGEN_VCS): Remove.
1170         (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
1172 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1174         * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
1176 2014-06-30  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1178         New if-let, when-let, thread-first and thread-last macros.
1180         * emacs-lisp/subr-x.el
1181         (internal--listify, internal--check-binding)
1182         (internal--build-binding-value-form, internal--build-binding)
1183         (internal--build-bindings): New functions.
1184         (internal--thread-argument, thread-first, thread-last)
1185         (if-let, when-let): New macros.
1187 2014-06-30  Grégoire Jadi  <daimrod@gmail.com>
1189         * net/rcirc.el (rcirc-buffer-process): Restore previous
1190         behaviour.  (Bug#17772)
1192 2014-06-29  Alan Mackenzie  <acm@muc.de>
1194         Don't call c-parse-state when c++-template-syntax-table is active.
1195         * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
1196         (c-guess-basic-syntax CASE 5D.3): Rearrange so that
1197         c-syntactic-skip-backwards isn't called with the pertinent syntax table.
1199 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
1201         * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1202         account for file-wide setting of todo-top-priorities-overrides.
1203         Make code a bit cleaner.
1205 2014-06-28  Glenn Morris  <rgm@gnu.org>
1207         * net/eww.el (eww-mode) <eww-current-title>: Make local.  (Bug#17860)
1209 2014-06-28  Stephen Berman  <stephen.berman@gmx.net>
1211         * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1212         category-wide setting of todo-top-priorities-overrides, check for
1213         a file-wide setting and fontify accordingly.
1215 2014-06-28  Glenn Morris  <rgm@gnu.org>
1217         * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
1219 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1221         * progmodes/hideif.el: Use lexical-binding.  Fix up cl-lib usage.
1223 2014-06-28  K. Handa  <handa@gnu.org>
1225         Fix Bug#17739.
1227         * composite.el: Setup composition-function-table for dotted circle.
1228         (compose-gstring-for-dotted-circle): New function.
1230         * international/characters.el: Add category "^" to all
1231         non-spacing characters.
1233 2014-06-28  Glenn Morris  <rgm@gnu.org>
1235         * Makefile.in (doit): Remove force rule.
1236         (custom-deps, finder-data, autoloads, update-subdirs)
1237         (compile-one-process): PHONY targets do not need force rules.
1239         * Makefile.in (compile-main, compile, compile-always):
1240         No need to explicitly pass variables to ourself in recursive calls.
1242 2014-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1244         * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
1246 2014-06-26  Glenn Morris  <rgm@gnu.org>
1248         * Makefile.in (update-authors): Update for moved authors.el.
1250 2014-06-26  Leo Liu  <sdl.web@gmail.com>
1252         * skeleton.el (skeleton-end-hook): Default to nil and move the
1253         work to skeleton-insert.  (Bug#17850)
1255 2014-06-26  Dmitry Antipov  <dmantipov@yandex.ru>
1257         * calc/calc-alg.el (math-beforep):
1258         * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
1259         Simplify because string-lessp can accept symbols as args.
1261 2014-06-26  Daiki Ueno  <ueno@gnu.org>
1263         * emacs-lisp/package.el (package--check-signature):
1264         If package-check-signature is allow-unsigned, don't signal error when
1265         we can't verify signature because of missing public key
1266         (bug#17625).
1268 2014-06-26  Glenn Morris  <rgm@gnu.org>
1270         * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1271         Remove outdated declaration.
1273         * emacs-lisp/authors.el (authors-valid-file-names)
1274         (authors-renamed-files-alist): Additions.
1276 2014-06-26  Leo Liu  <sdl.web@gmail.com>
1278         * textmodes/picture.el (picture-set-tab-stops):
1279         * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1280         (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1282         * progmodes/asm-mode.el (asm-calculate-indentation):
1283         Use indent-next-tab-stop.
1285         * indent.el (indent-accumulate-tab-stops): New function.
1287 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1289         * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1290         (package-desc-status): Obey it.
1292 2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
1294         * calendar/todo-mode.el: Fix two bugs.
1295         (todo-insert-item--basic): If user cancels item insertion to
1296         another category before setting priority, show original category
1297         whether it is in the same or a different file.
1298         (todo-set-item-priority): After selecting category, instead of
1299         moving point to top, which extends an active region, restore it.
1301 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1303         * help-fns.el (describe-function-1): Check file-name is a string before
1304         calling help-fns--autoloaded-p (bug#17564).
1306 2014-06-26  Juri Linkov  <juri@jurta.org>
1308         * desktop.el (desktop-auto-save-enable)
1309         (desktop-auto-save-disable): New functions.
1310         (desktop-save-mode, desktop-auto-save-timeout): Use them.
1311         (desktop-read): Disable the autosave before loading the desktop,
1312         and enable afterwards.  (Bug#17351)
1314 2014-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1316         Fix some indentation problem with \; and pipes (bug#17842).
1317         * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1318         (sh-smie--default-forward-token, sh-smie--default-backward-token):
1319         New functions.
1320         (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1321         (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1322         (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1324 2014-06-26  Glenn Morris  <rgm@gnu.org>
1326         * emacs-lisp/find-func.el (find-function-C-source-directory):
1327         Use file-accessible-directory-p.
1329         * ps-samp.el: Make it slightly less awful.
1330         (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
1331         (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
1332         Only set local values.
1333         (ps-article-subject, ps-article-author): Use standard functions
1334         like mail-fetch-field.
1335         (ps-info-file, ps-info-node): Use match-string.
1336         (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
1337         (ps-samp-ps-setup): ... new function.
1339         * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
1340         Optimize away code unneeded on any modern Emacs.
1342         * emacs-lisp/authors.el: Move to ../admin.
1344         * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
1346 2014-06-26  Luke Lee  <luke.yx.lee@gmail.com>
1348         * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
1349         (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
1350         performance enhancements.
1351         (hif-parse-if-exp): Rename to `hif-parse-exp'.  Enhance for macro
1352         expansion.
1353         (hif-factor, hif-string-concatenation, intern-safe): Support string
1354         concatenation and argumented macro expansion.
1355         (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
1356         (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
1357         (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
1358         (hif-canonicalize-tokens, hif-place-macro-invocation)
1359         (hif-parse-macro-arglist): Mostly new functions for supporting
1360         argumented macro expansion.
1361         (hif-string-concatenation, hif-stringify, hif-token-concat)
1362         (hif-token-stringification, hif-token-concatenation):
1363         Stringification and concatenation.
1364         (hif-find-next-relevant): Fix comments.
1365         (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
1366         some cases involving #elif.
1367         (hif-find-define, hif-add-new-defines): New functions for automatically
1368         scanning of defined symbols.
1369         (hide-ifdef-guts): Fix for defined symbol auto scanning.
1370         (hide-ifdef-undef): Fix behavior to match CPP.
1372 2014-06-25  Glenn Morris  <rgm@gnu.org>
1374         * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
1375         ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
1376         ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
1377         files.  They are not relevant to the original issue (bug#1004),
1378         and cause unnecessary recompilation (bug#2151).
1380 2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1382         * play/landmark.el: Use lexical-binding and avoid `intangible'.
1383         (landmark--last-pos): New var.
1384         (landmark--intangible-chars): New const.
1385         (landmark--intangible): New function.
1386         (landmark-mode, landmark-move): Use it.
1387         (landmark-mode): Remove properties.
1388         (landmark-plot-square, landmark-point-square, landmark-goto-xy)
1389         (landmark-cross-qtuple):
1390         Don't worry about `intangible' any more.
1391         (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
1392         (landmark-init-display): Don't set `intangible' and `point-entered'.
1393         (square): Remove.  Inline it instead.
1394         (landmark--distance): Rename from `distance'.
1395         (landmark-calc-distance-of-robot-from): Rename from
1396         calc-distance-of-robot-from.
1397         (landmark-calc-smell-internal): Rename from calc-smell-internal.
1399 2014-06-25  Dmitry Antipov  <dmantipov@yandex.ru>
1401         * files.el (dir-locals-find-file, file-relative-name):
1402         * info.el (Info-complete-menu-item):
1403         * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
1404         to compare-strings to avoid out-of-range errors.
1405         * subr.el (string-prefix-p): Adjust to match strict range
1406         checking in compare-strings.
1408 2014-06-24  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
1410         * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
1411         for comment lines non-greedy and stopping at newlines to fix stack
1412         overflows with large files.
1414 2014-06-24  Eli Barzilay  <eli@barzilay.org>
1416         * calculator.el (calculator-last-input): Drop 'ascii-character property
1417         lookup.
1419 2014-06-24  Leo Liu  <sdl.web@gmail.com>
1421         * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1422         tab-stop-list to nil.  (Bug#16381)
1424         * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1425         (indent-rigidly-left-to-tab-stop)
1426         (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1427         (move-to-tab-stop): Change callers.
1429 2014-06-24  Eli Zaretskii  <eliz@gnu.org>
1431         * skeleton.el (skeleton-insert): Yet another fix of the doc string
1432         wrt behavior of \n as the first/last element of a skeleton.
1434 2014-06-24  Michael Albinus  <michael.albinus@gmx.de>
1436         * net/tramp-adb.el (tramp-adb-handle-process-file):
1437         * net/tramp-sh.el (tramp-sh-handle-process-file):
1438         * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1439         the output buffer when DISPLAY is non-nil.  (Bug#17815)
1441 2014-06-24  Glenn Morris  <rgm@gnu.org>
1443         * play/landmark.el (landmark-move-down, landmark-move-up):
1444         Fix 2007-10-20 change - preserve horizontal position.
1446 2014-06-23  Sam Steingold  <sds@gnu.org>
1448         * simple.el (kill-append): Remove undo boundary depending on ...
1449         (kill-append-merge-undo): New user option.
1451 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1453         * simple.el (handle-shift-selection, exchange-point-and-mark)
1454         (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
1455         (transient-mark-mode): Use&set the global value.
1456         * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
1457         * emulation/edt.el (edt-emulation-off): Save&restore the global
1458         transient-mark-mode setting.
1459         * obsolete/pc-select.el (pc-selection-mode): Use the
1460         transient-mark-mode function.
1462 2014-06-23  Eli Zaretskii  <eliz@gnu.org>
1464         * international/fontset.el (script-representative-chars):
1465         Add representative characters for scripts added in Unicode 7.0.
1466         (otf-script-alist): Synchronize with the latest registry of OTF
1467         script tags.
1469         * international/characters.el (char-script-table): Update for
1470         scripts added and codepoint ranges changed in Unicode 7.0.
1472 2014-06-23  Eli Barzilay  <eli@barzilay.org>
1474         * calculator.el (calculator-standard-displayer): Fix bug in use of
1475         `calculator-groupize-number'.
1476         (calculator-funcall): Fix broken `cl-flet' use by moving it into the
1477         `eval' code, so it works in v24.3.1 too.
1478         (calculator-last-input): Comment to clarify purpose.
1480 2014-06-22  Mario Lang  <mlang@delysid.org>
1482         * textmodes/rst.el (rst-comment-region): From from -> from.
1484         * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
1486 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
1488         * electric.el (electric-layout-post-self-insert-function):
1489         * emacs-lisp/ert.el (ert--insert-infos):
1490         * obsolete/vi.el (vi-set-mark):
1491         * term.el (term-handle-scroll):
1492         * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
1493         * wid-edit.el (widget-editable-list-value-create):
1494         Prefer point-marker to copy-marker of point.
1496 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1498         Fix completion retrieval parsing (bug#17209).
1499         * progmodes/python.el (python-mode):
1500         (python-util-strip-string): New function.
1501         (python-shell-completion-get-completions): Use it.
1503 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1505         * skeleton.el (skeleton-insert): Fix last change.
1507 2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1509         Enhancements for outline integration (bug#17796).
1510         * progmodes/python.el (python-mode): Properly set
1511         outline-heading-end-regexp so that comments after colons for
1512         defuns are supported.
1514 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1516         * skeleton.el (skeleton-insert): Doc fix.
1518 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1520         * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1521         (smie-config-guess): Use smie-config-local so the rules are obeyed
1522         (bug#17818).
1524         * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1525         since it's already done inside the loop (bug#17819).
1527 2014-06-21  Martin Rudalics  <rudalics@gmx.at>
1529         * mouse.el (mouse-drag-line): Re-remove code initially removed
1530         on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1531         (Bug#17819).
1533 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1535         * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1536         align with the surrounding parent (bug#17721).
1538 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1540         * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1541         locally to nil.
1542         (texinfo-insert-block, texinfo-insert-@end)
1543         (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1544         local setting of skeleton-end-newline by adding an explicit \n to
1545         the skeletons where appropriate.  (Bug#17801)
1547 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1549         * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1550         (smie-indent--hanging-p): Use it.
1551         * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1553 2014-06-21  Leo Liu  <sdl.web@gmail.com>
1555         * simple.el (read-quoted-char): Don't let help chars pop up help
1556         buffer.  (Bug#16617)
1558 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1560         * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1561         for | (bug#17621).
1563         * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
1564         Drop unknown events instead of burping.
1566 2014-06-21  Eli Zaretskii  <eliz@gnu.org>
1568         * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1569         and later.  (Bug#17790)
1571 2014-06-21  Juri Linkov  <juri@jurta.org>
1573         * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1574         to `soft'.  (Bug#17554)
1576 2014-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1578         * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1579         (bug#17737).
1581 2014-06-21  Dmitry Gutov  <dgutov@yandex.ru>
1583         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1584         `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
1586 2014-06-21  Michael Albinus  <michael.albinus@gmx.de>
1588         * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1589         `unread-command-events'.
1591 2014-06-19  William Xu  <william.xwl@gmail.com>
1593         * progmodes/hideif.el (hif-string-to-number): Don't return float for
1594         hex integer constants (bug#17807).
1596 2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1598         * international/mule-util.el (truncate-string-ellipsis): New var.
1599         (truncate-string-to-width): Use it.
1601 2014-06-19  Robert Brown  <robert.brown@gmail.com>  (tiny change)
1603         * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
1604         (lisp-string-in-doc-position-p): New function, extracted from
1605         lisp-font-lock-syntactic-face-function.
1606         (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
1608 2014-06-19  Grégoire Jadi  <daimrod@gmail.com>
1610         * net/rcirc.el (rcirc-omit-mode): Fix recenter error.  (Bug#17769)
1612 2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1614         * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
1615         (bubbles--game-over): Don't add `intangible' properties since they
1616         didn't work anyway.
1618 2014-06-18  Juri Linkov  <juri@jurta.org>
1620         * vc/ediff-init.el (ediff-current-diff-Ancestor)
1621         (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
1622         (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
1623         (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
1624         Add `min-colors 88' version with removed black/white foregrounds.
1625         (Bug#10181)
1627 2014-06-18  Juri Linkov  <juri@jurta.org>
1629         * vc/diff-mode.el (diff-changed): Empty face definition to use
1630         `diff-removed' and `diff-added' on tty as well.  (Bug#10181)
1631         (diff-context): Use darker color on light background and
1632         lighter color on dark background.
1634 2014-06-18  Juri Linkov  <juri@jurta.org>
1636         * vc/diff-mode.el (diff-refine-changed): Rename from
1637         `diff-refine-change' for consistency with `diff-changed'.
1638         (diff-refine-change): Add obsolete face alias.  (Bug#10181)
1640         * vc/smerge-mode.el (smerge-refined-changed): Rename from
1641         `smerge-refined-change'.
1642         (smerge-refined-change): Add obsolete face alias.
1644 2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1646         * rect.el (rectangle-preview): New custom.
1647         (rectangle): New group.
1648         (rectangle--pos-cols): Add `window' argument.
1649         (rectangle--string-preview-state, rectangle--string-preview-window):
1650         New vars.
1651         (rectangle--string-flush-preview, rectangle--string-erase-preview)
1652         (rectangle--space-to, rectangle--string-preview): New functions.
1653         (string-rectangle): Use them.
1654         (rectangle--inhibit-region-highlight): New var.
1655         (rectangle--highlight-for-redisplay): Obey it.  Make sure
1656         `apply-on-region' uses the point-crutches of the right window.
1657         Use :align-to rather than multiple spaces.
1659 2014-06-16  Andrea Rossetti  <andrea.rossetti@gmail.com>  (tiny change)
1661         * ruler-mode.el (ruler-mode-window-col)
1662         (ruler-mode-mouse-set-left-margin)
1663         (ruler-mode-mouse-set-right-margin): Fix calculation of column
1664         from mouse position (Bug#17768).
1666 2014-06-16  Ron Schnell  <ronnie@driver-aces.com>
1668         * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
1669         without varname or rhs causes crash.
1670         (dun-ftp): Fix bug where blank ftp password is allowed, making it
1671         impossible to win endgame.
1672         (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
1673         rlogin is anymore.
1674         (dun-help): Bump version number; update contact info.
1676 2014-06-15  Eli Barzilay  <eli@barzilay.org>
1678         * calculator.el (calculator-prompt, calculator-remove-zeros)
1679         (calculator-mode-hook, calculator-operators, calculator-stack)
1680         (calculator-mode): Tweak docstring.
1681         (calculator-user-operators): Tweak docstring, fix a bug in the last
1682         example.
1683         (calculator-displayer): `std' case has an optional boolean.
1684         (calculator-displayers): Use the new boolean to group in decimal mode.
1685         (calculator-mode-map, calculator, calculator-message)
1686         (calculator-op-arity, calculator-add-operators)
1687         (calculator-string-to-number, calculator-displayer-prev)
1688         (calculator-displayer-next, calculator-remove-zeros)
1689         (calculator-eng-display, calculator-number-to-string)
1690         (calculator-update-display, calculator-last-input)
1691         (calculator-clear-fragile, calculator-digit, calculator-decimal)
1692         (calculator-exp, calculator-saved-move, calculator-clear)
1693         (calculator-copy, calculator-put-value, calculator-help)
1694         (calculator-expt, calculator-truncate): Minor code improvements.
1695         (calculator-need-3-lines): New function pulling out code from
1696         `calculator'.
1697         (calculator-get-display): Rename from `calculator-get-prompt', and
1698         improved.
1699         (calculator-push-curnum): Rename from `calculator-curnum-value', and
1700         extended for all uses of it.  All callers changed.
1701         (calculator-groupize-number): New utility for splitting a number into
1702         groups.
1703         (calculator-standard-displayer): Improve code, new optional argument to
1704         use comma-split groups, make second argument optional too to use with
1705         'left/'right inputs.  All callers changed.
1706         (calculator-reduce-stack-once): New utility, doing the meat of what
1707         `calculator-reduce-stack' used to do, much improved (mostly using
1708         `pcase' for conciseness and clarity).
1709         (calculator-reduce-stack): Now doing just the reduction loop using
1710         `calculator-reduce-stack-once'.
1711         (calculator-funcall): Improve code, make it work in v24.3.1 too.
1712         (calculator-last-input): Improve code, remove some old cruft.
1713         (calculator-quit): Kill `calculator-buffer' in electric mode too.
1714         (calculator-integer-p): Remove.
1715         (calculator-fact): Improve code, make it work on non-integer values
1716         too (using truncated numbers).
1718 2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
1720         Sync with Tramp 2.2.10.
1722         * net/tramp.el (tramp-methods): Tweak docstring.
1723         (tramp-handle-file-accessible-directory-p): Check for
1724         `file-readable-p' instead of `file-executable-p'.
1725         (tramp-check-cached-permissions):
1726         Use `tramp-compat-file-attributes'.
1727         (tramp-call-process): Add new argument VEC.  Adapt callees in all
1728         tramp*.el files.
1730         * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
1731         (tramp-adb-maybe-open-connection): Don't set
1732         `tramp-current-*' variables.
1734         * net/tramp-cache.el (tramp-flush-file-function): Do not flush
1735         file properties of temporary buffers.
1737         * net/tramp-ftp.el (top): Remove special handling for URL syntax.
1739         * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
1740         (tramp-gvfs-handle-delete-file): Flush file
1741         properties, not directory properties.
1742         (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
1743         reading "unix::mode".
1744         (tramp-gvfs-handle-file-name-all-completions):
1745         Use "-h" option for "gvfs-ls".
1746         (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
1747         (tramp-gvfs-send-command): Simplify traces.
1749         * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
1750         (vc-git-program, vc-hg-program): Declare.
1751         (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
1752         (tramp-methods) <nc>: Add new method.
1753         (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
1754         (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
1755         `tramp-login-args'.
1756         (tramp-default-user-alist): Add "nc".
1757         (top): Remove completion function for "sftp".  Add completion
1758         functions for "nc" and "psftp".
1759         (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
1760         Implement support for "nc" method.
1761         (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
1762         (tramp-remote-coding-commands, tramp-call-local-coding-command):
1763         Tweak docstring.
1764         (tramp-sh-handle-write-region): Tweak error message.
1765         (tramp-sh-handle-vc-registered): Remove backends when the remote
1766         binary does not exist.
1767         (tramp-find-inline-encoding): Do not raise an error.
1768         (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
1769         the "nc" case.  Quote result also locally.
1771         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1772         (tramp-smb-handle-set-file-acl): Use `start-process'.
1773         (tramp-smb-handle-insert-directory): Use progress reporter.
1774         (tramp-smb-handle-rename-file): Flush also file properties of
1775         FILENAME.
1777         * net/trampver.el: Update release number.
1779 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1781         * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
1782         add-to-list.
1783         (ses-localvars): Remove ses--local-printer-list, unused.
1784         (ses--metaprogramming): New macro.  Use it to defvar variables.
1785         (ses-set-localvars): Simplify.
1786         (ses--locprn, ses-cell): Use defstruct.  Change ses-cell's
1787         property-list into an alist.
1788         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1789         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
1790         Remove; use defstruct accessors/setters instead.
1791         (ses-cell-formula-aset, ses-cell-printer-aset)
1792         (ses-cell-references-aset): Remove, use setf instead.
1793         (ses--alist-get): New function.
1794         (ses-cell-property): Rename from ses-cell-property-get and rewrite.
1795         Use an alist instead of a plist and don't do move-to-front since the
1796         list is always short.
1797         (ses-cell-property-get-fun, ses-cell-property-delq-fun)
1798         (ses-cell-property-set-fun, ses-cell-property-set)
1799         (ses-cell-property-pop-fun, ses-cell-property-get-handle)
1800         (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
1801         (ses--letref): New macro.
1802         (ses-cell-property-pop): Rewrite.
1803         (ses--cell): Rename from ses-cell and make it into a function.
1804         Make `formula' fallback on `value' if nil.
1805         (ses--local-printer): Rename from ses-local-printer and make it into
1806         a function.
1807         (ses-set-cell): Turn it into a macro so finding the accessor from the
1808         field name is done at compile time.
1809         (ses-repair-cell-reference-all): Test presence of `sym' rather than
1810         `ref' before adding `sym' to :ses-repair-reference.
1811         (ses-calculate-cell): Use ses--letref rather than
1812         ses-cell-property-get-handle.
1813         (ses-write-cells): Use a single prin1-to-string.
1814         (ses-setter-with-undo): New function.
1815         (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
1816         (ses-unset-with-undo): Remove.
1817         (ses-load): Prefer apply' over `eval'.
1818         (ses-read-printer, ses-set-column-width): Use standard "(default
1819         foo)" format.
1821 2014-06-15  Glenn Morris  <rgm@gnu.org>
1823         * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
1825         * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
1826         Replace delete-duplicates and mapcan by cl- versions throughout.
1827         And cl-macroexpand-all by macroexpand-all.
1828         (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1830 2014-06-15  Eli Zaretskii  <eliz@gnu.org>
1832         * subr.el (posn-col-row): Doc fix.  (Bug#17768)
1834 2014-06-15  Juri Linkov  <juri@jurta.org>
1836         * bindings.el: Put `ascii-character' property on keypad keys
1837         mapped to characters.  (Bug#17759)
1839 2014-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1841         * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1842         bumping forward into a closing paren (bug#17761).
1844         * term/xterm.el (xterm--version-handler): Work around for OSX
1845         Terminal.app (bug#17607).
1847 2014-06-14  Ron Schnell  <ronnie@driver-aces.com>
1849         * play/dunnet.el (dun-describe-room, dun-mode):
1850         If a lamp is in the room, you won't be eaten by a grue.
1852 2014-06-13  Glenn Morris  <rgm@gnu.org>
1854         * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
1855         (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
1856         (compile-always): GNU make automatically passes
1857         command-line arguments to sub-makes.
1859         * calendar/calendar.el (calendar-generate-window):
1860         Remove pointless call to font-lock-fontify-buffer.
1862 2014-06-13  Matthias Meulien  <orontee@gmail.com>
1864         * simple.el (completion-list-mode-map): Navigate with tab and backtab
1865         (bug#17767).
1867 2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1869         * simple.el (set-mark-command): Simplify a bit.
1871 2014-06-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1873         * help.el (help--key-binding-keymap): New function.
1874         (help--binding-locus): New function.
1875         (describe-key): Mention the keymap in which the binding was
1876         found. (bug#13948)
1878 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1880         * hippie-exp.el (he--all-buffers): New function.
1881         (try-expand-line-all-buffers, try-expand-list-all-buffers)
1882         (try-expand-dabbrev-all-buffers): Use it.
1884 2014-06-12  Emilio C. Lopes  <eclig@gmx.net>
1886         * hippie-exp.el (try-expand-line-all-buffers)
1887         (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
1888         Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
1889         original buffer, in case they're buffer-local.
1891 2014-06-12  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1893         * ses.el (ses-initial-global-parameters-re): New defconst, a
1894         specific regexp is needed now that ses.el can handle both
1895         file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
1896         local printers.
1897         (ses-localvars): Add local variables needed for local printer handling.
1898         (ses-set-localvars): Handle hashmap initialisation.
1899         (ses-paramlines-plist): Add param-line for number of local printers.
1900         (ses-paramfmt-plist): New defconst, needed for code factorization
1901         between functions `ses-set-parameter' and
1902         `ses-file-format-extend-paramter-list'
1903         (ses-make-local-printer-info): New defsubst.
1904         (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1905         (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
1906         (ses-cell-printer-aset): New defmacro.
1907         (ses-local-printer-compile): New defun.
1908         (ses-local-printer): New defmacro.
1909         (ses-printer-validate, ses-call-printer): Add support for local
1910         printer functions.
1911         (ses-file-format-extend-paramter-list): New defun.
1912         (ses-set-parameter): Use const `ses-paramfmt-plist' for code
1913         factorization.
1914         (ses-load): Add support for local printer functions.
1915         (ses-read-printer): Update docstring and add support for local printer
1916         functions.
1917         (ses-refresh-local-printer, ses-define-local-printer): New defun.
1918         (ses-safe-printer): Add support for local printer functions.
1920 2014-06-12  Ivan Andrus  <darthandrus@gmail.com>
1922         * ffap.el (ffap-lax-url): New var (bug#17723).
1923         (ffap-url-at-point): Use it.
1924         (ffap-file-at-point): Avoid returning just "/".
1926 2014-06-12  Matthias Meulien  <orontee@gmail.com>
1928         * progmodes/python.el (import skeleton): New skeleton (bug#17672).
1929         (python-mode-map): Bind it.
1931         * progmodes/python.el (class skeleton): Don't erase last char of class
1932         name (bug#17683).
1934 2014-06-12  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1936         * help.el (where-is): Use `default' arg of completing-read (bug#17705).
1938 2014-06-12  Kevin Ryde  <user42_kevin@yahoo.com.au>
1940         * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
1941         (bug#17745).
1943 2014-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1945         * international/mule-cmds.el: Use lexical-binding.
1946         (ucs-names): Simplify.
1948 2014-05-18  Eric Hanchrow  <eric.hanchrow@gmail.com>
1950         * progmodes/python.el (run-python): Use read-shell-command.
1952 2014-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1954         * rect.el: Make it possible to move bounds past EOL or into TABs.
1955         (operate-on-rectangle): Use apply-on-rectangle.
1956         (rectangle--mark-crutches): New var.
1957         (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
1958         (rectangle--crutches, rectangle--reset-crutches): New functions.
1959         (apply-on-rectangle): Obey crutches.  Avoid setq.
1960         Fix missing final iteration if end is at EOB&BOL.
1961         (rectangle-mark-mode-map): Add remap bindings for
1962         exchange-point-and-mark and char/line movements.
1963         (rectangle--*-char): New function.
1964         (rectangle-exchange-point-and-mark, rectangle-right-char)
1965         (rectangle-left-char, rectangle-forward-char)
1966         (rectangle-backward-char, rectangle-next-line)
1967         (rectangle-previous-line): New commands.
1968         (rectangle--place-cursor): New function.
1969         (rectangle--highlight-for-redisplay): Use it.  Use apply-on-rectangle.
1971 2014-06-08  Glenn Morris  <rgm@gnu.org>
1973         * startup.el (initial-buffer-choice): Doc fix.
1974         Reset :version (adding an option does not merit a :version bump).
1976         * bookmark.el (bookmark-load):
1977         * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1979 2014-06-08  Juri Linkov  <juri@jurta.org>
1981         * desktop.el: Activate auto-saving on window configuration changes.
1982         (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1983         `desktop-auto-save-set-timer' to/from
1984         `window-configuration-change-hook'.
1985         (desktop-auto-save-set-timer): Change REPEAT arg of
1986         `run-with-idle-timer' from t to nil.
1987         http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1989 2014-06-08  Santiago Payà i Miralta  <santiagopim@gmail.com>
1991         * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1992         vc-hg-command (bug#17570).
1994 2014-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1996         * international/mule-cmds.el (ucs-names): Add special entry for BEL
1997         (bug#17702).
1999 2014-06-08  Glenn Morris  <rgm@gnu.org>
2001         * startup.el (window-setup-hook): Doc fix.
2003         * emacs-lisp/package.el (package-check-signature)
2004         (package-unsigned-archives): Doc fixes.
2006 2014-06-08  Martin Rudalics  <rudalics@gmx.at>
2008         * window.el (display-buffer-use-some-window): Don't make window
2009         used smaller than it was before (Bug#17671).
2011 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
2013         * menu-bar.el (menu-bar-open): Fix last change: use the PC
2014         'redisplay' instead of '(sit-for 0)'.
2016 2014-06-08  Michael Albinus  <michael.albinus@gmx.de>
2018         * net/tramp.el (tramp-ssh-controlmaster-options):
2019         Improve search regexp.  (Bug#17653)
2021 2014-06-08  Glenn Morris  <rgm@gnu.org>
2023         * emacs-lisp/package.el (package-pinned-packages): Doc fix.
2025 2014-06-08  Eli Zaretskii  <eliz@gnu.org>
2027         * menu-bar.el (menu-bar-open): Fix invocation via M-x.
2029 2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
2031         * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
2032         (bug#17586).
2034         * vc/vc-hg.el (vc-hg-log-graph): New var.
2035         (vc-hg-print-log): Use it.
2036         (vc-hg-root-log-format): Include branch name and bookmarks; ignore
2037         graph output (bug#17515).
2039 2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2041         * mouse.el (mouse-posn-property): Ignore buffer position info when the
2042         even happened elsewhere.
2044 2014-06-06  Mario Lang  <mlang@delysid.org>
2046         * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
2047         `recenter' if `current-buffer' is equal to `window-buffer'.
2049 2014-06-05  Leo Liu  <sdl.web@gmail.com>
2051         * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
2053 2014-06-05  Michal Nazarewicz  <mina86@mina86.com>
2055         * textmodes/tildify.el (tildify-foreach-region-outside-env):
2056         New function which calls a callback on portions of the buffer that are
2057         outside of ignored environments.
2058         (tildify-build-regexp): Remove function since it is now
2059         incorporated in `tildify-foreach-region-outside-env' where it is
2060         optimised and simplified by the use of `mapconcat'.
2061         (tildify-tildify): Return number of substitutions made so that…
2062         (tildify-count): …can be removed.
2063         (tildify-find-env): Accept a new PAIRS argument which was
2064         previously looked up in `tildify-ignored-environments-alist' each
2065         time the function was called.  With this change, the lookup is
2066         performed only once in `tildify-foreach-region-outside-env'.
2067         (tildify-region): Greatly simplify the function since now most of
2068         the work is done by `tildify-foreach-region-outside-env'.
2069         (tildify-mode-alist): Simplify slightly by avoiding if and setq
2070         and instead using or.
2072         * textmodes/tildify.el (tildify-ignored-environments-alist):
2073         Optimise environments regexes
2075         Each time beginning of an environment to ignore is found,
2076         `tildify-find-env' needs to identify regexp for the ending
2077         of the environment.  This is done by trying all the opening
2078         regexes on matched text in a loop, so to speed that up, this
2079         loop should have fewer things to match, which can be done by
2080         using alternatives in the opening regexes.
2082         Coincidentally, this should make matching of the opening
2083         regexp faster as well thanks to the use of `regexp-opt' and
2084         having common prefix pulled from many regexes.
2086         * textmodes/tildify.el (tildify-string-alist)
2087         (tildify-ignored-environments-alist): Add `nxml-mode' to the list
2088         of supported modes since `xml-mode' is no longer a thing but just
2089         an alias to the former.  Also include comments and insides of tags
2090         in `tildify-ignored-environments-alist' for XML modes.  Finally,
2091         since XML does not define “&nbsp;”[1], use a numeric reference for
2092         a no-break space (namely “&#160;”)
2094         [1] XML specification defines only a handful of predefined entities.
2095             The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
2096             and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
2097             >, &, ' and " respectively).  This is in contrast to HTML and even
2098             XHTML which defined a whole bunch of entities including “&nbsp;”.
2100         * textmodes/tildify.el (tildify-pattern-alist)
2101         (tildify-string-alist, tildify-ignored-environments-alist):
2102         Improve defcustom's types by adding more tags explaining what each
2103         value means and replace “sexp” used in
2104         `tildify-ignored-environments-alist' with a full type declaration.
2106         * textmodes/tildify.el (tildify-find-env): Fix matched group
2107         indexes in end-regex building
2109         When looking for a start of an ignore-environment, the regex is built
2110         by concatenating regexes of all the environments configured in
2111         `tildify-ignored-environments-alist'.  So for example, the following
2112         list could be used to match TeX's \verb and \verb* commands:
2114             (("\\\\verb\\(.\\)" . (1))
2115              ("\\\\verb\\*\\(.\\)" . (1)))
2117         This would result in the following regex being used to find the start
2118         of any of the variants of the \verb command:
2120             \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
2122         But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
2123         won't match anything, and thus (match-string 1) will be nil, which
2124         will cause building of the end-matching regex to fail.
2126         Fix this by using capture groups from the time when the opening
2127         regexes are matched individually.
2129         * textmodes/tildify.el (tildify-find-env): Fix end-regex building
2130         in `tildify-find-env'
2132         The `tildify-ignored-environments-alist' allows the end-regex to
2133         be provided not as a static string but mix of strings and indexes
2134         of groups matched the begin-regex.  For example, the “\verb!…!”
2135         TeX-command (where “!” is an arbitrary character) is handled
2136         using:
2138             ("\\\\verb\\*?\\(.\\)" . (1))
2140         In the same way, the following should be supported as well:
2142             ("open-\\(.\\)" . ("end-" 1))
2144         However the tildify-find-env function fails at
2146             (concat result
2147                     (if (stringp (setq aux (car expression)))
2148                          expression  ; BUG: expression is a list
2149                        (regexp-quote (match-string aux))))
2151         where the string part is handled incorrectly.
2153         The most trivial fix would be to replace `expression' in the
2154         true-part of the if-statement with `aux', but instead, this commit
2155         optimises `tildify-find-env' by changing it to use `mapconcat'
2156         rather than open-coded while-loop.
2158 2014-06-05  Mario Lang  <mlang@delysid.org>
2160         * woman.el (woman-mapcan): Remove.
2161         (woman-parse-colon-path): Use cl-mapcan instead.
2163 2014-06-03  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2165         * register.el: Add link to Emacs manual in Commentary.
2167 2014-06-02  Sam Steingold  <sds@gnu.org>
2169         * menu-bar.el (lookup-key-ignore-too-long): Extract from...
2170         (popup-menu): ...here.
2171         (menu-bar-open): Use it to avoid an error when `lookup-key'
2172         returns a number.
2174 2014-06-02  Michael Albinus  <michael.albinus@gmx.de>
2176         * net/tramp.el (tramp-call-process): Add traces.
2177         (tramp-handle-unhandled-file-name-directory): Return "/".
2179 2014-06-02  Wilson Snyder  <wsnyder@wsnyder.org>
2181         Sync with upstream verilog-mode revision 3cd8144.
2182         * progmodes/verilog-mode.el (verilog-mode-version): Bump.
2183         (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
2184         (verilog-type-font-keywords): Add nor.
2185         (verilog-batch-execute-func): Force reading of Local Variables.
2186         Fix printing "no changes to be saved" with verilog-batch.
2187         (verilog-auto-arg-ports): Doc fix.
2188         Add verilog-auto-arg-format to support newlines in AUTOARG.
2189         (verilog-auto-arg): Doc fix.
2191 2014-06-02  Glenn Morris  <rgm@gnu.org>
2193         * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
2194         * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
2195         * emulation/ws-mode.el: Move to obsolete/.
2196         * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
2198 2014-06-02  Eli Zaretskii  <eliz@gnu.org>
2200         * simple.el (keyboard-quit): Force update of mode lines, to remove
2201         the "Def" indicator, if we were defining a macro.  (Bug#17615)
2203 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2205         * minibuffer.el (minibuffer-force-complete-and-exit):
2206         Obey minibuffer-default (bug#17545).
2208         * progmodes/js.el (js-indent-line): Don't mix columns and chars
2209         (bug#17619).
2211         * subr.el (set-transient-map): Don't wait for some "nested"
2212         transient-map to finish if we're only supposed to be active for
2213         the next command (bug#17642).
2215 2014-06-02  Leo Liu  <sdl.web@gmail.com>
2217         * emacs-lisp/gv.el (window-buffer, window-display-table)
2218         (window-dedicated-p, window-hscroll, window-point, window-start):
2219         Fix gv-expander.  (Bug#17630)
2221 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2223         * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
2224         clicks (bug#17633).
2226         * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
2227         for the single comma, since ", " is *very* common in normal French text
2228         (bug#17643).
2230 2014-06-02  Glenn Morris  <rgm@gnu.org>
2232         * emacs-lisp/package.el (package-check-signature)
2233         (package-unsigned-archives): Fix :version.
2235 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2237         * subr.el (sit-for): Don't run input-methods (bug#15614).
2239 2014-06-02  Glenn Morris  <rgm@gnu.org>
2241         * cus-start.el: Fix some :version numbers.
2243 2014-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2245         * simple.el (deactivate-mark): Set mark-active to nil even if
2246         deactivation is done via setting transient-mark-mode to nil,
2247         since one is buffer-local and the other is global.
2249         * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
2250         there can't be more than 2 arguments (bug#17584).
2252 2014-06-02  Glenn Morris  <rgm@gnu.org>
2254         * simple.el (filter-buffer-substring-functions)
2255         (filter-buffer-substring-function, buffer-substring-filters)
2256         (filter-buffer-substring, buffer-substring--filter): Doc fixes.
2258         * minibuffer.el (completion-in-region-functions, completion-in-region)
2259         (completion--in-region): Doc fixes.
2261         * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
2262         (expand-abbrev, abbrev--default-expand): Doc fixes.
2264 2014-06-02  Paul Eggert  <eggert@cs.ucla.edu>
2266         Include sources used to create macuvs.h.
2267         * international/README: Refer to the Unicode Terms of Use rather
2268         than copying it bodily here, as that simplifies maintenance.
2270 2014-06-01  Glenn Morris  <rgm@gnu.org>
2272         * loadup.el (load-prefer-newer): Set non-nil when dumping.  (Bug#17629)
2274 2014-05-31  Glenn Morris  <rgm@gnu.org>
2276         * files.el (locate-dominating-file): Expand file argument.  (Bug#17641)
2278 2014-05-30  Glenn Morris  <rgm@gnu.org>
2280         * loadup.el: Treat `command-line-args' more flexibly.
2282 2014-05-30  Alan Mackenzie  <acm@muc.de>
2284         Guard (looking-at "\\s!") from XEmacs.
2285         * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
2287 2014-05-30    Ken Olum  <kdo@cosmos.phy.tufts.edu>
2289         * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
2290         The argument COUNT is now optional, to be more backward-compatible.
2291         Doc fix.  (Bug#17560)
2293 2014-05-29  Reuben Thomas  <rrt@sc3d.org>
2295         * whitespace.el (whitespace-report-region):
2296         Simplify documentation.
2297         (whitespace-report-region): Allow report-if-bogus to take the
2298         value `never', for non-interactive use.
2299         (whitespace-report): Refer to whitespace-report-region's
2300         documentation.
2302 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2304         * whitespace.el: Use font-lock-flush.  Minimize refontifications.
2305         Side benefit: it works without jit-lock.
2306         (whitespace-point--used): New buffer-local var.
2307         (whitespace-color-on): Initialize it and flush it.  Use font-lock-flush.
2308         (whitespace-color-off): Use font-lock-flush.
2309         (whitespace-point--used, whitespace-point--flush-used): New functions.
2310         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2311         (whitespace-empty-at-eob-regexp): Use them.
2312         (whitespace-post-command-hook): Rewrite.
2314         * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
2315         (font-lock-fontify-buffer): Mark interactive-only.
2316         (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
2317         Make buffer-local.
2318         (font-lock-specified-p): Remove redundant boundp check.
2319         (font-lock-flush-function, font-lock-ensure-function): New vars.
2320         (font-lock-turn-on-thing-lock): Set them.
2321         (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
2322         (font-lock-after-change-function): Make `old-len' optional.
2323         (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
2324         Call font-lock-flush, just in case.
2325         * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
2326         recent Emacsen.
2327         * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
2328         (vera-mode-map, vera-mode-menu): Remove bindings to it.
2329         * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
2330         and with-syntax-table.
2331         * textmodes/conf-mode.el (conf-quote-normal):
2332         * progmodes/sh-script.el (sh-set-shell):
2333         * progmodes/prog-mode.el (prettify-symbols-mode):
2334         * progmodes/f90.el (f90-font-lock-n):
2335         * progmodes/cwarn.el (cwarn-mode):
2336         * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
2337         * progmodes/compile.el (compilation-setup, compilation--unsetup):
2338         * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
2339         (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
2340         * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
2341         font-lock-fontify-buffer-function and
2342         font-lock-unfontify-buffer-function.
2343         (rmail-unfontify-buffer-function, rmail-fontify-message):
2344         Use with-silent-modifications.
2345         * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
2346         and font-lock-ensure.
2347         * bs.el (bs-show-in-buffer): Use font-lock-ensure.
2349 2014-05-28  Thien-Thi Nguyen  <ttn@gnu.org>
2351         * emacs-lisp/package.el (package-generate-autoloads):
2352         Inhibit backup files.
2354 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2356         * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
2357         (bug#17608).
2359 2014-05-21  Michal Nazarewicz  <mina86@mina86.com>
2361         * textmodes/tildify.el (tildify-buffer, tildify-region):
2362         Add dont-ask option.
2364 2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2366         * subr.el (zerop): Move from C.  Add compiler-macro (bug#17475).
2367         * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
2369         * subr.el (internal--funcall-interactively): New.
2370         (internal--call-interactively): Remove.
2371         (called-interactively-p): Detect funcall-interactively instead of
2372         call-interactively.
2373         * simple.el (repeat-complex-command): Use funcall-interactively.
2374         (repeat-complex-command--called-interactively-skip): Remove.
2376 2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2378         * register.el (register-read-with-preview): Don't burp on
2379         frame switches (e.g. due to the frame we just popped).
2381         * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
2382         (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
2384 2014-05-26  Andreas Schwab  <schwab@linux-m68k.org>
2386         * cus-face.el (custom-face-attributes): Add :distant-foreground.
2388 2014-05-26  Martin Rudalics  <rudalics@gmx.at>
2390         * window.el (window--dump-frame): Remove interactive specification.
2392 2014-05-26  Glenn Morris  <rgm@gnu.org>
2394         * hippie-exp.el (he-line-search-regexp):
2395         Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
2397 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
2399         * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
2400         to avoid errors when trying to create or visit a file foo.todo
2401         located outside to todo-directory, and to allow having such files
2402         without them being tied to Todo mode (bug#17482).
2403         (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
2404         (todo-archive-done-item, todo-find-filtered-items-file)
2405         (todo-filter-items, todo-find-item, todo-diary-goto-entry)
2406         (todo-category-completions, todo-read-category): When visiting a
2407         Todo file, make sure we're in the right mode and the buffer local
2408         variables are set.
2409         (todo-make-categories-list, todo-reset-nondiary-marker)
2410         (todo-reset-done-string, todo-reset-comment-string):
2411         After processing all Todo files, kill the buffers of those files that
2412         weren't being visited before the processing.
2413         (todo-display-as-todo-file, todo-add-to-buffer-list)
2414         (todo-visit-files-commands): Comment out.
2415         (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
2416         (auto-mode-alist): Remove add-to-list calls making Todo file
2417         extensions unrestrictedly tied to Todo modes.
2419 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2421         * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
2422         (advice-function-member-p): Tell it to check both names and functions
2423         (bug#17531).
2424         (advice--add-function): Adjust call accordingly.
2426 2014-05-26  Stephen Berman  <stephen.berman@gmx.net>
2428         * calendar/todo-mode.el: Miscellaneous bug fixes.
2429         (todo-delete-file): When deleting an archive but not its todo
2430         file, make sure to update the todo file's category sexp.
2431         (todo-move-category): Keep the moved category's name unless the
2432         file moved to already has a category with that name.  If the
2433         numerically last category of the source file was moved, make the
2434         first category current to avoid selecting a nonexisting category.
2435         (todo-merge-category): Fix implementation to make merging to a
2436         category in another file work as documented.  Eliminate now
2437         insufficient and unnecessary renaming of archive category, correct
2438         document string accordingly, and clarify it.  If the numerically
2439         last category of the source file was merged, make the first
2440         category current to avoid selecting a nonexisting category.
2441         (todo-archive-done-item): When there are marked items and point
2442         happens to be on an unmarked item, ignore the latter.  Don't leave
2443         point below last item after archiving marked items.
2444         (todo-unarchive-items): Fix logic to ensure unarchiving an item
2445         from an archive with only one category deletes the archive only
2446         when the category is empty after unarchiving.  Make sure the todo
2447         file's category sexp is updated.
2448         (todo-read-file-name): Allow an existing file name even when it is
2449         not required (todo-move-category needs this to work as documented).
2450         (todo-add-file): Call todo-validate-name to reject the name of an
2451         existing todo file (needed due to fix in todo-read-file-name).
2452         (todo-reset-nondiary-marker): Also reset in filtered items files.
2453         (todo-reset-done-string, todo-reset-comment-string): Also reset in
2454         regexp filtered items files.
2455         (todo-reset-highlight-item): Also reset in filtered items files.
2456         Fix incorrect variable reference in document string.
2458 2014-05-26  Glenn Morris  <rgm@gnu.org>
2460         * window.el (window--dump-frame): Avoid error in --without-x builds.
2462 2014-05-26  Glenn Morris  <rgm@gnu.org>
2464         * nxml/nxml-mode.el (xml-mode): Only define this alias once.
2466 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
2468         * frame.el (set-frame-font): Doc fix.
2470         * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
2472 2014-05-26  Dmitry Gutov  <dgutov@yandex.ru>
2474         * emacs-lisp/package.el (package--download-one-archive):
2475         Use `write-region' instead of `save-buffer' to avoid running various
2476         hooks.  (Bug#17155)
2477         (describe-package-1): Same.  Insert newline at the end of the
2478         buffer if appropriate.
2480 2014-05-26  Juri Linkov  <juri@jurta.org>
2482         * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
2483         (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
2484         Add more modifiers: meta, control, shift, hyper, super, alt.
2485         (Bug#17439)
2487         * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
2488         to allow changing its value with `set-variable'.
2490 2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2492         * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
2493         #; comments.
2494         (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
2495         New functions.
2496         (scheme-mode-variables): Set syntax-propertize-function instead of
2497         font-lock-syntactic-face-function.
2498         (scheme-font-lock-syntactic-face-function): Delete.
2500         * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
2502         * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
2503         (bug#17392).
2505 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
2507         * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
2508         for a temporary file name.
2510 2014-05-26  Eli Zaretskii  <eliz@gnu.org>
2512         * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
2514 2014-05-26  Michael Albinus  <michael.albinus@gmx.de>
2516         * net/dbus.el (dbus-init-bus, dbus-call-method)
2517         (dbus-call-method-asynchronously, dbus-send-signal)
2518         (dbus-method-return-internal, dbus-method-error-internal):
2519         Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
2521 2014-05-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
2523         * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
2524         methods which do not have a doc string.  (Bug#17490)
2526 2014-05-25  Tassilo Horn  <tsdh@gnu.org>
2528         * textmodes/reftex-ref.el (reftex-format-special): Make it work
2529         also for AMS Math's \eqref macro.
2531 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
2533         Arrange to never byte-compile the generated -pkg.el file.
2535         * emacs-lisp/package.el (package-generate-description-file):
2536         Output first-line comment to set buffer-local var `no-byte-compile'.
2537         Suggested by Dmitry Gutov:
2538         <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
2540 2014-05-25  Thien-Thi Nguyen  <ttn@gnu.org>
2542         Fix bug: Properly quote args to generated -pkg.el `define-package'.
2544         * emacs-lisp/package.el (package-generate-description-file):
2545         Inline `package--alist-to-plist'; rewrite to selectively
2546         quote alist values that are not self-quoting.
2547         (package--alist-to-plist): Delete func.
2549 2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
2551         * term/xterm.el (xterm-function-map): Add mapping for shifted
2552         keypad keys.
2554 2014-05-24  Daniel Colascione  <dancol@dancol.org>
2556         * progmodes/subword.el (subword-find-word-boundary): Move point to
2557         correct spot before search. (Bug#17580)
2559         * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
2560         breaking the build.
2562 2014-05-24  Leo Liu  <sdl.web@gmail.com>
2564         * calc/calc.el (math-bignum): Handle most-negative-fixnum.  (Bug#17556)
2566 2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2568         * minibuffer.el (completion--sreverse): Remove.
2569         (completion--common-suffix): Use `reverse' instead.
2570         * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
2572 2014-05-22  Glenn Morris  <rgm@gnu.org>
2574         * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
2576 2014-05-21  Daniel Colascione  <dancol@dancol.org>
2578         * files.el (interpreter-mode-alist): Add mksh.
2580         * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
2581         derivative.
2582         (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
2583         mksh. Improve custom spec; allow regular expressions.
2584         (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
2585         (sh-after-hack-local-variables): New function.
2586         (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
2587         (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
2588         the normalization.
2589         (sh-canonicalize-shell): Rewrite to support regexes.
2591 2014-05-21  Leo Liu  <sdl.web@gmail.com>
2593         * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
2595 2014-05-19  Leo Liu  <sdl.web@gmail.com>
2597         * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
2599 2014-05-18  Glenn Morris  <rgm@gnu.org>
2601         * loadup.el:
2602         * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
2604 2014-05-14  Sam Steingold  <sds@gnu.org>
2606         * progmodes/python.el (python-shell-get-or-create-process):
2607         Do not bind `current-prefix-arg' so that C-c C-z does not talk
2608         back unless requested.
2610 2014-05-14  Glenn Morris  <rgm@gnu.org>
2612         * subr.el (with-file-modes): New macro.
2613         * printing.el (pr-save-file-modes): Make obsolete.
2614         * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
2615         * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
2616         Add with-file-modes.
2617         * doc-view.el (doc-view-make-safe-dir):
2618         * epg.el (epg--start):
2619         * files.el (locate-user-emacs-file, make-temp-file)
2620         (backup-buffer-copy, move-file-to-trash):
2621         * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
2622         * eshell/esh-util.el (eshell-with-private-file-modes)
2623         (eshell-make-private-directory):
2624         * net/browse-url.el (browse-url-mosaic):
2625         * obsolete/mailpost.el (post-mail-send-it):
2626         * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
2627         * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
2628         Use with-file-modes.
2630         * vc/emerge.el (emerge-make-temp-file): Simplify.
2632 2014-05-14  Stephen Berman <stephen.berman@gmx.net>
2633             Stefan Monnier  <monnier@iro.umontreal.ca>
2635         * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
2636         suffix (bug#15419).
2638 2014-05-14  Glenn Morris  <rgm@gnu.org>
2640         * vc/emerge.el (emerge-temp-file-prefix):
2641         Make pointless option obsolete.
2642         (emerge-temp-file-mode): Make non-functional option obsolete.
2644 2014-05-14  Michael Albinus  <michael.albinus@gmx.de>
2646         * net/browse-url.el (browse-url):
2647         Use `unhandled-file-name-directory' when setting `default-directory',
2648         in order to circumvent stalled remote connections.  (Bug#17425)
2650 2014-05-14  Glenn Morris  <rgm@gnu.org>
2652         * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
2653         Optimize on Emacs, which has the relevant functions for ages.
2655 2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2657         * simple.el (undo-make-selective-list): Obey undo-no-redo.
2659 2014-05-12  Sam Steingold  <sds@gnu.org>
2661         * calendar/time-date.el (seconds-to-string): New function to
2662         pretty print time delay in seconds.
2664 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2666         * mpc.el (mpc-format): Trim Date to the year.
2667         (mpc-songs-hashcons): Shorten the Date field.
2669         * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
2670         into autoloading just because of a silly indirection.
2672 2014-05-12  Santiago Payà i Miralta  <santiagopim@gmail.com>
2674         * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
2676 2014-05-12  Glenn Morris  <rgm@gnu.org>
2678         * emacs-lisp/find-gc.el: Move to ../admin.
2680         * printing.el (pr-version):
2681         * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2683         * net/browse-url.el (browse-url-mosaic):
2684         Create /tmp/Mosaic.PID as a private file.
2686 2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2688         * emacs-lisp/nadvice.el: Support adding a given function multiple times.
2689         (advice--member-p): If name is given, only compare the name.
2690         (advice--remove-function): Don't stop at the first match.
2691         (advice--normalize-place): New function.
2692         (add-function, remove-function): Use it.
2693         (advice--add-function): Pass the name, if any, to
2694         advice--remove-function.
2696 2014-05-12  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
2698         * electric.el (electric-indent-post-self-insert-function): Don't use
2699         `pos' after modifying the buffer (bug#17449).
2701 2014-05-12  Stephen Berman  <stephen.berman@gmx.net>
2703         * calendar/todo-mode.el (todo-insert-item-from-calendar):
2704         Correct argument list to conform to todo-insert-item--basic.
2706 2014-05-12  Glenn Morris  <rgm@gnu.org>
2708         * files.el (cd-absolute): Test if directory is accessible
2709         rather than executable.  (Bug#17330)
2711         * progmodes/compile.el (recompile):
2712         Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
2714         * net/browse-url.el (browse-url-mosaic):
2715         Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
2716         This is CVE-2014-3423.
2718 2014-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2720         * mouse.el: Use the normal toplevel loop while dragging.
2721         (mouse-set-point): Handle multi-clicks.
2722         (mouse-set-region): Handle multi-clicks for drags.
2723         (mouse-drag-region): Update call accordingly.
2724         (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
2725         Use the normal event loop instead of a local while/read-event loop.
2726         (global-map): Remove redundant bindings for double/triple-mouse-1.
2727         * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
2728         Generate synthetic down events when the protocol only sends up events.
2729         (xterm-mouse-last): Remove.
2730         (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
2731         terminal parameter instead.
2732         (xterm-mouse--set-click-count): New function.
2733         (xterm-mouse-event): Detect/generate double/triple clicks.
2734         * reveal.el (reveal-close-old-overlays): Don't close while dragging.
2736         * info.el (Info-quoted): New face.
2737         (Info-mode-font-lock-keywords): New var.
2738         (Info-mode): Use it.
2740         * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
2741         are a hindrance for C-x C-e.
2743 2014-05-11  Leo Liu  <sdl.web@gmail.com>
2745         * net/rcirc.el (rcirc-sentinel): Fix last change.
2747 2014-05-08  Sam Steingold  <sds@gnu.org>
2749         * net/rcirc.el (rcirc-reconnect-delay): New user option.
2750         (rcirc-sentinel): Auto-reconnect to the server if
2751         `rcirc-reconnect-delay' is non-0 (but not more often than its
2752         value in case the host is off-line).
2754 2014-05-09  Eli Zaretskii  <eliz@gnu.org>
2756         * progmodes/grep.el (lgrep): Fix a typo in last commit.
2758 2014-05-09  Glenn Morris  <rgm@gnu.org>
2760         * files.el (file-expand-wildcards):
2761         * man.el (Man-support-local-filenames):
2762         * printing.el (pr-i-directory, pr-interface-directory):
2763         * progmodes/grep.el (lgrep, rgrep):
2764         * textmodes/ispell.el (ispell-call-process)
2765         (ispell-call-process-region, ispell-start-process)
2766         (ispell-init-process): Use file-accessible-directory-p.
2768 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2770         * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2771         (xterm-mouse--read-event-sequence-1000): Return nil if something
2772         looks fishy.
2773         (xterm-mouse-event): Propagate it.
2774         (xterm-mouse-translate-1): Handle it.
2776 2014-05-08  Stephen Berman  <stephen.berman@gmx.net>
2778         * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2779         four slots of the parameter list are filled, make sure to pass it
2780         to the argument list of todo-insert-item--basic.
2782 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2784         * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2785         Add optional `seen' argument to detect and break infinite loops.
2787 2014-05-08  Eli Zaretskii  <eliz@gnu.org>
2789         * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2790         (trace-unsafe, trace-use-tree): Make parentheses style be
2791         according to Emacs style.
2793 2014-05-08  Michael Albinus  <michael.albinus@gmx.de>
2795         * net/tramp-sh.el (tramp-remote-process-environment):
2796         Remove HISTFILE and HISTSIZE; it's too late to set them here.
2797         Add :version entry.
2798         (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2799         Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
2800         extra "PSx=..." commands.
2801         (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2802         (Bug#17295)
2804         (tramp-uudecode): Replace the hard-coded temporary file name by a
2805         format specifier.
2806         (tramp-remote-coding-commands): Enhance docstring.
2807         (tramp-find-inline-encoding): Replace "%t" by a temporary file
2808         name.  (Bug#17415)
2809         This is CVE-2014-3424.
2811 2014-05-08  Glenn Morris  <rgm@gnu.org>
2813         * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2814         (find-gc-source-files): Update some names.
2815         (trace-call-tree): Simplify and update.
2816         Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
2817         This is CVE-2014-3422.
2819 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2821         * minibuffer.el (completion--try-word-completion): Revert fix for
2822         Bug#15980 (bug#17375).
2824         * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2825         Always store button numbers in the same way in xterm-mouse-last;
2826         Don't burp is xterm-mouse-last is not set as expected.
2827         Never return negative indices.
2829 2014-05-08  Dmitry Gutov  <dgutov@yandex.ru>
2831         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2832         Backtrack one char if the global/char-literal var matcher hits
2833         inside a string.  The next char could be the beginning of an
2834         expression expansion.
2836 2014-05-08  Glenn Morris  <rgm@gnu.org>
2838         * help-fns.el (describe-function-1): Test for an autoload before a
2839         macro, since `macrop' works on autoloads.  (Bug#17410)
2841 2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2843         * electric.el (electric-indent-functions-without-reindent): Add yaml.
2845         * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2846         Make sure the new point we return is within the new string (bug#17239).
2848 2014-05-05  Daniel Colascione  <dancol@dancol.org>
2850         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2851         Port `gnu' pattern to rx.
2853 2014-05-05  Jarek Czekalski  <jarekczek@poczta.onet.pl>
2855         Remove unneeded prompt when closing a buffer with active
2856         emacsclient ("Buffer ... still has clients"), #16548.
2857         * server.el (server-start): Remove the only call to:
2858         (server-kill-buffer-query-function): Remove.
2860 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2862         * calendar/diary-lib.el (calendar-chinese-month-name-array):
2863         Defvar to pacify compiler.
2865 2014-05-04  Eli Zaretskii  <eliz@gnu.org>
2867         * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2869 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2871         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2872         Use nil rather than `default' for the "default" appearance (bug#17388).
2873         * vc/ediff-util.el (ediff-inferior-compare-regions)
2874         (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2875         a misleading `default' value when it's really a boolean.
2876         * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2877         overlay is not visible.
2879 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
2881         * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2882         (todo-menu): Uncomment and update.
2884 2014-05-04  Stephen Berman  <stephen.berman@gmx.net>
2886         * calendar/todo-mode.el: Reimplement item editing to have the same
2887         basic user interface as item insertion, and make small UI and
2888         larger internal improvements to the latter.
2889         (todo-insert-item): Add reference to the Todo mode user manual to
2890         the documentation string.
2891         (todo-insert-item--basic): Rename from todo-basic-insert-item and
2892         adjust all callers.  Change signature to combine diary and
2893         nonmarking arguments.  Incorporate functionality of deleted item
2894         copying command and add error checking.  Remove detailed
2895         descriptions of the arguments from the documentation string, since
2896         this is treated in the Todo mode user manual.
2897         (todo-copy-item, todo-edit-multiline-item)
2898         (todo-edit-done-item-comment, todo-edit-item-header)
2899         (todo-edit-item-time, todo-edit-item-date-from-calendar)
2900         (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2901         (todo-edit-item-date-year, todo-edit-item-date-month)
2902         (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2903         Remove.
2904         (todo-edit-item): Reimplement as wrapper command for
2905         todo-edit-item--next-key and make it distinguish done and not done
2906         todo items.
2907         (todo-edit-item--text): New function, replacing old command
2908         todo-edit-item and incorporating deleted commands
2909         todo-edit-multiline-item and todo-edit-done-item-comment.
2910         (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2911         Use only numeric value of prefix argument.  Remove detailed
2912         descriptions of the arguments from the documentation string, since
2913         this is treated in the Todo mode user manual.
2914         (todo-edit-item--diary-inclusion): New function, replacing old
2915         command todo-edit-item-diary-inclusion and incorporating and fixing
2916         functionality of deleted command todo-edit-item-diary-nonmarking,
2917         making sure to remove todo-nondiary-marker when adding
2918         diary-nonmarking-symbol.
2919         (todo-edit-category-diary-inclusion): Make sure to delete
2920         diary-nonmarking-symbol when adding todo-nondiary-marker.
2921         (todo-edit-category-diary-nonmarking): Fix indentation.
2922         (todo-insert-item--parameters): Group diary and nonmarking
2923         parameters together.
2924         (todo-insert-item--apply-args): Adjust to signature of
2925         todo-insert-item--basic and incorporate copy parameter.
2926         Make small code improvements.
2927         (todo-insert-item--next-param): Improve prompt and adjust it to
2928         new parameter grouping.  Remove obsolete code.
2929         (todo-edit-item--param-key-alist)
2930         (todo-edit-item--date-param-key-alist)
2931         (todo-edit-done-item--param-key-alist): New defconsts.
2932         (todo-edit-item--prompt): New variable.
2933         (todo-edit-item--next-key): New function.
2934         (todo-key-bindings-t): Bind "e" to todo-edit-item.
2935         Remove bindings of deleted commands.
2937 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2939         * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2941 2014-05-04  Glenn Morris  <rgm@gnu.org>
2943         * allout-widgets.el (allout-widgets-tally)
2944         (allout-decorate-item-guides):
2945         * menu-bar.el (menu-bar-positive-p):
2946         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2947         * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2948         * progmodes/js.el (js--inside-param-list-p)
2949         (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2950         * progmodes/prolog.el (region-exists-p):
2951         * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2952         * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2953         Doc fixes (replace `iff').
2955 2014-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2957         * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2959 2014-05-04  Leo Liu  <sdl.web@gmail.com>
2961         Support Chinese diary entries in calendar and diary.  (Bug#17393)
2962         * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
2963         (calendar-chinese-from-absolute-for-diary)
2964         (calendar-chinese-to-absolute-for-diary)
2965         (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
2966         (diary-chinese-list-entries): New functions to list and mark
2967         Chinese diary entries in the calendar window.
2968         (diary-chinese-anniversary)
2969         (diary-chinese-insert-anniversary-entry)
2970         (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
2971         (diary-chinese-insert-yearly-entry): New commands to insert
2972         Chinese diary entries.
2974         * calendar/diary-lib.el (diary-font-lock-keywords):
2975         Support font-locking Chinese dates.
2977         * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
2978         inserting Chinese diary entries.
2980         * calendar/calendar.el (diary-chinese-entry-symbol):
2981         New customizable variable.
2982         (calendar-mode-map): Add bindings for inserting Chinese diary
2983         entries.
2985 2014-05-03  Juri Linkov  <juri@jurta.org>
2987         * dired.el (dired-check-switches, dired-switches-recursive-p):
2988         New functions.  (Bug#17218)
2989         (dired-switches-escape-p, dired-move-to-end-of-filename):
2990         Use `dired-check-switches'.
2991         (dired-insert-old-subdirs, dired-build-subdir-alist)
2992         (dired-sort-R-check): Use `dired-switches-recursive-p'.
2994 2014-05-01  Barry O'Reilly  <gundaetiapo@gmail.com>
2996         * simple.el (undo-make-selective-list): New algorithm fixes
2997         incorrectness of position adjustments when undoing in region.
2998         (Bug#17235)
2999         (undo-elt-crosses-region): Make obsolete.
3000         (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
3001         New functions to adjust positions using undo-deltas.
3003 2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3005         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
3006         the last consecutive closing paren (bug#17345).
3008 2014-04-30  Reuben Thomas  <rrt@sc3d.org>
3010         * dired.el (dired-mode): make terminology for eXpunge command
3011         consistent.  (Bug#17276)
3013 2014-04-30  Eli Zaretskii  <eliz@gnu.org>
3015         * dired.el (dired-initial-position-hook, dired-initial-position):
3016         Doc string fixes.
3018 2014-04-30  Glenn Morris  <rgm@gnu.org>
3020         * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
3022 2014-04-30  Matthias Dahl  <matthias.dahl@binary-island.eu>
3024         * faces.el (face-spec-recalc): Apply X resources only after the
3025         defface spec has been applied. Thus, X resources are no longer
3026         overriden by the defface spec which also fixes issues on win32 where
3027         the toolbar coloring was wrong because it is set through X resources
3028         and was (wrongfully) overriden.  (Bug#16694)
3030 2014-04-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3032         * textmodes/rst.el (electric-pair-pairs): Declare.
3033         (rst-mode): Set it (bug#17131).
3035 2014-04-30  Juri Linkov  <juri@jurta.org>
3037         * desktop.el (desktop-value-to-string): Let-bind `print-length'
3038         and `print-level' to nil.  (Bug#17351)
3040 2014-04-30  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3042         * battery.el (battery-update): Handle the case where battery
3043         status is "N/A" (bug#17319).
3045 2014-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3047         * progmodes/ps-mode.el: Use SMIE.  Move string and comment recognition
3048         to syntax-propertize.
3049         (ps-mode-auto-indent): Mark as obsolete.
3050         (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
3051         (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
3052         word regexp operators.
3053         (ps-mode-map): Move initialization into declaration.  Remove binding
3054         for TAB, RET, >, ], and }.
3055         (ps-mode-syntax-table): Move initialization into declaration.
3056         Don't give word syntax to non-word chars.
3057         (ps-run-mode-map): Move initialization into declaration.
3058         (ps-mode-menu-main): Remove auto-indent entry.
3059         (ps-mode-smie-rules): New function.
3060         (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
3061         (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
3062         (ps-mode--string-syntax-table): New const.
3063         (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
3064         New functions.
3065         (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
3066         (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
3068 2014-04-27  Daniel Colascione  <dancol@dancol.org>
3070         * term/xterm.el (xterm-paste): Use large finite timeout when
3071         reading event to avoid putting keys in this-command-keys.
3073 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3075         * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
3076         (perl-syntax-propertize-function): Use it.  Extend handling of
3077         here-docs to the unquoted case.
3079 2014-04-25  Eli Zaretskii  <eliz@gnu.org>
3081         * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
3082         Use equal-including-properties to compare help-echo strings (bug#17331).
3084 2014-04-25  Leo Liu  <sdl.web@gmail.com>
3086         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3087         Fix syntax for @.  (Bug#17325)
3089 2014-04-25  Daniel Colascione  <dancol@dancol.org>
3091         * emacs-lisp/cl.el (gv): Require gv early to break eager
3092         macro-expansion cycles.
3094 2014-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3096         * simple.el (region-active-p): Check there's a mark (bug#17324).
3098         * simple.el (completion-list-mode-map): Use choose-completion for the
3099         mouse binding as well (bug#17302).
3100         (completion-list-mode, completion-setup-function): Adjust docstring and
3101         echo area message accordingly.
3102         * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
3103         calling convention of choose-completion.
3104         * comint.el (comint-dynamic-list-completions):
3105         * term.el (term-dynamic-list-completions): Accept choose-completion.
3107         * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
3108         &, |, +, - and * can't be a division (bug#17317).
3110         * term/xterm.el (xterm--version-handler): Don't use modern xterm
3111         features on gnome-terminal (bug#16988).
3113 2014-04-25  Thien-Thi Nguyen  <ttn@gnu.org>
3115         Improve Scheme font-locking for (define ((foo ...) ...) ...).
3117         * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
3118         the declared object, ignore zero or more parens, not zero or one.
3120 2014-04-24  Leo Liu  <sdl.web@gmail.com>
3122         * progmodes/xscheme.el (xscheme-expressions-ring)
3123         (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
3124         (xscheme-control-g-disabled-p, xscheme-process-filter-state)
3125         (xscheme-allow-output-p, xscheme-prompt)
3126         (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
3128         * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
3129         Comment out unused functions.
3131 2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3133         * info.el: Use lexical-binding and cl-lib.
3134         Use defvar-local and setq-local instead of make-local-variable.
3135         (Info-apropos-matches): Avoid add-to-list.
3136         (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
3138 2014-04-24  Daniel Colascione  <dancol@dancol.org>
3140         * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
3142 2014-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3144         * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
3146 2014-04-22  Michael Heerdegen  <michael_heerdegen@web.de>
3148         * dired.el (dired-insert-set-properties): Do not consider
3149         subdirectory headings and empty lines to be information that
3150         `dired-hide-details-mode' should hide.  (Bug#17228)
3152 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
3154         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3155         Remove test messages.
3156         (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
3157         and `target' twice.
3159 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3161         * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
3162         * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
3164         * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
3166 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
3168         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3169         Set "IFS=" when using read builtin, in order to preserve spaces in
3170         the file name.  Add test messages for hunting a bug on hydra.
3171         (tramp-get-ls-command): Undo using "-b" argument.  It doesn't help.
3173 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3175         * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3176         Don't prettify a word within a symbol.
3178 2014-04-22  Michael Albinus  <michael.albinus@gmx.de>
3180         * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
3181         possible.
3183 2014-04-22  Daniel Colascione  <dancol@dancol.org>
3185         * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
3186         use defun to define `function-put'.
3188 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3190         * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
3191         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
3192         (lisp-mode-variables): Set font-lock-extra-managed-props.
3194         * emacs-lisp/byte-run.el (function-put): New function.
3195         (defun-declarations-alist): Use it.  Add `pure' and `side-effect-free'.
3196         * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
3197         (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
3198         Use them.
3200 2014-04-22  Daniel Colascione  <dancol@dancol.org>
3202         * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
3203         Add `full-p' parameter; when nil, call `macroexpand' instead of
3204         `macroexpand-all'.
3206         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3207         Improve docstrings.
3209         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3210         Use lambda function values, not quoted lambdas.
3211         (byte-compile-recurse-toplevel): Remove extraneous &optional.
3213         * emacs-lisp/cl-macs.el
3214         (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
3215         (cl-struct-slot-value): Conditionally use aref or nth so that the
3216         compiler produces optimal code.
3218 2014-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3220         * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
3221         (inline): Don't inline cl--set-elt.
3222         (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
3223         Define as inlinable instead.
3224         (cl-struct-set-slot-value): Remove.
3226         * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
3227         * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
3228         Use setf instead.
3230 2014-04-21  Daniel Colascione  <dancol@dancol.org>
3232         * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
3233         last two parameters after all.
3234         (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
3235         (cl--compiler-macro-assoc,cl-struct-slot-value)
3236         (cl-struct-set-slot-value): Stop using them.
3238 (2014-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3240         * image-mode.el (image-mode-window-put): Don't assume there's a `t'
3241         entry in image-mode-winprops-alist.
3243 2014-04-21  Daniel Colascione  <dancol@dancol.org>
3245         * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
3246         (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
3247         (byte-compile-toplevel-file-form): Use it.
3249         * emacs-lisp/cl-macs.el:
3250         (cl--loop-let): Properly destructure `while' clauses.
3252 2014-04-20  Daniel Colascione  <dancol@dancol.org>
3254         * vc/vc.el (vc-root-dir): New public autoloaded function for
3255         generically finding the current VC root.
3256         * vc/vc-hooks.el (vc-not-supported): New error.
3257         (vc-call-backend): Signal `vc-not-supported' instead of generic error.
3259 2014-04-20  Daniel Colascione  <dancol@dancol.org>
3261         * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
3262         argument.
3263         (cl--const-expr-val): cl--const-expr-val should macroexpand its
3264         argument in case we're inside a symbol-macrolet.
3265         (cl--do-arglist, cl--compiler-macro-typep)
3266         (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
3267         environment to `cl--const-expr-val'.
3268         (cl-struct-sequence-type,cl-struct-slot-info)
3269         (cl-struct-slot-offset, cl-struct-slot-value)
3270         (cl-struct-set-slot-value): New functions.
3272 2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3274         * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
3275         assignments such as "case=hello" (bug#17297).
3277 2014-04-18  Michael Albinus  <michael.albinus@gmx.de>
3279         * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
3280         Do not autoload.
3281         (tramp-file-name-handler, tramp-completion-file-name-handler):
3282         Revert patch from 2014-04-10, it isn't necessary anymore.
3283         (tramp-autoload-file-name-handler)
3284         (tramp-register-autoload-file-name-handlers): New defuns.
3285         (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
3286         (tramp-register-file-name-handlers): Remove also
3287         `tramp-autoload-file-name-handler' from `file-name-handler-list'.
3288         Do not autoload its invocation, but eval it after loading of 'tramp.
3290         * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
3292         * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
3294 2014-04-17  Daniel Colascione  <dancol@dancol.org>
3296         Add support for bracketed paste mode; add infrastructure for
3297         managing terminal mode enabling and disabling automatically.
3299         * xt-mouse.el:
3300         (xterm-mouse-mode): Simplify.
3301         (xterm-mouse-tracking-enable-sequence)
3302         (xterm-mouse-tracking-disable-sequence): New constants.
3303         (turn-on-xterm-mouse-tracking-on-terminal)
3304         (turn-off-xterm-mouse-tracking-on-terminal):
3305         Use tty-mode-set-strings and tty-mode-reset-strings terminal
3306         parameters instead of random hooks.
3307         (turn-on-xterm-mouse-tracking)
3308         (turn-off-xterm-mouse-tracking): Delete.
3310         * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
3311         (xterm-paste-ending-sequence): New constant.
3312         (xterm-paste): New command used for bracketed paste support.
3314         (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
3315         (terminal-init-xterm-bracketed-paste-mode): New function.
3316         (terminal-init-xterm): Call it.
3317         (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
3318         and tty-mode-reset-strings instead of random hooks.
3319         (xterm-turn-on-modify-other-keys)
3320         (xterm-turn-off-modify-other-keys)
3321         (xterm-remove-modify-other-keys): Delete obsolete functions.
3323         * term/screen.el: Rewrite to just use the xterm code.
3324         Add copyright notice.  Mention tmux.
3326 2014-04-17  Ian D  <dunni@gnu.org>  (tiny change)
3328         * image-mode.el (image-mode-window-put): Also update the property of
3329         the "default window".
3330         * doc-view.el (doc-view-new-window-function): If no window
3331         exists, move to the last known page.
3333 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3335         * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
3336         here-documents (bug#17262).
3338 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
3340         * term/pc-win.el (x-list-fonts, x-get-selection-value):
3341         Provide doc strings, as required by snarf-documentation.
3343 2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3345         * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
3346         arg of overlays-at.  Use `invisible-p'.
3348         * obsolete/lucid.el (extent-at):
3349         * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
3350         overlays-at.
3351         (hfy-fontify-buffer): Remove unused var `orig-ovls'.
3353 2014-04-16  João Távora  <joaotavora@gmail.com>
3355         * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
3356         links.  (Bug#17217).
3358 2014-04-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3360         * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3361         Use mapc to loop over a vector.  (Bug#17257).
3363 2014-04-16  Michael Albinus  <michael.albinus@gmx.de>
3365         * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
3366         patch, there are new problems with file names containing spaces.
3367         Get rid of backticks.  (Bug#17238)
3369 2014-04-16  João Távora  <joaotavora@gmail.com>
3371         * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
3372         possible bug.
3374 2014-04-16  Eli Zaretskii  <eliz@gnu.org>
3376         * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
3377         (blink-cursor-mode): Mention customization variables and the
3378         effect of 'blink-cursor-blinks'.
3380 2014-04-16  Barry O'Reilly  <gundaetiapo@gmail.com>
3382         * simple.el (undo): Prevent insertion of identity mapping into
3383         undo-equiv-table so as undo-only does not inf loop in the presence
3384         of consecutive nils in undo list.
3386 2014-04-16  Matthias Dahl  <matthias.dahl@binary-island.eu>
3388         * faces.el (make-face): Deprecate optional argument as it is no
3389         longer needed/used since the conditional X resources handling
3390         has been pushed down to make-face-x-resource-internal itself.
3391         (make-empty-face): Don't pass optional argument to make-face.
3393 2014-04-16  Karl Fogel  <kfogel@red-bean.com>
3395         * savehist.el (savehist-save): Remove workaround for a read-passwd
3396         bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
3397         noticing that the shim was still present.
3399 2014-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3401         * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
3403 2014-04-14  Juanma Barranquero  <lekktu@gmail.com>
3405         * faces.el (face-set-after-frame-default): Remove unused local variable.
3407 2014-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3409         * progmodes/grep.el: Use lexical-binding.
3410         (grep-expand-template): Pass explicit lexical env to `eval'.
3411         (zrgrep): Let-bind grep-find-template explicitly.
3413         * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
3414         * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
3416 2014-04-12  Eli Zaretskii  <eliz@gnu.org>
3418         * international/characters.el <standard-case-table>: Add entries
3419         for letters from the Coptic block u+2C80-u+2CFF.  (Bug#17243)
3420         Set category of Coptic characters be 'g' (Greek).
3422 2014-04-12  Leo Liu  <sdl.web@gmail.com>
3424         * progmodes/octave.el (completion-table-with-cache):
3425         Define if not available.
3426         (octave-goto-function-definition, octave-sync-function-file-names)
3427         (octave-find-definition-default-filename):
3428         Backquote upattern for compatibility.
3430 2014-04-12  Michael Albinus  <michael.albinus@gmx.de>
3432         * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
3433         name twice due to backticks.  (Bug#17238)
3435 2014-04-12  Glenn Morris  <rgm@gnu.org>
3437         * term/w32-win.el (x-win-suspend-error):
3438         * term/x-win.el (x-win-suspend-error): Sync docs.
3440 2014-04-12  Matthias Dahl  <matthias.dahl@binary-island.eu>
3442         * faces.el (make-face): Remove deprecated optional argument.
3443         The conditional application of X resources is handled directly by
3444         make-face-x-resource-internal since Emacs 24.4.
3445         (make-empty-face): Don't pass optional argument to make-face.
3447 2014-04-11  Glenn Morris  <rgm@gnu.org>
3449         * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport.  (Bug#16429)
3451 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3453         Ediff's overlay priorities cause more trouble than they solve.
3454         * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
3455         (ediff-highest-priority): Remove function (bug#17234).
3456         * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
3457         * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
3458         (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
3459         overlay priorities.
3461 2014-04-11  Feng Li  <fengli@gmail.com>  (tiny change)
3463         * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
3464         entry; use symbol boundaries to avoid mis-matches.
3466 2014-04-11  Michael Albinus  <michael.albinus@gmx.de>
3468         * net/tramp.el (tramp-file-name-handler)
3469         (tramp-completion-file-name-handler): Avoid recursive loading.
3471         * net/tramp-sh.el (tramp-make-copy-program-file-name):
3472         Quote result also locally.
3474 2014-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3476         * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
3477         Remove left-over code.
3479         * newcomment.el (comment-indent-new-line): Sink code where it's used.
3480         Reuse the previous comment's indentation unconditionally if it's on its
3481         own line.
3483 2014-04-09  Daniel Colascione  <dancol@dancol.org>
3485         * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
3486         `no-syntax-crossing' arguments.  Forward to `up-list'.
3487         (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
3488         Implement logic for escaping from strings.  Use narrowing to deal
3489         with corner cases.
3491 2014-04-09  Leo Liu  <sdl.web@gmail.com>
3493         * net/rcirc.el (rcirc-connection-info): New variable.
3494         (rcirc-connect): Use it to store connection info.
3495         (rcirc-buffer-process): Avoid get-buffer-process which returns nil
3496         for killed process.
3497         (rcirc-cmd-reconnect): New command.  (Bug#17045)
3498         (rcirc-mode, set-rcirc-encode-coding-system)
3499         (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
3501 2014-04-09  Daniel Colascione  <dancol@dancol.org>
3503         * emacs-lisp/cl-indent.el: Add comment claiming
3504         facility is also good for elisp.
3505         (lisp-indent-find-method): New function.
3506         (common-lisp-indent-function): Recognize cl-loop.
3507         (common-lisp-indent-function-1): Recognize cl constructs; use
3508         `lisp-indent-find-method' instead of `get' directly.
3509         (if): Use else-body style for elisp.
3511 2014-04-09  Dmitry Gutov  <dgutov@yandex.ru>
3513         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3514         Module methods.  (Bug#17216)
3516 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3518         * help.el (describe-bindings): Fix buffer handling (bug#17210).
3519         (describe-bindings-internal): Mark obsolete.
3521 2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3523         * subr.el (with-silent-modifications): Don't bind deactivate-mark,
3524         buffer-file-name, and buffer-file-truename any more.
3526 2014-04-08  Leo Liu  <sdl.web@gmail.com>
3528         Use lexical-binding and require cl-lib.
3529         * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
3530         (rcirc-handler-generic, rcirc-fill-paragraph)
3531         (rcirc-format-response-string, rcirc-target-buffer)
3532         (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
3533         (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
3534         (rcirc-ctcp-sender-PING, rcirc-browse-url)
3535         (rcirc-markup-timestamp, rcirc-markup-attributes)
3536         (rcirc-markup-my-nick, rcirc-markup-urls)
3537         (rcirc-markup-bright-nicks, rcirc-markup-fill)
3538         (rcirc-check-auth-status, rcirc-handler-WALLOPS)
3539         (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
3540         (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
3541         (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
3542         (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
3543         (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
3544         (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
3545         (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
3546         (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
3547         (rcirc-handler-CTCP-response): Fix unused arguments warnings and
3548         use cl-lib.
3550 2014-04-07  João Távora  <joaotavora@gmail.com>
3552         * elec-pair.el (electric-pair--syntax-ppss):
3553         When inside comments parse from comment beginning.
3554         (electric-pair--balance-info): Fix typo in comment.
3555         (electric-pair--in-unterminated-string-p): Delete.
3556         (electric-pair--unbalanced-strings-p): New function.
3557         (electric-pair-string-bound-function): New var.
3558         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3559         according to `electric-pair--in-unterminated-string-p'
3561         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3562         Inhibit quote pairing if point-max is inside an unterminated string.
3563         (electric-pair--looking-at-unterminated-string-p): Delete.
3564         (electric-pair--in-unterminated-string-p): New function.
3566 2014-04-07  Glenn Morris  <rgm@gnu.org>
3568         * shell.el (shell-directory-tracker):
3569         Go back to just ignoring failures.  (Bug#17159)
3571 2014-04-07  João Távora  <joaotavora@gmail.com>
3573         Fix `electric-pair-delete-adjacent-pairs' in modes binding
3574         backspace. (bug#16981)
3575         * elec-pair.el (electric-pair-backward-delete-char): Delete.
3576         (electric-pair-backward-delete-char-untabify): Delete.
3577         (electric-pair-mode-map): Bind backspace to a menu item filtering
3578         a new `electric-pair-delete-pair' command.
3579         (electric-pair-delete-pair): New command.
3581         * progmodes/python.el (python-electric-pair-string-delimiter):
3582         Fix triple-quoting electricity.  (Bug#17192)
3584         * elec-pair.el (electric-pair-post-self-insert-function):
3585         Don't skip whitespace when `electric-pair-text-pairs' and
3586         `electric-pair-pairs' were used. syntax to
3587         electric-pair--skip-whitespace.  (Bug#17183)
3589 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3591         * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
3592         "<F>".  (Bug#17199)
3594 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3596         * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
3597         (mpc--status-idle-timer-run): Use mpc--status-timer-run.
3599 2014-04-07  Glenn Morris  <rgm@gnu.org>
3601         * help.el (view-lossage): Doc tweak.
3603 2014-04-07  Matthias Dahl  <ml_emacs-lists@binary-island.eu>
3605         * faces.el (face-spec-recalc): Call make-face-x-resource-internal
3606         only when inhibit-x-resources is nil, and do that earlier in the
3607         function.  Doc fix.  (Bug#16694)
3608         (face-spec-choose): Accept additional optional argument, whose
3609         value is returned if no matching attributes are found.
3610         (face-spec-recalc): Use the new optional argument when calling
3611         face-spec-choose.  (Bug#16378)
3612         (make-face-x-resource-internal): Do nothing when
3613         inhibit-x-resources is non-nil.  Don't touch the default face if
3614         reversed video is given--as was done in previous versions of Emacs.
3615         (face-set-after-frame-default): Don't call
3616         make-face-x-resource-internal here.  (Bug#16434)
3618 2014-04-07  Tassilo Horn  <tsdh@gnu.org>
3620         * doc-view.el (doc-view-bookmark-jump):
3621         Use `bookmark-after-jump-hook' to jump to the right page after the
3622         buffer is shown in a window.  (bug#16090)
3624 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3626         * international/characters.el (mirroring): Fix last change:
3627         instead of loading uni-mirrored.el explicitly, do that implicitly
3628         by creating the 'mirroring' uniprop table.  This avoids announcing
3629         the loading of uni-mirrored.el.
3631 2014-04-07  Glenn Morris  <rgm@gnu.org>
3633         * files.el (buffer-stale--default-function)
3634         (buffer-stale-function, revert-buffer--default):
3635         * autorevert.el (auto-revert-buffers): Doc tweaks.
3637 2014-04-07  Eli Zaretskii  <eliz@gnu.org>
3639         * international/characters.el: Preload uni-mirrored.el.  (Bug#17169)
3641 2014-04-07  Glenn Morris  <rgm@gnu.org>
3643         * files.el (make-backup-file-name-function)
3644         (make-backup-file-name, make-backup-file-name--default-function)
3645         (make-backup-file-name-1, find-backup-file-name)
3646         (revert-buffer-function, revert-buffer-insert-file-contents-function)
3647         (buffer-stale--default-function, buffer-stale-function)
3648         (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
3649         (revert-buffer, revert-buffer--default)
3650         (revert-buffer-insert-file-contents--default-function):
3651         Doc fixes related to defaults no longer being nil.
3652         (make-backup-file-name-function): Bump :version.
3653         Restore nil as a valid but deprecated custom type.
3655 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3657         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3658         Handle $' used as a variable (bug#17174).
3660         * progmodes/perl-mode.el (perl-indent-new-calculate):
3661         Handle forward-sexp failure (bug#16985).
3662         (perl-syntax-propertize-function): Add "foreach" and "for" statement
3663         modifiers introducing expressions (bug#17116).
3665 2014-04-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3667         * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
3669 2014-04-05  Leo Liu  <sdl.web@gmail.com>
3671         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3672         Add define-compilation-mode.
3674 2014-04-04  João Távora  <joaotavora@gmail.com>
3676         * elec-pair.el (electric-pair--syntax-ppss): When inside comments
3677         parse from comment beginning.
3678         (electric-pair--balance-info): Fix typo in comment.
3679         (electric-pair--in-unterminated-string-p): Delete.
3680         (electric-pair--unbalanced-strings-p): New function.
3681         (electric-pair-string-bound-function): New var.
3682         (electric-pair-inhibit-if-helps-balance): Decide quote pairing
3683         according to `electric-pair--in-unterminated-string-p'.
3685 2014-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3687         * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
3688         Move declaration before first use.
3689         (reftex-move-to-next-arg): Silence compiler warning.
3691 2014-04-04  Joost Kremers  <joostkremers@fastmail.fm>  (tiny change)
3693         * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
3694         Use `window-total-width' instead of `window-width'.
3696 2014-04-03  Daniel Colascione  <dancol@dancol.org>
3698         * subr.el (set-transient-map): Remove rms's workaround entirely;
3699         use new `suspicious-object' subr to mark our lambda for closer
3700         scrutiny during gc.
3702 2014-04-02  Richard Stallman  <rms@gnu.org>
3704         * subr.el (set-transient-map): Comment out previous change.
3706 2014-04-02  Glenn Morris  <rgm@gnu.org>
3708         * menu-bar.el (menu-bar-file-menu):
3709         * vc/ediff.el (ediff-current-file):
3710         Update for revert-buffer-function no longer being nil by default.
3712         * simple.el (command-execute): Respect nil disabled-command-function.
3714 2014-04-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3716         * simple.el (command-execute): Do not execute the command when it
3717         is disabled; fixes thinko in 2013-02-20 conversion from C.  (Bug#17151)
3719 2014-04-02  Juri Linkov  <juri@jurta.org>
3721         * dired-aux.el (dired-compress-file): Don't use string-match-p
3722         because its match data is used afterwards.
3724 2014-04-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3726         * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
3727         0 like nil.
3729 2014-04-02  João Távora  <joaotavora@gmail.com>
3731         * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3732         Inhibit quote pairing if point-max is inside an unterminated string.
3733         (electric-pair--looking-at-unterminated-string-p):
3734         Delete.
3735         (electric-pair--in-unterminated-string-p): New function.
3737 2014-04-01  Daniel Colascione  <dancol@dancol.org>
3739         * minibuffer.el (minibuffer-complete): Prevent assertion failure
3740         when trying to complete the prompt.
3742 2014-03-31  Leo Liu  <sdl.web@gmail.com>
3744         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3745         Refactor out eldoc-documentation-function-default.
3746         (eldoc-documentation-function-default): New function.
3747         (eldoc-documentation-function): Change value.
3749 2014-03-31  Glenn Morris  <rgm@gnu.org>
3751         * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
3753         * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
3754         (vhdl-compose-components-package, vhdl-compose-configuration):
3755         Abbreviate default-directory (missing from some previous upstream sync).
3757 2014-03-31  Reto Zimmermann  <reto@gnu.org>
3759         Sync with upstream vhdl mode v3.35.2.
3760         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3761         (top-level): No longer require assoc.
3762         (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
3763         New functions.  Use throughout to replace aget etc.
3764         (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
3765         (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
3766         (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
3767         (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
3768         (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
3769         except `vhdl-compiler'.
3770         (vhdl-error-regexp-add-emacs): Remove all other compilers,
3771         when appropriate.
3773 2014-03-31  Glenn Morris  <rgm@gnu.org>
3775         * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
3776         Revert 2014-03-26 merge goof; go back to using defalias.
3778 2014-03-30  Daniel Colascione  <dancol@dancol.org>
3780         * comint.el (comint-send-input):
3781         Deactivate completion-in-region-mode before we send comint input.
3782         (Bug#17139).
3784         * simple.el (keyboard-quit): Deactivate completion-in-region-mode
3785         on keyboard-quit.
3787 2014-03-29  Glenn Morris  <rgm@gnu.org>
3789         * textmodes/reftex.el: Manage most autoloads automatically.
3790         * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
3791         * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
3792         * textmodes/reftex-index.el, textmodes/reftex-parse.el:
3793         * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
3794         * textmodes/reftex-toc.el: Set generated-autoload-file,
3795         and add autoload cookies for reftex.el.
3796         * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
3798 2014-03-28  Glenn Morris  <rgm@gnu.org>
3800         * cus-start.el (report-emacs-bug-address): Set custom properties.
3801         * mail/emacsbug.el (report-emacs-bug-address):
3802         Variable is now defined in emacs.c.
3804         * mail/emacsbug.el (report-emacs-bug):
3805         Include system-configuration-features.
3807 2014-03-28  Michal Nazarewicz  <mina86@mina86.com>
3809         * simple.el (cycle-spacing): Never delete spaces on first run by
3810         default, but do so in a new 'fast mode and if there are already
3811         N spaces (the previous behavior).
3812         Compare N with its value in previous invocation so that changing
3813         prefix argument restarts `cycle-spacing' sequence.
3814         The idea is that with this change, binding M-SPC to
3815         `cycle-spacing' should not introduce any changes in behavior of
3816         the binding so long as users do not type M-SPC twice in a raw with
3817         the same prefix argument or lack thereof.
3819 2014-03-28  Glenn Morris  <rgm@gnu.org>
3821         * faces.el (term-file-aliases): New variable.
3822         (tty-run-terminal-initialization): Respect term-file-aliases.
3823         * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
3824         * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
3825         * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
3827 2014-03-27  Glenn Morris  <rgm@gnu.org>
3829         * startup.el (inhibit-startup-hooks): Doc tweak.
3830         (normal-top-level): Simplify running of hooks.
3831         For window-setup-hook, respect inhibit-startup-hooks.
3832         (command-line-1): Don't set window-setup-hook to nil.
3834         Allow selective autoloading from obsolete/ directory.
3835         * Makefile.in (obsolete-autoloads): New rule.
3836         (autoloads): Run obsolete-autoloads.
3837         * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
3838         * simple.el (iswitchb-mode): Remove hand-written autoloads.
3840 2014-03-27  Dmitry Gutov  <dgutov@yandex.ru>
3842         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3843         Highlight special globals with font-lock-builtin-face.  (Bug#17057)
3845         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3846         Don't propertize `?' or `!' as symbol constituent when after
3847         colon.  (Bug#17097)
3849 2014-03-27  Juanma Barranquero  <lekktu@gmail.com>
3851         * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
3852         which is no longer needed and causes trouble in GTK builds (bug#17046).
3854         * emacs-lisp/package-x.el (package--archive-contents-from-url):
3855         Use url-insert-file-contents; package-handle-response no longer exists.
3857 2014-03-26  Daniel Colascione  <dancol@dancol.org>
3859         * simple.el (process-menu-mode-map): New variable.
3860         (process-menu-delete-process): New command.
3862 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
3864         * emacs-lisp/package.el: Fix bug#16733 (again).
3865         (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
3866         (url-http-target-url): Remove unused declarations.
3867         (package-handle-response): Remove.
3868         (package--with-work-buffer): Use url-insert-file-contents and simplify.
3869         (package--download-one-archive): Use current-buffer instead of
3870         dynamic binding of `buffer'.
3871         (describe-package-1): Do not decode readme-string.
3873 2014-03-26  Michael Albinus  <michael.albinus@gmx.de>
3875         * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
3877         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
3878         from 2014-03-07, it decreases performance unnecessarily.  Let-bind
3879         `remote-file-name-inhibit-cache' to nil in the second pass.
3880         (tramp-find-executable): Do not call "which" on SunOS.
3881         (tramp-send-command-and-check): Fix docstring.
3882         (tramp-do-copy-or-rename-file-directly): In the `rename' case,
3883         check whether source directory has set the sticky bit.
3885 2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
3887         * simple.el (primitive-undo): Only process marker adjustments
3888         validated against their corresponding (TEXT . POS).  Issue warning
3889         for lone marker adjustments in undo history.  (Bug#16818)
3890         (undo-make-selective-list): Add marker adjustments to selective
3891         undo list based on whether their corresponding (TEXT . POS) is in
3892         the region.  Remove variable adjusted-markers, which was unused
3893         and only non nil during undo-make-selective-list.
3894         (undo-elt-in-region): Return nil when passed a marker adjustment
3895         and explain in function doc.
3897 2014-03-26  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
3899         * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
3901 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
3903         * progmodes/ruby-mode.el (ruby-expression-expansion-re):
3904         Match special global variables without curlies, too.
3905         (ruby-font-lock-keywords): Simplify the matcher for special global
3906         variables.  Don't require a non-word character after the variable.
3907         (Bug#17057)
3909 2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3911         * simple.el (redisplay-highlight-region-function): Increase priority of
3912         overlay to make sure boundaries are visible (bug#15899).
3914 2014-03-26  Juanma Barranquero  <lekktu@gmail.com>
3916         * frameset.el (frameset--initial-params): Fix typo in parameter name.
3917         (frameset-restore): Compare display strings with equal.
3919         * frame.el (make-frame): Don't quote display name in error message,
3920         it is already a string.
3922 2014-03-26  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3924         * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
3925         the password.
3927 2014-03-26  Dmitry Gutov  <dgutov@yandex.ru>
3929         * emacs-lisp/package.el (package--add-to-archive-contents):
3930         Include already installed and built-in packages in
3931         `package-archive-contents'.
3932         (package-install): Don't include already installed packages in the
3933         options during interactive invocation.  (Bug#16762)
3934         (package-show-package-list): If the buffer is already displayed in
3935         another window, switch to that window.
3937 2014-03-26  Reto Zimmermann  <reto@gnu.org>
3939         Sync with upstream vhdl mode v3.35.1.
3940         * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3941         (vhdl-compiler-alist): Doc fix.
3942         (vhdl-goto-line): Remove.
3943         (vhdl-mode-abbrev-table-init): Add XEmacs compat.
3944         (vhdl-mode) <paragraph-start>: Fix value.
3945         (vhdl-fix-statement-region): Not `for' in wait-statement.
3946         (vhdl-beautify-region): Also (un)tabify.
3947         (vhdl-get-visible-signals):
3948         Scan declarative part of generate statements.
3949         (vhdl-template-record): Fix indentation for record type declaration.
3950         (vhdl-expand-abbrev, vhdl-expand-paren):
3951         Revert to using fset again rather than defalias.
3952         (vhdl-scan-directory-contents): Tweak.
3953         (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
3954         (vhdl-compose-components-package):
3955         Replace vhdl-goto-line with forward-line.
3956         (top-level): Tweak speedbar frame selection.
3957         (vhdl-generate-makefile-1): Support for compilers with no
3958         unit-to-file name mapping (create directory with dummy files).
3960 2014-03-26  Wilson Snyder  <wsnyder@wsnyder.org>
3962         Sync with upstream verilog-mode revision 702457d.
3963         * progmodes/verilog-mode.el (verilog-mode-version): Update.
3964         (create-lockfiles): Declare.
3965         (verilog-read-decls): Fix module header imports, bug709.
3966         Reported by Victor Lau.
3967         Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
3968         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
3969         interface-only modules, bug721.  Reported by Dean Hoyt.
3971 2014-03-26  Glenn Morris  <rgm@gnu.org>
3973         * obsolete/gulp.el: Move here from emacs-lisp/.
3975         * files.el (lock-buffer, unlock-buffer, file-locked-p):
3976         Remove fallback aliases, since they are always defined now.
3978 2014-03-24  Daniel Colascione  <dancol@dancol.org>
3980         * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
3981         instead of cl-loop search function.
3983 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
3985         * calendar/parse-time.el (parse-time-iso8601-regexp)
3986         (parse-iso8601-time-string): Copy from `url-dav' so that we can use
3987         it more generally.
3989 2014-03-23  Lars Ingebrigtsen  <larsi@gnus.org>
3991         * net/dns.el (network-interface-list): Define for XEmacs.
3993 2014-03-23  Magnus Henoch  <magnus.henoch@gmail.com>
3995         * net/dns.el (dns-servers-up-to-date-p): New function to see whether
3996         the network interfaces changed.
3997         (dns-query): Use it to flush the data.
3999 2014-03-23  Juanma Barranquero  <lekktu@gmail.com>
4001         * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
4003 2014-03-23  Daniel Colascione  <dancol@dancol.org>
4005         Change subword-mode to use `find-word-boundary-function-table' and
4006         replace `capitalized-words-mode'.  Also, convert to lexical binding.
4007         * progmodes/cap-words.el: Delete now-obsolete file.
4008         * progmodes/subword.el: Reimplement using
4009         `find-word-boundary-function-table'.
4010         (subword-mode-map): Hollow out.
4011         (capitalized-words-mode): Define as obsolete alias for
4012         `subword-mode'.
4013         (subword-mode, superword-mode): Tweak documentation to reflect new
4014         implementation; call `subword-setup-buffer'.
4015         (subword-forward, subword-capitalize): Add underscore to indicate
4016         unused variable.
4017         (subword-find-word-boundary-function-table): New constant.
4018         (subword-empty-char-table): New constant.
4019         (subword-setup-buffer): New function.
4020         (subword-find-word-boundary): New function.
4022 2014-03-23  Daniel Colascione  <dancol@dancol.org>
4024         * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
4025         list to look for keyword arguments instead of `memq', fixing
4026         (Bug#3647) --- unfortunately, only for freshly-compiled code.
4027         Please make bootstrap.
4029 2014-03-22  Glenn Morris  <rgm@gnu.org>
4031         * dired.el (dired-read-regexp): Make obsolete.
4032         (dired-mark-files-regexp, dired-mark-files-containing-regexp)
4033         (dired-flag-files-regexp):
4034         * dired-aux.el (dired-mark-read-regexp):
4035         * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
4037         * startup.el (fancy-startup-text):
4038         * help.el (describe-gnu-project): Visit online info about GNU project.
4040         * help-fns.el (help-fns--interactive-only): New function.
4041         (help-fns-describe-function-functions): Add the above function.
4042         * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
4043         (next-line, previous-line): Remove hand-written interactive-only
4044         information from doc strings, it is auto-generated now.
4045         * bookmark.el (bookmark-write):
4046         * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
4047         (epa-mail-import-keys): Mark interactive-only,
4048         and remove hand-written interactive-only information from doc strings.
4049         * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
4050         (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
4051         * files.el (not-modified):
4052         * simple.el (mark-whole-buffer): Mark interactive-only.
4054         * emacs-lisp/byte-run.el (defun-declarations-alist):
4055         Add interactive-only.  Doc tweak.
4056         (macro-declarations-alist): Doc tweak.
4057         * subr.el (declare): Doc tweak (add xref to manual).
4058         * comint.el (comint-run):
4059         * files.el (insert-file-literally, insert-file):
4060         * replace.el (replace-string, replace-regexp):
4061         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4062         (delete-forward-char, goto-line, insert-buffer, next-line)
4063         (previous-line): Set interactive-only via declare.
4065 2014-03-22  Dmitry Gutov  <dgutov@yandex.ru>
4067         * emacs-lisp/package.el (package-desc): Use the contents of the
4068         quoted form, not its cdr.  (Bug#16873)
4070 2014-03-22  Juanma Barranquero  <lekktu@gmail.com>
4072         * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
4073         benefit of doc.c; change parameter profile to match the X function.
4075 2014-03-22  Leo Liu  <sdl.web@gmail.com>
4077         * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
4078         (temp-buffer-show-hook): Remove help-mode-finish.  (Bug#16038)
4080 2014-03-21  Richard Stallman  <rms@gnu.org>
4082         * battery.el (battery-linux-sysfs): Search for each field
4083         from the beginning of the buffer.
4085         * subr.el (set-transient-map): Clear out function and value
4086         of the temporary symbol when we're done with it.
4088         * mail/rmailsum.el (rmail-summary-delete-forward):
4089         Optimize case of reaching end and handling count.
4090         (rmail-summary-mark-deleted): Optimize when N is current msg.
4091         Don't create new summary line.
4092         (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
4093         (rmail-summary-undelete-many): Rewrite for speed.
4094         (rmail-summary-msg-number): New function.
4096         * mail/rmail.el (rmail-delete-message): Update summary.
4097         (rmail-undelete-previous-message): Handle repeat count arg.
4098         (rmail-delete-backward, rmail-delete-forward): Likewise.
4100 2014-03-21  Daniel Colascione  <dancol@dancol.org>
4102         * mail/emacsbug.el (report-emacs-bug): Include memory usage
4103         information in bug reports.
4105 2014-03-21  Michael Albinus  <michael.albinus@gmx.de>
4107         * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
4108         and `tramp-copy-env'.
4110         * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
4111         (tramp-maybe-open-connection): Handle `tramp-login-env'.
4113 2014-03-21  Glenn Morris  <rgm@gnu.org>
4115         * electric.el (electric-indent-post-self-insert-function): Add doc.
4117 2014-03-21  Dmitry Gutov  <dgutov@yandex.ru>
4119         * emacs-lisp/package.el (package-compute-transaction):
4120         Use `version-list-<=' to compare the requirement version against
4121         the version of package already to be installed.  Update the error
4122         message.  (Bug#16826)
4124         * progmodes/ruby-mode.el (ruby-smie-rules):
4125         Add indentation rule for ` @ '.  (Bug#17050)
4127 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
4129         * align.el (align-regexp): Remove superfluous backslash.
4131         * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
4132         (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
4133         (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
4134         Fix docstring typos.
4135         (ffap-next): Use C-u in docstring.
4136         (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
4137         (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
4138         Remove superfluous backslashes.
4139         (ffap-string-at-point): Reflow docstring.
4141         * server.el (server-host): Reflow docstring.
4142         (server-unload-function): Fix docstring typo.
4143         (server-eval-at): Remove superfluous backslash.
4145         * skeleton.el (skeleton-insert): Remove superfluous backslash.
4146         (skeleton-insert): Doc fix.
4147         (skeleton-insert): Reflow docstring.
4149         * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
4150         (tty-color-approximate, tty-color-by-index, tty-color-values)
4151         (tty-color-desc): Remove superfluous backslashes.
4153 2014-03-21  Glenn Morris  <rgm@gnu.org>
4155         * cus-start.el (history-length): Bump :version.
4157         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4158         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4159         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4160         Don't set `make-backup-files'.
4162         * info.el (info--prettify-description): New function,
4163         to give info-finder descriptions consistent case, punctuation.
4164         (Info-finder-find-node): Use it.  Sort packages.
4165         Refer to "description" rather than "commentary".
4167 2014-03-21  Juanma Barranquero  <lekktu@gmail.com>
4169         * frameset.el (frameset--print-register): New function.
4170         (frameset-to-register): Use it.
4172 2014-03-20  Juanma Barranquero  <lekktu@gmail.com>
4174         * progmodes/hideif.el (hif-string-to-number): New function.
4175         (hif-tokenize): Use it to understand non-decimal floats.
4177         * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
4179         * skeleton.el (skeleton-autowrap): Mark as obsolete.  Doc fix.
4181 2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4183         * electric.el (electric-newline-and-maybe-indent): New command.
4184         Bind it globally to C-j.
4185         (electric-indent-mode): Don't mess with the global map any more.
4186         Don't drop the post-self-insert-hook is some buffer is still using it
4187         (bug#16770).
4189         * bindings.el (global-map): Remove C-j binding.
4191         * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
4192         the docstring of functions advised before dumping (bug#16993).
4194 2014-03-19  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
4196         * ps-print.el (ps-generate-postscript-with-faces):
4197         Explicitly deactivate the mark (bug#16866).
4198         * simple.el (deactivate-mark): Update region highlight.
4200 2014-03-19  Juanma Barranquero  <lekktu@gmail.com>
4202         * emacs-lisp/package.el (describe-package-1):
4203         Decode commentary (bug#16733).
4205 2014-03-18  Juanma Barranquero  <lekktu@gmail.com>
4207         * custom.el (defcustom): Doc fix: recommend avoiding destructive
4208         modification of the value argument of :set (bug#16755).
4210 2014-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4212         * simple.el (newline-and-indent): Do autofill (bug#17031).
4214 2014-03-18  Dmitry Gutov  <dgutov@yandex.ru>
4216         * newcomment.el (comment-normalize-vars): Only add escaping check
4217         to `comment-start-skip' if not `comment-use-syntax'.  (Bug#16971)
4218         (comment-beginning): Use `narrow-to-region' instead of moving back
4219         one character.
4220         (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
4221         (comment-start-skip): Update the docstring.
4223 2014-03-18  Richard Stallman  <rms@gnu.org>
4225         * dired.el (dired-display-file): Force use of other window.
4227 2014-03-18  Daniel Colascione  <dancol@dancol.org>
4229         * startup.el (tty-handle-args): Remove debug message from 2007.
4231 2014-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4233         * emacs-lisp/nadvice.el (advice--interactive-form): New function.
4234         (advice--make-interactive-form): Use it to avoid (auto)loading function.
4235         (advice--make-1, advice-add, advice-remove):
4236         Remove braindead :advice-pending hack.
4238 2014-03-17  Glenn Morris  <rgm@gnu.org>
4240         * calendar/calendar.el (calendar-generate-month): Apply weekend
4241         face to the right days; fixes 2013-08-06 change.  (Bug#17028)
4243 2014-03-17  Michael Albinus  <michael.albinus@gmx.de>
4245         * net/tramp.el (tramp-action-out-of-band): Read pending output.
4246         (tramp-call-process): Trace also DESTINATION.
4248         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4249         Quote file names when they are local.  Remove superfluous trace.
4251 2014-03-17  Dmitry Gutov  <dgutov@yandex.ru>
4253         * newcomment.el (comment-beginning): If `comment-start-skip'
4254         doesn't match, move back one char and try again.  (Bug#16971)
4256         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4257         Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4258         Set `comment-start-skip' to a simpler value that doesn't try to
4259         check if the semicolon is escaped (this is handled by
4260         `syntax-ppss' now).  (Bug#16971)
4262         * progmodes/scheme.el (scheme-mode-variables): Same.
4264 2014-03-16  Martin Rudalics  <rudalics@gmx.at>
4266         Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
4267         * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
4268         current (Bug#16816, Bug#17007).
4269         (with-current-buffer-window): New macro doing the same as
4270         `with-temp-buffer-window' but with BUFFER-OR-NAME current.
4271         * help.el (help-print-return-message): Warn in doc-string to not
4272         use this in `with-help-window'.
4273         (describe-bindings-internal): Call `describe-buffer-bindings'
4274         from within help buffer.  See Juanma's scenario in (Bug#16816).
4275         (with-help-window): Update doc-string.
4276         * dired.el (dired-mark-pop-up):
4277         * files.el (save-buffers-kill-emacs):
4278         * register.el (register-preview): Use `with-current-buffer-window'
4279         instead of `with-temp-buffer-window'.
4281 2014-03-16  Juanma Barranquero  <lekktu@gmail.com>
4283         * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
4284         Implement inserting into current buffer, documented in their docstrings.
4285         (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
4286         (rst-section-tree-point, rst-forward-section, rst-indent)
4287         (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
4288         (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
4289         (rst-font-lock-handle-adornment-pre-match-form)
4290         (rst-repeat-last-character): Reflow docstrings.
4291         (rst-preferred-adornments, rst-update-section, rst-find-title-line)
4292         (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
4293         (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
4294         (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
4295         Fix docstring typos.
4296         (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
4297         (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
4298         (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
4300 2014-03-15  Juanma Barranquero  <lekktu@gmail.com>
4302         * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
4303         for compatibility with other ports.
4304         (ns-initialize-window-system): Use it.  It is set in term/common-win.el
4305         from the -xrm command line argument, but in the Nextstep port its value
4306         is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
4308         * progmodes/python.el (defconst, python-syntax-count-quotes)
4309         (python-indent-region, python-indent-shift-right)
4310         (python-indent-dedent-line-backspace, python-nav-backward-sexp)
4311         (python-nav-backward-sexp-safe, python-nav-backward-up-list)
4312         (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
4313         (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
4314         (inferior-python-mode, python-shell-make-comint, run-python-internal)
4315         (python-shell-buffer-substring, python-shell-send-buffer)
4316         (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
4317         (python-completion-complete-at-point, python-fill-docstring-style)
4318         (python-eldoc-function, python-imenu-format-item-label)
4319         (python-imenu-format-parent-item-label)
4320         (python-imenu-format-parent-item-jump-label)
4321         (python-imenu--build-tree, python-imenu-create-index)
4322         (python-imenu-create-flat-index): Fix docstring typos.
4323         (python-indent-context, python-shell-prompt-regexp, run-python):
4324         Remove superfluous backslashes.
4325         (python-indent-line, python-nav-beginning-of-defun)
4326         (python-shell-get-buffer, python-shell-get-process)
4327         (python-info-current-defun, python-info-current-line-comment-p)
4328         (python-info-current-line-empty-p, python-util-popn): Doc fixes.
4329         (python-indent-post-self-insert-function, python-shell-send-file)
4330         (python-shell-completion-get-completions)
4331         (python-shell-completion-complete-or-indent)
4332         (python-eldoc--get-doc-at-point): Reflow docstrings.
4334 2014-03-14  Glenn Morris  <rgm@gnu.org>
4336         * emacs-lisp/package.el (package-menu-mode-map):
4337         Replace use of obsolete function alias.  Tweak menu item text.
4339         * info.el (Info-finder-find-node):
4340         Ignore the `emacs' metapackage.  (Bug#10813)
4342         * finder.el (finder-list-matches): Include unversioned packages
4343         in the result of a keyword search.
4345         * finder.el (finder--builtins-descriptions): New constant.
4346         (finder-compile-keywords): Use finder--builtins-descriptions.
4348 2014-03-14  Dmitry Gutov  <dgutov@yandex.ru>
4350         * simple.el (blink-matching-paren): Describe the new value,
4351         `jump', enabling the old behavior.
4352         (blink-matching-open): Use that value.  (Bug#17008)
4354 2014-03-14  Glenn Morris  <rgm@gnu.org>
4356         * finder.el (finder-no-scan-regexp): Add leim-list.
4357         (finder-compile-keywords):
4358         Don't skip files with same basename.  (Bug#14010)
4359         * Makefile.in (setwins_finder): New, excluding leim.
4360         (finder-data): Use setwins_finder.
4362         * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
4363         (help-function-arglist, help-make-usage): Move from here...
4364         * help.el (help-split-fundoc, help-add-fundoc-usage)
4365         (help-function-arglist, help-make-usage): ... to here.  (Bug#17001)
4366         * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
4368 2014-03-14  Juanma Barranquero  <lekktu@gmail.com>
4370         * net/socks.el (socks, socks-override-functions)
4371         (socks-find-services-entry):
4372         * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
4373         (hif-find-ifdef-block):
4374         * progmodes/modula2.el (m2-indent): Fix docstring typos.
4376         * net/tls.el (tls-program): Reflow docstring.
4378         * progmodes/pascal.el (pascal-mode-abbrev-table)
4379         (pascal-imenu-generic-expression, pascal-auto-endcomments)
4380         (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
4381         (pascal-outline-mode): Fix docstring typos.
4382         (pascal-mode): Let define-derived-mode document mode hook.
4383         (pascal-uncomment-area): Reflow.
4384         (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
4386         * progmodes/opascal.el (opascal-compound-block-indent)
4387         (opascal-case-label-indent): Fix docstring typos.
4388         (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
4390 2014-03-13  Dmitry Gutov  <dgutov@yandex.ru>
4392         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4393         Fontify multiple adjacent negation chars.  (Bug#17004)
4395 2014-03-13  Tom Willemse  <tom@ryuslash.org>  (tiny change)
4397         * emacs-lisp/package.el (package--prepare-dependencies):
4398         Accept requirements without explicit version (bug#14941).
4400 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4402         * register.el (register-separator, copy-to-register): Doc fixes.
4403         (register-preview-default): Remove unnecessary call to concat.
4405         * frameset.el (frameset-restore): When checking for a visible frame,
4406         use the action map instead of calling visible-frame-list.
4408 2014-03-12  Jonas Bernoulli  <jonas@bernoul.li>
4410         * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
4412 2014-03-12  Martin Rudalics  <rudalics@gmx.at>
4414         * window.el (fit-frame-to-buffer): Get maximum width from
4415         display's width instead of height.
4417 2014-03-12  Glenn Morris  <rgm@gnu.org>
4419         * desktop.el (desktop-restore-frames)
4420         (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
4421         (desktop-restore-reuses-frames): Doc tweaks.
4423         * electric.el (electric-indent-mode): Doc fix.
4425 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4427         * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
4428         (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
4429         (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
4430         (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
4431         (cvs-dired-use-hook): Fix docstring typos.
4432         (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
4433         Doc fixes.
4435         * vc/pcvs-defs.el (cvs-auto-remove-handled)
4436         (cvs-auto-remove-directories, cvs-default-ignore-marks)
4437         (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
4438         (cvs-execute-single-dir): Fix docstring typos.
4440         * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
4441         (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
4443         * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
4445         * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
4446         Fix docstring typos.
4448 2014-03-12  Juanma Barranquero  <lekktu@gmail.com>
4450         * frameset.el (frameset--jump-to-register): Add autoload; it could be
4451         called from jump-to-register after unloading the frameset package.
4453 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4455         * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
4456         (bug#16975).  Deactivate the mark before setting it to nil.
4457         (activate-mark): Do nothing if region is already active.
4459 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
4461         * frameset.el (frameset--target-display): Remove definition; declare.
4462         (frameset-save, frameset-restore): Let-bind frameset--target-display.
4464 2014-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4466         * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
4467         (advice-add): Add a :advice--pending marker, so advice--make-1 knows
4468         when the advice is pending.
4469         (advice-remove): Remove this marker when not needed any more.
4471 2014-03-11  Juanma Barranquero  <lekktu@gmail.com>
4473         * frameset.el: Separate options for reusing frames and cleaning up.
4474         (frameset--reuse-list): Remove definition; declare.
4475         (frameset--action-map): Declare.
4476         (frameset--find-frame-if): Doc fix.
4477         (frameset--restore-frame): Cache frame action.
4478         (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
4479         how to clean up the frame list after restoring.  Remove cleaning
4480         options from REUSE-FRAMES.  Change all keyword values to symbols.
4481         (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
4483         * desktop.el (desktop-restore-forces-onscreen)
4484         (desktop-restore-reuses-frames): Use non-keyword values.
4485         (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
4487 2014-03-10  Glenn Morris  <rgm@gnu.org>
4489         * files.el (find-file): Doc fix: update info node name.
4491         * emacs-lisp/advice.el (ad-add-advice, defadvice):
4492         Doc fix: remove references to deleted info nodes.
4494 2014-03-10  Michael Albinus  <michael.albinus@gmx.de>
4496         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4497         Do not add nil to the environment, when there's no remote `locale'.
4498         (tramp-find-inline-encoding): Check, that the remote host has
4499         installed perl, before sending scripts.
4501 2014-03-10  Leo Liu  <sdl.web@gmail.com>
4503         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4504         Clear eldoc-last-message.  (Bug#16920)
4506 2014-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4508         * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
4509         (bug#14430).
4511 2014-03-09  Juri Linkov  <juri@jurta.org>
4513         * ansi-color.el (ansi-color-names-vector): Copy default colors
4514         from `xterm-standard-colors' that look well on the default white
4515         background (and also on the black background) to avoid illegible
4516         color combinations like yellow-on-white and white-on-white.
4517         http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
4519 2014-03-08  Juanma Barranquero  <lekktu@gmail.com>
4521         * frameset.el (frameset-restore): When no frame is visible, do not
4522         generate a list of frames, just make visible the selected one.
4524 2014-03-08  Dmitry Gutov  <dgutov@yandex.ru>
4526         * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
4527         it only contains the repository root.  (Bug#16897)
4529 2014-03-07  Michael Albinus  <michael.albinus@gmx.de>
4531         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
4532         only when `remote-file-name-inhibit-cache' is nil.
4533         (tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
4535 2014-03-06  Martin Rudalics  <rudalics@gmx.at>
4537         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
4538         Fix doc-strings.
4539         (fit-frame-to-buffer): New argument ONLY.  Remove dependency on
4540         fit-frame-to-buffer variable.  Fix doc-string.
4541         (fit-window-to-buffer): Set ONLY argument in call of
4542         fit-frame-to-buffer.  Fix doc-string.
4544 2014-03-06  Michael Albinus  <michael.albinus@gmx.de>
4546         * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
4547         (tramp-action-password): Clear password cache if needed.
4548         (tramp-read-passwd): Do not clear password cache.
4550         * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
4551         cache unless it is the first password request.
4553 2014-03-06  Glenn Morris  <rgm@gnu.org>
4555         * simple.el (newline): Doc tweak.
4557         * emacs-lisp/shadow.el (load-path-shadows-find):
4558         Ignore dir-locals.  (Bug#12357)
4560 2014-03-05  Glenn Morris  <rgm@gnu.org>
4562         * files.el (interpreter-mode-alist):
4563         * progmodes/sh-script.el (sh-ancestor-alist): Add dash.  (Bug#16938)
4565 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
4567         * frameset.el (frameset--initial-params): Filter out null entries.
4569 2014-03-05  Martin Rudalics  <rudalics@gmx.at>
4571         * window.el (window-min-height, window-min-width):
4572         Rewrite doc-strings.
4573         (window-body-size): Add PIXELWISE argument to make it consistent
4574         with its callees.
4576 2014-03-05  Juanma Barranquero  <lekktu@gmail.com>
4578         * finder.el (finder-mode-map, finder-mode-syntax-table):
4579         Revert part of 2014-02-28 change.
4581 2014-03-05  Lars Ingebrigtsen  <larsi@gnus.org>
4583         * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
4584         (eww-setup-buffer): Clear next/prev/etc more reliably.
4585         (eww-textarea-map): [tab] doesn't work on tty.
4586         Reported by Mario Lang.
4588         * net/shr.el (shr-map): Ditto.
4590 2014-03-04  Glenn Morris  <rgm@gnu.org>
4592         * minibuffer.el (completion-hilit-commonality):
4593         Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
4595 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
4597         * hilit-chg.el (hilit-chg-unload-function): New function.
4598         (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
4599         (hilit-chg-map-changes): Prefer cardinal number to digit.
4600         (hilit-chg-display-changes): Reflow docstring.
4601         (highlight-changes-rotate-faces): Remove superfluous backslash.
4603 2014-03-04  Michael Albinus  <michael.albinus@gmx.de>
4605         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
4606         `tramp-send-command-and-check'.
4608 2014-03-04  Juanma Barranquero  <lekktu@gmail.com>
4610         * hexl.el (hexl-address-region, hexl-ascii-region)
4611         (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
4612         (hexl-backward-short, hexl-forward-short, hexl-backward-word)
4613         (hexl-forward-word, hexl-previous-line, hexl-next-line):
4614         Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
4615         (hexl-mode): Doc fix.
4616         (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
4617         (hexl-mode-ruler): Fix typos in docstrings.
4619         * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
4620         (strokes-character, strokes-get-grid-position, strokes-list-strokes):
4621         Remove superfluous backslashes.
4622         (strokes-last-stroke, strokes-global-map, strokes-mode):
4623         Reflow docstrings.
4624         (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
4625         (strokes-xpm-for-compressed-string): Use quotes with buffer name.
4626         (strokes-distance-squared, strokes-global-set-stroke)
4627         (strokes-global-set-stroke-string): Doc fixes.
4628         (strokes-help): Fix typos; reflow docstring.
4630 2014-03-04  Martin Rudalics  <rudalics@gmx.at>
4632         * window.el (window-in-direction): Fix doc-string.
4634 2014-03-04  Glenn Morris  <rgm@gnu.org>
4636         * emacs-lisp/smie.el (smie-config-guess): Doc fix.
4637         Explicit error if no grammar.
4638         (smie-config-save): Doc fix.  Fix quote typo.
4640 2014-03-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4642         * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
4643         electric-indent-mode-hook if we obey electric-indent-mode.
4644         (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
4645         decide whether we obey electric-indent-mode.
4646         (c-change-set-fl-decl-start, c-extend-after-change-region):
4647         Silence warnings.
4648         (c-electric-indent-mode-hook): Assume we do want to obey
4649         electric-indent-mode.
4651         * electric.el (electric-indent-mode-has-been-called): Remove.
4652         (electric-indent-mode): Fix accordingly.
4654         * files.el (hack-local-variables): Mention file name in warning.
4656         * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
4658 2014-03-04  Michal Nazarewicz  <mina86@mina86.com>
4660         * bindings.el: Add comment describing why C-d binds to `delete-char'.
4661         * simple.el (delete-forward-char): Mark as interactive-only.
4663 2014-03-03  Juanma Barranquero  <lekktu@gmail.com>
4665         * icomplete.el (icomplete-completions):
4666         Follow-up to 2014-03-01 change.
4668         * icomplete.el: Miscellaneous doc fixes.
4669         Use Icomplete everywhere instead of icomplete for consistency.
4670         (icomplete-max-delay-chars): Fix typo.
4671         (icomplete-mode): Use \[].
4672         (icomplete-tidy, icomplete-exhibit): Reflow.
4673         (icomplete-minibuffer-setup-hook, icomplete-completions):
4674         Remove superfluous backlashes.
4676         * ido.el: Miscellaneous doc fixes.
4677         Use Ido everywhere instead of ido or `ido' for consistency.
4678         (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
4679         (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
4680         (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
4681         (ido-separator): Extract obsolescence info from docstring and declare
4682         with make-obsolete-variable.
4683         (ido-minibuffer-setup-hook): Simplify example.
4684         (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
4685         (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
4686         (ido-completion-help, ido-completing-read): Fix typos in docstrings.
4687         (ido-everywhere): Reflow docstring.
4688         (ido-toggle-vc): Doc fix.
4689         (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
4690         of long list of keybindings.
4692 2014-03-03  Glenn Morris  <rgm@gnu.org>
4694         * frame.el (display-pixel-height, display-pixel-width)
4695         (display-mm-dimensions-alist, display-mm-height)
4696         (display-mm-width): Doc tweaks.
4698 2014-03-02  Barry O'Reilly  <gundaetiapo@gmail.com>
4700         * simple.el (undo-elt-in-region): Fix buffer corruption for edge
4701         case of undo in region.
4703 2014-03-02  Martin Rudalics  <rudalics@gmx.at>
4705         * window.el (fit-window-to-buffer): Fix argument in window-size
4706         call when window is horizontally combined.
4708 2014-03-02  Juanma Barranquero  <lekktu@gmail.com>
4710         * icomplete.el (icomplete-completions): Use string-width.
4711         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
4713 2014-03-01  Dmitry Gutov  <dgutov@yandex.ru>
4715         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4716         Highlight regexp options.  (Bug#16914)
4718 2014-03-01  Martin Rudalics  <rudalics@gmx.at>
4720         * window.el (window--max-delta-1): Round down when calculating
4721         how many lines/columns we can get from a window.
4723 2014-03-01  Glenn Morris  <rgm@gnu.org>
4725         * isearch.el (search-invisible): Doc fix.
4727         * minibuffer.el (completion-hilit-commonality):
4728         Make `base-size' argument optional.  Short-cut if `prefix-len' is 0.
4729         * comint.el (comint-dynamic-list-completions): Doc fix.
4730         * comint.el (comint-dynamic-list-completions):
4731         * filecache.el (file-cache-minibuffer-complete):
4732         * tempo.el (tempo-display-completions):
4733         * eshell/em-hist.el (eshell-list-history):
4734         Replace use of obsolete argument of display-completion-list.
4736 2014-03-01  Juanma Barranquero  <lekktu@gmail.com>
4738         * icomplete.el (icomplete-completions):
4739         Revert back to using "..." when ?… cannot be displayed.
4741 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
4743         * finder.el (finder-unload-function): New function.
4745 2014-02-28  Juanma Barranquero  <lekktu@gmail.com>
4747         * dframe.el (dframe-detach):
4748         * find-dired.el (find-dired, find-name-dired):
4749         * finder.el (finder-mode-map, finder-mode-syntax-table)
4750         (finder-headmark, finder-select, finder-mouse-select):
4751         Fix docstring typos.
4753 2014-02-28  Martin Rudalics  <rudalics@gmx.at>
4755         Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
4756         * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
4757         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4758         Fix doc-string based on a suggestion by Nicolas Richard
4759         <theonewiththeevillook@yahoo.fr>.
4760         * help.el (with-help-window): Fix doc-string.
4762 2014-02-28  Ivan Kanis  <ivan@kanis.fr>
4764         * net/shr.el (shr-image-animate): New option.
4765         (shr-put-image): Respect shr-image-animate.
4767 2014-02-28  Michael Albinus  <michael.albinus@gmx.de>
4769         * net/tramp-adb.el (tramp-adb-parse-device-names):
4770         Use `accept-process-output'.
4771         (tramp-adb-handle-file-truename): Cache the localname only.
4772         (tramp-adb-handle-make-directory)
4773         (tramp-adb-handle-delete-directory): Flush file properties correctly.
4774         (tramp-adb-handle-set-file-modes): Do not raise an error when file
4775         modes cannot be changed.
4777         * net/tramp-cache.el (tramp-flush-directory-property): Remove also
4778         file properties of symlinks.
4780 2014-02-28  Per Starbäck  <starback@stp.lingfil.uu.se>
4782         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
4783         required/optional fields to match development biblatex.  (Bug#16781)
4785 2014-02-28  Andy Sawyer  <andy.sawyer@gmail.com>  (tiny change)
4787         * saveplace.el (toggle-save-place):
4788         Fix argument handling.  (Bug#16673)
4790 2014-02-28  Glenn Morris  <rgm@gnu.org>
4792         * minibuffer.el (completions-first-difference)
4793         (completions-common-part, completion-hilit-commonality): Doc fixes.
4795 2014-02-28  Karl Berry  <karl@gnu.org>
4797         * info.el (Info-mode-map): Add H for describe-mode,
4798         to synchronize with standalone Info.
4800 2014-02-28  Emilio C. Lopes  <eclig@gmx.net>
4802         * progmodes/sql.el (sql-interactive-mode):
4803         Avoid setting global comint-input-ring-separator.  (Bug#16814)
4805 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
4807         * net/dbus.el (dbus--init-bus): Declare function.
4808         (dbus-path-local, dbus-interface-local): New defconst.
4809         (dbus-init-bus): Use them.
4810         (dbus-return-values-table): Extend doc.
4811         (dbus-handle-bus-disconnect): Extend error message.
4813 2014-02-27  Juanma Barranquero  <lekktu@gmail.com>
4815         * subr.el (y-or-n-p): Fix double space issue in message.
4817 2014-02-27  Michael Albinus  <michael.albinus@gmx.de>
4819         * net/tramp.el (tramp-call-process): Improve trace message.
4820         (tramp-handle-insert-file-contents): Trace error case.
4822         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4823         <insert-directory>: Use `tramp-handle-insert-directory'.
4824         (tramp-adb-handle-insert-directory): Remove function.
4825         (tramp-adb-send-command-and-check): New defun, replacing
4826         `tramp-adb-command-exit-status'.  Change all callees.
4827         (tramp-adb-handle-file-attributes)
4828         (tramp-adb-handle-directory-files-and-attributes): Use it.
4829         (tramp-adb-ls-output-name-less-p):
4830         Use `directory-listing-before-filename-regexp'.
4831         (tramp-adb-handle-delete-directory): Flush also file properties of
4832         the truename of directory.
4833         (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
4834         (tramp-adb-handle-file-local-copy): Make the local copy readable.
4835         (tramp-adb-handle-write-region): Implement APPEND.
4836         (tramp-adb-handle-rename-file): Make it more robust.  Flush file
4837         properties correctly.
4838         (tramp-adb-maybe-open-connection): Set `tramp-current-*'
4839         variables.  Check for connected devices only when needed.
4841 2014-02-27  Glenn Morris  <rgm@gnu.org>
4843         * minibuffer.el (completion-table-dynamic)
4844         (completion-table-with-cache): Doc fixes.
4846         * emacs-lisp/crm.el (crm-default-separator, crm-separator)
4847         (completing-read-multiple): Doc fixes.
4849 2014-02-27  Daniel Colascione  <dancol@dancol.org>
4851         * minibuffer.el (completion--nth-completion): Fix indentation.
4853         * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
4854         explicit tramp path is empty.
4856 2014-02-27  Glenn Morris  <rgm@gnu.org>
4858         * emacs-lisp/crm.el (completing-read-multiple):
4859         Empower help-enable-auto-load.
4861 2014-02-26  Glenn Morris  <rgm@gnu.org>
4863         * startup.el (command-line): Don't init the tty in daemon mode.
4865         Avoid calling tty-setup-hook twice, eg if a term file
4866         explicitly calls tty-run-terminal-initialization.  (Bug#16859)
4867         * faces.el (tty-run-terminal-initialization): Add run-hook argument.
4868         (tty-create-frame-with-faces): Use it.
4869         * startup.el (command-line): Pass run-hook argument
4870         to tty-run-terminal-initialization.
4872         * dired.el (dired-restore-desktop-buffer): Demote errors;
4873         eg in case a glob match fails.  (Bug#16884)
4875 2014-02-26  Dmitry Gutov  <dgutov@yandex.ru>
4877         * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
4878         error from `read-from-string'.  (Bug#16850)
4880         * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
4881         result of `completing-read' in the interactive form.  (Bug#16854)
4883 2014-02-25  Glenn Morris  <rgm@gnu.org>
4885         * image.el (image-animate, image-animate-timeout):
4886         Stop animating images in dead buffers.  (Bug#16878)
4888         * emacs-lisp/edebug.el (defmacro): Fix debug spec.  (Bug#16868)
4890         * faces.el (tty-setup-hook, tty-run-terminal-initialization):
4891         Doc fixes.
4892         * startup.el (term-setup-hook): Doc fix.  Make obsolete.
4893         * term/sun.el (sun-raw-prefix-hooks):
4894         Use tty-setup-hook instead of term-setup-hook.
4895         (terminal-init-sun): Construct message from bytecomp plist.
4896         * term/wyse50.el (enable-arrow-keys): Doc fix.
4898 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
4900         * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
4901         Fix docstring typos.
4903 2014-02-24  Michael Albinus  <michael.albinus@gmx.de>
4905         * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
4907 2014-02-24  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
4909         * minibuffer.el (completion--try-word-completion):
4910         Fix error when completing M-x commands (bug#16808).
4912 2014-02-24  Leo Liu  <sdl.web@gmail.com>
4914         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
4916 2014-02-24  Juanma Barranquero  <lekktu@gmail.com>
4918         * apropos.el (apropos-print): Avoid formatting error when
4919         apropos-do-all and apropos-compact-layout are both t.
4921 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
4923         * apropos.el (apropos-property, apropos-all-words-regexp)
4924         (apropos-true-hit, apropos-variable, apropos-print):
4925         Fix docstring typos, and remove obsolete comment.
4927 2014-02-23  Michael Albinus  <michael.albinus@gmx.de>
4929         * net/tramp-sh.el (tramp-sh-handle-file-truename):
4930         Preserve trailing "/".  (Bug#16851)
4932 2014-02-23  Dmitry Gutov  <dgutov@yandex.ru>
4934         * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
4935         after `=>' (bug#16811).
4936         (ruby-smie-rules): Handle the inconsistent second element of the
4937         list returned by `smie-indent--parent'.
4938         (ruby-font-lock-keywords): Disqualify any identifier before `=' as
4939         method call.
4941 2014-02-23  Juanma Barranquero  <lekktu@gmail.com>
4943         * elec-pair.el (electric-pair-text-syntax-table)
4944         (electric-pair-syntax-info, electric-pair--syntax-ppss)
4945         (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
4946         (electric-pair--looking-at-unterminated-string-p): Doc fix.
4947         (electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
4949 2014-02-22  Glenn Morris  <rgm@gnu.org>
4951         * imenu.el (imenu--generic-function): Doc fix.
4953         * register.el (frame-configuration-to-register): Make obsolete.
4955 2014-02-22  Juanma Barranquero  <lekktu@gmail.com>
4957         * desktop.el (desktop-save-buffer-p): Do not fail when
4958         desktop-files-not-to-save is nil.  Return t for true result
4959         as the doc says.
4961 2014-02-22  Daniel Colascione  <dancol@dancol.org>
4963         * net/secrets.el (secrets-create-item, secrets-search-items):
4964         Check that attribute values are strings, avoiding the construction
4965         of invalid dbus messages.
4967 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4969         * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
4970         defun-declarations-alist.
4972 2014-02-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4974         * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
4975         (bug#16829).
4977 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4979         * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
4980         (whitespace-newline, whitespace-trailing, whitespace-line)
4981         (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
4982         (whitespace-space-after-tab): Fix typo in docstrings.
4984 2014-02-21  Dmitry Gutov  <dgutov@yandex.ru>
4986         * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
4988         * electric.el (electric-indent-functions-without-reindent):
4989         Add `yaml-indent-line'.
4991 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
4993         * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
4994         It has done nothing for years; should be removed after the release.
4996         * simple.el (choose-completion): Fix docstring typo.
4997         (read-quoted-char-radix): Remove unneeded * in docstring.
4998         (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
4999         Don't escape parentheses unnecessarily in docstrings.
5001 2014-02-21  Martin Rudalics  <rudalics@gmx.at>
5003         Fix handling of window-min-height/-width (Bug#16738).
5004         * window.el (window--dump-window, window--dump-frame):
5005         New functions.
5006         (window--min-size-1): Account for window dividers.
5007         When window-resize-pixelwise is nil, delay rounding till after the
5008         sum of the window components has been calculated.
5009         (window--min-delta-1, window--max-delta-1): When PIXELWISE is
5010         nil make sure at least one text line and two text columns remain
5011         fully visible.
5012         (window-resize): Signal an error when window-resize-apply fails.
5013         (window--resize-child-windows): Fix calculation of by how many
5014         pixels a window can still be shrunk via window-new-normal.
5015         (adjust-window-trailing-edge): Call window--resizable with
5016         correct TRAIL argument.
5018         (with-temp-buffer-window): Don't evaluate BODY within
5019         with-current-buffer (Bug#16816).
5021 2014-02-21  Michael Albinus  <michael.albinus@gmx.de>
5023         * net/tramp.el (tramp-check-cached-permissions):
5024         Call `file-attributes' with `suffix' being a symbol but a string.
5026 2014-02-21  Daniel Colascione  <dancol@dancol.org>
5028         * net/dbus.el (dbus-init-bus-1): Declare new subr.
5029         (dbus-init-bus): New function: call into dbus-init-bus-1
5030         and installs a handler for the disconnect signal.
5031         (dbus-call-method): Rewrite to look for result in cons.
5032         (dbus-call-method-handler): Store result in cons.
5033         (dbus-check-event): Recognize events with nil sender as valid.
5034         (dbus-handle-bus-disconnect): New function.  React to bus
5035         disconnection signal by synthesizing dbus error for each
5036         pending synchronous or asynchronous call.
5037         (dbus-notice-synchronous-call-errors): New function.
5038         (dbus-handle-event): Raise errors directly only when `dbus-debug'
5039         is true, not all the time.
5041 2014-02-21  Juanma Barranquero  <lekktu@gmail.com>
5043         * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5044         Remove obsolescence declarations, these variables do not exist anymore.
5046         * savehist.el (savehist-save-minibuffer-history)
5047         (savehist-additional-variables, savehist-file, savehist-mode-hook)
5048         (savehist-save-hook, savehist-coding-system, savehist-loaded)
5049         (savehist-load, savehist-install, savehist-autosave): Fix typos;
5050         mostly, refer to "Savehist mode" when talking about the mode,
5051         and not the function.
5053         * saveplace.el (save-place): Remove redundant info in docstring.
5054         (save-place-forget-unreadable-files, toggle-save-place)
5055         (save-place-forget-unreadable-files, save-place-dired-hook):
5056         Fix typos and remove unneeded backslashes.
5058 2014-02-20  Michael Albinus  <michael.albinus@gmx.de>
5060         * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
5061         (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
5063         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5064         <insert-directory>: Use `tramp-handle-insert-directory'.
5065         (tramp-gvfs-handle-insert-directory): Remove function.
5067         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5068         Call `tramp-handle-insert-directory'.
5070 2014-02-20  Juanma Barranquero  <lekktu@gmail.com>
5072         * elec-pair.el (electric-pair-syntax-info): Do not check syntax
5073         before the start of buffer/region (bug#16799).
5075 2014-02-20  Glenn Morris  <rgm@gnu.org>
5077         * isearch.el (search-invisible): Doc fix.
5079 2014-02-20  W. Trevor King  <wking@tremily.us>  (tiny change)
5081         * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
5082         (bug#16657).
5084 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
5086         * frameset.el (frameset-restore): Delay removing an old frame's
5087         duplicate id until the new frame has been correctly created.
5089 2014-02-19  Michael Albinus  <michael.albinus@gmx.de>
5091         * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
5092         (tramp-check-cached-permissions): Call `file-attributes' if the
5093         cache is empty.
5095         * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5096         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5098         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5099         <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5100         (tramp-gvfs-maybe-open-connection): Set always connection
5101         properties, even if target is mounted already.
5103         * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
5104         Set tramp-autoload cookie.
5105         (tramp-get-remote-touch): New defun.
5106         (tramp-sh-handle-set-file-times): Use it.
5107         (tramp-sh-handle-directory-files-and-attributes):
5108         Use `tramp-handle-directory-files-and-attributes' if neither stat
5109         nor perl are available on the remote host.
5111         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
5112         "/".  Write long listing only when "l" belongs to the switches.
5114         * net/trampver.el: Update release number.
5116 2014-02-19  Juanma Barranquero  <lekktu@gmail.com>
5118         * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
5120 2014-02-19  Martin Rudalics  <rudalics@gmx.at>
5122         * window.el (window-state-put): Allow WINDOW to refer to an
5123         internal window (Bug#16793).
5125 2014-02-19  Glenn Morris  <rgm@gnu.org>
5127         * textmodes/remember.el: Move provide statement to end.
5128         (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
5129         (remember-notes): Doc fixes.
5131 2014-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5133         * delsel.el (delete-char): Restore incorrectly erased property
5134         (bug#16795).
5136 2014-02-18  Juanma Barranquero  <lekktu@gmail.com>
5138         * frameset.el (frameset--restore-frame): When a frame is being reused
5139         and its root window is not alive, delete all the frame's windows before
5140         restoring the window state.  This works around the issue in bug#16793.
5142 2014-02-18  Glenn Morris  <rgm@gnu.org>
5144         * textmodes/remember.el (remember-data-directory)
5145         (remember-directory-file-name-format, remember-store-in-files)
5146         (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
5147         (remember-notes-save-and-bury-buffer)
5148         (remember-notes--kill-buffer-query): Doc fixes.
5150         * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
5152 2014-02-17  Alan Mackenzie  <acm@muc.de>
5154         Connect electric-indent-mode up with CC Mode.  Bug #15478.
5155         * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
5156         to electric-indent-{,local-}-mode.
5157         (c-basic-common-init): Set electric-indent-inhibit.
5158         Initialise c-electric-flag from electric-indent-mode.
5159         (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
5160         New hook functions which propagate electric-indent-mode to CC mode.
5162         * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
5163         hit, toggle electric-indent-local-mode.
5165         * electric.el (electric-indent-mode-has-been-called):
5166         New variable.
5168 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
5170         * frameset.el (frameset-cfg-id): New function.
5171         (frameset--reuse-frame, frameset-restore): Use it.
5172         (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
5174 2014-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5176         * ido.el (ido-file-internal): Remove unused var `d'.
5177         Use \` for to match BoS.  Fit within 80n columns.
5179 2014-02-17  Daniel Colascione  <dancol@dancol.org>
5181         * net/dbus.el (dbus-call-method): Work around bug#16775 by having
5182         dbus-call-method check for completion using a busy-wait loop with
5183         gradual backoff.
5185 2014-02-16  Michael Albinus  <michael.albinus@gmx.de>
5187         Sync with Tramp 2.2.9.
5189         * net/trampver.el: Update release number.
5191 2014-02-16  Dmitry Gutov  <dgutov@yandex.ru>
5193         * ido.el (ido-file-internal): Don't add the name of an existing
5194         directory twice.  (Bug#16747)
5196 2014-02-16  Glenn Morris  <rgm@gnu.org>
5198         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
5199         Do not use ediff-defvar-local on pre-defined variables.  (Bug#16744)
5201 2014-02-15  Michael R. Mauger  <michael@mauger.com>
5203         * progmodes/sql.el: Version 3.4
5204         (sql-oracle-options): New default value ("-L").
5205         (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
5206         (sql-placeholders-filter): Correct placeholder pattern.
5207         (sql-read-table-name): Bug fix.  Detect absence of SQLi process.
5208         (sql-login-delay): New variable.
5209         (sql-product-interactive): Use it.
5211 2014-02-15  Juanma Barranquero  <lekktu@gmail.com>
5213         * frameset.el (frameset--jump-to-register): Check that buffer is live
5214         (bug#16749).
5216 2014-02-15  Glenn Morris  <rgm@gnu.org>
5218         * info.el (info-initialize): Revert 2014-01-10 change.
5220 2014-02-14  Glenn Morris  <rgm@gnu.org>
5222         * replace.el (map-query-replace-regexp)
5223         (read-regexp-defaults-function, read-regexp): Doc fixes.
5225         * dired.el (dired-read-regexp):
5226         * faces.el (list-faces-display):
5227         * misearch.el (multi-isearch-read-matching-buffers)
5228         (multi-isearch-read-matching-files):
5229         * play/cookie1.el (cookie-apropos):
5230         * progmodes/grep.el (grep-read-regexp): Doc fixes.
5232         * textmodes/remember.el (remember): Use frameset-to-register
5233         rather than frame-configuration-to-register.
5235 2014-02-14  Jay Belanger  <jay.p.belanger@gmail.com>
5237         * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
5238         incorrect keybinding.
5240 2014-02-13  Daniel Colascione  <dancol@dancol.org>
5242         * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
5243         when adding overlays so that line numbers from compiler match line
5244         numbers we use.
5246 2014-02-13  Glenn Morris  <rgm@gnu.org>
5248         * mail/rmail.el (rmail-probe): Be less strict.  (Bug#16743)
5250         * jit-lock.el (jit-lock-mode): Doc fix.
5252 2014-02-13  Juanma Barranquero  <lekktu@gmail.com>
5254         * apropos.el (apropos-read-pattern): When the user passes an empty
5255         string, give a more helpful error message than "Wrong type
5256         argument: stringp, nil".
5258 2014-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5260         * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
5262 2014-02-13  Glenn Morris  <rgm@gnu.org>
5264         * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
5266 2014-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5268         * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
5269         shift-select commands.
5271 2014-02-12  Dmitry Gutov  <dgutov@yandex.ru>
5273         * progmodes/js.el (js-indent-line): Don't widen.
5274         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
5276 2014-02-12  Glenn Morris  <rgm@gnu.org>
5278         * icomplete.el (icomplete): Add info-link to defgroup.
5279         (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
5280         (icomplete-minibuffer-map, icomplete-mode)
5281         (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
5283         * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
5284         (package-menu-filter): Rename from package-menu-filter-interactive.
5285         Doc fix.
5287 2014-02-11  Juanma Barranquero  <lekktu@gmail.com>
5289         * frameset.el (frameset--jump-to-register): Select the required
5290         window and buffer before restoring position (bug#16696).
5292 2014-02-11  Lars Ingebrigtsen  <larsi@gnus.org>
5294         * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
5296 2014-02-10  Glenn Morris  <rgm@gnu.org>
5298         * jit-lock.el (jit-lock-force-redisplay): Doc fix.  (Bug#14394)
5300 2014-02-10  Eli Zaretskii  <eliz@gnu.org>
5302         * w32-common-fns.el (x-get-selection): Doc fix.
5303         * select.el (x-get-selection): Doc fix.  (Bug#15109)
5305         * face-remap.el (face-remap-add-relative)
5306         (face-remap-remove-relative, face-remap-reset-base)
5307         (face-remap-set-base): Call force-mode-line-update to redisplay
5308         the current buffer due to potential change in faces.  (Bug#16709)
5310 2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
5312         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
5313         script more robustly.
5315 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
5317         * dired.el (dired-get-marked-files): Doc fix (bug#11534).
5319         * simple.el (choose-completion): Doc fix (bug#14160).
5321         * subr.el (event-start): Say what a nil EVENT value means.
5323         * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
5324         (bug#14197).
5326         * progmodes/grep.el (find-program): Doc fix (bug#14289).
5328         * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
5330         * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
5332         * files.el (confirm-kill-emacs): Allow specifying an arbitrary
5333         predicate function (bug#15455).
5335 2014-02-10  Dmitry Gutov  <dgutov@yandex.ru>
5337         * ielm.el (inferior-emacs-lisp-mode): Instead of
5338         `comment-use-global-state', set `comment-use-syntax'.
5340 2014-02-10  Glenn Morris  <rgm@gnu.org>
5342         * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
5344 2014-02-09  Alan Mackenzie  <acm@muc.de>
5346         Fix c-invalidate-state-cache on narrowed buffers.
5347         * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
5348         Widen when setting and clearing the CPP delimiter properties.
5350 2014-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
5352         * help.el (describe-bindings): Doc fix (bug#9888).
5354         * files.el (save-buffer): Use ARG as the parameter name for
5355         consistency (bug#10346).
5356         (save-buffer): Clarify the 0 argument (bug#10346).
5358         * cus-edit.el (customize-apropos): Fix error string.
5359         (custom-buffer-create): Doc fix (bug#11122).
5360         (custom-sort-items): Doc fix (bug#11121).
5362         * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
5364         * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
5365         (icomplete-simple-completing-p): Mention the previous variable.
5367         * font-lock.el (font-lock-value-in-major-mode): Clarify the
5368         meaning of the parameter (bug#12282).
5370         * files.el (find-file-noselect): Clarify prompt when changing
5371         readedness (bug#13261).
5372         (locate-file): Suffixes aren't returned, so don't say that they
5373         are (bug#12674).
5374         (backup-inhibited): Doc clarification (bug#12525).
5376         * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
5377         before we actually start to delete things (bug#16331).
5379         * subr.el (event-start): Doc fix (bug#14228).
5380         (event-end): Ditto.
5382 2014-02-09  Glenn Morris  <rgm@gnu.org>
5384         * emacs-lisp/warnings.el (lwarn):
5385         Empower help-enable-auto-load.  (Bug#15940)
5387 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
5389         * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
5390         (Bug#16690)
5392 2014-02-08  Michael Albinus  <michael.albinus@gmx.de>
5394         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5395         Insert output at end of buffer.  (Bug#16120)
5397 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
5399         * simple.el (choose-completion-string-functions): Document new
5400         calling convention (bug#14153).
5401         (execute-extended-command): Clarify doc string (bug#13373).
5403         * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
5405         * find-dired.el (find-name-dired): Doc fix (bug#14290).
5406         (find-grep-dired): Doc fix (bug#14288).
5408 2014-02-08  Juri Linkov  <juri@jurta.org>
5410         * isearch.el (isearch-quote-char): Check character validity
5411         like in `quoted-insert' (bug#16677).
5413 2014-02-08  Lars Ingebrigtsen  <larsi@gnus.org>
5415         * files.el (find-file-visit-truename): Doc clarification (bug#14697).
5417         * isearch.el (isearch-hide-immediately): Doc clarification
5418         (bug#14723).
5420         * simple.el (line-move): Document utility function used many
5421         places in the Emacs sources (bug#14843).
5423         * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
5424         (dired-prev-marked-file): Doc fix (bug#14855).
5425         (dired-up-directory): Doc fix (bug#14848).
5427         * minibuffer.el (read-file-name): Doc clarification (bug#15096).
5429         * files.el (file-relative-name): Doc fix (bug#15159).
5431         * fringe.el (fringe-styles): Doc fix (bug#15239).
5433         * isearch.el (isearch-filter-predicate): Documentation typo fix
5434         (bug#15474).
5436         * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
5438         * isearch.el (isearch-cmds): Doc clarification (bug#15547).
5440         * replace.el (replace-match-maybe-edit): Doc clarification
5441         (bug#15632).
5443         * subr.el (add-to-list): Refill the paragraphs (bug#15791).
5445         * macros.el (insert-kbd-macro): Doc fix (bug#16025).
5447 2014-02-08  Glenn Morris  <rgm@gnu.org>
5449         * help-fns.el (describe-variable):
5450         Check {file,dir}-local-variables-alist, and buffer-file-name,
5451         in the correct buffer.
5453 2014-02-08  Ingo Lohmar  <i.lohmar@gmail.com>
5455         * help-fns.el (describe-variable): Fix the case where
5456         a value is directory-local with no dir-locals file.  (Bug#16635)
5458 2014-02-08  Glenn Morris  <rgm@gnu.org>
5460         * abbrev.el (edit-abbrevs-mode):
5461         Derive from fundamental-mode.  (Bug#16682)
5463 2014-02-07  Juanma Barranquero  <lekktu@gmail.com>
5465         * simple.el (quoted-insert): Check character validity (bug#16677).
5467 2014-02-07  Juri Linkov  <juri@jurta.org>
5469         * desktop.el (desktop-read): Claim the lock when the owner is not
5470         the current process.  (Bug#16157)
5472 2014-02-07  Juri Linkov  <juri@jurta.org>
5474         * desktop.el (desktop-buffers-not-to-save): Change default from nil
5475         to "\\` ".  (Bug#16651)
5477 2014-02-07  Juri Linkov  <juri@jurta.org>
5479         * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
5480         when enabling, and `desktop-auto-save-cancel-timer' when disabling.
5481         (desktop-auto-save-cancel-timer): New function with some code from
5482         `desktop-auto-save-set-timer'.
5483         (after-init-hook): Don't call `desktop-auto-save-set-timer'.
5484         Instead of setting `desktop-save-mode' to nil, call
5485         `desktop-save-mode' with arg 0.  (Bug#16630)
5487 2014-02-07  Glenn Morris  <rgm@gnu.org>
5489         * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
5490         (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
5491         (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
5493         * obsolete/iswitchb.el: Move to obsolete/.
5494         * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
5495         since obsolete/ is not scanned for autoloads.
5496         * emacs-lisp/authors.el (authors-valid-file-names):
5497         Add iswitchb.el.
5499         * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
5500         Disable now non-functional find-file-hook.
5502 2014-02-06  Michael Albinus  <michael.albinus@gmx.de>
5504         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
5505         instead of ";" in order to avoid additional prompts.  Let heredoc
5506         scripts read from tty.  (Bug#16582)
5507         (tramp-send-command): No special handling of heredocs, it isn't
5508         necessary anymore.
5510 2014-02-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5512         * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
5513         with a space (bug#16664).  Limit the symbols considered to the ones
5514         that are bound or fbound (bug#16646).
5516 2014-02-06  Glenn Morris  <rgm@gnu.org>
5518         * epa.el (epa-mail-aliases): Doc fix.
5520 2014-02-06  Dmitry Gutov  <dgutov@yandex.ru>
5522         * emacs-lisp/lisp.el (lisp-completion-at-point):
5523         Use `completion-table-merge' instead of `completion-table-in-turn'
5524         (bug#16604).
5526         * minibuffer.el (completion-table-merge): New function.
5528 2014-02-05  Michael Albinus  <michael.albinus@gmx.de>
5530         * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
5531         (tramp-sh-handle-set-file-acl)
5532         (tramp-sh-handle-start-file-process)
5533         (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
5534         (tramp-find-executable, tramp-send-command): Use it.
5536 2014-02-05  Glenn Morris  <rgm@gnu.org>
5538         * epa.el (epa-mail-aliases): Fix custom type.  Doc tweak.
5540 2014-02-04  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5542         * progmodes/python.el (python-shell-send-string)
5543         (python-shell-send-string-no-output): Fix docstring (Bug#16547).
5545 2014-02-04  Anders Lindgren  <andlind@gmail.com>
5547         * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
5548         the names (bug#16620).
5550 2014-02-03  Martin Rudalics  <rudalics@gmx.at>
5552         * faces.el (window-divider): New default value.  Rewrite doc-string.
5553         (window-divider-first-pixel, window-divider-last-pixel): New faces.
5555 2014-02-03  Dmitry Gutov  <dgutov@yandex.ru>
5557         * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
5558         `protected' and `public' can also be called without arguments.
5560 2014-02-03  Glenn Morris  <rgm@gnu.org>
5562         * register.el (window-configuration-to-register)
5563         (frame-configuration-to-register): Unadvertise unused argument.
5564         * frameset.el (frameset-to-register): Remove unused argument.
5566         * frameset.el (frameset-to-register):
5567         * kmacro.el (kmacro-to-register):
5568         * register.el (increment-register):
5569         * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
5570         (calc-append-to-register, calc-prepend-to-register):
5571         * play/gametree.el (gametree-layout-to-register)
5572         (gametree-apply-register-layout):
5573         * textmodes/picture.el (picture-clear-rectangle-to-register)
5574         (picture-yank-rectangle-from-register):
5575         * vc/emerge.el (emerge-combine-versions-register):
5576         Use register-read-with-preview to read registers.
5578 2014-02-03  João Távora  <joaotavora@gmail.com>
5580         * elec-pair.el (electric-pair-backward-delete-char): Don't error
5581         when at beginning of (possibly narrowed) buffer.
5583 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5585         * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
5586         Also try to display local help from just before point.
5588 2014-02-02  Alan Mackenzie  <acm@muc.de>
5590         c-parse-state.  Don't "append-lower-brace-pair" in certain
5591         circumstances.  Also fix an obscure bug where "\\s!" shouldn't be
5592         recognised as a comment.
5594         * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
5595         as well as normal comment starter.
5596         (c-parse-state-get-strategy): Extra return possibility
5597         'back-and-forward.
5598         (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
5599         return value list to indicate replacement of a brace-pair cons
5600         with its car.
5601         (c-parse-state-1): With 'back-and-forward, only call
5602         c-append-lower-brace-pair-to state-cache when cons-separated.
5604 2014-02-02  Jan Djärv  <jan.h.d@swipnet.se>
5606         * term/ns-win.el (ns-suspend-error): New function.
5607         (ns-initialize-window-system): Add ns-suspend-error to
5608         suspend-hook (Bug#16612).
5610 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5612         * progmodes/cc-defs.el (c-find-assignment-for-mode):
5613         Make loading cc-mode silent.
5615 2014-02-02  Daniel Colascione  <dancol@dancol.org>
5617         * comint.el (comint-prompt-read-only): Change doc to suggest
5618         remap keybinding.
5620 2014-02-02  Glenn Morris  <rgm@gnu.org>
5622         * register.el (register-read-with-preview, point-to-register)
5623         (window-configuration-to-register, frame-configuration-to-register)
5624         (jump-to-register, number-to-register, view-register, insert-register)
5625         (copy-to-register, append-to-register, prepend-to-register)
5626         (copy-rectangle-to-register): Doc fixes.
5628 2014-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5630         * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
5631         * emacs-lisp/find-func.el (find-function-C-source): Idem.
5632         * emacs-lisp/nadvice.el (advice--cd*r): New function.
5633         * help-fns.el (describe-function-1): Use it.
5635 2014-02-02  Glenn Morris  <rgm@gnu.org>
5637         * register.el (register-preview-default): New function,
5638         split from register-preview.
5639         (register-preview-function): Rename from register-preview-functions,
5640         make it not a hook.
5641         (register-preview): Use register-preview-function.
5642         (register-read-with-preview): Error on non-character event.  (Bug#16595)
5644 2014-02-01  Dmitry Gutov  <dgutov@yandex.ru>
5646         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
5647         `:' before binary operators (bug#16609).  Don't check for `:'
5648         before `[' and `(', or their syntax status.  A percent literal
5649         can't end with either.
5650         (ruby-font-lock-keywords): For built-ins that require arguments,
5651         check that they're followed by something that looks like argument
5652         (bug#16610).
5654 2014-02-01  Lars Ingebrigtsen  <larsi@gnus.org>
5656         * subr.el (butlast): Document what an omitted N means (bug#13437).
5657         (nbutlast): Ditto.
5659 2014-01-31  Lars Ingebrigtsen  <larsi@gnus.org>
5661         * net/shr.el (shr-generic): Make into a defsubst to make the stack
5662         depth shallower (bug#16587).
5663         (shr-tag-svg): Respect `shr-inhibit-images'.
5664         (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
5666 2014-01-31  Dmitry Gutov  <dgutov@yandex.ru>
5668         * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
5669         (ruby-smie-grammar): Make "." right-associative.  Make its priority
5670         lower than the ternary and all binary operators.
5671         (ruby-smie-rules): Indent "(" relative to the first non-"."
5672         parent, or the first "." parent at indentation.
5673         Use `ruby-align-chained-calls' for indentation of "." tokens.
5674         (Bug#16593)
5676 2014-01-31  Juri Linkov  <juri@jurta.org>
5678         * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
5679         from `make-hash-table'.
5681         * textmodes/ispell.el (ispell-init-process): Change message format
5682         to be consistent with other messages.
5684 2014-01-31  Glenn Morris  <rgm@gnu.org>
5686         * delsel.el (delete-selection-mode): Doc fix.
5688         * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
5689         (trace-function-background): Doc fixes.
5691         * ido.el (ido-use-virtual-buffers): Doc fix.
5692         Reset :version, since the default value has not changed.
5694         * register.el (register-preview-delay, register-read-with-preview):
5695         Doc fixes.
5697         * mail/reporter.el (reporter-dump-variable): In case of void-variable,
5698         do not mess with mail-buffer position (fixes 2009-11-03 change).
5699         * progmodes/cc-mode.el (c-submit-bug-report):
5700         Check auto-fill-mode is bound.  (Bug#16592)
5702 2014-01-31  Darren Hoo  <darren.hoo@gmail.com>
5704         * startup.el (fancy-splash-image-file): New function,
5705         split from fancy-splash-head.
5706         (fancy-splash-head, use-fancy-splash-screens-p): Use it,
5707         so that we are both using the same image.  (Bug#16574)
5709 2014-01-30  Glenn Morris  <rgm@gnu.org>
5711         * simple.el (eval-expression): Doc fix.
5713         * hexl.el (hexl-mode-hook):
5714         * ielm.el (ielm-mode-hook):
5715         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
5716         (lisp-interaction-mode-hook):
5717         * progmodes/cfengine.el (cfengine3-documentation-function):
5718         Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
5720 2014-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5722         * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
5723         is a symbol (bug#16584).
5725 2014-01-30  Glenn Morris  <rgm@gnu.org>
5727         * help.el (help-for-help-internal): Add "P" to text.
5729 2014-01-29  Glenn Morris  <rgm@gnu.org>
5731         * simple.el (just-one-space, cycle-spacing): Doc fixes.
5733 2014-01-28  Martin Rudalics  <rudalics@gmx.at>
5735         * window.el (fit-frame-to-buffer): Fix calculations for margins and
5736         height constraints.
5738 2014-01-28  Luke Lee  <luke.yx.lee@gmail.com>
5740         * progmodes/hideif.el: Extend to full CPP expression syntax.
5741         (hif-token-alist): Add missing tokens.
5742         (hif-token-regexp): Add support for float/octal/hex immediates.
5743         (hif-string-literal-regexp): New const.
5744         (hif-tokenize): Recognize strings and float/octal/hex immediates.
5745         (hif-exprlist): New function.
5746         (hif-parse-if-exp): Use it.
5747         (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
5748         (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
5749         (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
5750         (hif-logxor, hif-comma): New functions.
5752 2014-01-28  Glenn Morris  <rgm@gnu.org>
5754         * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
5756         * indent.el (tab-stop-list): Doc fix.  Add :version.
5758         * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
5759         (cvs-append-to-ignore): Add compatibility alias.
5761 2014-01-27  Glenn Morris  <rgm@gnu.org>
5763         * dired.el (dired-hide-details-mode): Don't autoload it,
5764         since it cannot be used outside Dired buffers anyway.
5766         * emulation/cua-base.el (cua-mode): Doc fix.
5768         * dired.el (dired-hide-details-hide-symlink-targets)
5769         (dired-hide-details-hide-information-lines)
5770         (dired-hide-details-mode): Doc fixes.
5772         * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
5773         * strokes.el (strokes-file): Doc fix.  Bump :version.
5774         (strokes-help): Doc fix.
5775         * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
5776         * emulation/viper.el (viper): Doc fix for custom group.
5777         (top-level): Remove oh-so-no-longer-relevant text about vip.
5778         * obsolete/otodo-mode.el (todo-prefix): Doc fix.
5780         * ido.el (ido-save-directory-list-file):
5781         * saveplace.el (save-place-file):
5782         * calendar/timeclock.el (timeclock-file):
5783         * net/quickurl.el (quickurl-url-file):
5784         * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5785         * progmodes/idlwave.el (idlwave-config-directory):
5786         * textmodes/remember.el (remember-data-file):
5787         Bump :version.
5789 2014-01-26  Glenn Morris  <rgm@gnu.org>
5791         * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
5792         Doc fix.  Make obsolete.
5793         (opascal-mode): No longer mention opascal-tab-always-indents in doc.
5795         * sort.el (delete-duplicate-lines): Doc fix.
5797 2014-01-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5799         * progmodes/ada-mode.el (ada):
5800         * woman.el (woman): Link to info manual and Commentary section.
5802         * progmodes/flymake.el (flymake):
5803         * nxml/nxml-mode.el (nxml):
5804         * net/eww.el (eww):
5805         * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
5806         * htmlfontify.el (htmlfontify):
5807         * ses.el (ses):
5808         * epa.el (epa):
5809         * ido.el (ido): Link to info manual.
5811 2014-01-25  Leo Liu  <sdl.web@gmail.com>
5813         * progmodes/flymake.el (flymake-make-overlay): No rear advance.
5815 2014-01-25  Adam Sjøgren  <asjo@koldfront.dk>
5817         * net/shr.el (shr-tag-img): Prefer the title over the alt text
5818         (bug#16537).
5820 2014-01-24  Juanma Barranquero  <lekktu@gmail.com>
5822         * net/eww.el (eww-download-callback):
5823         Fix reference to eww-download-directory.
5825         * emacs-lisp/bytecomp.el (byte-compile-file):
5826         Remove unused local variable `file-name'.
5828 2014-01-24  Glenn Morris  <rgm@gnu.org>
5830         * woman.el (woman-default-faces, woman-monochrome-faces):
5831         Fix obsolescence specification.
5833         * subr.el (with-demoted-errors): Doc fix.
5835 2014-01-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5837         * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
5838         (cl--macroexp-fboundp): New function.
5839         (cl--make-type-test): Use it.
5841 2014-01-23  Glenn Morris  <rgm@gnu.org>
5843         * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
5844         * simple.el (eval-expression): Doc fixes.
5846 2014-01-22  Glenn Morris  <rgm@gnu.org>
5848         * emacs-lisp/authors.el (authors-fixed-entries): Addition.
5850 2014-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5852         * emacs-lisp/package.el: Write files silently.
5853         (package-autoload-ensure-default-file, package--write-file-no-coding)
5854         (package-generate-description-file, package--download-one-archive)
5855         (package-install-from-archive): Tell `write-region' to stay quiet.
5856         (package-menu-mode, package-menu--print-info): Omit the Archive column
5857         if there's only one archive.
5858         (package-all-keywords, package--has-keyword-p): Remove dead code.
5860 2014-01-22  Glenn Morris  <rgm@gnu.org>
5862         * version.el (emacs-bzr-version-bzr): Fix typo.
5864         * version.el (emacs-repository-get-version):
5865         Check either .bzr or .git, but not both.
5866         Make the git case actually use the DIR argument, and return nil
5867         rather than the empty string.
5868         Avoid error if .git exists but the git executable is not found.
5870 2014-01-22  Martin Rudalics  <rudalics@gmx.at>
5872         Fixes in window size functions around Bug#16430 and Bug#16470.
5873         * window.el (window-total-size, window-size): New argument ROUND.
5874         (window--min-delta-1, window-min-delta, window--max-delta-1):
5875         Be more conservative when calculating the numbers of lines or
5876         columns a window can shrink (Bug#16430).
5877         (fit-window-to-buffer): Simplify code.
5878         * term.el (term-window-width): Call window-body-width again.
5880 2014-01-22  Glenn Morris  <rgm@gnu.org>
5882         * image.el (image-format-suffixes): Doc fix.
5884         * international/quail.el (quail-define-package): Doc fix.
5886         * emacs-lisp/authors.el (authors-valid-file-names)
5887         (authors-renamed-files-alist): Additions.
5889         * vc/vc-git.el (vc-git-print-log): Remove --follow;
5890         reverts 2014-01-09 change.  (Bug#16422)
5892         * calc/calc-embed.el (thing-at-point-looking-at):
5893         * emacs-lisp/map-ynp.el (x-popup-dialog):
5894         * obsolete/lmenu.el (x-popup-dialog):
5895         * emacs-lisp/package.el (url-recreate-url):
5896         * mail/mailclient.el (clipboard-kill-ring-save):
5897         * subr.el (x-popup-dialog): Update declaration.
5898         * mail/rmail.el (rmail-mime-message-p):
5899         * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
5901 2014-01-21  Daniel Colascione  <dancol@dancol.org>
5903         * progmodes/sh-script.el (sh--inside-noncommand-expression):
5904         Correctly detect when we're inside an arithmetic expansion form
5905         containing nested parenthesis.
5906         (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
5907         to detect cases where we shouldn't expand "<<" to a heredoc
5908         skeleton.
5910 2014-01-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5912         * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
5913         (eldoc--message-command-p): New function.
5914         (eldoc-display-message-p): Use it.
5915         (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
5916         message is not automatically erased for us.
5917         (eldoc-print-current-symbol-info): Erase previous message, if any.
5919 2014-01-21  Tassilo Horn  <tsdh@gnu.org>
5921         * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
5922         specify it's an interactive function.
5924         * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
5925         Fix regex used for scanning for citation keys which failed for
5926         citations with optional arguments.
5928 2014-01-21  Leo Liu  <sdl.web@gmail.com>
5930         * simple.el (read--expression): Don't enable eldoc-mode.
5932 2014-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5934         * simple.el (move-beginning-of-line): Make sure we don't move forward
5935         (bug#16497).
5937 2014-01-20  Juri Linkov  <juri@jurta.org>
5939         * saveplace.el (toggle-save-place, save-place-to-alist)
5940         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
5941         'dired-mode) before checking for dired-directory.  (Bug#16477)
5943 2014-01-20  Juri Linkov  <juri@jurta.org>
5945         * indent.el (indent-line-to): Use backward-to-indentation
5946         instead of back-to-indentation.  (Bug#16461)
5948 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
5950         Revert some of the CANNOT_DUMP fix (Bug#16494).
5951         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
5952         but fixing this can wait until after the next release.
5953         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
5955 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
5957         * eshell/esh-mode.el (eshell-password-prompt-regexp):
5958         Use `password-word-equivalents'.
5959         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
5960         to t.  (Bug#5664, Bug#13124)
5962 2014-01-19  Alan Mackenzie  <acm@muc.de>
5964         Bind open-paren-in-column-0-is-defun-start to nil at some entry
5965         points.
5966         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
5967         (c-parse-state-1, c-guess-basic-syntax): Bind it here.
5968         * progmodes/cc-mode.el (c-before-change, c-after-change)
5969         (c-font-lock-fontify-region): Bind it here.
5971 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
5973         * term.el (term-window-width): Call window-text-width instead of
5974         window-width (Bug#16470).
5976 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
5978         * simple.el (password-word-equivalents): Remove duplicates.
5979         Sort, to make this easier next time.
5980         Downcase.  Omit ": " after "jelszó".
5982 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
5984         * term/common-win.el (saved-region-selection): Defvar it.
5985         (x-select-text): Set saved-region-selection (Bug#16382).
5987 2014-01-18  Glenn Morris  <rgm@gnu.org>
5989         * emacs-lisp/authors.el (authors-aliases)
5990         (authors-renamed-files-alist): Add some entries.
5992 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
5994         * net/tramp.el (tramp-password-prompt-regexp):
5995         Use `password-word-equivalents' if available.
5996         (tramp-action-password, tramp-process-one-action)
5997         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
5999 2014-01-17  Chong Yidong  <cyd@gnu.org>
6001         * simple.el (password-word-equivalents): New defcustom.
6002         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
6003         to 24.4.
6004         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
6005         to t.  (Bug#13124)
6007 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
6009         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
6010         (ruby-align-to-stmt-keywords): Change the default value.
6011         Use `ruby-alignable-keywords' to generate the possible customization
6012         choices.
6013         (ruby-smie-rules): Instead of using a hardcoded list of alignable
6014         keywords, check against the value of `ruby-alignable-keywords'
6015         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
6017 2014-01-17  Glenn Morris  <rgm@gnu.org>
6019         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
6021         Make M-x authors return zero *Authors Errors* from current logs.
6022         * emacs-lisp/authors.el (authors-obsolete-files-regexps)
6023         (authors-ignored-files): Add some entries, remove others.
6024         (authors-ambiguous-files, authors-valid-file-names):
6025         Add some entries.
6026         (authors-renamed-files-alist): Add, remove, and adjust entries.
6027         (authors-renamed-files-regexps): Add some entries.
6028         Remove some very broad ones.  Make some entries `lax'.
6029         (authors-lax-changelogs): New constant.
6030         (authors-disambiguate-file-name): Treat top-level specially.
6031         (authors-lax-changelog-p): New function.
6032         (authors-canonical-file-name): Check file as written against
6033         authors-valid-file-names.  Do not special-case etc/.
6034         Handle `lax' logs and authors-renamed-files-regexps elements.
6036 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
6038         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
6039         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
6040         callers.
6042 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6044         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
6045         Assume we're already in the proper buffer.
6046         Inspired by Anders Lindgren <andlind@gmail.com>.
6047         (follow-post-command-hook): Call it from the right buffer.
6048         (follow-comint-scroll-to-bottom): Adjust call.
6049         (follow-all-followers): Use get-buffer-window-list.
6051 2014-01-15  Daniel Colascione  <dancol@dancol.org>
6053         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
6054         `buffer-file-name' in interactive-form so that we don't leave
6055         pathless file names in `file-name-history'.
6057 2014-01-15  Juri Linkov  <juri@jurta.org>
6059         * indent.el (indent-rigidly): Set deactivate-mark to nil
6060         in transient indentation mode.  (Bug#16438)
6062 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
6064         * emacs-lisp/package.el (package-desc-keywords): New function
6065         (Bug#16222).
6066         (describe-package-1, package-all-keywords)
6067         (package--has-keyword-p): Use it.
6069 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6071         * simple.el (define-alternatives): When creating the
6072         COMMAND-alternatives variable, assign COMMAND as its definition
6073         name so that `describe-variable' can relocate it.
6075 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
6077         * font-lock.el (font-lock-keywords): Fix typo in docstring
6078         (bug#16307).
6080 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6082         * ispell.el (ispell-region): Reset `in-comment' for new line
6083         instead of wrongly reset `add-coment' (bug#13577).
6085 2014-01-14  Daiki Ueno  <ueno@gnu.org>
6087         * epa-file.el (epa-file-write-region): Encode the region according
6088         to `buffer-file-format'.  Problem reported at:
6089         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
6091 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6093         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
6094         so it applies in the right buffer (bug#16410).
6096 2014-01-13  Daniel Colascione  <dancol@dancol.org>
6098         * textmodes/rst.el (rst-define-key): Provide deprecated
6099         keybindings through named functions instead of anonymous ones so
6100         that "??" doesn't appear in describe-mode output.
6102 2014-01-13  Bastien Guerry  <bzg@gnu.org>
6104         * simple.el (define-alternatives): Call the selected command
6105         interactively.  When setting `COMMAND--implementation' for the
6106         first time, tell the user how to chose another implementation.
6107         Enhance the docstring.
6109 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6111         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
6112         (log-edit--match-first-line): New function.
6113         (log-edit-font-lock-keywords): Use it.
6114         (log-edit-mode): Make jit-lock-defer-multiline work.
6116 2014-01-13  Bastien Guerry  <bzg@gnu.org>
6118         * rect.el (rectangle-mark-mode): When the region is not active,
6119         display a message saying that the mark as been set and that
6120         rectangle mode is in use.
6121         (rectangle--highlight-for-redisplay): Only put an overlay with a
6122         visible vertical bar when (display-graphic-p) is non-nil.
6123         This partially fixes Bug#16403.
6125 2014-01-13  Juri Linkov  <juri@jurta.org>
6127         * info.el (Info-find-file): Go to DIR before displaying the error
6128         about a nonexistent file if no previous Info file is visited.
6129         Use `user-error' instead of `error' for "Info file %s does not exist".
6130         (Info-find-node-2): In case of a nonexistent node in unwind forms
6131         go to the Top node if there is no previous node to revert to.
6132         (Bug#16405)
6134 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
6136         fit-frame/window-to-buffer code fixes including one for Bug#14096.
6137         * window.el (fit-frame-to-buffer): Fix doc-string.
6138         Respect window-min-height/-width.  Fit pixelwise when
6139         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
6140         when avoiding that frame goes partially off-screen.
6141         (fit-window-to-buffer): Respect window-min-height/-width
6142         (Bug#14096).
6144 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6146         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
6147         after an empty line.
6149 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6151         * net/shr.el (shr-render-region): Autoload.
6153 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
6155         * net/eww.el (eww-download-directory): Rename from
6156         `eww-download-path' (Bug#16419).
6158 2014-01-12  Leo Liu  <sdl.web@gmail.com>
6160         * dired-x.el (dired-mode-map): Fix last change.
6162         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
6164 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
6166         Spelling fixes.
6167         * emacs-lisp/generic.el (generic--normalize-comments):
6168         Rename from generic--normalise-comments.  All uses changed.
6169         * play/bubbles.el (bubbles--neighborhood-score)
6170         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
6171         (bubbles--neighborhood-available)
6172         (bubbles--update-neighborhood-score):
6173         Rename from names with 'neighbourhood'.  All uses changed.
6175 2014-01-12  Leo Liu  <sdl.web@gmail.com>
6177         Re-implement the feature of showing eldoc info after editing.
6178         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
6179         (eldoc-edit-message-commands): New function.
6180         (eldoc-print-after-edit): New variable.
6181         (eldoc-pre-command-refresh-echo-area): Emit message only by
6182         eldoc-message-commands.
6183         (eldoc-mode): Restrict eldoc-message-commands to editing commands
6184         if eldoc-print-after-edit is set.  (Bug#16346)
6185         * simple.el (read--expression): Enable eldoc-mode.
6186         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
6188 2014-01-11  Dani Moncayo  <dmoncayo@gmail.com>
6189             Eric S. Raymond  <esr@thyrsus.com>
6191         * version.el (emacs-repository-get-version): Enhance so the
6192         function works correctly in either a Bazaar or Git repo.
6194 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
6196         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
6197         Goes with removal of the joke manpages from /etc.
6199 2014-01-10  Kenichi Handa  <handa@gnu.org>
6201         * mail/rmail.el (rmail-get-coding-system):
6202         Check rmail-get-coding-function before "funcall"ing it.
6204 2014-01-10  Glenn Morris  <rgm@gnu.org>
6206         * emacs-lisp/authors.el (authors-fixed-entries):
6207         Update for files that no longer exist.
6209 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
6211         * version.el (emacs-bzr-get-version): Restore compatibilty with
6212         24.3 (Tested).
6214 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
6216         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
6217         and Podfile.
6219 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
6221         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
6223 2014-01-10  Chong Yidong  <cyd@gnu.org>
6225         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
6227 2014-01-10  Anders Lindgren  <andlind@gmail.com>
6229         * follow.el (follow-cache-command-list): Include right-char and
6230         left-char.
6232 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6234         Spelling fixes.
6235         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
6236         * woman.el (woman-mark-horizontal-position):
6237         Rename from woman-mark-horizonal-position.  Use changed.
6239 2014-01-10  Glenn Morris  <rgm@gnu.org>
6241         * info.el (info-initialize): If running uninstalled, ensure our
6242         own info files are always found first, even if INFOPATH is set.
6244         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
6246 2014-01-09  David Engster  <deng@randomsample.de>
6248         * emacs-lisp/eieio-custom.el:
6249         * emacs-lisp/eieio-opt.el: Set generated autoload file to
6250         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
6251         * emacs-lisp/eieio.el: Regenerate autoloads.
6253 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
6255         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
6256         following renames.  (Bug#8756)
6258 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6260         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
6261         (bug#16382).
6262         (activate-mark): Add `no-tmm' argument.
6263         (set-mark, push-mark-command): Use it instead of running
6264         activate-mark-hook by hand.
6266 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
6268         In preparation for the move to git, sanitize out some
6269         Bazaar-specific names.
6271         * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
6273         * version.el (emacs-bzr-version): Name changed to
6274         emacs-repository-version.  Obsolete-variable alias made.
6275         * loadup.el: Follow through on this name change.
6276         * mail/emacsbug.el (report-emacs-bug): Factor out any
6277         assumption about the version control system in use.
6279 2014-01-08  David Engster  <deng@randomsample.de>
6281         * help-fns.el (help-fns-describe-function-functions):
6282         New variable to call functions for augmenting help buffers.
6283         (describe-function-1): Remove explicit calls to
6284         `help-fns--compiler-macro', `help-fns--parent-mode' and
6285         `help-fns--obsolete'.  Put them in above new variable instead, and
6286         call them through `run-hook-with-args'.
6287         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
6288         `eieio-describe-class'.  Not meant for interactive use anymore,
6289         but to augment existing help buffers.  Remove optional second
6290         argument.  Create proper button for file location.
6291         Rewrite function to use `insert' instead of `princ' and `prin1' where
6292         possible.
6293         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
6294         (eieio-method-def, eieio-class-def): Move further up.
6295         (describe-method, describe-generic, eieio-describe-method):
6296         Remove aliases.
6297         (eieio-help-constructor, eieio-help-generic): Rename from
6298         `eieio-describe-constructor' and `eieio-describe-generic', resp.
6299         Rewrite to use `insert' in the current buffer and use proper help
6300         buttons.
6301         (eieio-help-find-method-definition)
6302         (eieio-help-find-class-definition): Also accept symbols as
6303         arguments.
6304         (eieio-help-mode-augmentation-maybee): Remove.
6305         (eieio-describe-class-sb): Use `describe-function'.
6306         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
6307         Add `eieio-help-generic' and `eieio-help-constructor'.
6309 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
6311         Spelling fixes.
6312         * language/china-util.el (hz-ascii-designation):
6313         Rename from hz-ascii-designnation.
6314         (hz-ascii-designation): Rename from hz-ascii-designnation.
6315         All uses changed.
6317 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6319         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
6320         package-alist.
6322 2014-01-08  Bastien Guerry  <bzg@gnu.org>
6324         * emacs-lisp/package.el (package-delete):
6325         Correctly delete the package from package-alist.
6327 2014-01-08  Daiki Ueno  <ueno@gnu.org>
6329         * emacs-lisp/package.el (url-recreate-url): Declare.
6330         (url-http-target-url): Declare.
6331         (package-handle-response): Include requested URL in the error message.
6332         (package--check-signature): Don't re-signal errors from
6333         package--with-work-buffer.  Suggested by Stefan Monnier.
6335 2014-01-07  Bastien Guerry  <bzg@gnu.org>
6337         * minibuffer.el (completion--try-word-completion): When both a
6338         hyphen and a space are possible candidates for the character
6339         following a word, display both candidates.  (Bug#15980)
6341 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
6343         * window.el (balance-windows-2): While rounding don't give a
6344         window more than the remainder.  Bug#16351, bug#16383.
6346 2014-01-07  Glenn Morris  <rgm@gnu.org>
6348         * menu-bar.el (menu-bar-help-extra-packages): Remove.
6349         (menu-bar-help-menu): Use view-external-packages instead.
6351 2014-01-07  Bastien Guerry  <bzg@gnu.org>
6353         * emacs-lisp/package.el (package-delete): Also delete the package
6354         name from `package-alist', not its description only.
6356 2014-01-07  Glenn Morris  <rgm@gnu.org>
6358         * help.el (view-external-packages):
6359         * menu-bar.el (menu-bar-help-extra-packages):
6360         Visit efaq.info rather than etc/MORE.STUFF.
6362 2014-01-07  Juri Linkov  <juri@jurta.org>
6364         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
6365         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
6367         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
6368         that shadows RET.  (Bug#16342)
6370 2014-01-07  Chong Yidong  <cyd@gnu.org>
6372         * isearch.el (isearch-yank-char, isearch-yank-word)
6373         (isearch-yank-line): Doc fix.
6375 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6377         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
6378         * emacs-lisp/elint.el (elint-find-builtins):
6379         * emacs-lisp/eldoc.el (eldoc-symbol-function):
6380         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
6381         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
6382         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6383         * apropos.el (apropos-safe-documentation):
6384         * subr.el (symbol-file): Remove redundant fboundp.
6385         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
6387 2014-01-06  Bastien Guerry  <bzg@gnu.org>
6389         * hl-line.el (global-hl-line-overlay): Make a local variable.
6390         (global-hl-line-overlays): New variable to store all overlays.
6391         (global-hl-line-mode): Don't delete overlays from the current
6392         buffer when `global-hl-line-sticky-flag' is non-nil.
6393         (global-hl-line-highlight): Add new overlays to
6394         `global-hl-line-overlays'.
6395         (global-hl-line-unhighlight-all): New function to delete all
6396         overlays when turning off `global-hl-line-mode'.
6397         This fixes Bug#16183.
6399 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6401         * subr.el (set-transient-map): Fix nested case and docstring.
6403 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
6405         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
6406         `Texinfo' entry.
6408 2014-01-06  Daniel Colascione  <dancol@dancol.org>
6410         Fix defun navigation in vc log view.
6412         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
6413         like `beginning-of-defun'.
6414         (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
6415         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
6416         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
6417         (log-view-extract-comment): Call `log-view-current-entry' directly
6418         instead of relying on broken `log-view-beginning-of-defun' behavior.
6420 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
6422         Spelling fixes.
6423         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
6424         * emacs-lisp/debug.el (cancel-debug-on-entry):
6425         * epg.el (epg-error-to-string):
6426         * files.el (recover-file):
6427         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
6428         * mail/emacsbug.el (report-emacs-bug-hook):
6429         * mail/sendmail.el (mail-recover):
6430         * ses.el (ses-yank-resize):
6431         * term/ns-win.el (ns-print-buffer):
6432         Spelling fixes in diagnostics, mostly for "canceled" with one L.
6433         * epg.el (epg-key-capability-alist): Rename from misspelled version.
6434         All uses changed.
6435         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
6437 2014-01-06  Leo Liu  <sdl.web@gmail.com>
6439         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
6440         to avoid shadowing global key.  (Bug#16354)
6442 2014-01-06  Daniel Colascione  <dancol@dancol.org>
6444         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
6445         rst-mode.
6447 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
6449         * window.el (balance-windows): Add mising t to fix Bug#16351.
6451 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6453         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
6454         (bug#16285).
6455         (shr-insert): If we have a word that's longer than `shr-width',
6456         break after it anyway.  Otherwise we'll do no breaking once we get
6457         such a long word.
6459 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6461         * net/eww.el (eww): Support single/double quote for search.
6462         * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
6463         (eww-history-quit): Delete and use quit-window.
6464         (eww-history-kill): Delete, because it doesn't work well and
6465         not necessary.
6466         (eww-history-mode-map): Delete some keys and add easy-menu.
6468 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
6470         Fix misspelling of 'chinese' in rx (Bug#16237).
6471         * emacs-lisp/rx.el (rx-categories): Correct spelling of
6472         chinese-two-byte.
6474         Change subword regexps back to vars (Bug#16296).
6475         * progmodes/subword.el (subword-forward-regexp)
6476         (subword-backward-regexp): Change these back to variables.
6478 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6480         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
6481         syntax-begin-function (bug#16247).
6483 2014-01-03  Chong Yidong  <cyd@gnu.org>
6485         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
6486         (advice--docstring): Delete variable.
6487         (advice--make-1): Leave the docstring empty.
6488         (advice-add): Use function-documentation for advised docstring.
6490         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
6491         Ignore function-documentation property when getting documentation.
6492         (ad-activate-advised-definition): Use function-documentation
6493         generate the docstring.
6494         (ad-make-advised-definition): Don't call
6495         ad-make-advised-definition-docstring.
6496         (ad-make-advised-definition-docstring, ad-advised-definition-p):
6497         Delete functions.
6499         * progmodes/sql.el (sql-help): Use function-documentation instead
6500         of dynamic-docstring-function property.  No need to autoload now.
6501         (sql--help-docstring): New variable.
6502         (sql--make-help-docstring): Use it.
6504 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6506         * ielm.el (ielm-tab): Retarget.
6507         (ielm-map): Use ielm-tab for tab.
6508         (ielm-complete-filename): Use comint-filename-completion.
6509         (ielm-complete-symbol): Remove.
6510         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
6511         remove ielm-tab from completion-at-point-functions (bug#16224).
6513         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
6514         Beware signals raised by predicates (bug#16201).
6516 2014-01-02  Richard Stallman  <rms@gnu.org>
6518         * dired-aux.el (dired-do-print): Handle printer-name.
6520         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
6521         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
6522         (rmail-epa-decrypt): Turn off mime processing.
6524         * mail/rmail.el (rmail-make-in-reply-to-field):
6525         Add parens in message-id.
6527         * mail/rmail.el (rmail-get-coding-function): Variable.
6528         (rmail-get-coding-system): Use it.
6530 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
6532         * international/mule-conf.el: Unify the charset indian-is13194.
6533         (indian-is13194): Specify unify-map.
6535 2013-12-31  Leo Liu  <sdl.web@gmail.com>
6537         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
6539 2013-12-30  Daniel Colascione  <dancol@dancol.org>
6541         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
6542         of printing a useless when we resume from sleep.
6544         * progmodes/sh-script.el
6545         (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
6546         in indentation code.  (Bug#16233)
6548 2013-12-28  João Távora  <joaotavora@gmail.com>
6550         * elec-pair.el (electric-pair-post-self-insert-function):
6551         Don't open extra newlines at beginning of buffer.  (Bug#16272)
6553 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
6555         * frame.el (window-system-for-display): Don't allow to create a
6556         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
6558 2013-12-28  Glenn Morris  <rgm@gnu.org>
6560         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
6561         Update callers.
6563         * apropos.el (apropos-match-face):
6564         * calculator.el (calculator-displayer):
6565         * dabbrev.el (dabbrev-search-these-buffers-only):
6566         * face-remap.el (buffer-face-mode-face):
6567         * simple.el (yank-handled-properties):
6568         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
6569         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
6570         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
6571         (hashcash-double-spend-database):
6572         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
6573         (ruby-deep-indent-paren-style):
6574         * textmodes/flyspell.el (flyspell-auto-correct-binding):
6575         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
6576         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
6577         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
6578         Specify custom types.
6580         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
6581         * bookmark.el (bookmark-bmenu-use-header-line):
6582         * doc-view.el (doc-view-scale-internally):
6583         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
6584         * register.el (register-preview-delay):
6585         * net/shr.el (shr-bullet):
6586         * progmodes/cfengine.el (cfengine-cf-promises)
6587         (cfengine-parameters-indent):
6588         * progmodes/octave.el (inferior-octave-error-regexp-alist):
6589         * textmodes/reftex-vars.el (reftex-label-regexps):
6590         * vc/log-edit.el (log-edit-setup-add-author): Add version.
6592         * net/tls.el (tls-certtool-program): Fix default value.
6594         * desktop.el (desktop-restore-in-current-display):
6595         * newcomment.el (comment-empty-lines):
6596         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
6597         (idlwave-pad-keyword):
6598         * progmodes/tcl.el (tcl-tab-always-indent):
6599         * textmodes/reftex-vars.el (reftex-index-default-tag):
6600         * elec-pair.el (electric-pair-skip-whitespace):
6601         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
6603         * emacs-lisp/authors.el (authors-ignored-files)
6604         (authors-valid-file-names, authors-renamed-files-alist): Additions.
6606 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
6608         * shell.el (shell-dynamic-complete-command): Doc fix.
6609         (shell--command-completion-data): Shell completion now matches
6610         executable filenames from the current buffer's directory, on
6611         systems in which this behavior is the default (windows-nt, ms-dos).
6613 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
6615         * net/shr.el (shr-insert): Don't infloop if the width is zero.
6617 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6619         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
6620         (bug#16251).
6622         * electric.el: Move all electric-pair-* to elec-pair.el.
6623         * elec-pair.el: New file, split from electric.el.
6625 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
6627         * net/shr.el (shr-find-fill-point): Don't try to fill if the
6628         indentation level is larger than the width, because that will
6629         infloop.
6630         (shr-insert): Fill repeatedly long texts, so that Japanese is
6631         formatted correctly (bug#16263).
6632         (shr-find-fill-point): Off by one error in comparison with the
6633         indentation.
6635 2013-12-26  João Távora  <joaotavora@gmail.com>
6637         * electric.el (electric-pair-mode): More flexible engine for skip-
6638         and inhibit predicates, new options for pairing-related functionality.
6639         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
6640         if that keeps or improves their balance in buffers.
6641         (electric-pair-delete-adjacent-pairs): Delete the pair when
6642         backspacing over adjacent matched delimiters.
6643         (electric-pair-open-extra-newline): Open extra newline when
6644         inserting newlines between adjacent matched delimiters.
6645         (electric--sort-post-self-insertion-hook):
6646         Sort post-self-insert-hook according to priority values when
6647         minor-modes are activated.
6648         * simple.el (newline-and-indent): Call newline with interactive
6649         set to t.
6650         (blink-paren-post-self-insert-function): Set priority to 100.
6651         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6652         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
6653         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
6654         electric-pair-open-newline-between-pairs to nil.
6656 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6658         * progmodes/python.el: Use lexical-binding.
6659         (python-nav-beginning-of-defun): Stop searching ASAP.
6661 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
6663         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
6664         Fix interactive spec.  Doc fix.  (Bug#15754)
6666 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
6668         * emacs-lisp/byte-run.el (eval-when-compile):
6669         * progmodes/cc-defs.el (cc-eval-when-compile):
6670         Fix edebug spec (bug#16184).
6672 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
6674         * net/shr.el (shr-visit-file): Remove debugging function.
6675         (shr-insert): Don't infloop if we can't find a good place to break
6676         the line (bug#16256).
6678 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6680         * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
6681         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
6682         python-nav-lisp-forward-sexp-safe.
6683         (python-nav--forward-sexp): New argument SAFE allows switching
6684         forward sexp movement behavior for parens.
6685         (python-nav-forward-sexp): Throw errors on unterminated parens
6686         (Bug#16191).
6687         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
6688         (python-nav-backward-sexp-safe): New functions.
6689         (python-shell-buffer-substring):
6690         Use `python-nav-forward-sexp-safe'.
6692 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
6694         * net/shr.el (shr-find-fill-point): Don't break lines before a
6695         quotation mark.
6696         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
6697         (shr-find-fill-point): Remove the special checks for the quotation
6698         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
6700 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6702         * net/eww.el (eww-form-textarea): Use a different face for
6703         textareas than text input since they have different keymaps
6704         (bug#16142).
6706 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6708         * progmodes/python.el (python-nav-beginning-of-statement):
6709         Speed up (Bug#15295).
6711 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
6713         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
6714         the window configuration.
6716 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
6718         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
6719         we run on MS-Windows or MS-DOS.
6721 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
6723         * window.el (balance-windows-area): Call window-size instead of
6724         window-height and window-width.  Bug#16241.
6726 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
6728         * net/eww.el (eww-bookmark-quit): Remove.
6729         (eww-bookmark-browse): Restore the window configuration when you
6730         choose a bookmark (bug#16144).
6732 2013-12-24  Daniel Colascione  <dancol@dancol.org>
6734         * icomplete.el: Remove redundant :group arguments to `defcustom'
6735         throughout.
6736         (icomplete-show-matches-on-no-input): New customizable variable.
6737         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
6738         we have something to show.
6739         (icomplete-exhibit): Compute completions even if we have no user input.
6741 2013-12-23  Daniel Colascione  <dancol@dancol.org>
6743         * icomplete.el: Move `provide' to end of file.
6745 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
6747         * net/gnutls.el (gnutls-verify-error): Add version tag.
6749 2013-12-23  Chong Yidong  <cyd@gnu.org>
6751         * subr.el (set-transient-map): Rename from
6752         set-temporary-overlay-map.  Doc fix.
6754         * face-remap.el (text-scale-adjust):
6755         * indent.el (indent-rigidly):
6756         * kmacro.el (kmacro-call-macro):
6757         * minibuffer.el (minibuffer-force-complete):
6758         * repeat.el (repeat):
6759         * simple.el (universal-argument--mode):
6760         * calendar/todo-mode.el (todo-insert-item--next-param):
6761         * progmodes/f90.el (f90-abbrev-start): Callers changed.
6763         * indent.el (indent-rigidly): Use substitute-command-keys.
6765 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6767         * net/eww.el (eww-tag-select): Add text-property to jump to next
6768         select field.
6769         (eww): Add non-supported ftp error.
6771 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6773         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
6774         comments.  Handle electric indent after typing `?' and `!'.
6776 2013-12-22  Chong Yidong  <cyd@gnu.org>
6778         * faces.el (face-spec-recalc): If the theme specs are not
6779         applicable to a frame, fall back on the defface spec.
6780         This prevents themes from obliterating faces on low-color terminals.
6782 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6784         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6785         after `{'.  We need it after block openers, and it doesn't seem
6786         to hurt after hash openers.
6788 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6790         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
6791         extracted from `ruby-smie-rules'.
6792         (ruby--electric-indent-chars): New variable.
6793         (ruby--electric-indent-p): New function.
6794         (ruby-mode): Use `electric-indent-functions' instead of
6795         `electric-indent-chars'.
6797 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
6799         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
6800         docstring.
6801         (ruby-smie-rules): Indent plus one level after `=>'.
6803 2013-12-21  Richard Stallman  <rms@gnu.org>
6805         * simple.el (newline): Doc fix.
6807 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
6809         * net/eww.el (eww-list-histories, eww-list-histories)
6810         (eww-history-browse, eww-history-quit, eww-history-kill)
6811         (eww-history-mode-map, eww-history-mode): New command and
6812         functions to list browser histories.
6813         (eww-form-text): Support text form with disabled
6814         and readonly attributes.
6815         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
6817 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6819         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
6820         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
6821         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
6822         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
6823         Use `user-error'.
6824         (eww-bookmark-mode-map): Add menu.
6825         (eww-render, eww-mode): Use `setq-local'.
6826         (eww-tool-bar-map): New variable.
6827         (eww-mode): Set `tool-bar-map'.
6828         (eww-view-source): Check for `html-mode' with `fboundp'.
6830 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6832         * net/shr.el (shr--extract-best-source): Don't bug out on audio
6833         elements with text inside.  Also remove debugging.
6835 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
6837         * cus-start.el (all): Add ns-use-srgb-colorspace.
6839 2013-12-21  Chong Yidong  <cyd@gnu.org>
6841         * custom.el (custom-theme-recalc-face): Do nothing if the face is
6842         undefined.  Thus, theme settings for undefined faces do not take
6843         effect until the faces are defined with defface, the same as with
6844         theme variables.
6846         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
6847         (face-spec-reset-face): Don't assign extra properties in temacs.
6848         (face-spec-recalc): Apply X resources too.
6850 2013-12-21  Chong Yidong  <cyd@gnu.org>
6852         * faces.el (face-spec-set):
6853         * cus-face.el (custom-theme-set-faces, custom-set-faces):
6854         * custom.el (defface): Doc fixes (Bug#16203).
6856         * indent.el (indent-rigidly-map): Add docstring, and move commands
6857         into named functions.
6858         (indent-rigidly-left, indent-rigidly-right)
6859         (indent-rigidly-left-to-tab-stop)
6860         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
6861         indentation direction based on bidi direction, and accumulate
6862         sequential commands in a single undo boundary.
6863         (indent-rigidly--pop-undo): New utility function.
6865 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
6867         * faces.el (read-face-name): Require crm.el when using crm-separator.
6869 2013-12-20  Daniel Colascione  <dancol@dancol.org>
6871         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
6872         so that we don't reflow comments into the shebang line.
6874 2013-12-20  Juri Linkov  <juri@jurta.org>
6876         * saveplace.el (save-place-to-alist): Add `dired-filename' as
6877         a position when `dired-directory' is non-nil.  Check integer
6878         positions with `integerp'.
6879         (toggle-save-place, save-places-to-alist): Add check for
6880         `dired-directory'.
6881         (save-place-find-file-hook): Check integer positions with
6882         `integerp'.
6883         (save-place-dired-hook): Use `dired-goto-file' when
6884         `dired-filename' is found in the assoc list.  Check integer
6885         positions with `integerp'.
6886         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
6888         * dired.el (dired-initial-position-hook): Rename back from
6889         `dired-initial-point-hook'.
6890         (dired-initial-position): Rename `dired-initial-point-hook' to
6891         `dired-initial-position-hook'.
6892         (dired-file-name-at-point): Doc fix.  (Bug#15329)
6894 2013-12-20  Juri Linkov  <juri@jurta.org>
6896         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
6897         (read-regexp-suggestions): New function.
6898         (read-regexp): Use `read-regexp-defaults-function' to get default values.
6899         Use `read-regexp-suggestions'.  Add non-empty default to history
6900         for empty input.
6901         (occur-read-regexp-defaults-function): Remove function.
6902         (occur-read-primary-args): Use `regexp-history-last' instead of
6903         `occur-read-regexp-defaults-function'.
6905         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
6906         (hi-lock-line-face-buffer, hi-lock-face-buffer)
6907         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
6908         `hi-lock-read-regexp-defaults-function'.  Doc fix.
6909         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
6910         with `find-tag-default-as-symbol-regexp'.  Doc fix.
6911         (hi-lock-read-regexp-defaults): Remove function.
6912         (hi-lock-regexp-okay): Add check for null.
6914         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
6915         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
6917         * subr.el (find-tag-default-as-symbol-regexp): New function.
6918         (find-tag-default-as-regexp): Move symbol regexp formatting to
6919         `find-tag-default-as-symbol-regexp'.
6921 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
6923         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
6924         (Bug#14179)
6926 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
6928         * calendar/todo-mode.el: New implementation of item insertion
6929         commands and key bindings.
6930         (todo-key-prompt): New face.
6931         (todo-insert-item): New command.
6932         (todo-insert-item--parameters): New defconst, replacing defvar
6933         todo-insertion-commands-args-genlist.
6934         (todo-insert-item--param-key-alist): New defconst, replacing
6935         defvar todo-insertion-commands-arg-key-list.
6936         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
6937         (todo-insert-item--argsleft, todo-insert-item--apply-args)
6938         (todo-insert-item--next-param): New functions.
6939         (todo-insert-item--args, todo-insert-item--argleft)
6940         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
6941         New variables.
6942         (todo-key-bindings-t): Change binding of "i" from
6943         todo-insertion-map to todo-insert-item.
6944         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
6945         (todo-insertion-command-name, todo-insertion-commands-names)
6946         (todo-define-insertion-command, todo-insertion-commands)
6947         (todo-insertion-key-bindings, todo-insertion-map): Remove.
6949 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
6951         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
6952         (todo-toggle-item-highlighting): Use eval-and-compile instead of
6953         eval-when-compile.
6954         (todo-move-category): Allow choosing a non-existing todo file to
6955         move the category to, and create that file.
6956         (todo-default-priority): New user option.
6957         (todo-set-item-priority): Use it.
6958         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
6959         (desktop-restore-file-buffer): Declare.
6960         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
6961         (todo-modes-set-2): Locally set desktop-save-buffer to
6962         todo-desktop-save-buffer.
6963         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
6964         (auto-mode-alist): Add autoload cookie.
6966 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
6968         * emacs-lisp/subr-x.el: Renamed from helpers.el.
6969         helpers.el was a poor choice of name.
6970         (string-remove-prefix): New function.
6971         (string-remove-suffix): New function.
6973 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
6975         Fix assignment for new window total sizes.
6976         * window.el (window--pixel-to-size): Remove function.
6977         (window--pixel-to-total-1, window--pixel-to-total):
6978         Fix calculation of new total sizes.
6980 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
6982         * comint.el (comint-output-filter): Fix rear-nonsticky property
6983         placement (Bug#16010).
6985 2013-12-20  Chong Yidong  <cyd@gnu.org>
6987         * faces.el (read-color): Minor fix for completion function.
6989 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
6991         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
6992         New option.  (Bug#16182)
6993         (ruby-smie--indent-to-stmt-p): Use it.
6994         (ruby-smie-rules): Revert the logic in the handling of `when'.
6995         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
6996         (ruby-deep-arglist, ruby-deep-indent-paren)
6997         (ruby-deep-indent-paren-style): Update docstrings to note that the
6998         vars don't have any effect with SMIE.
7000 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
7002         * calc/calc.el (calc-enter, calc-pop): Use the variable
7003         `calc-context-sensitive-enter'.
7005 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7007         * net/shr.el (shr-insert): Protect against infloops in degenerate
7008         tables.
7010 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7012         * progmodes/octave.el (octave): Add link to manual and octave
7013         homepage.
7014         (octave-mode-menu): Link to octave-mode manual.
7016 2013-12-20  Leo Liu  <sdl.web@gmail.com>
7018         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
7019         insertion using skeleton-end-newline.  (Bug#16138)
7021 2013-12-20  Juri Linkov  <juri@jurta.org>
7023         * replace.el (occur-engine): Use `add-face-text-property'
7024         to add the face property to matches and titles.  (Bug#14645)
7026         * hi-lock.el (hi-green): Use lighter color "light green" closer to
7027         the palette of other hi-lock colors.
7028         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
7030 2013-12-19  Juri Linkov  <juri@jurta.org>
7032         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
7033         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
7034         (minibuffer-history-symbol): Move variable declaration closer to
7035         its usage.
7037         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
7038         (Bug#14785)
7040 2013-12-19  Juri Linkov  <juri@jurta.org>
7042         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
7043         New function.
7044         (log-edit-hook): Add it to :options.  (Bug#16170)
7046 2013-12-19  Juri Linkov  <juri@jurta.org>
7048         * simple.el (eval-expression-print-format): Don't check for
7049         command names and the last command.  Always display additional
7050         formats of the integer result in the echo area, and insert them
7051         to the current buffer only with a zero prefix arg.
7052         Display character when char-displayable-p is non-nil.
7053         (eval-expression): With a zero prefix arg, set `print-length' and
7054         `print-level' to nil, and insert the integer values from
7055         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
7057         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
7058         `eval-last-sexp-arg-internal'.  Doc fix.
7059         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
7060         `eval-last-sexp-print-value'.  Doc fix.
7061         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
7062         Set `print-length' and `print-level' to nil when arg is zero.
7063         (eval-last-sexp): Doc fix.
7064         (eval-defun-2): Print the integer values from
7065         `eval-expression-print-format' at the end.
7067         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
7068         values from `eval-expression-print-format' at the end.
7070         * ielm.el (ielm-eval-input): Print the integer
7071         values from `eval-expression-print-format' at the end.
7073 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
7075         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
7076         2013-12-11T19:01:44Z!tzz@lifelogs.com.
7078 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7080         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
7081         (hl-line-highlight, global-hl-line-highlight): Use it.
7082         (hl-line-overlay): Use defvar-local.
7084 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
7086         * term/ns-win.el: Require dnd.
7087         (global-map): Remove drag items.
7088         (ns-insert-text, ns-set-foreground-at-mouse)
7089         (ns-set-background-at-mouse):
7090         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
7091         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
7092         New functions.
7094 2013-12-19  Glenn Morris  <rgm@gnu.org>
7096         * emacs-lisp/ert.el (ert-select-tests):
7097         Fix string/symbol mixup.  (Bug#16121)
7099 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
7101         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
7102         keywords to their parent.
7104 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
7106         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
7107         first arg to be a string (fixed dead code), or an operator symbol.
7108         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
7109         operator symbols.
7110         (ruby-smie-rules): Remove parent token check in the `.' clause, it
7111         did nothing.  Don't respond to `(:after ".")', it will be called
7112         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
7113         change anything.  Only return indentation for binary operators
7114         when they are hanging.  De-dent opening paren when its parent is
7115         `.', otherwise it looks bad when the dot is not at bol or eol
7116         (bug#16182).
7118 2013-12-19  Juri Linkov  <juri@jurta.org>
7120         * replace.el (query-replace-read-args): Split a non-negative arg
7121         and a negative arg into separate elements.
7122         (query-replace, query-replace-regexp, replace-string)
7123         (replace-regexp): Add arg `backward'.  Doc fix.
7124         (replace-match-maybe-edit): When new arg `backward' is non-nil,
7125         move point to the beginning of the match.
7126         (replace-search, replace-highlight): Use new arg `backward'
7127         to set the value of `isearch-forward'.
7128         (perform-replace): Add arg `backward' and use it to perform
7129         replacement backward.  (Bug#14979)
7131         * isearch.el (isearch-query-replace): Use a negative prefix arg
7132         to call `perform-replace' with a non-nil arg `backward'.
7134 2013-12-18  Juri Linkov  <juri@jurta.org>
7136         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
7137         to the default list.  Move `log-edit-show-files' to the end.
7138         Add more available functions to options.
7139         (log-edit): Move default specific settings to
7140         `log-edit-insert-message-template'.  Don't move point.
7141         (log-edit-insert-message-template): New function.
7142         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
7143         (Bug#16170)
7145 2013-12-18  Juri Linkov  <juri@jurta.org>
7147         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
7148         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
7150 2013-12-18  Leo Liu  <sdl.web@gmail.com>
7152         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
7153         (Bug#16186)
7155 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
7157         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
7158         formats for displaying file sizes when the -s switch is given.
7159         Instead, compute a separate format for displaying the size in
7160         blocks, which is displayed in addition to the "regular" size.
7161         When -h is given in addition to -s, produce size in blocks in
7162         human-readable form as well.  (Bug#16179)
7164 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
7166         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7167         Reference tables with ~\ref{...} instead of only \ref{...}.
7169 2013-12-18  Chong Yidong  <cyd@gnu.org>
7171         * cus-edit.el (custom-magic-alist): Fix "themed" description
7172         (Bug#14348).
7174         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
7175         is non-nil, do not create a new entry in the symbol's theme-value
7176         or theme-face property; update theme-settings only (Bug#14664).
7177         (custom-available-themes): Doc fix.
7179         * cus-theme.el (custom-new-theme-mode-map): Add bindings
7180         (Bug#15674).
7182         * replace.el (occur-engine): Avoid infloop (Bug#7593).
7184 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
7186         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
7187         (Bug#13914).
7189 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
7191         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
7193 2013-12-18  Glenn Morris  <rgm@gnu.org>
7195         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
7196         * cus-start.el (load-prefer-newer): New option.
7198 2013-12-18  Le Wang  <l26wang@gmail.com>
7200         * comint.el (comint-previous-matching-input-from-input):
7201         Retain point (Bug#13404).
7203 2013-12-18  Chong Yidong  <cyd@gnu.org>
7205         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
7207 2013-12-18  Glenn Morris  <rgm@gnu.org>
7209         * mail/emacsbug.el (report-emacs-bug):
7210         Only mention enable-multibyte-characters if non-standard.
7212 2013-12-17  Juri Linkov  <juri@jurta.org>
7214         * arc-mode.el (archive-extract-by-file): Check if directory exists
7215         before deletion to not show irrelevant errors if it doesn't exist.
7217 2013-12-17  Juri Linkov  <juri@jurta.org>
7219         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
7220         (Bug#14751)
7222         * net/eww.el (browse-web): Add alias to `eww'.
7223         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
7224         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
7226         * net/browse-url.el (browse-url-browser-function): Move `eww'
7227         closer to similar functions.
7229         * startup.el (fancy-startup-screen, fancy-about-screen):
7230         Set browse-url-browser-function to eww-browse-url locally.
7231         (Bug#14751)
7233 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7235         * window.el (window--pixel-to-total): Remove unused `mini' var.
7236         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
7237         (split-window): Remove unused `new' var.
7238         (window--display-buffer): Remove unused `frame' and `delta' vars.
7239         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
7240         and display-width'.
7242 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
7244         * dired.el (dired-mark-pop-up):
7245         * register.el (register-preview): Don't bind
7246         split-height-threshold here since it's now done in
7247         display-buffer-below-selected.
7249 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
7251         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
7252         xterm-rgb-convert-to-16bit.
7253         (rxvt-register-default-colors): Standardize with
7254         xterm-register-default-colors (Bug#14078).
7256 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
7258         * simple.el (kill-region): Pass mark first, then point, so that
7259         kill-append works right (Bug#12819).
7260         (copy-region-as-kill, kill-ring-save): Likewise.
7262 2013-12-17  Leo Liu  <sdl.web@gmail.com>
7264         * net/rcirc.el (rcirc-add-face):
7265         * eshell/em-prompt.el (eshell-emit-prompt):
7266         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
7267         (Bug#16167)
7269 2013-12-17  Chong Yidong  <cyd@gnu.org>
7271         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
7272         Suggested by Xue Fuqiao.
7274 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
7276         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
7278 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7280         * net/shr.el (shr-insert-document): Remove unused var
7281         `shr-preliminary-table-render'.
7282         (shr-rescale-image): Remove unused arg `force'.
7283         (shr-put-image): Update calls accordingly.
7284         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
7286 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
7288         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
7289         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
7290         :close-all, to see which indentation method to use (Bug#16116).
7291         (smie-rules-function): Document the method :close-all.
7293 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7295         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
7297         * net/eww.el (eww-display-html): If we can't find the anchor we're
7298         looking for, then go to point-min.
7300 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
7302         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
7303         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
7304         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
7305         Expand dir too, in case it's relative.
7307 2013-12-16  Juri Linkov  <juri@jurta.org>
7309         * desktop.el (desktop-auto-save-timeout): Change default to
7310         `auto-save-timeout'.  Doc fix.
7311         (desktop-save): Skip the timestamp in desktop-saved-frameset
7312         when checking for auto-save changes.
7313         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
7314         `desktop-auto-save' is called repeatedly by the idle timer.
7315         (desktop-auto-save-set-timer): Replace `run-with-timer' with
7316         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
7317         (Bug#15331)
7319 2013-12-16  Juri Linkov  <juri@jurta.org>
7321         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
7322         (Bug#16035)
7323         (isearch-pre-command-hook): Check `this-command' for symbolp.
7325 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7327         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
7329 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
7331         * progmodes/cfengine.el (cfengine3--current-word): Remove.
7332         (cfengine3--current-function): Bring in the current-function
7333         functionality from `cfengine3--current-word'.
7334         (cfengine3-completion-function): Bring in the
7335         bounds-of-current-word functionality from
7336         `cfengine3--current-word'.
7338 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
7340         * window.el (display-buffer-below-selected):
7341         Bind split-height-threshold to 0 as suggested by Juri Linkov.
7343 2013-12-16  Leo Liu  <sdl.web@gmail.com>
7345         * progmodes/compile.el (compile-goto-error): Do not push-mark.
7346         Remove NOMSG arg and all uses changed.
7348 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7350         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
7351         (cua--deactivate-rectangle): Don't deactivate the mark.
7352         (cua-set-rectangle-mark): Don't set mark-active since
7353         cua--activate-rectangle already does it for us.
7354         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
7355         non-rectangular region.
7357         * emulation/cua-base.el (cua-repeat-replace-region):
7358         Use with-current-buffer.
7360         * net/gnutls.el: Use cl-lib.
7361         (gnutls-negotiate): `mapcan' -> cl-mapcan.
7363 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
7365         * emacs-lisp/package.el (package-built-in-p): Support both
7366         built-in and the package.el converted package descriptions.
7367         (package-show-package-list): Allow keywords.
7368         (package-keyword-button-action): Use it instead of
7369         `finder-list-matches'.
7370         (package-menu-filter-interactive): Interactive filtering (by
7371         keyword) function.
7372         (package-menu--generate): Support keywords and change keymappings
7373         and headers when they are given.
7374         (package--has-keyword-p): Helper function.
7375         (package-menu--refresh): Use it.
7376         (package--mapc): Helper function.
7377         (package-all-keywords): Use it.
7378         (package-menu-mode-map): Set up menu items and keybindings to
7379         provide a filtering UI.
7381 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
7383         * net/gnutls.el (gnutls-verify-error): New defcustom to control
7384         the behavior when a certificate fails validation.  Defaults to
7385         old behavior: never abort, just warn.
7386         (gnutls-negotiate): Use it.
7388 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
7390         * window.el (display-buffer-below-selected): Never split window
7391         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
7393 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
7395         * emacs-lisp/package.el (package--prepare-dependencies): New function.
7396         (package-buffer-info): Use it (bug#15108).
7398 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7400         * icomplete.el (icomplete-completions): Make sure the prefix is already
7401         displayed elsewhere before hiding it (bug#16219).
7403 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
7405         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
7406         open-paren tokens when preceded by a open-paren, too.
7407         (ruby-smie-rules): Handle virtual indentation after open-paren
7408         tokens specially.  If there is code between it and eol, return the
7409         column where is starts (Bug#16118).
7411 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
7413         * progmodes/cfengine.el: Fix `add-hook' doc.
7414         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
7415         (cfengine3--current-word): Fix parameters.
7416         (cfengine3-make-syntax-cache): Simplify further.
7417         (cfengine3-completion-function, cfengine3--current-function):
7418         Use `assq' for symbols.
7419         (cfengine3--current-function): Fix `cfengine3--current-word' call.
7421 2013-12-13  Glenn Morris  <rgm@gnu.org>
7423         * loadup.el (load-path): Warn if site-load or site-init changes it.
7424         No more need to reset it when bootstrapping.
7426 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
7428         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
7429         locations for cf-promises.
7430         (cfengine-mode-syntax-functions-regex): New caching variable.
7431         (cfengine3-fallback-syntax): Fallback syntax for cases where
7432         cf-promises doesn't run.
7433         (cfengine3--current-word): Reimplement using
7434         `cfengine-mode-syntax-functions-regex'.
7435         (cfengine3-completion-function, cfengine3--current-function):
7436         Use `cfengine3-make-syntax-cache' directly.
7437         (cfengine3-clear-syntax-cache): New function.
7438         (cfengine3-make-syntax-cache): Simplify and create
7439         `cfengine-mode-syntax-functions-regex' on demand.
7440         (cfengine3-format-function-docstring): Don't call
7441         `cfengine3-make-syntax-cache' explicitly.
7443 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
7445         Fix windmove-find-other-window broken after pixelwise resizing
7446         (Bug#16017).
7447         * windmove.el (windmove-other-window-loc): Revert change from
7448         2013-12-04.
7449         (windmove-find-other-window): Call window-in-direction.
7450         * window.el (window-in-direction): New arguments SIGN, WRAP and
7451         MINI to emulate original windmove-find-other-window behavior.
7453 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
7455         * simple.el (blink-matching--overlay): New variable.
7456         (blink-matching-open): Instead of moving point, highlight the
7457         matching paren with an overlay
7458         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
7460         * faces.el (paren-showing-faces, show-paren-match)
7461         (show-paren-mismatch): Move from paren.el.
7463 2013-12-13  Leo Liu  <sdl.web@gmail.com>
7465         * indent.el (indent-region): Disable progress reporter in
7466         minibuffer.  (Bug#16108)
7468         * bindings.el (visual-order-cursor-movement): Fix version.
7470 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7472         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
7473         Also match after beginning of line.
7474         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
7475         files.  Thanks to Russell Sim.  (Bug#15378)
7477 2013-12-13  Juri Linkov  <juri@jurta.org>
7479         * simple.el <Keypad support>: Remove key bindings duplicated
7480         with bindings.el.  (Bug#14397)
7482 2013-12-13  Juri Linkov  <juri@jurta.org>
7484         * comint.el (comint-mode-map): Replace `delete-char' with
7485         `delete-forward-char'.  (Bug#16109)
7487 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7489         * progmodes/python.el (python-indent-calculate-indentation):
7490         Fix de-denters cornercase.  (Bug#15731)
7492 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7494         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
7495         (advice--make): Pay attention to `depth'.
7496         (advice--make-1): Don't autoload commands eagerly.
7497         * emacs-lisp/elp.el (elp-instrument-function):
7498         * emacs-lisp/trace.el (trace-function-internal):
7499         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
7501         * iswitchb.el (iswitchb-mode): Don't belittle ido.
7503 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
7505         * term/w32-win.el (w32-handle-dropped-file):
7506         * startup.el (normal-top-level):
7507         * net/browse-url.el (browse-url-file-url):
7508         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
7509         decode file names using 'utf-8' rather than
7510         file-name-coding-system.
7512 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7514         * progmodes/python.el (python-indent-context)
7515         (python-indent-calculate-indentation): Fix auto-identation
7516         behavior for comment blocks.  (Bug#15916)
7518 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7520         * progmodes/python.el (python-indent-calculate-indentation):
7521         When determining indentation, don't treat "return", "pass", etc., as
7522         operators when they are just string constituents.  (Bug#15812)
7524 2013-12-12  Juri Linkov  <juri@jurta.org>
7526         * uniquify.el (uniquify-buffer-name-style): Change default to
7527         `post-forward-angle-brackets'.
7529         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
7530         `uniquify'.  Change default to `post-forward-angle-brackets'.
7532 2013-12-11  Glenn Morris  <rgm@gnu.org>
7534         * emacs-lisp/package.el (finder-list-matches):
7535         Autoload rather than falsely declaring.
7537 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
7539         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
7540         (eww-mode-map): Use them.
7542 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
7544         * window.el (display-buffer-in-side-window): Fix doc-string
7545         (Bug#16115).
7547 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
7549         * vc/vc-git.el: Silence byte-compiler warnings.
7550         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
7551         (log-edit-set-header): Declare.
7553 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
7555         * Makefile.in (custom-deps, finder-data): Run output file names
7556         through unmsys--file-name.  (Bug#16099)
7558 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7560         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
7561         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7563         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
7564         instead of deleting the selection "by hand" (bug#16098).
7565         Rely on insert-for-yank to yank rectangles.
7566         (cua-highlight-region-shift-only): Mark obsolete.
7567         (cua-mode): Don't enable/disable transient-mark-mode,
7568         shift-select-mode (cua-mode works both with and without them), and
7569         pc-selection-mode (obsolete).
7570         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
7571         (cua--deactivate-rectangle): Deactivate it.
7573         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
7574         (delete-selection-helper): Make sure yank starts at the top of the
7575         deleted region.
7576         (minibuffer-keyboard-quit): Use region-active-p.
7578         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
7580         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
7581         to `delete' (bug#16109).
7583 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7585         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
7586         info manual and show keybindings and set `:group' keyword.
7588 2013-12-11  Juri Linkov  <juri@jurta.org>
7590         * delsel.el (delete-active-region): Let-bind `this-command'
7591         to prevent `kill-region' from changing its original value.
7592         (delete-selection-helper): Handle `overwrite-mode' for the type
7593         `kill' exactly the same way as for the type `t'.
7594         (insert-char, quoted-insert, reindent-then-newline-and-indent):
7595         Support more commands.  (Bug#13312)
7597 2013-12-11  Juri Linkov  <juri@jurta.org>
7599         * bindings.el: Map kp keys to non-kp keys systematically
7600         with basic modifiers control, meta and shift.  (Bug#14397)
7602 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
7604         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
7605         "Close browser" menu items.  Fix wrong function of "List
7606         bookmarks".
7608 2013-12-11  Juri Linkov  <juri@jurta.org>
7610         * misearch.el (multi-isearch-buffers): Set the value of
7611         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
7612         arg of isearch-forward to t.
7613         (multi-isearch-buffers-regexp): Set the value of
7614         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
7615         arg of isearch-forward-regexp to t.
7616         (multi-isearch-files): Set the value of
7617         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
7618         arg of isearch-forward to t.
7619         (multi-isearch-files-regexp): Set the value of
7620         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
7621         arg of isearch-forward-regexp to t.  (Bug#16035)
7623         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
7624         arg of isearch-forward to t.
7625         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
7626         arg of isearch-forward-regexp to t.
7627         (dired-isearch-filter-filenames): Remove unnecessary check for
7628         `dired-isearch-filenames'.
7630         * comint.el (comint-history-isearch-backward):
7631         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
7632         (comint-history-isearch-backward-regexp):
7633         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
7635 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
7637         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
7638         unmsys--file-name.  (Bug#16099)
7640 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
7642         * emacs-lisp/package.el (package-keyword-button-action):
7643         Remove finder.el require dependency.
7645 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
7647         * emacs-lisp/package.el: Require finder.el.
7648         (describe-package-1): Add keyword buttons.
7649         (package-make-button): New convenience function.
7650         (package-keyword-button-action): Keyword button action using
7651         `finder-list-matches'.
7653 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
7655         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
7656         last commit.
7658 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
7660         * autorevert.el (auto-revert-notify-add-watch): Do not handle
7661         symlinked files.
7663 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
7665         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7666         after the end of a percent literal.
7668 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
7670         * progmodes/ruby-mode.el (ruby-forward-string): Document.
7671         Handle caret-delimited strings (Bug#16079).
7673 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
7675         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
7676         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
7677         `ruby-parse-partial' (Bug#16078).
7679 2013-12-09  Leo Liu  <sdl.web@gmail.com>
7681         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
7683 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
7685         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
7686         (js-switch-indent-offset): New option.
7687         (js--proper-indentation): Use it.  And handle the case when
7688         "default" is actually a key in an object literal.
7689         (js--same-line): New function.
7690         (js--multi-line-declaration-indentation): Use it.
7691         (js--indent-in-array-comp, js--array-comp-indentation):
7692         New functions.
7693         (js--proper-indentation): Use them, to handle array comprehension
7694         continuations.
7696 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7698         * progmodes/flymake.el (flymake-highlight-line): Re-write.
7699         (flymake-make-overlay): Remove arg MOUSE-FACE.
7700         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
7702 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7704         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
7705         New function.
7706         (redisplay-highlight-region-function): Use it.
7708         * emulation/cua-base.el (cua--explicit-region-start)
7709         (cua--last-region-shifted): Remove.
7710         (cua--deactivate): Use deactivate-mark.
7711         (cua--pre-command-handler-1): Don't handle shift-selection.
7712         (cua--post-command-handler-1): Don't change transient-mark-mode.
7713         (cua--select-keymaps): Use region-active-p rather than
7714         cua--explicit-region-start or cua--last-region-shifted.
7715         (cua-mode): Enable shift-select-mode.
7717 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7719         * progmodes/flymake.el (flymake-popup-current-error-menu):
7720         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
7721         (flymake-posn-at-point-as-event, flymake-popup-menu)
7722         (flymake-make-emacs-menu): Remove.  (Bug#16077)
7724 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7726         * rect.el (rectangle-mark-mode): Activate mark even if
7727         transient-mark-mode is off (bug#16066).
7728         (rectangle--highlight-for-redisplay): Fix boundary condition when point
7729         is > mark and at bolp.
7731         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
7732         (region-extract-function): Use it.
7733         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
7734         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
7735         Delete functions.
7736         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
7737         kill-ring-save, kill-region, delete-char, delete-forward-char.
7738         Ignore self-insert-iso.
7740         * emulation/cua-gmrk.el (cua--init-global-mark):
7741         Ignore `self-insert-iso'.
7743         * emulation/cua-base.el (cua--prefix-copy-handler)
7744         (cua--prefix-cut-handler): Rely on region-extract-function rather than
7745         checking cua--rectangle.
7746         (cua-delete-region): Use region-extract-function.
7747         (cua-replace-region): Delete function.
7748         (cua-copy-region, cua-cut-region): Obey region-extract-function.
7749         (cua--pre-command-handler-1): Don't do the delete-selection thing.
7750         (cua--self-insert-char-p): Ignore `self-insert-iso'.
7751         (cua--init-keymaps): Don't remap delete-selection commands.
7752         (cua-mode): Use delete-selection-mode instead of rolling our own
7753         (bug#16085).
7755         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
7756         Obey region-extract-function.
7758         Make registers and delete-selection-mode work on rectangles.
7759         * register.el (describe-register-1): Don't modify the register's value.
7760         (copy-to-register): Obey region-extract-function.
7761         * delsel.el (delete-active-region): Obey region-extract-function.
7763 2013-12-08  Leo Liu  <sdl.web@gmail.com>
7765         * progmodes/flymake.el (flymake, flymake-error-bitmap)
7766         (flymake-warning-bitmap, flymake-fringe-indicator-position)
7767         (flymake-compilation-prevents-syntax-check)
7768         (flymake-start-syntax-check-on-newline)
7769         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
7770         (flymake-start-syntax-check-on-find-file, flymake-log-level)
7771         (flymake-xml-program, flymake-master-file-dirs)
7772         (flymake-master-file-count-limit)
7773         (flymake-allowed-file-name-masks): Relocate.
7774         (flymake-makehash, flymake-float-time)
7775         (flymake-replace-regexp-in-string, flymake-split-string)
7776         (flymake-get-temp-dir): Remove.
7777         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
7778         (flymake-current-row, flymake-selected-frame)
7779         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
7780         related functions.  (Bug#16077)
7782 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
7784         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
7786 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
7788         * help-fns.el (describe-function-1): Use new advice-* functions
7789         rather than old ad-* functions.  Fix function type description and
7790         source links for advised functions and subrs.
7792 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7794         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
7796 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
7798         * progmodes/compile.el (compilation-start):
7799         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
7801         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7802         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
7804 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7806         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7807         Touch up the last change.
7809 2013-12-06  Leo Liu  <sdl.web@gmail.com>
7811         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
7812         (inferior-octave-startup): Always use "octave> " for prompt.
7813         (octave-goto-function-definition)
7814         (octave-sync-function-file-names)
7815         (octave-find-definition-default-filename): Remove redundant backquotes.
7817 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7819         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
7820         syntax for `?'.
7821         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
7822         where appropriate already.
7823         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
7824         end of method names (Bug#15874).
7826 2013-12-06  Juri Linkov  <juri@jurta.org>
7828         * isearch.el (isearch--saved-overriding-local-map):
7829         New internal variable.
7830         (isearch-mode): Set it to the initial value of
7831         `overriding-terminal-local-map'.
7832         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
7833         with `isearch--saved-overriding-local-map'.  (Bug#16035)
7835 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
7837         * progmodes/octave.el (inferior-octave-completion-table):
7838         Turn back into function, use `completion-table-with-cache'
7839         (Bug#11906).  Update all references.
7841         * minibuffer.el (completion-table-with-cache): New function.
7843 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
7845         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
7847 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
7849         * net/eww.el (eww-current-source): New variable to store page
7850         source.
7851         (eww-display-html, eww-mode, eww-save-history)
7852         (eww-restore-history): Use it.
7853         (eww-view-source): New command to view page source.
7854         Opportunistically uses `html-mode' to highlight the buffer.
7855         (eww-mode-map): Install it.
7857 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
7859         * net/dbus.el (dbus-unregister-service)
7860         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
7861         Fix docstring.
7862         (dbus-unregister-service): Skip :serial entries in
7863         `dbus-registered-objects-table'.
7864         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
7866 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
7868         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
7869         around keywords with extra `split-string' argument.
7871 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
7873         * windmove.el (windmove-other-window-loc): Handle navigation
7874         between windows (excluding the minibuffer window - Bug#16017).
7876 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
7878         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
7879         in D-Bus type syntax.
7880         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
7881         preserve unibyte strings.  (Bug#16048)
7883 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7885         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7886         Call force-mode-line-update is the proper buffer (bug#16042).
7888 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
7890         * vc/log-edit.el (log-edit-add-new-comment): Rename to
7891         `log-edit-remember-comment', make argument optional.  Adjust all
7892         callers.
7893         (log-edit-mode): Add `log-edit-remember-comment' to
7894         `kill-buffer-hook' locally.
7895         (log-edit-kill-buffer): Don't remember comment explicitly since
7896         the buffer is killed anyway.
7898 2013-12-04  Juri Linkov  <juri@jurta.org>
7900         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
7901         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
7903 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
7905         * notifications.el (notifications-close-notification): Call the
7906         D-Bus method with ID being a `:uint32'.  (Bug#16030)
7908 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
7910         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
7912 2013-12-03  Juri Linkov  <juri@jurta.org>
7914         * progmodes/compile.el (compilation-start): Rename window alist
7915         entry `no-display-ok' to `allow-no-window'.
7917         * simple.el (shell-command): Add window alist entry
7918         `allow-no-window' to `display-buffer'.
7919         (async-shell-command): Doc fix.
7921         * window.el (display-buffer-no-window): New action function.
7922         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
7924 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7926         * vc/log-edit.el (log-edit-set-header): Extract from
7927         `log-edit-toggle-header'.
7928         (log-edit-extract-headers): Separate the summary, when extracted
7929         from header, from the rest of the message with an empty line.
7931         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
7932         line, if present, to the Summary header.
7934 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7936         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
7937         in current-buffer (bug#16029).
7939 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
7941         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
7942         (debugger-mode-map): Bind it.
7943         (debugger--backtrace-base): New function.
7944         (debugger-eval-expression): Use it.
7945         (debugger-frame-number): Skip local vars when present.
7946         (debugger--locals-visible-p, debugger--insert-locals)
7947         (debugger--show-locals, debugger--hide-locals): New functions.
7949 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
7951         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
7952         "LC_ALL".
7953         (tramp-get-remote-locale): New defun.
7954         (tramp-open-connection-setup-interactive-shell): Use it.
7956 2013-12-02  Leo Liu  <sdl.web@gmail.com>
7958         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
7960         * progmodes/sh-script.el (sh-shell-process):
7961         * progmodes/octave.el (inferior-octave-process-live-p):
7962         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
7963         (gdb-inferior-io-sentinel):
7964         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
7966 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7968         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
7969         `save-selected-window' to `log-edit-hide-buf'.  This makes
7970         `log-edit-show-files' idempotent.
7971         (log-edit-show-files): Mark the new window as dedicated.
7973 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
7975         * vc/log-edit.el (log-edit-mode-map): Add binding for
7976         `log-edit-kill-biffer'.
7977         (log-edit-hide-buf): Add a FIXME comment.
7978         (log-edit-add-new-comment): New function, extracted from
7979         `log-edit-done'.
7980         (log-edit-done, log-edit-add-to-changelog): Use it.
7981         (log-edit-kill-buffer): New command.
7983 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7985         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
7986         instead of killing the buffer.
7988 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7990         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
7992 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7994         * net/eww.el (eww-form-checkbox-selected-symbol)
7995         (eww-form-checkbox-symbol): New customizable variable.
7996         (eww-form-checkbox, eww-toggle-checkbox):
7997         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
7999         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
8000         (shr--get-media-pref, shr--extract-best-source): New function.
8001         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
8002         no :src tag was specified.
8004         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
8005         (eww-render): Handle `eww-use-external-browser-for-content-type'.
8006         Use \\` to match beginning of string instead of ^.
8007         (eww-browse-with-external-browser): Provide optional URL parameter.
8008         (eww-render): Set `eww-current-title' back to "".
8010         * net/shr.el (shr-tag-video): Display content for video if no
8011         poster is available.
8012         (shr-tag-audio): Add support for <audio> tag.
8014         * net/eww.el (eww-text-input-types): New const.
8015         (eww-process-text-input): Treat input types in
8016         `eww-text-input-types' as text.
8018         * net/shr.el (shr-tag-table): Fix comment typo.
8020 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8022         * net/eww.el (eww-follow-link): New command to avoid reloading
8023         pages when we follow #target links (bug#15243).
8024         (eww-quit): Special mode buffers shouldn't query before exiting.
8026 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
8028         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
8029         forms.
8031 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8033         * net/eww.el (eww-restore-history): Update the window title after
8034         moving in the history.
8035         (eww-current-dom): New variable used to save the current DOM.
8037 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
8039         * vc/log-edit.el (log-edit-mode-map): Add binding for
8040         `log-edit-beginning-of-line'.
8041         (log-edit-setup-add-author): New user option.
8042         (log-edit-beginning-of-line): New command.
8043         (log-edit): Move major mode call above the contents setup so that
8044         the local variable values are already applied.
8045         (log-edit): Only insert "Author: " when
8046         `log-edit-setup-add-author' is non-nil.
8047         (log-edit): When SETUP is non-nil, position point after ": "
8048         instead of point-min.
8050 2013-12-01  Glenn Morris  <rgm@gnu.org>
8052         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
8054 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
8056         * startup.el (fancy-splash-frame): On MS-Windows, trigger
8057         redisplay to make sure the initial frame gets a chance to become
8058         visible.  (Bug#16014)
8060 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
8062         Support resizing frames and windows pixelwise.
8063         * cus-start.el (frame-resize-pixelwise)
8064         (window-resize-pixelwise): New entries.
8065         * emacs-lisp/debug.el (debug): Use window-total-height instead
8066         of window-total-size.
8067         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
8068         * help.el (describe-bindings-internal): Use help-buffer as
8069         argument for with-help-window.
8070         (temp-buffer-max-width): New option.
8071         (resize-temp-buffer-window, help-window-setup)
8072         (with-help-window): Rewrite.
8073         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
8074         dragging dividers.
8075         * window.el (frame-char-size, window-min-pixel-height)
8076         (window-safe-min-pixel-height, window-safe-min-pixel-width)
8077         (window-min-pixel-width, window-safe-min-pixel-size)
8078         (window-combination-p, window-safe-min-size)
8079         (window-resizable-p, window--size-to-pixel)
8080         (window--pixel-to-size, window--resize-apply-p): New functions.
8081         (window-safe-min-height): Fix doc-string.
8082         (window-size, window-min-size, window--min-size-1)
8083         (window-sizable, window-sizable-p, window--min-delta-1)
8084         (window-min-delta, window--max-delta-1, window-max-delta)
8085         (window--resizable, window--resizable-p, window-resizable)
8086         (window-full-height-p, window-full-width-p, window-at-side-p)
8087         (window--in-direction-2, window-in-direction)
8088         (window--resize-reset-1, window--resize-mini-window)
8089         (window-resize, window-resize-no-error)
8090         (window--resize-child-windows-normal)
8091         (window--resize-child-windows, window--resize-siblings)
8092         (window--resize-this-window, window--resize-root-window)
8093         (window--resize-root-window-vertically)
8094         (adjust-window-trailing-edge, enlarge-window, shrink-window)
8095         (maximize-window, minimize-window, delete-window)
8096         (quit-restore-window, window-split-min-size, split-window)
8097         (balance-windows-2, balance-windows)
8098         (balance-windows-area-adjust, balance-windows-area)
8099         (window--state-get-1, window-state-get, window--state-put-1)
8100         (window--state-put-2, window-state-put)
8101         (display-buffer-record-window, window--display-buffer):
8102         Make functions handle pixelwise sizing of windows.
8103         (display-buffer--action-function-custom-type)
8104         (display-buffer-fallback-action):
8105         Add display-buffer-in-previous-window.
8106         (display-buffer-use-some-window): Resize window to height it had
8107         before.
8108         (fit-window-to-buffer-horizontally): New option.
8109         (fit-frame-to-buffer): Describe new values.
8110         (fit-frame-to-buffer-bottom-margin): Replace with
8111         fit-frame-to-buffer-margins.
8112         (window--sanitize-margin): New function.
8113         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
8114         using window-text-pixel-size.
8116 2013-11-30  Glenn Morris  <rgm@gnu.org>
8118         * emacs-lisp/bytecomp.el (byte-compile-form):
8119         Make the `interactive-only' warning like the `obsolete' one.
8120         * comint.el (comint-run):
8121         * files.el (insert-file-literally, insert-file):
8122         * replace.el (replace-string, replace-regexp):
8123         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8124         (goto-line, insert-buffer, next-line, previous-line):
8125         Tweak `interactive-only' spec.
8127         Stop keeping (most) generated cedet grammar files in the repository.
8128         * Makefile.in (semantic): New.
8129         (compile-main): Depend on semantic.
8131 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8133         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
8134         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
8136         * uniquify.el (uniquify-buffer-name-style): Change default.
8138         * loadup.el: Preload "uniquify".
8140         * time.el (display-time-update): Update all mode lines (bug#15999).
8142         * electric.el (electric-indent-mode): Enable by default.
8143         * loadup.el: Preload "electric".
8145 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
8147         * emacs-lisp/helpers.el (string-empty-p): New function.
8148         (string-blank-p): New function.
8150 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
8152         * imenu.el (imenu--index-alist): Add missing dot to the docstring
8153         (Bug#14029).
8155 2013-11-29  Andreas Politz  <politza@fh-trier.de>
8156         * imenu.el (imenu--subalist-p): Don't error on non-conses and
8157         allow non-lambda lists as functions.
8158         (imenu--in-alist): Don't recurse into non-subalists.
8159         (imenu): Don't pass function itself as an argument (Bug#14029).
8161 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8163         * progmodes/python.el (python-mode-map): Remove binding for ":".
8164         (python-indent-electric-colon): Remove command.
8165         (python-indent-post-self-insert-function): Integrate the previous code
8166         of python-indent-electric-colon.  Make it conditional on
8167         electric-indent-mode.
8168         (python-mode): Add ?: to electric-indent-chars.
8169         Move python-indent-post-self-insert-function to the end of
8170         post-self-insert-hook.
8172 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8174         * doc-view.el (doc-view-goto-page): Update mode-line.
8176         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
8178 2013-11-27  Glenn Morris  <rgm@gnu.org>
8180         * international/charprop.el, international/uni-bidi.el:
8181         * international/uni-category.el, international/uni-combining.el:
8182         * international/uni-comment.el, international/uni-decimal.el:
8183         * international/uni-decomposition.el, international/uni-digit.el:
8184         * international/uni-lowercase.el, international/uni-mirrored.el:
8185         * international/uni-name.el, international/uni-numeric.el:
8186         * international/uni-old-name.el, international/uni-titlecase.el:
8187         * international/uni-uppercase.el:
8188         Remove generated files from VCS repository.
8190 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
8192         * filenotify.el (file-notify-add-watch): Don't special-case
8193         w32notify when computing the directory to watch.
8195 2013-11-27  Glenn Morris  <rgm@gnu.org>
8197         Make bootstrap without generated uni-*.el files possible again.
8198         * loadup.el: Update command-line-args checking for unidata-gen.
8199         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
8200         * composite.el, international/characters.el:
8201         Handle unicode tables being undefined.
8203         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
8204         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
8205         (compile-main): Depend on leim rule.
8206         (leim): New rule.
8207         * loadup.el: Move leim-list.el to leim/ subdirectory.
8208         * startup.el (normal-top-level): No more leim directory.
8209         * international/ja-dic-cnv.el (skkdic-convert):
8210         Disable version-control and autoloads in output files.
8211         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
8212         Disable version-control and autoloads in output files.
8213         * leim/quail: Move here from ../leim.
8214         * leim/quail/hangul.el (hangul-input-method-activate):
8215         Add autoload cookie.
8216         (generated-autoload-load-name): Set file-local value.
8217         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
8218         (generated-autoload-load-name): Set file-local value.
8220 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
8222         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
8223         (eww-add-bookmark): Ask confirmation when add to bookmarks.
8224         (eww-quit): Ask confirmation before quitting eww.
8226 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
8228         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
8229         reading output from Diff on MS-Windows and MS-DOS.
8231 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
8233         * emacs-lisp/helpers.el (string-reverse): New function.
8235 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
8237         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
8238         names on MS Windows, like "/[::1]:".
8240         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
8241         SWITCHES.
8243 2013-11-26  Glenn Morris  <rgm@gnu.org>
8245         * progmodes/python.el (python-indent-guess-indent-offset):
8246         Avoid corner-case error.  (Bug#15975)
8248         Preload leim-list.el.  (Bug#4789)
8249         * loadup.el: Load leim-list.el when found.
8250         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
8252 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
8254         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
8256         * emacs-lisp/helpers.el (string-join): New function.
8258 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
8260         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8261         Mark as obsolete and replace it with a symbol property.
8262         (byte-compile-form): Use new 'interactive-only property.
8263         * comint.el, files.el, replace.el, simple.el:
8264         Apply new 'interactive-only properly.
8266 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
8268         * window.el (display-buffer-at-bottom): Make sure that
8269         split-window-sensibly creates the new window on bottom
8270         (Bug#15961).
8272 2013-11-23  David Kastrup  <dak@gnu.org>
8274         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
8275         on the conflict markers when available.
8276         (smerge--get-marker): New function.
8277         (smerge-end-re, smerge-base-re): Add subgroup.
8279 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8281         * frame.el (handle-focus-in, handle-focus-out): Add missing
8282         interactive spec.
8284 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
8286         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8287         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
8289 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8291         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
8292         (gomoku--last-pos): New var.
8293         (gomoku--intangible-chars): New const.
8294         (gomoku--intangible): New function.
8295         (gomoku-mode): Use it.  Derive from special-mode.
8296         (gomoku-move-up): Adjust line count.
8297         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
8298         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
8299         Simplify accordingly.
8301         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
8302         Remove blink-cursor code.
8303         (blink-cursor-timer-function, blink-cursor-suspend):
8304         Don't special-case GUIs.
8305         (blink-cursor-mode): Use focus-in/out-hook.
8307 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
8309         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
8310         work when annotation is invisible (Bug#13886).
8312 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
8314         * json.el (json-alist-p): Only return non-nil if the alist has
8315         simple keys (Bug#13518).
8317 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
8319         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
8320         when control-statement is the first statement in a buffer (Bug#15956).
8322 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
8324         * imenu.el (imenu-generic-skip-comments-and-strings):
8325         New option (Bug#15560).
8326         (imenu--generic-function): Use it.
8328 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
8330         * minibuffer.el (completion--in-region-1): Scroll the correct window.
8331         (Bug#13898)
8333 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
8335         * emacs-lisp/helpers.el: Add some string helpers.
8336         (string-trim-left): Removes leading whitespace.
8337         (string-trim-right): Removes trailing whitespace.
8338         (string-trim): Removes leading and trailing whitespace.
8340         * subr.el (string-suffix-p): New function.
8342 2013-11-23  Glenn Morris  <rgm@gnu.org>
8344         * progmodes/python.el (python-shell-send-file):
8345         Add option to delete file when done.  (Bug#15647)
8346         (python-shell-send-string, python-shell-send-region): Use it.
8348 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
8350         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
8351         to set buffer-read-only to t, never to nil.  (Bug#15938)
8353         * textmodes/tex-mode.el (latex-noindent-environments):
8354         Add safe-local-variable property.  (Bug#15936)
8356 2013-11-23  Glenn Morris  <rgm@gnu.org>
8358         * textmodes/enriched.el (enriched-mode): Doc fix.
8359         * emacs-lisp/authors.el (authors-renamed-files-alist):
8360         Add enriched.doc -> enriched.txt.
8362         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
8364 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8366         * progmodes/octave.el (inferior-octave-startup): Spit out error
8367         message.
8369 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
8371         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8372         Improve docstring.
8373         Add :version.
8374         (ruby-encoding-magic-comment-style): Add :version.
8376 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8378         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
8379         (Bug#15076)
8380         (octave-help-mode): Adapt to change to help-mode-finish to use
8381         derived-mode-p on 2013-09-17.
8382         (inferior-octave-prompt): Also match octave-gui.
8383         (octave-kill-process): Don't ask twice.  (Bug#10564)
8385 2013-11-22  Leo Liu  <sdl.web@gmail.com>
8387         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
8388         (inferior-octave-startup, inferior-octave-check-process)
8389         (inferior-octave-track-window-width-change)
8390         (octave-completion-at-point, octave-eldoc-function): Use it.
8391         (octave-kill-process): Provide confirmation.  (Bug#10564)
8393 2013-11-21  Leo Liu  <sdl.web@gmail.com>
8395         * progmodes/octave.el (octave-mode, inferior-octave-mode):
8396         Fix obsolete variable comment-use-global-state.
8398 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8400         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
8401         Add `octave-source-file'.
8402         (octave-source-file): New function.  (Bug#15935)
8404 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
8406         * net/eww.el (eww-local-regex): New variable.
8407         (eww): Use it to detect localhost and similar.
8409 2013-11-21  Leo Liu  <sdl.web@gmail.com>
8411         Add completion for command `ag'.
8412         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
8413         (pcomplete/ag): New function.
8414         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
8416 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8418         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
8419         (bug#14646).
8420         (make-obsolete): Remove interactive spec.
8422 2013-11-21  Glenn Morris  <rgm@gnu.org>
8424         * startup.el (command-line-1): Use path-separator with -L.
8426 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
8428         * emacs-lisp/package.el (describe-package-1): Add package archive
8429         to shown fields.
8431 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
8433         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
8434         Change default to "# encoding: %s" to differentiate it from the
8435         default Ruby encoding comment template.
8437 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
8439         * ses.el (ses-mode): Doc fix.  (Bug#14748)
8441 2013-11-20  Leo Liu  <sdl.web@gmail.com>
8443         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
8445 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
8447         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
8448         when rebase or bisect are in progress.
8450 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
8452         * filenotify.el (file-notify-add-watch): Doc fix.
8454 2013-11-19  Leo Liu  <sdl.web@gmail.com>
8456         * obsolete/rcompile.el: Mark obsolete.
8458         * progmodes/compile.el (compilation-start)
8459         (compilation-goto-locus, compilation-find-file):
8460         Pass no-display-ok and handle nil value from display-buffer.
8461         (Bug#13594)
8463         * window.el (display-buffer-alist, display-buffer): Document the
8464         new parameter no-display-ok.  Return either a window or nil
8465         but never a non-window value.
8467 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8469         * electric.el (electric-indent-mode-map): Remove.
8470         (electric-indent-mode): Change the global-map instead (bug#15915).
8472         * textmodes/text-mode.el (paragraph-indent-minor-mode):
8473         Use add-function.
8475 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8477         * emacs-lisp/nadvice.el (remove-function): Align with
8478         add-function's behavior.
8480         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
8481         (gdb--string-regexp): New constant.
8482         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
8483         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
8484         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
8485         submatch 1.
8486         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
8487         Adjust use accordingly.
8488         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
8490 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
8492         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
8493         interpolation curlies (Bug#15914).
8495 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
8497         * calc/calc.el (calc-context-sensitive-enter): New variable.
8498         (calc-enter): Use `calc-context-sensitive-enter'.
8500 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
8502         * progmodes/cfengine.el: Version bump.
8503         (cfengine-cf-promises): New defcustom to locate cf-promises.
8504         (cfengine3-vartypes): Add new "data" type.
8505         (cfengine3--current-word): New function to get current name-like
8506         word or its bounds.
8507         (cfengine3--current-function): New function to look up a CFEngine
8508         function's definition.
8509         (cfengine3-format-function-docstring): New function.
8510         (cfengine3-make-syntax-cache): New function.
8511         (cfengine3-documentation-function): New function: ElDoc glue.
8512         (cfengine3-completion-function): New function: completion glue.
8513         (cfengine3-mode): Set `compile-command',
8514         `eldoc-documentation-function', and add to
8515         `completion-at-point-functions'.
8517 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
8519         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8520         `tramp-current-connection'.
8522 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
8524         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
8525         nil/self/true/false with "end of symbol".
8527 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
8529         * subr.el (version-regexp-alist): Fix a typo.
8531 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
8533         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
8534         "en_US.utf8" and "LC_CTYPE" to "".
8535         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
8536         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
8538 2013-11-15  Leo Liu  <sdl.web@gmail.com>
8540         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
8542 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8544         * progmodes/gud.el (ctl-x-map):
8545         Remove C-x SPC binding.  (Bug#12342)
8546         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
8548 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
8550         * subr.el (version-regexp-alist):
8551         Recognize hg, svn and darcs versions as snapshot versions.
8553         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
8554         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
8555         (ruby--encoding-comment-required-p): Extract from
8556         `ruby-mode-set-encoding'.
8557         (ruby-mode-set-encoding): Add the ability to always insert an
8558         utf-8 encoding comment.  Fix and simplify coding comment update
8559         logic.
8561 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
8563         * net/tramp-gvfs.el (top): Run init code only when
8564         `tramp-gvfs-enabled' is not nil.
8565         (tramp-gvfs-enabled): Check also :system bus.
8567 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8569         Sync with upstream verilog-mode revision 78e66ba.
8570         * progmodes/verilog-mode.el (verilog-end-of-defun)
8571         (verilog-type-completion, verilog-get-list): Remove unused funcs.
8572         (verilog-get-end-of-defun): Remove unused argument.
8573         (verilog-comment-depth): Remove unused local `e'.
8574         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
8575         Don't pass arg to verilog-get-end-of-defun.
8577 2013-11-14  Glenn Morris  <rgm@gnu.org>
8579         * obsolete/assoc.el (aget): Prefix dynamic variable.
8581         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
8583 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8585         * widget.el, hfy-cmap.el: Remove bogus package version number.
8587 2013-11-13  Glenn Morris  <rgm@gnu.org>
8589         * replace.el (replace-eval-replacement):
8590         Try to give more helpful error message.  (Bug#15836)
8592         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8593         (archive-7z-update): Avoid custom type mismatches.
8595         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
8597 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
8599         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
8600         address can be empty.
8602         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
8603         Accept nil SWITCHES.
8604         (tramp-gvfs-handle-write-region): Implement APPEND.
8606 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
8608         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
8609         binary "|" operator and closing block args delimiter.
8610         Remove FIXME comment referring to Ruby 1.8-only syntax.
8611         (ruby-smie--implicit-semi-p): Not after "|" operator.
8612         (ruby-smie--closing-pipe-p): New function.
8613         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
8614         (ruby-smie-rules): Indent after "|".
8616 2013-11-12  Glenn Morris  <rgm@gnu.org>
8618         * ps-print.el (ps-face-attribute-list):
8619         Handle anonymous faces.  (Bug#15827)
8621 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
8623         * window.el (display-buffer-other-frame): Fix doc-string.
8624         (Bug#15868)
8626 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8628         * subr.el (force-mode-line-update): Delete, move to buffer.c.
8630 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
8632         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
8633         (tramp-sh-handle-file-local-copy): Don't write a message when
8634         saving temporary files.
8636         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
8637         both directories are remote.
8638         (tramp-smb-handle-directory-files): Do not return double entries.
8639         Do not expand full file names.
8640         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
8641         (tramp-smb-handle-write-region): Implement APPEND.
8642         (tramp-smb-get-stat-capability): Fix a stupid bug.
8644 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8646         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
8648 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8650         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
8651         throwing error over malformed let/let* (bug#15814).
8653 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8655         * iswitchb.el (iswitchb-mode): Mark obsolete.
8657 2013-11-11  Glenn Morris  <rgm@gnu.org>
8659         * international/uni-bidi.el, international/uni-category.el:
8660         * international/uni-name.el, international/uni-numeric.el:
8661         Regenerate for Unicode 6.3.0.
8663 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
8665         * net/tramp.el (tramp-methods):
8666         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
8667         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
8669 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
8671         * progmodes/sh-script.el (sh-font-lock-keywords-var):
8672         Force highlighting text after Summary keyword in doc face for rpm.
8674 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
8676         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
8677         available and the word has no wildcards, append one to the grep pattern.
8678         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
8679         (ispell-complete-word): Call `ispell-lookup-words' with the value
8680         independent of `ispell-look-p'.
8682 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8684         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
8685         Not after "||".
8686         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
8687         their parent.
8689 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8691         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
8692         (ruby-font-lock-keywords): Use backquote.
8694 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8696         * progmodes/ruby-mode.el (ruby-smie--forward-token)
8697         (ruby-smie--backward-token): Only consider full-string matches.
8699 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
8701         * faces.el (describe-face): Add distant-foreground.
8703 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
8705         * progmodes/ruby-mode.el: Improve encoding comment handling.
8706         (ruby-encoding-magic-comment-style): New option.
8707         (ruby-custom-encoding-magic-comment-template): New option.
8708         (ruby--insert-coding-comment, ruby--detect-encoding):
8709         New functions extracted from `ruby-mode-set-encoding'.
8710         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
8711         to control the style of the auto-inserted encoding comment.
8713 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8715         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
8716         Use `smie-backward-sexp' with token argument.
8718 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
8720         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8721         Remove instrumentation code.
8723 2013-11-08  Glenn Morris  <rgm@gnu.org>
8725         * progmodes/autoconf.el (autoconf-mode):
8726         Tweak comment-start-skip.  (Bug#15822)
8728 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8730         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
8731         at bobp (bug#15826).
8732         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
8734 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
8736         * man.el (Man-start-calling): New macro, extracted from
8737         Man-getpage-in-background.
8738         (Man-getpage-in-background): Use it.
8739         (Man-update-manpage): New command.
8740         (Man-mode-map): Bind it.
8742 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
8744         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
8745         of "and", "or", "&&" and "||".
8746         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
8747         argument.  Prohibit opening curly brace because it could only be a
8748         block opener in that position.
8749         (ruby-smie--forward-token, ruby-smie--backward-token):
8750         Separate "|" from "&" or "*" going after it.  That can happen in block
8751         arguments.
8752         (ruby-smie--indent-to-stmt): New function, seeks the end of
8753         previous statement or beginning of buffer.
8754         (ruby-smie-rules): Use it.
8755         (ruby-smie-rules): Check if there's a ":" before a curly block
8756         opener candidate; if there is, it's a hash.
8758 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8760         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
8761         (cl--block-wrapper): Fix last accidental change.
8763 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
8765         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8766         Instrument, in order to hunt failure on hydra.
8768 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8770         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
8771         malformed bindings form (bug#15814).
8773 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
8775         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
8776         "." compared to " @ ".  This incidentally fixes some indentation
8777         examples with "do".
8778         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
8779         (ruby-smie-grammar): New tokens: "and" and "or".
8780         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
8781         Exclude "and" and "or".  Remove "do" in order to work around token
8782         priorities.
8783         (ruby-smie-rules): Add all infix tokens.  Handle the case of
8784         beginning-of-buffer.
8786 2013-11-06  Glenn Morris  <rgm@gnu.org>
8788         * Makefile.in (setwins_almost, setwins_for_subdirs):
8789         Avoid accidental matches.
8791 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8793         * menu-bar.el (popup-menu): Use key-binding.
8795 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
8797         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
8798         menus, support also the menus produced by minor modes.
8799         (Bug#15817)
8801 2013-11-06  Leo Liu  <sdl.web@gmail.com>
8803         * thingatpt.el (thing-at-point-looking-at): Add optional arg
8804         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
8806 2013-11-06  Glenn Morris  <rgm@gnu.org>
8808         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
8809         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
8810         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
8812 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8814         * electric.el (electric-indent-just-newline): New command.
8815         (electric-indent-mode-map): New keymap.
8816         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
8817         Re-add :group which weren't redundant.
8819         * electric.el (electric-indent-local-mode): New minor mode.
8820         (electric-indent-functions-without-reindent): New var.
8821         (electric-indent-post-self-insert-function): Use it.
8822         * emacs-lisp/gv.el (buffer-local-value): Add setter.
8824 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
8826         * international/quail.el (quail-help): Be more explicit about the
8827         meaning of the labels shown on the keys.  (Bug#15800)
8829         * startup.el (normal-top-level): Load the subdirs.el files before
8830         setting the locale environment.  (Bug#15805)
8832 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8834         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
8835         via arguments so as to get the right ones (bug#15418).
8837         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
8839 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
8841         Fix problems found while writing a test suite.
8843         * net/tramp-compat.el (tramp-compat-load): New defun.
8844         * net/tramp.el (tramp-handle-load): Use it.
8846         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
8847         "(numberp ok-if-already-exists)" correctly.
8849 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
8851         * international/characters.el (glyphless-char-display-control):
8852         Add usage note.
8854 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
8856         * progmodes/python.el (python-mode):
8857         * progmodes/scheme.el (scheme-mode):
8858         * progmodes/prolog.el (prolog-mode):
8859         * progmodes/ruby-mode.el (ruby-mode):
8860         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
8861         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
8863 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8865         * rect.el (rectangle--highlight-for-redisplay):
8866         * emacs-lisp/smie.el (smie--next-indent-change):
8867         Use buffer-chars-modified-tick.
8869         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
8871         * electric.el (electric-indent-post-self-insert-function):
8872         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
8874 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
8876         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
8878 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8880         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
8881         (bug#15786).
8883 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8885         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
8887         * progmodes/python.el: Fix up last change.
8888         (python-shell--save-temp-file): New function.
8889         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
8890         `string' comes from the current buffer.
8891         (python-shell-send-string-no-output): Remove `msg' arg.
8892         (python--use-fake-loc): New var.
8893         (python-shell-buffer-substring): Obey it.  Try to compensate for the
8894         extra coding line added by python-shell--save-temp-file.
8895         (python-shell-send-region): Use python-shell--save-temp-file and
8896         python-shell-send-file directly.  Add `nomain' argument.
8897         (python-shell-send-buffer): Use python-shell-send-region.
8898         (python-electric-pair-string-delimiter): New function.
8899         (python-mode): Use it.
8901 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
8903         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
8904         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
8905         environment and decoding all of the default-directory's to here
8906         from command-line.
8907         (command-line): Decode also argv[0].
8909         * loadup.el: Error out if default-directory is a multibyte string
8910         when we are dumping.
8912         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
8914 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
8916         * emacs-lisp/package.el (package-menu-mode)
8917         (package-menu--print-info, package-menu--archive-predicate):
8918         Add Archive column to package list.
8920 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
8922         Fix problems found while writing a test suite.
8924         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
8925         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
8926         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
8927         to nil when running original file name handler.  Otherwise,
8928         there are problems with constructs like "$$FOO".
8930         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
8931         for `localname'.
8933 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
8935         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
8937         * subr.el (version<, version<=, version=):
8938         Update docstrings with information for snapshot versions.
8940         * helpers.el: New library for misc helper functions.
8941         (hash-table-keys): New function returning a list of hash keys.
8942         (hash-table-values): New function returning a list of hash values.
8944 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
8946         * progmodes/ruby-mode.el (ruby-smie--forward-token)
8947         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
8949 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
8951         * textmodes/fill.el (fill-single-char-nobreak-p): New function
8952         checking whether point is after a 1-letter word.
8954 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
8956         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
8957         Don't infloop when expanding region over `multiline' syntax-type that
8958         begins a line (bug#15778).
8960 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8962         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
8963         Make it into a proper minor mode.
8964         (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
8965         (rectangle-mark-mode-map): New keymap.
8966         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
8968 2013-11-04  Glenn Morris  <rgm@gnu.org>
8970         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
8972 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8974         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
8975         (ruby-smie-rules): Use smie-rule-parent instead.
8977         * emacs-lisp/smie.el (smie-rule-parent): Always call
8978         smie-indent-virtual rather than only for hanging tokens.
8979         (smie--next-indent-change): New helper command.
8981 2013-11-03  Glenn Morris  <rgm@gnu.org>
8983         * Makefile.in (abs_srcdir): Remove.
8984         (emacs): Unset EMACSLOADPATH.
8986 2013-11-02  Glenn Morris  <rgm@gnu.org>
8988         * Makefile.in (EMACS): Use a relative filename.
8989         (abs_top_builddir): Remove.
8990         (custom-deps, finder-data, autoloads): Use --chdir.
8992         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
8994         Use relative filenames in TAGS files.
8995         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8996         (lisptagsfiles4, TAGS): Use relative file names.
8997         (TAGS-LISP): Remove.
8998         (maintainer-clean): No more TAGS-LISP file.
9000         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9001         (lisptagsfiles4): Use absolute filenames again.
9002         (TAGS, TAGS-LISP): Not everything needs to run in one line.
9003         Remove all *loaddefs files, not just the first.  Remove esh-groups.
9004         (maintainer-clean): Delete TAGS, TAGS-LISP.
9006 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
9008         * emacs-lisp/package.el (package-version-join):
9009         Recognize snapshot versions.
9011 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
9013         * subr.el (version-regexp-alist): Add support for snapshot versions.
9015 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
9017         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
9018         New function, replacement for `smie-rule-parent' for when we want to
9019         skip over our direct parent if it's an assignment token..
9020         (ruby-smie-rules): Use it.
9022 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
9024         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
9025         unconditionally.  Remove now unnecessary forward declarations.
9026         Remove XEmacs-specific setup.
9027         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
9028         (ruby-font-lock-syntactic-keywords)
9029         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
9030         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
9031         (ruby-here-doc-end-syntax): Remove.
9032         (ruby-mode): Don't check whether `syntax-propertize-rules' is
9033         defined as function.
9035 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
9037         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
9039 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
9041         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
9042         table and abbrev table, `define-derived-mode' does that for us
9043         anyway.
9045 2013-11-01  Glenn Morris  <rgm@gnu.org>
9047         * Makefile.in: Remove manual mh-e dependencies (writing .elc
9048         files is atomic for some time, so no parallel compilation issues).
9050 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
9052         * faces.el (face-x-resources): Add :distant-foreground.
9053         (region): Use :distant-foreground for gtk and ns.
9055 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
9057         Allow multiple bibliographies when BibLaTeX is used rather than
9058         BibTeX.
9059         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
9060         (reftex-locate-bibliography-files): Us it.
9062 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
9064         * image.el (image-type-header-regexps): Fix the 'pbm' part to
9065         allow comments in pbm files.
9067         * term/w32-win.el (dynamic-library-alist): Support newer versions
9068         of libjpeg starting with v7: look only for the DLL from the
9069         version against which Emacs was built.
9070         Support versions of libpng beyond 1.4.x.
9071         Support libtiff v4.x.
9073 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
9075         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
9076         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
9077         Add property :safe.
9078         (ruby-deep-arglist): Add property :type.
9080 2013-10-31  Glenn Morris  <rgm@gnu.org>
9082         * Makefile.in (custom-deps, finder-data): No need to setq the target
9083         variables, we are in the right directory and the defaults work fine.
9085 2013-10-30  Glenn Morris  <rgm@gnu.org>
9087         * Makefile.in (autoloads): Do not use abs_lisp.
9089         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9090         `newline' does not respect `standard-output', so use `princ'.
9092 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
9094         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
9095         * buff-menu.el (Buffer-menu--unmark): New function.
9096         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
9098 2013-10-30  Glenn Morris  <rgm@gnu.org>
9100         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
9102         * emacs-lisp/package.el (lm-homepage): Declare.
9104         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
9105         Fix doc typos.
9107         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
9109         * Makefile.in (finder-data, autoloads, update-subdirs)
9110         (compile-main, compile-clean, compile-always, bootstrap-clean):
9111         Check return value of cd.
9112         (compile-calc): Remove.
9114 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9116         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
9118         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
9119         (byte-compile-and-folded): New function.
9120         (=, <, >, <=, >=): Use it.
9122         * dos-w32.el (minibuffer-history-case-insensitive-variables)
9123         (path-separator, null-device, buffer-file-coding-system)
9124         (lpr-headers-switches): Check system-type before modifying them.
9125         (find-buffer-file-type-coding-system): Mark obsolete.
9126         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
9127         find-file-not-found-set-buffer-file-coding-system.
9128         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
9129         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
9130         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
9131         (w32-direct-print-region-helper, w32-direct-print-region-function)
9132         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
9133         * startup.el (normal-top-level-add-subdirs-to-load-path):
9134         * ps-print.el (ps-print-region-function):
9135         * lpr.el (print-region-function): Use new name.
9137         * subr.el (custom-declare-variable-early): Remove function.
9138         (custom-declare-variable-list): Remove var.
9139         (error, user-error): Remove `while' loop.
9140         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
9141         (user-emacs-directory-warning, locate-user-emacs-file):
9142         Move to files.el.
9143         * simple.el (read-quoted-char-radix, read-quoted-char):
9144         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
9145         Move from subr.el.
9146         * custom.el (custom-declare-variable-list): Don't process
9147         custom-declare-variable-list.
9149         * progmodes/python.el (python-shell-get-buffer): New function.
9150         (python-shell-get-process): Use it.
9151         (python-shell-send-string): Always use utf-8 and add a cookie to tell
9152         Python which encoding was used.  Don't split-string since we only care
9153         about the first line.  Return the temp-file, if applicable.
9154         (python-shell-send-region): Tell compile.el how to turn locations in
9155         the temp-file into locations in the source buffer.
9157 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9159         * subr.el (undefined): Add missing behavior from the C code for
9160         unbound keys.
9162         * rect.el: Use lexical-binding.  Add new rectangular region support.
9163         (rectangle-mark): New command.
9164         (rectangle--region): New var.
9165         (deactivate-mark-hook): Reset rectangle--region.
9166         (rectangle--extract-region, rectangle--insert-for-yank)
9167         (rectangle--highlight-for-redisplay)
9168         (rectangle--unhighlight-for-redisplay): New functions.
9169         (region-extract-function, redisplay-unhighlight-region-function)
9170         (redisplay-highlight-region-function): Use them to handle
9171         rectangular region.
9172         * simple.el (region-extract-function): New var.
9173         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
9174         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
9175         (kill-region): Replace obsolete `yank-handler' arg with `region'.
9176         (copy-region-as-kill, kill-ring-save): Add `region' argument.
9177         (redisplay-unhighlight-region-function)
9178         (redisplay-highlight-region-function): New vars.
9179         (redisplay--update-region-highlight): New function.
9180         (pre-redisplay-function): Use it.
9181         (exchange-point-and-mark): Don't deactivate the mark before
9182         reactivate-it anyway.
9183         * comint.el (comint-kill-region): Remove yank-handler argument.
9184         * delsel.el (delete-backward-char, backward-delete-char-untabify)
9185         (delete-char): Remove property, since it's now part of their
9186         default behavior.
9187         (self-insert-iso): Remove property since this command doesn't exist.
9189         * emacs-lisp/package.el (package--download-one-archive)
9190         (describe-package-1): Don't query the user about final newline.
9192 2013-10-29  Daniel Colascione  <dancol@dancol.org>
9194         * net/tramp.el (tramp-methods): Document new functionality.
9195         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
9196         tramp-hostname-checker if method provides one instead of scanning
9197         argument list for "%h" to decide hostname acceptability.
9199 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
9201         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9202         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9203         Handle COPY-CONTENTS.  (Bug#15737)
9205 2013-10-28  Daiki Ueno  <ueno@gnu.org>
9207         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
9208         Document that this option has no effect with GnuPG 2.0 (bug#15552).
9210 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
9212         * image.el (defimage, image-load-path): Doc fixes.
9214 2013-10-27  Alan Mackenzie  <acm@muc.de>
9216         Indent statements in macros following "##" correctly.
9217         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9218         Modify the "#" arm of a cond form to handle "#" and "##" operators.
9220 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
9222         * linum.el (linum-update-window): Fix boundary test (bug#13446).
9224 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
9226         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
9227         after `=' is probably a new expression.
9229 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9231         * man.el (man-imenu-title): New option.
9232         (Man-mode-map): Add menu.  (Bug#15722)
9233         (Man-mode): Add imenu to menu.
9235 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
9237         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
9238         specific in what the first arg can be: a non-keyword word,
9239         string/regexp/percent literal opener, opening paren, or unary
9240         operator followed directly by word.
9242 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9244         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
9245         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
9246         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
9247         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
9248         Remove vars, they do not apply any more.
9249         (prolog-mode-abbrev-table): Remove redundant declaration.
9250         (prolog-upper-case-string, prolog-lower-case-string): Remove.
9251         (prolog-use-smie): Remove.
9252         (prolog-smie-rules): Add indentation rule for the if-then-else layout
9253         supported by prolog-electric-if-then-else-flag.
9254         (prolog-mode-variables, prolog-menu): Use setq-local.
9255         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
9256         Remove binding to `Backspace' since this key doesn't exist anyway.
9257         Remove bindings for electric self-inserting keys.
9258         (prog-mode): Assume it's defined.
9259         (prolog-post-self-insert): New function.
9260         (prolog-mode): Use it.
9261         (prolog-indent-line, prolog-indent-level)
9262         (prolog-find-indent-of-matching-paren)
9263         (prolog-indentation-level-of-line, prolog-goto-comment-column)
9264         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
9265         (prolog-goto-next-paren, prolog-in-string-or-comment)
9266         (prolog-tokenize, prolog-inside-mline-comment)
9267         (prolog-find-start-of-mline-comment): Remove functions.
9268         (prolog-find-unmatched-paren, prolog-clause-end)
9269         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
9270         (prolog-electric--if-then-else): Rename from
9271         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
9272         (prolog-tokenize-searchkey): Remove const.
9273         (prolog-clause-info): Use forward-sexp.
9274         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
9275         (prolog-electric-if-then-else): Remove commands.
9276         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
9277         for use in post-self-insert-hook.
9278         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
9279         for use in post-self-insert-hook.
9280         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
9281         for use in post-self-insert-hook.
9282         (prolog-electric--underscore): Rename from prolog-electric--underscore;
9283         adapt it for use in post-self-insert-hook.
9285 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
9287         * emacs-lisp/ert.el (ert-run-tests-interactively):
9288         Use `completing-read'.  (Bug#9756)
9290 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
9292         * simple.el (line-move): Call line-move-1 instead of
9293         line-move-visual when the current window hscroll is zero, but
9294         temporary-goal-column indicates we will need to hscroll as result
9295         of the movement.  (Bug#15712)
9297 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
9299         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
9300         capitalization.  Use :visible instead of :active.
9301         Fix `ruby-indent-exp' reference.  Add menu items for the generic
9302         commands that are used with SMIE.
9303         (ruby-do-end-to-brace): Insert space after `{'.
9305 2013-10-25  John Anthony  <john@jo.hnanthony.com>
9307         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
9309         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
9311 2013-10-25  Glenn Morris  <rgm@gnu.org>
9313         * vc/vc.el (vc-print-log): Don't use a working revision unless
9314         one was explicitly specified.  (Bug#15322)
9316 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9318         * subr.el (add-to-list): Preserve return value in compiler-macro
9319         (bug#15692).
9321 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9323         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
9324         result.  Ask user to retry using '-all' flag.  (Bug#15701)
9326 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9328         * emacs-lisp/smie.el: New smie-config system.
9329         (smie-config): New defcustom.
9330         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
9331         (smie-config-guess, smie-config-save): New commands.
9332         (smie-config--mode-local, smie-config--buffer-local)
9333         (smie-config--trace, smie-config--modefuns): New vars.
9334         (smie-config--advice, smie-config--mode-hook)
9335         (smie-config--setter, smie-config-local, smie-config--get-trace)
9336         (smie-config--guess-value, smie-config--guess): New functions.
9337         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
9338         text properties.  Treat "string fence" syntax like string syntax.
9340         * progmodes/sh-script.el (sh-use-smie): Change default.
9341         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
9342         (sh-var-value): Simplify by CSE.
9343         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
9344         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
9345         is used.
9346         (sh-guess-basic-offset): Use cl-incf.
9347         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
9349 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
9351         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
9352         (bug#15699).
9354 2013-10-24  Glenn Morris  <rgm@gnu.org>
9356         * Makefile.in (abs_top_srcdir): Remove.
9357         (update-subdirs): Use relative path to update-subdirs.
9359 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
9361         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
9362         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
9363         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
9364         Call unmsys--file-name before expand-file-name, not after it.
9366 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
9368         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
9369         (ert-test-skipped): New error.
9370         (ert-skip, ert-stats-skipped): New defuns.
9371         (ert--skip-unless): New macro.
9372         (ert-test-skipped): New struct.
9373         (ert--run-test-debugger, ert-test-result-type-p)
9374         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
9375         (ert--stats-set-test-and-result, ert-char-for-test-result)
9376         (ert-string-for-test-result, ert-run-tests-batch)
9377         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
9378         Handle skipped tests.  (Bug#9803)
9380 2013-10-24  Glenn Morris  <rgm@gnu.org>
9382         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
9384         * Makefile.in (abs_top_srcdir): New, set by configure.
9385         (update-subdirs): Correct build-aux location.
9387 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
9389         * vc/vc.el (vc-print-root-log): Always set `default-directory'
9390         value, whether we could auto-deduce `backend', or not.
9392         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
9393         with parameters" example.  Simplify the "is it block or is it
9394         hash" check, but also make it more thorough.
9396 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
9398         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
9400 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9402         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
9403         { if it is hanging.
9405         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
9406         :before ";".
9408 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
9410         * progmodes/compile.el (compilation-directory-matcher)
9411         (compilation-page-delimiter):
9412         Support GNU Make-4.0 directory quoting.  (Bug#15678)
9414 2013-10-23  Leo Liu  <sdl.web@gmail.com>
9416         * ido.el (ido-tidy): Handle read-only text.
9418 2013-10-23  Glenn Morris  <rgm@gnu.org>
9420         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
9421         (emacs, compile, compile-always):
9422         Quote entities that might contain whitespace.
9423         (custom-deps, finder-data, autoloads): Use abs_lisp.
9424         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9425         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9426         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
9428 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
9430         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
9431         Use `following-char'.
9433 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9435         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
9436         * progmodes/ruby-mode.el (ruby-smie-rules):
9437         Remove corresponding workaround.  Fix indentation rule of ";" so it
9438         also applies when ";" is the parent.
9440 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
9442         * frame.el (display-screens, display-pixel-height)
9443         (display-pixel-width, display-mm-width, display-backing-store)
9444         (display-save-under, display-planes, display-color-cells)
9445         (display-visual-class, display-monitor-attributes-list):
9446         Mention the optional ‘display’ argument in doc strings.
9448 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
9450         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
9451         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
9453 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
9455         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
9456         TODO.  Add "." after " @ ".
9457         (ruby-smie--at-dot-call): New function.  Checks if point at method
9458         call with explicit target.
9459         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
9460         to the method name tokens when it precedes them.
9461         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
9462         (ruby-smie-rules): Add rule for indentation before and after "."
9463         token.
9465 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9467         * textmodes/remember.el (remember-diary-extract-entries):
9468         Avoid add-to-list.
9470         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
9471         an instruction.
9473 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
9475         * progmodes/ruby-mode.el (ruby-smie-grammar):
9476         Add (almost) all infix operators.
9477         (ruby-smie--implicit-semi-p): Add new operator chars.
9479         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9480         `smie-down-list'.
9481         (ruby-smie--args-separator-p): Check that there's no newline
9482         between method call and its arguments.
9484 2013-10-20  Alan Mackenzie  <acm@muc.de>
9486         Allow comma separated lists after Java "implements".
9488         * progmodes/cc-engine.el (c-backward-over-enum-header):
9489         Parse commas.
9490         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
9491         from a "disallowed" list in enum fontification.
9493 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
9495         * startup.el (default-frame-background-mode): Remove unused defvar.
9497         * progmodes/verilog-mode.el (verilog-mode): Don't set
9498         comment-indent-function globally.
9500 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
9502         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
9503         Move Info menu item creation to ns-win.el.
9505         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
9506         in menu bar.
9508         * menu-bar.el: Move GNUstep specific menus...
9510         * term/ns-win.el (ns-initialize-window-system): ... to here.
9512 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9514         * simple.el (newline): Only run post-self-insert-hook when
9515         called interactively.
9517 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
9519         * icomplete.el (icomplete-with-completion-tables): Add :version.
9521 2013-10-19  Alan Mackenzie  <acm@muc.de>
9523         Fix fontification bugs with constructors and const.
9525         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
9526         CASE 2) Remove the check for the absence of a suffix construct
9527         after a function declaration with only types (no identifiers) in
9528         the parentheses.  Also, accept a function declaration with just a
9529         type inside the parentheses, if this type can be positively
9530         recognised as such, or if a prefix keyword like "explicit" nails
9531         down the construct as a declaration.
9533 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
9535         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
9536         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
9537         the problem whereby selecting a menu item that leads to a
9538         minibuffer prompt moves the cursor out of the minibuffer window,
9539         making it hard to type at the prompt.  Suggested by Stefan Monnier
9540         <monnier@iro.umontreal.ca>.
9542 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
9544         * menu-bar.el: Don't make Services menu.
9546 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9548         * ffap.el: Handle "/usr/include/c++/<version>" directories.
9549         (ffap-alist): Use ffap-c++-mode for c++-mode.
9550         (ffap-c++-path): New variable.
9551         (ffap-c++-mode): New function.
9553 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
9555         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
9557 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
9559         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
9560         introduced on 2013-09-08, which results in an infinite loop
9561         requesting a password.
9563 2013-10-18  Glenn Morris  <rgm@gnu.org>
9565         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
9567 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
9569         Sync with upstream verilog-mode revision 1a6ecec7.
9570         * progmodes/verilog-mode.el (verilog-mode-version): Update.
9571         (verilog-mode-release-date): Remove.
9572         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
9573         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
9574         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
9575         (verilog-auto-tieoff-ignore-regexp)
9576         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
9577         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
9578         (verilog-signals-with, verilog-dir-cache-preserving)
9579         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
9580         Doc fixes.
9581         (verilog-case-fold): New option, to control case folding in
9582         regexp searches, bug597.
9583         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
9584         (verilog-string-match-fold, verilog-in-paren-count)
9585         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
9586         (verilog-at-close-struct-p): New functions.
9587         (verilog-beg-block-re-ordered, verilog-extended-case-re)
9588         (verilog-forward-sexp, verilog-set-auto-endcomments)
9589         (verilog-leap-to-case-head): Handle "unique0" case.
9590         (verilog-in-constraint-re): New constant.
9591         (verilog-keywords, verilog-type-font-keywords):
9592         Add some SystemVerilog 1800-2012 keywords.
9593         (verilog-label-be): Remove unimplemented argument, bug669.
9594         (verilog-batch-execute-func): When batch expanding clear
9595         create-lockfiles to prevent spurious user locks when a file ends
9596         up not changing.
9597         (verilog-calculate-indent, verilog-calc-1)
9598         (verilog-at-close-constraint-p, verilog-at-constraint-p)
9599         (verilog-do-indent): Fix indentation of nested constraints
9600         and structures.
9601         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
9602         (verilog-auto-inst-param): Use verilog-string-match-fold.
9603         (verilog-read-inst-module-matcher):
9604         Fix AUTOINST on gate primitives with #1.
9605         (verilog-read-decls): Fix double-declaring user-defined typed signals.
9606         Reads all user-defined typed variables.
9607         (verilog-read-defines): Fix reading definitions inside comments, bug647.
9608         (verilog-signals-matching-regexp)
9609         (verilog-signals-not-matching-regexp, verilog-auto):
9610         Respect verilog-case-fold.
9611         (verilog-diff-report): Fix line count.
9612         (verilog-auto-assign-modport): Remove unused local `modi'.
9613         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
9614         better handle multidimensional arrays.
9615         Fix packed array ports misadding bit index in AUTOINST, bug637.
9616         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
9617         to not double-declare existing outputs and inputs, respectively.
9618         (verilog-template-map): Bind U to verilog-sk-uvm-component.
9619         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
9620         (verilog-sk-uvm-component): New skeleton.
9621         (verilog-submit-bug-report): Add verilog-case-fold,
9622         remove verilog-mode-release-date.
9624 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
9626         * subr.el (sit-for): Call (input-pending-p t) so as to behave
9627         as before.
9629 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
9631         * textmodes/remember.el (remember): Set buffer-offer-save in
9632         remember buffers (bug#13566).
9634 2013-10-18  Daniel Colascione  <dancol@dancol.org>
9636         When evaluating forms in ielm, direct standard output to ielm
9637         buffer.  Add new ielm-return-for-effect command.  Remove trailing
9638         whitespace throughout.
9640         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
9641         (ielm-return-for-effect): New command.
9642         (ielm-send-input): Accept optional `for-effect' parameter.
9643         (ielm-eval-input): Accept optional `for-effect' parameter.
9644         Bind `standard-output' to stream we create using
9645         `ielm-standard-output-impl'.  Suppress printing result when
9646         `for-effect'.
9647         (ielm-standard-output-impl): New function.
9648         (inferior-emacs-lisp-mode): Explain new features in documentation.
9650 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
9652         Code cleanup.
9654         * net/tramp.el (tramp-debug-message): Do not check for connection
9655         buffer.
9656         (tramp-message): Use "vector" connection property.
9658         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
9659         (tramp-equal-remote, tramp-eshell-directory-change)
9660         * net/tramp-adb.el (tramp-adb-handle-copy-file)
9661         (tramp-adb-handle-rename-file)
9662         * net/tramp-cmds.el (tramp-list-remote-buffers)
9663         (tramp-cleanup-connection, tramp-cleanup-this-connection)
9664         * net/tramp-compat.el (tramp-compat-process-running-p)
9665         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
9666         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
9667         (tramp-gvfs-handle-rename-file)
9668         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9669         (tramp-set-file-uid-gid)
9670         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9671         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
9672         of `file-remote-p'.
9674         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
9675         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9676         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
9677         (tramp-gw-open-network-stream): Suppress unrelated traces.
9679         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
9680         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9681         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9682         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
9683         connection property.
9685         * net/tramp-cache.el (top): Suppress traces when reading
9686         persistency file.
9688         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9689         Refactor common code.  Improve debug message.
9690         (tramp-maybe-open-connection)
9691         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
9692         connection buffer too early.
9694         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
9695         from `tramp-smb-actions-with-acl'.
9696         (tramp-smb-actions-set-acl): New defconst.
9697         (tramp-smb-handle-copy-directory)
9698         (tramp-smb-action-get-acl): New defun, renamed from
9699         `tramp-smb-action-with-acl'.
9700         (tramp-smb-action-set-acl): New defun.
9701         (tramp-smb-handle-set-file-acl): Rewrite.
9703 2013-10-17  Glenn Morris  <rgm@gnu.org>
9705         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
9707 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9709         * skeleton.el (skeleton-newline): Remove.
9710         (skeleton-internal-1): Use (insert "\n") instead.
9712         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
9713         let-bindings.
9715         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
9716         forward-sexp-function while we redo its job (bug#15613).
9718 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
9720         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
9721         represented by lists.
9723 2013-10-16  Glenn Morris  <rgm@gnu.org>
9725         * tmm.el (tmm--history): New dynamic variable.
9726         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
9728 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
9730         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
9731         (tramp-smb-errors): Add error messages.
9732         (tramp-smb-actions-with-acl): New defconst.
9733         (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
9734         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
9735         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
9736         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
9737         (tramp-smb-get-stat-capability): Fix tests.
9739 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
9741         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
9742         (bug#15580).
9744 2013-10-16  Glenn Morris  <rgm@gnu.org>
9746         * ansi-color.el (ansi-color-drop-regexp):
9747         Add 1J, 1K, 2K.  (Bug#15617)
9749         * files.el (hack-local-variables--warned-lexical): New.
9750         (hack-local-variables):
9751         Warn about misplaced lexical-binding.  (Bug#15616)
9753         * net/eww.el (eww-render): Always set eww-current-url,
9754         and update header line.  (Bug#15622)
9755         (eww-display-html): ... Rather than just doing it here.
9757 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
9759         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
9760         menu navigations commands.
9762 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
9764         * progmodes/subword.el (subword-capitalize): Be careful when
9765         the search for [[:alpha:]] fails (bug#15580).
9767 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
9769         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
9770         to commands that scroll the menu.
9772 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
9774         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
9775         Handle methods ending with `?' and `!'.
9777 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
9779         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
9780         `japanese-cp932' to `cp932' to fix the problem where saving a
9781         source file written in Shift_JIS twice would end up having
9782         `coding: japanese-cp932' which Ruby could not recognize.
9783         (ruby-mode-set-encoding): Add support for encodings mapped to nil
9784         in `ruby-encoding-map'.
9785         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
9786         doesn't need to be explicitly declared in magic comment.
9787         (ruby-encoding-map): Add type declaration for better customize UI.
9789 2013-10-13  Glenn Morris  <rgm@gnu.org>
9791         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
9792         Occur buffers are read-only.  http://bugs.debian.org/720775
9794         * emacs-lisp/authors.el (authors-fixed-entries):
9795         Comment out old alpha stuff.
9797 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
9799         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
9800         to `after-save-hook' instead of `before-save-hook'.
9801         (ruby-mode-set-encoding): Use the value of coding system used to
9802         write the file.  Call `basic-save-buffer-1' after modifying the
9803         buffer.
9805 2013-10-13  Alan Mackenzie  <acm@muc.de>
9807         Fix indentation/fontification of Java enum with
9808         "implements"/generic.
9810         * progmodes/cc-engine.el (c-backward-over-enum-header):
9811         Extracted from the three other places and enhanced to handle generics.
9812         (c-inside-bracelist-p): Uses new function above.
9813         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
9814         function above.
9815         (c-font-lock-enum-tail): Uses new function above.
9817 2013-10-13  Kenichi Handa  <handa@gnu.org>
9819         * international/mule-cmds.el (select-safe-coding-system): Remove a
9820         superfluous condition in chekcing whether a coding system is safe
9821         or not.
9823 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
9825         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
9827 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
9829         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
9831 2013-10-13  Glenn Morris  <rgm@gnu.org>
9833         * menu-bar.el (menu-bar-update-buffers):
9834         Unify Buffers menu prompt string.  (Bug#15576)
9836         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
9838         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
9839         Add some entries.
9840         (authors-fixed-entries): Use accented form of name.
9842 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9844         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
9845         method calls (bug#15594).
9846         (ruby-smie--args-separator-p): New function.
9847         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
9848         recognize paren-free method calls.
9850         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
9851         internals of universal-argument.
9853 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
9855         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
9856         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
9857         dropped menu on second mouse click on the menu bar.
9859 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9861         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
9862         (explicit-shell-file-name): Declare.
9863         (sh--vars-before-point, sh--cmd-completion-table): New functions.
9864         (sh-completion-at-point-function): New function.
9865         (sh-mode): Use it.
9866         (sh-smie--keyword-p): Remove unused argument.
9867         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
9868         vars.
9869         (sh-set-shell): Always setup SMIE, even if we use the
9870         old indentation code.
9872 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
9874         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
9875         cases of ? and =.
9876         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
9877         predicate would return nil are almost non-existent.
9878         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
9880         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
9881         cache also after commands that modify the buffer but don't move
9882         point.
9884 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9886         * env.el (substitute-env-in-file-name): New function.
9887         (substitute-env-vars): Extend the meaning of the optional arg.
9889 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
9891         * term/w32-win.el (dynamic-library-alist): Define separate lists
9892         of GIF DLLs for versions before and after 5.0.0 of giflib.
9893         (Bug#15531)
9895 2013-10-10  João Távora  <joaotavora@gmail.com>
9897         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
9898         not locked, use last revision and current source as
9899         defaults.  (Bug#15569)
9901 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
9903         * menu-bar.el (menu-bar-open): Don't use popup-menu if
9904         menu-bar is hidden.
9906 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
9908         * window.el (pop-to-buffer-same-window): Fix doc-string.
9909         (Bug#15492)
9911 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9913         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
9915 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
9917         * calendar/icalendar.el (icalendar-import-file):
9918         Fix interactive spec.  (Bug#15482)
9920 2013-10-10  Glenn Morris  <rgm@gnu.org>
9922         * desktop.el (desktop-save): Default to saving in .emacs.d,
9923         since PWD is no longer in desktop-path by default.  (Bug#15319)
9925         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
9926         now that text mode has a menu with the same entry.
9927         (menu-bar-text-mode-auto-fill): Remove now unused func.
9928         * textmodes/text-mode.el (text-mode-map):
9929         Use auto-fill help text from menu-bar.el.
9931 2013-10-10  John Anthony  <john@jo.hnanthony.com>
9933         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
9935 2013-10-09  Juri Linkov  <juri@jurta.org>
9937         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
9938         instead of this-command-keys.  Add universal-argument-more and
9939         universal-argument-minus to the list of prefix commands.  (Bug#15568)
9941 2013-10-09  Glenn Morris  <rgm@gnu.org>
9943         * vc/vc-svn.el (vc-svn-create-repo):
9944         Expand paths in file://... url.  (Bug#15446)
9946         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
9947         Add some entries.
9948         (authors): Remove unused local variables.
9950 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9952         * profiler.el: Create a more coherent calltree from partial backtraces.
9953         (profiler-format): Hide the tail with `invisible' so that C-s can still
9954         find the hidden elements.
9955         (profiler-calltree-depth): Don't recurse so enthusiastically.
9956         (profiler-function-equal): New hash-table-test.
9957         (profiler-calltree-build-unified): New function.
9958         (profiler-calltree-build): Use it.
9959         (profiler-report-make-name-part): Indent the calltree less.
9960         (profiler-report-mode): Add visibility specs for profiler-format.
9961         (profiler-report-expand-entry, profiler-report-toggle-entry):
9962         Expand the whole subtree when provided with a prefix arg.
9964 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
9966         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
9967         iuwu-mod token.
9968         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
9969         hanging iuwu-mod token.
9970         (ruby-smie--forward-token): Do not include a dot after a token in
9971         that token.
9972         (ruby-smie--backward-token): Likewise.
9974 2013-10-08  Juri Linkov  <juri@jurta.org>
9976         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
9977         to isearch-other-control-char.
9978         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
9979         and isearch-post-command-hook to post-command-hook.
9980         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
9981         and isearch-post-command-hook from post-command-hook.
9982         (isearch-unread-key-sequence)
9983         (isearch-reread-key-sequence-naturally)
9984         (isearch-lookup-scroll-key, isearch-other-control-char)
9985         (isearch-other-meta-char): Remove functions.
9986         (isearch-pre-command-hook, isearch-post-command-hook):
9987         New functions based on isearch-other-meta-char rewritten
9988         relying on the new behavior of overriding-terminal-local-map
9989         that does not replace the local keymaps any more.  (Bug#15200)
9991 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
9993         Support menus on text-mode terminals.
9994         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
9995         functionality.
9997         * tooltip.el (tooltip-mode): Don't error out on TTYs.
9999         * menu-bar.el (popup-menu, popup-menu-normalize-position):
10000         Move here from mouse.el.
10001         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
10002         and arrow keys.
10003         (tty-menu-navigation-map): New map for TTY menu navigation.
10005         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
10007         * frame.el (display-mouse-p): Report text-mode mouse as available
10008         on w32.
10009         (display-popup-menus-p): Report availability if mouse is
10010         available; don't condition on window-system.
10012         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
10013         (tty-menu-selected-face): New faces.
10015 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10017         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
10018         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
10019         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
10020         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
10021         New constants.
10022         (lisp-mode-variables): New `elisp' argument.
10023         (emacs-lisp-mode): Use it.
10024         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
10025         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
10027         * indent.el: Use lexical-binding.
10028         (indent-region): Add progress reporter.
10029         (tab-stop-list): Make it implicitly extend to infinity by repeating the
10030         last step.
10031         (indent--next-tab-stop): New function to implement this behavior.
10032         (tab-to-tab-stop, move-to-tab-stop): Use it.
10034 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
10036         * indent.el (indent-rigidly--current-indentation): New function.
10037         (indent-rigidly-map): New var.
10038         (indent-rigidly): Use it to provide interactive mode (bug#8196).
10040 2013-10-08  Bastien Guerry  <bzg@gnu.org>
10042         * register.el (insert-register): Fix 2013-10-07 change.
10044 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10046         * progmodes/perl-mode.el: Use lexical-binding.
10047         Remove redundant :group args.
10048         (perl-nochange): Change default to be closer to other major modes's
10049         standard behavior.
10050         (perl-indent-line): Don't consider text on current line as a
10051         valid beginning of function from which to indent.
10053         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
10054         with more than one argument (bug#15538).
10056         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
10058         * vc/pcvs.el: Use lexical-binding.
10059         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
10060         environment of `eval'.
10061         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
10062         than a list of expressions.  Adjust callers.
10063         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
10065 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
10067         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
10068         case of the dot in a chained method call being on the following line.
10070 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10072         * electric.el (electric-indent-inhibit): New var.
10073         (electric-indent-post-self-insert-function): Use it.
10074         * progmodes/python.el (python-mode): Set it.
10076         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
10077         open braces.
10079         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
10081         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
10082         (css-mode): Use electric-indent-chars.
10084         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
10085         (font-lock-beg, font-lock-end): Move before first use.
10086         (nxml-mode): Use syntax-propertize-function.
10087         (nxml-after-change, nxml-after-change1): Adjust accordingly.
10088         (nxml-extend-after-change-region): Remove.
10089         * nxml/xmltok.el: Use lexical-binding.
10090         (xmltok-save): Use `declare'.
10091         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
10092         * nxml/nxml-util.el: Use lexical-binding.
10093         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
10094         Use `declare'.
10095         * nxml/nxml-ns.el: Use lexical-binding.
10096         (nxml-ns-save): Use `declare'.
10097         (nxml-ns-prefixes-for): Avoid add-to-list.
10098         * nxml/rng-match.el: Use lexical-binding.
10099         (rng--ipattern): Use cl-defstruct.
10100         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
10101         (rng-cons-group-after, rng-subst-group-after)
10102         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
10103         Use closures instead of `(lambda...).
10105 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
10107         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
10108         of BEG and END.
10110         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10111         Use `tramp-handle-insert-file-contents'.
10112         (tramp-gvfs-handle-insert-file-contents): Remove function.
10114         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10115         Use `save-restriction' in order to keep markers.
10117         * net/trampver.el: Update release number.
10119 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10121         * progmodes/compile.el (compilation-parse-errors):
10122         Use compilation--put-prop.
10123         (compilation--ensure-parse): Check compilation-multiline.
10125         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
10127         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
10128         lexical-binding.
10130         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
10132         * progmodes/ruby-mode.el: Fix recently added tests.
10133         (ruby-smie-grammar): Add - and +.
10134         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
10135         (ruby-smie--backward-id): New functions.
10136         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
10137         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
10138         any more.
10140 2013-10-07  Leo Liu  <sdl.web@gmail.com>
10142         * register.el (register-preview-delay)
10143         (register-preview-functions): New variables.
10144         (register-read-with-preview, register-preview)
10145         (register-describe-oneline): New functions.
10146         (point-to-register, window-configuration-to-register)
10147         (frame-configuration-to-register, jump-to-register)
10148         (number-to-register, view-register, insert-register)
10149         (copy-to-register, append-to-register, prepend-to-register)
10150         (copy-rectangle-to-register): Use register-read-with-preview to
10151         read register.  (Bug#15525)
10153 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
10155         * net/network-stream.el (network-stream-open-starttls): Don't add
10156         --insecure if it's already present, because that gnutls-cli
10157         rejects getting that parameter twice.
10159 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
10161         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
10162         keyword, too.
10164 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
10166         * newcomment.el (comment-use-global-state): Change default value
10167         to t, mark obsolete (Bug#15251).
10168         (comment-beginning): In addition to `comment-to-syntax', check the
10169         value of `comment-use-global-state'.
10171 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10173         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
10174         (ruby-comment-column): Follow the global default, by default.
10175         (ruby-smie-grammar): Add assignment syntax.
10176         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
10177         open-paren, a comma, or a \.
10178         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
10179         and line continuations.
10180         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
10181         followed by implicit semi-colons.  Add rule for string concatenation
10182         and for indentation at BOB.
10183         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
10185         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
10186         calling next-sexp, since next-token may have skipped chars which
10187         next-sexp doesn't know should be skipped!
10189 2013-10-05  Leo Liu  <sdl.web@gmail.com>
10191         * progmodes/octave.el (octave-send-region):
10192         Call compilation-forget-errors.
10194 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
10196         * vc/vc-svn.el (vc-svn-find-admin-dir):
10197         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
10198         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
10199         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
10200         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
10202 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10204         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
10206 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10208         * subr.el (read-passwd): Hide chars even when called within a context
10209         where after-change-functions is disabled (bug#15501).
10210         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
10211         until we removed ourself from overriding-terminal-local-map.
10213 2013-10-04  Leo Liu  <sdl.web@gmail.com>
10215         * progmodes/octave.el (inferior-octave-mode):
10216         Call compilation-forget-errors.
10218 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
10220         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
10222 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
10224         * net/secrets.el (secrets-create-collection): Add optional
10225         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
10226         dbus-call-method argument.  (Bug#15516)
10228 2013-10-04  Leo Liu  <sdl.web@gmail.com>
10230         * progmodes/octave.el (inferior-octave-error-regexp-alist)
10231         (inferior-octave-compilation-font-lock-keywords): New variables.
10232         (compilation-error-regexp-alist)
10233         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
10234         (inferior-octave-mode): Use compilation-shell-minor-mode.
10236 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
10238         * minibuffer.el (completion--replace): Be careful that `end' might be
10239         a marker.
10241 2013-10-03  Daiki Ueno  <ueno@gnu.org>
10243         Add support for package signature checking.
10244         * emacs-lisp/package.el (url-http-file-exists-p)
10245         (epg-make-context, epg-context-set-home-directory)
10246         (epg-verify-string, epg-context-result-for)
10247         (epg-signature-status, epg-signature-to-string)
10248         (epg-check-configuration, epg-configuration)
10249         (epg-import-keys-from-file): Declare.
10250         (package-check-signature): New user option.
10251         (package-unsigned-archives): New user option.
10252         (package-desc): Add `signed' field.
10253         (package-load-descriptor): Set `signed' field if .signed file exists.
10254         (package--archive-file-exists-p): New function.
10255         (package--check-signature): New function.
10256         (package-install-from-archive): Check package signature.
10257         (package--download-one-archive): Check archive signature.
10258         (package-delete): Remove .signed file.
10259         (package-import-keyring): New command.
10260         (package-refresh-contents): Import default keyring.
10261         (package-desc-status): Add "unsigned" status.
10262         (describe-package-1, package-menu--print-info)
10263         (package-menu-mark-delete, package-menu--find-upgrades)
10264         (package-menu--status-predicate): Support "unsigned" status.
10266 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10268         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
10269         the new compilation scheme using the new byte-codes.
10271         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
10272         (byte-pophandler): New byte codes.
10273         (byte-goto-ops): Adjust accordingly.
10274         (byte-compile--use-old-handlers): New var.
10275         (byte-compile-catch): Use new byte codes depending on
10276         byte-compile--use-old-handlers.
10277         (byte-compile-condition-case--old): Rename from
10278         byte-compile-condition-case.
10279         (byte-compile-condition-case--new): New function.
10280         (byte-compile-condition-case): New function that dispatches depending
10281         on byte-compile--use-old-handlers.
10282         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
10283         when we can.
10285         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10286         Optimize under `condition-case' and `catch' if
10287         byte-compile--use-old-handlers is nil.
10288         (disassemble-offset): Handle new bytecodes.
10290 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10292         * subr.el (error): Use `declare'.
10293         (decode-char, encode-char): Use advertised-calling-convention instead
10294         of the docstring to discourage use of the `restriction' arg.
10296 2013-10-03  Daiki Ueno  <ueno@gnu.org>
10298         * epg.el (epg-verify-file): Add a comment saying that it does not
10299         notify verification error as a return value nor a signal.
10300         (epg-verify-string): Ditto.
10302 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
10304         * progmodes/compile.el (compilation-start): Try globbing the arg to
10305         `cd' (bug#15417).
10307 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
10309         Sync with Tramp 2.2.8.
10311         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
10312         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
10313         * net/trampver.el: Update release number.
10315 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
10317         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10318         and default-process-coding-system for darwin only.
10320 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10322         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
10324 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
10326         * vc/vc-git.el (vc-git-grep): Disable pager.
10328 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
10330         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
10331         Use :url instead of :homepage, as per
10332         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
10334         * newcomment.el (comment-beginning): When `comment-use-syntax' is
10335         non-nil, use `syntax-ppss' (Bug#15251).
10337 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10339         * progmodes/octave.el (inferior-octave-startup-file):
10340         Prefer ~/.emacs.d/init_octave.m.
10342 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
10344         * emacs-lisp/package.el (package-desc-from-define):
10345         Accept additional arguments as plist, convert them to an alist and store
10346         them in the `extras' slot.
10347         (package-generate-description-file): Convert extras alist back to
10348         plist and append to the `define-package' form arguments.
10349         (package--alist-to-plist): New function.
10350         (package--ac-desc): Add `extras' slot.
10351         (package--add-to-archive-contents): Check if the archive-contents
10352         vector is long enough, and if it is, pass its `extras' slot value
10353         to `package-desc-create'.
10354         (package-buffer-info): Call `lm-homepage', pass the returned value
10355         to `package-desc-from-define'.
10356         (describe-package-1): Render the homepage button (Bug#13291).
10358         * emacs-lisp/package-x.el (package-upload-buffer-internal):
10359         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
10361 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
10363         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10364         and default-process-coding-system to utf-8-unix (Bug#15402).
10366 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
10368         * subr.el (looking-back): Do not recommend using looking-back.
10370 2013-09-28  Alan Mackenzie  <acm@muc.de>
10372         Fix indentation/fontification of Java enum with "implements".
10374         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
10375         regexp which matches "implements", etc., in Java.
10376         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
10377         specifier clauses coming after "enum".
10378         * progmodes/cc-fonts.el (c-font-lock-declarations)
10379         (c-font-lock-enum-tail): Check for extra specifier clauses coming
10380         after "enum".
10382 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
10384         * faces.el (region): Change ns_selection_color to
10385         ns_selection_fg_color, add ns_selection_bg_color.
10387 2013-09-28  Leo Liu  <sdl.web@gmail.com>
10389         * progmodes/octave.el (inferior-octave-completion-table)
10390         (inferior-octave-completion-at-point): Minor tweaks.
10392         * textmodes/ispell.el (ispell-lookup-words): Rename from
10393         lookup-words.  (Bug#15460)
10394         (lookup-words): Obsolete.
10395         (ispell-complete-word, ispell-command-loop): All uses changed.
10397 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10399         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
10400         (octave-mode-menu): Add octave-send-buffer.
10401         (octave-send-buffer): New function.
10403 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10405         * progmodes/octave.el (octave-mode-map): Add key binding for
10406         octave-lookfor.
10407         (octave-mode-menu): Add octave-lookfor.
10408         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
10409         octave-lookfor.
10410         (octave-lookfor): New function.
10412 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10414         * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
10415         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
10416         its convention.
10417         (cl--loop-set-iterator-function): New function.
10418         (cl-loop): Adjust accordingly, so as not to use cl-subst.
10419         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
10420         Bind `it' with `let' instead of substituting it with `cl-subst'.
10421         (cl--unused-var-p): New function.
10422         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
10423         Eliminate some unused variable warnings (bug#15326).
10425 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
10427         * doc-view.el (doc-view-scale-reset): Rename from
10428         `doc-view-reset-zoom-level'.
10429         (doc-view-scale-adjust): New command.
10430         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
10431         `doc-view-scale-adjust'.
10433 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
10435         * doc-view.el (doc-view-reset-zoom-level): New command.
10436         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
10437         zoom commands (bug#15466).
10439 2013-09-26  Kenichi Handa  <handa@gnu.org>
10441         * international/quail.el (quail-help): Make it not a command.
10443 2013-09-26  Leo Liu  <sdl.web@gmail.com>
10445         * minibuffer.el (completion-all-sorted-completions): Make args
10446         optional as they are.
10448 2013-09-25  Daniel Colascione  <dancol@dancol.org>
10450         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
10451         specs are and that they're not evaluated.
10453 2013-09-24  Sam Steingold  <sds@gnu.org>
10455         * midnight.el (clean-buffer-list-kill-regexps)
10456         (clean-buffer-list-kill-buffer-names): Update for the new Man
10457         buffer naming which includes the object name.
10459 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10461         * eshell/esh-cmd.el (eshell--sep-terms): New var.
10462         (eshell-parse-command, eshell-parse-pipeline): Use it since
10463         eshell-separate-commands requires a dynamic scoped var.
10464         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
10466 2013-09-23  Leo Liu  <sdl.web@gmail.com>
10468         * autoinsert.el (auto-insert-alist): Make the value of
10469         lexical-binding match its file setting.
10471 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
10473         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
10475         * autoarg.el (autoarg-kp-digit-argument):
10476         * electric.el (Electric-command-loop):
10477         * kmacro.el (kmacro-step-edit-insert):
10478         Do not set universal-argument-num-events.
10480 2013-09-22  Leo Liu  <sdl.web@gmail.com>
10482         * files.el (interpreter-mode-alist): Add octave.
10484 2013-09-21  Alan Mackenzie  <acm@muc.de>
10486         C++: fontify identifier in declaration following "public:" correctly.
10487         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
10488         to match "public", etc.
10489         (c-decl-prefix-re): Add ":" into the C++ value.
10490         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
10491         bit.  Add a check for a ":" preceded by "public", etc.
10493 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
10495         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
10496         recognized by GDB 7.5 and later.
10498 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
10500         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
10502 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10504         * subr.el (internal--call-interactively): New const.
10505         (called-interactively-p): Use it (bug#3984).
10507 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
10509         * vc/pcvs.el (cvs-mode-ignore):
10510         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
10511         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
10513 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10515         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
10516         (eshell-ls-orig-insert-directory): Remove.
10517         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
10518         (eshell-ls-use-in-dired): Use advice-add/remove.
10519         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
10520         Add `orig-fun' arg for use in :around advice.
10521         Make it check (redundantly) eshell-ls-use-in-dired.
10523 2013-09-19  Glenn Morris  <rgm@gnu.org>
10525         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
10527         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
10529         * emacs-lisp/eieio.el (class-parent): Undo previous change.
10531 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
10533         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
10534         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
10535         (tramp-get-remote-python): New defuns.
10536         (tramp-get-remote-uid-with-perl)
10537         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
10538         contributed by yary <not.com@gmail.com> (tiny change).
10539         (tramp-get-remote-uid-with-python)
10540         (tramp-get-remote-gid-with-python): New defuns.  Python code
10541         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
10542         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
10544 2013-09-19  Glenn Morris  <rgm@gnu.org>
10546         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
10548         * eshell/em-unix.el (eshell-remove-entries):
10549         Rename argument to avoid name-clash with global `top-level'.
10551         * eshell/esh-proc.el (eshell-kill-process-function):
10552         Remove eshell-reset-after-proc from eshell-kill-hook if present.
10553         (eshell-reset-after-proc): Remove unused arg `proc'.
10555         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
10556         (directory-files-and-attributes): Mark unused arg.
10558         * eshell/em-unix.el (eshell-remove-entries):
10559         Remove unused arg `path'.  Update callers.
10561         * eshell/em-hist.el (eshell-hist-parse-arguments):
10562         Remove unused arg `silent'.  Update callers.
10564         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
10565         Fix (f)boundp mix-up.
10567         * eshell/em-smart.el (eshell-smart-scroll-window)
10568         (eshell-disable-after-change):
10569         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
10571 2013-09-18  Alan Mackenzie  <acm@muc.de>
10573         Fix fontification of type when followed by "const".
10574         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
10575         "known" types from fontification.
10577 2013-09-18  Glenn Morris  <rgm@gnu.org>
10579         * emacs-lisp/chart.el (x-display-color-cells): Declare.
10580         (chart-face-list): Drop Emacsen without display-color-p.
10582         * net/eww.el (libxml-parse-html-region): Declare.
10583         (eww-display-html): Explicit error if no libxml2 support.
10585         * doc-view.el (doc-view-mode): Silence --without-x compilation.
10587         * image.el (image-type-from-buffer, image-multi-frame-p):
10588         Remove --without-x warning/error.
10590         * mouse.el (mouse-yank-primary):
10591         * term.el (term-mouse-paste):
10592         Reorder to silence --without-x compilation.
10594         * mpc.el (doc-view-mode): Silence --without-x compilation.
10596         * mail/rmailmm.el (rmail-mime-set-bulk-data):
10597         Silence --without-x compilation.
10599         * progmodes/gud.el (gud-find-file, gud-mode):
10600         Silence --without-x compilation.
10601         (tooltip-mode): Declare.
10603         * wdired.el (dired-backup-overwrite): Remove declaration.
10604         (wdired-mode-map): Add doc string.
10606         * custom.el (x-get-resource): Declare.
10608         * eshell/em-glob.el (ange-cache):
10609         * eshell/em-unix.el (ange-cache): Declare.
10611         * faces.el (x-display-list, x-open-connection, x-get-resource):
10612         Declare.
10614         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
10615         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
10616         Declare.
10618         * frame.el (x-display-grayscale-p, x-display-name): Declare.
10620         * net/gnutls.el (gnutls-log-level): Declare.
10622         * net/shr.el (image-size, image-animate): Declare.
10624         * simple.el (font-info): Declare.
10626         * subr.el (x-popup-dialog): Declare.
10628         * term/common-win.el (x-select-enable-primary)
10629         (x-last-selected-text-primary, x-last-selected-text-clipboard):
10630         Declare.
10632         * term/ns-win.el (x-handle-args): Declare.
10634         * term/x-win.el (x-select-enable-clipboard): Declare.
10636         * term/w32-win.el (create-default-fontset): Declare.
10638         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
10639         Declare.
10641         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
10642         (fit-frame-to-buffer): Explicit error if --without-x.
10643         (mouse-autoselect-window-select): Silence compiler.
10645         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
10647         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
10648         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
10649         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
10650         * eshell/esh-util.el (eshell-sublist):
10651         Remove unused local variables.
10653         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
10655         * textmodes/two-column.el: Make 2C-split work for --without-x.
10656         (scroll-bar-columns): Autoload.
10657         (top-level): Require fringe when compiling.
10659 2013-09-18  Leo Liu  <sdl.web@gmail.com>
10661         * subr.el (add-hook): Robustify to handle closure as well.
10663 2013-09-17  Glenn Morris  <rgm@gnu.org>
10665         * simple.el (messages-buffer-mode-map): Unbind "g".
10667 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10669         * help-mode.el (help-mode-finish): Use derived-mode-p.
10670         Remove obsolete highlighting.
10672         * play/life.el (life-mode): Use define-derived-mode.  Derive from
10673         special-mode.
10674         (life): Let-bind inhibit-read-only.
10675         (life-setup): Avoid `setq'.  Use `life-mode'.
10677         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
10678         which should not be needed any more.
10679         (package-menu-refresh, package-menu-describe-package): Use user-error.
10681         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
10682         (eshell-post-rewrite-command-hook): Make obsolete.
10683         (eshell-parse-command): Simplify.
10684         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
10685         (eshell--cmd): Declare.
10686         (eshell-parse-pipeline): Remove unused var `final-p'.
10687         Pass a dynvar to eshell-post-rewrite-command-hook.
10688         Implement the new eshell-post-rewrite-command-function.
10689         (eshell-invoke-directly): Remove unused arg `input'.
10690         * eshell/esh-io.el (eshell-io-initialize):
10691         Use eshell-post-rewrite-command-function (bug#15399).
10692         (eshell--apply-redirections): Rename from eshell-apply-redirections;
10693         adjust to new calling convention.
10694         (eshell-create-handles): Rename args to avoid clashing with dynvar
10695         `standard-output'.
10697 2013-09-17  Glenn Morris  <rgm@gnu.org>
10699         * simple.el (messages-buffer-mode): New major mode.
10700         (messages-buffer): New function.
10701         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
10702         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
10703         (ert-run-test): Use `messages-buffer' function.
10704         (ert--force-message-log-buffer-truncation): Ignore read-only.
10705         * help.el (view-echo-area-messages): Use `messages-buffer' function.
10706         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
10708 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10710         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
10712         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
10714 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10716         * icomplete.el (icomplete-in-buffer): New var.
10717         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
10718         vars and replace them with functions.
10719         (icomplete-minibuffer-setup): Adjust accordingly.
10720         (icomplete--completion-table, icomplete--completion-predicate)
10721         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
10722         New functions.
10723         (icomplete-forward-completions, icomplete-backward-completions)
10724         (icomplete-simple-completing-p, icomplete-exhibit)
10725         (icomplete-completions): Use them.
10726         (icomplete--in-region-buffer): New var.
10727         (icomplete--in-region-setup): New function.
10728         (icomplete-mode): Use it.
10730         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
10731         (bug#15379).
10732         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
10733         return args and options.
10734         (eshell-eval-using-options): Use the new return value of
10735         eshell--do-opts to set the options's vars in their scope.
10736         (eshell--set-option): Rename from eshell-set-option.
10737         Add arg `opt-vals'.
10738         (eshell--process-option): Rename from eshell-process-option.
10739         Add arg `opt-vals'.
10740         (eshell--process-args): Use an `opt-vals' alist to store the options's
10741         values during their processing and return them additionally to the
10742         remaining args.
10744 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
10746         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
10747         continuation character an operator, as far as indentation is
10748         concerned (Bug#15369).
10750 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
10752         * window.el (window--state-put-2): Don't process buffer state
10753         when buffer doesn't exist any more (Bug#15382).
10755 2013-09-15  Glenn Morris  <rgm@gnu.org>
10757         * eshell/em-unix.el (eshell/rm):
10758         Make -f ignore missing files.  (Bug#15373)
10760         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
10761         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
10762         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
10764 2013-09-14  Glenn Morris  <rgm@gnu.org>
10766         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
10768 2013-09-13  Glenn Morris  <rgm@gnu.org>
10770         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
10771         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
10773 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
10775         * frame.el (x-focus-frame): Mark as declared in frame.c.
10777 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10779         * ls-lisp.el: Use advice-add.
10780         (original-insert-directory): Remove.
10781         (ls-lisp--insert-directory): Rename from insert-directory; add
10782         `orig-fun' argument.
10783         (insert-directory): Advise.
10785 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
10787         * term.el (term-emulate-terminal): Decode the command string
10788         before passing it to term-command-hook.  (Bug#15337)
10790 2013-09-13  Glenn Morris  <rgm@gnu.org>
10792         * eshell/esh-util.el (ange-cache): Move declaration earlier.
10794         * eshell/esh-ext.el (eshell-search-path): Declare.
10796         * eshell/em-prompt.el (eshell/pwd): Autoload it.
10797         Otherwise an error occurs if eshell-dirs module not loaded.
10799         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
10801 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
10803         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
10804         `tramp-check-proper-host'.  Check for a valid method name.
10806         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10807         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10808         * net/tramp-sh.el (tramp-maybe-open-connection):
10809         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
10811         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
10812         also for hash values.
10814 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10816         * term/ns-win.el (parameters): Don't declare as dynamic.
10817         (before-make-frame-hook): Don't add ineffective function.
10819         * eshell/*.el: Use lexical-binding (bug#15231).
10821 2013-09-12  Kenichi Handa  <handa@gnu.org>
10823         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
10825 2013-09-12  Glenn Morris  <rgm@gnu.org>
10827         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
10828         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
10830         * subr.el (do-after-load-evaluation): Also give compiler warnings
10831         when obsolete files are used (except by obsolete files).
10833         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
10834         in the status output, assume `filename' is the first.  (Bug#15322)
10836         * vc/vc.el (vc-deduce-fileset): Doc fix.
10838         * calc/calc-help.el (Info-goto-node):
10839         * progmodes/cperl-mode.el (Info-find-node):
10840         * vc/ediff.el (Info-goto-node): Update declarations.
10842         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
10844         * vc/vc-bzr.el (vc-compilation-mode): Declare.
10845         (vc-bzr-pull): Require vc-dispatcher.
10846         * vc/vc-git.el (vc-compilation-mode): Declare.
10847         (vc-git-pull): Require vc-dispatcher.
10849         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
10851         * progmodes/octave.el (help-button-action): Declare.
10853         * shell.el (shell-directory-tracker): Output error as a message
10854         rather than just returning it as a string.
10855         (shell-process-pushd): Remove useless use of message.
10857         * dframe.el (dframe-timer-fn):
10858         * files.el (dir-locals-read-from-file):
10859         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
10860         (mpc-format):
10861         * reveal.el (reveal-post-command):
10862         * saveplace.el (load-save-place-alist-from-file):
10863         * shell.el (shell-resync-dirs):
10864         * w32-common-fns.el (x-get-selection-value):
10865         * emacs-lisp/copyright.el (copyright-find-copyright):
10866         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10867         * emulation/tpu-edt.el (tpu-copy-keyfile):
10868         * play/bubbles.el (bubbles--mark-neighbourhood):
10869         * progmodes/executable.el
10870         (executable-make-buffer-file-executable-if-script-p):
10871         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
10873 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10875         Cleanup Eshell to rely less on dynamic scoping.
10876         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
10877         last-value, and ext-command here.  Bind `args' closer to `body'.
10878         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
10879         (eshell--args): Declare new dynamic var.
10880         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
10881         last-value, and ext-command.  Pass `args' to `body'.
10882         (eshell-process-args): Bind eshell--args.
10883         (eshell-set-option): Use eshell--args.
10884         * eshell/eshell.el (eshell): Use derived-mode-p.
10885         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
10886         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
10887         (eshell-glob-function): Declare.
10888         * eshell/esh-util.el: Require cl-lib.
10889         (eshell-read-hosts-file): Avoid add-to-list.
10890         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
10891         `err'.
10892         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
10893         Declare.
10894         (eshell/diff): Remove unused var `err'.
10895         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
10896         `killflag'.
10897         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
10898         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
10899         first use.
10900         * eshell/em-glob.el (eshell-glob-matches, message-shown):
10901         Move declaration before first use.
10902         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
10903         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
10904         rely on cl-return.
10906 2013-09-12  Glenn Morris  <rgm@gnu.org>
10908         * term/ns-win.el (global-map): Remove binding for ispell-next,
10909         deleted 1999-05-29.  (Bug#15357)
10911 2013-09-11  Glenn Morris  <rgm@gnu.org>
10913         * echistory.el (electric-command-history): Remove call to deleted func.
10915         * play/landmark.el (landmark-mode): Fix typos.
10917         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
10918         Check cvs-sort-ignore-file is bound.
10920         * savehist.el: No need for cl when compiling on Emacs.
10922 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10924         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
10925         (bug#15338).
10926         (eshell-self-insert-command, eshell-send-invisible):
10927         Remove unused argument.
10928         (eshell-handle-control-codes): Remove unused var `orig'.
10929         Avoid delete-backward-char.
10931         * files.el (set-auto-mode): Simplify a bit further.
10933 2013-09-11  Glenn Morris  <rgm@gnu.org>
10935         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
10936         (set-auto-mode): Don't regexp-quote elements.
10937         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
10938         * progmodes/cc-mode.el (interpreter-mode-alist):
10939         * progmodes/ruby-mode.el (interpreter-mode-alist):
10940         Revert previous change.
10942 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10944         * play/snake.el (snake-mode):
10945         * play/mpuz.el (mpuz-mode):
10946         * play/landmark.el (lm-mode):
10947         * play/blackbox.el (blackbox-mode):
10948         * play/5x5.el (5x5-mode):
10949         * obsolete/options.el (Edit-options-mode):
10950         * net/quickurl.el (quickurl-list-mode):
10951         * net/newst-treeview.el (newsticker-treeview-mode):
10952         * mail/rmailsum.el (rmail-summary-mode):
10953         * mail/mspools.el (mspools-mode):
10954         * locate.el (locate-mode):
10955         * ibuffer.el (ibuffer-mode):
10956         * emulation/ws-mode.el (wordstar-mode):
10957         * emacs-lisp/debug.el (debugger-mode):
10958         * array.el (array-mode):
10959         * net/eudc.el (eudc-mode): Use define-derived-mode.
10960         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
10961         Move initialization into declaration.
10962         (mairix-searches-mode): Use define-derived-mode.
10963         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
10964         (eudc-edit-hotlist): Use dolist.
10965         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
10966         (Man-mode): Use define-derived-mode.
10967         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
10968         (Info-edit-mode): Use define-derived-mode.
10969         (Info-cease-edit): Use Info-mode.
10970         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
10971         into declaration.
10972         (eshell-mode): Use define-derived-mode.
10973         * chistory.el (command-history-mode-map): Rename from
10974         command-history-map.
10975         (command-history-mode): Use define-derived-mode.
10976         (Command-history-setup): Remove function.
10977         * calc/calc.el (calc-trail-mode-map): New var.
10978         (calc-trail-mode): Use define-derived-mode.
10979         (calc-trail-buffer): Set calc-main-buffer manually.
10980         * bookmark.el (bookmark-insert-annotation): New function.
10981         (bookmark-edit-annotation): Use it.
10982         (bookmark-edit-annotation-mode): Make it a proper major mode.
10983         (bookmark-send-edited-annotation): Use derived-mode-p.
10984         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
10985         closer to its ideal place.  Use \' to match EOS.
10987         * profiler.el (profiler-calltree-find): Use function-equal.
10989 2013-09-10  Glenn Morris  <rgm@gnu.org>
10991         * files.el (interpreter-mode-alist): Convert to regexps.
10992         (set-auto-mode): Adapt for this.  (Bug#15306)
10993         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
10994         Comment out unused variable.
10995         * progmodes/cc-mode.el (interpreter-mode-alist):
10996         * progmodes/python.el (interpreter-mode-alist):
10997         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
10998         * progmodes/sh-script.el (sh-set-shell):
10999         No longer use interpreter-mode-alist to get list of shells.
11001         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
11003 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11005         * simple.el: Use set-temporary-overlay-map for universal-argument.
11006         (universal-argument-map): Don't use default-bindings (bug#15317).
11007         Bind switch-frame explicitly.  Replace universal-argument-minus with
11008         a conditional binding.
11009         (universal-argument-num-events, saved-overriding-map): Remove.
11010         (restore-overriding-map): Remove.
11011         (universal-argument--mode): Rename from save&set-overriding-map,
11012         and rewrite.
11013         (universal-argument, universal-argument-more, negative-argument)
11014         (digit-argument): Adjust accordingly.
11015         (universal-argument-minus): Remove.
11016         (universal-argument-other-key): Remove.
11018         * subr.el (with-demoted-errors): Add `format' argument.
11020 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
11022         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
11023         `tramp-cleanup-connection'.
11025         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
11026         parameters KEEP-DEBUG and KEEP-PASSWORD.
11028         * net/tramp.el (tramp-file-name-handler):
11029         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11030         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11031         (tramp-maybe-open-connection):
11032         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11033         Use `tramp-cleanup-connection'.
11035         * net/tramp-sh.el (tramp-maybe-open-connection):
11036         Catch 'uname-changed inside the progress reporter.
11038 2013-09-10  Glenn Morris  <rgm@gnu.org>
11040         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
11042         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
11043         returns "alternate access method" in mode (eg "-rw-r--r--.").
11045 2013-09-08  Glenn Morris  <rgm@gnu.org>
11047         * saveplace.el (load-save-place-alist-from-file):
11048         Demote errors.  (Bug#15305)
11050 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
11052         Improve compatibility with older Emacsen, and XEmacs.
11054         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
11055         only if it is bound.  It isn't for XEmacs.
11056         (with-tramp-progress-reporter): Do not let-bind `result'.
11057         This yields to scoping errors in XEmacs.
11058         (tramp-handle-make-auto-save-file-name): New function, moved from
11059         tramp-sh.el.
11061         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
11062         for `make-auto-save-file-name'.
11063         (tramp-adb--gnu-switches-to-ash):
11064         Use `tramp-compat-replace-regexp-in-string'.
11066         * net/tramp-cache.el (tramp-cache-print): Call
11067         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
11069         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
11070         bound.  It isn't for XEmacs.
11072         * net/tramp-compat.el (tramp-compat-copy-file):
11073         Catch `wrong-number-of-arguments' error.
11074         (tramp-compat-replace-regexp-in-string): New defun.
11076         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
11077         for `make-auto-save-file-name'.
11078         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
11079         `copy-file'.
11080         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
11081         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
11082         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
11084         * net/tramp-gw.el (tramp-gw-open-network-stream):
11085         Use `tramp-compat-replace-regexp-in-string'.
11087         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11088         Call `tramp-handle-make-auto-save-file-name'.
11089         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
11090         (tramp-sh-file-gvfs-monitor-dir-process-filter)
11091         (tramp-sh-file-inotifywait-process-filter):
11092         Use `tramp-compat-replace-regexp-in-string'.
11093         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
11095         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
11096         for `make-auto-save-file-name'.
11097         (tramp-smb-handle-copy-directory):
11098         Call `tramp-compat-replace-regexp-in-string'.
11099         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
11100         (tramp-smb-handle-copy-file): Improve error message.
11101         (tramp-smb-handle-rename-file): Rename directly only in case
11102         `newname' does not exist yet.  This is a restriction of smbclient.
11103         (tramp-smb-maybe-open-connection): Rerun the function only when
11104         `auth-sources' is non-nil.
11106 2013-09-08  Kenichi Handa  <handa@gnu.org>
11108         * international/characters.el: Set category "^" (Combining) for
11109         more characters.
11111 2013-09-07  Alan Mackenzie  <acm@muc.de>
11113         Correctly fontify Java class constructors.
11114         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
11115         in Java Mode.
11116         (c-recognize-typeless-decls): Set the Java value to t.
11117         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11118         While handling a "(", add a check for, effectively, Java, and handle a
11119         "typeless" declaration there.
11121 2013-09-07  Roland Winkler  <winkler@gnu.org>
11123         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
11124         field subtitle for entry type book.
11126 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11128         * minibuffer.el: Make minibuffer-complete call completion-in-region
11129         rather than other way around.
11130         (completion--some, completion-pcm--find-all-completions):
11131         Don't delay signals when debugging.
11132         (minibuffer-completion-contents): Beware fields within the
11133         minibuffer contents.
11134         (completion-all-sorted-completions): Use defvar-local.
11135         (completion--do-completion, completion--cache-all-sorted-completions)
11136         (completion-all-sorted-completions, minibuffer-force-complete):
11137         Add args `beg' and `end'.
11138         (completion--in-region-1): New fun, extracted from minibuffer-complete.
11139         (minibuffer-complete): Use completion-in-region.
11140         (completion-complete-and-exit): New fun, extracted from
11141         minibuffer-complete-and-exit.
11142         (minibuffer-complete-and-exit): Use it.
11143         (completion--complete-and-exit): Rename from
11144         minibuffer--complete-and-exit.
11145         (completion-in-region--single-word): New function, extracted from
11146         minibuffer-complete-word.
11147         (minibuffer-complete-word): Use it.
11148         (display-completion-list): Make `common-substring' argument obsolete.
11149         (completion--in-region): Call completion--in-region-1 instead of
11150         minibuffer-complete.
11151         (completion-help-at-point): Pass boundaries to
11152         minibuffer-completion-help as args rather than via an overlay.
11153         (completion-pcm--string->pattern): Use `any-delim'.
11154         (completion-pcm--optimize-pattern): New function.
11155         (completion-pcm--pattern->regex): Handle `any-delim'.
11156         * icomplete.el (icomplete-forward-completions)
11157         (icomplete-backward-completions, icomplete-completions):
11158         Adjust calls to completion-all-sorted-completions and
11159         completion--cache-all-sorted-completions.
11160         (icomplete-with-completion-tables): Default to t.
11161         * emacs-lisp/crm.el (crm--current-element): Rename from
11162         crm--select-current-element.  Don't put an overlay but return the
11163         boundaries instead.
11164         (crm--completion-command): Take two new args to bind to the boundaries.
11165         (crm-completion-help): Adjust accordingly.
11166         (crm-complete): Use completion-in-region.
11167         (crm-complete-word): Use completion-in-region--single-word.
11168         (crm-complete-and-exit): Use completion-complete-and-exit.
11170 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11172         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
11173         than dynamically.
11175 2013-09-06  Juri Linkov  <juri@jurta.org>
11177         * info.el (Info-display-images-node): When image file doesn't exist
11178         display text version of the image if it's provided in the Info file.
11179         Otherwise, display the location of missing image from SRC attribute.
11180         Add help-echo text property from ALT attribute.  (Bug#15279)
11182 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11184         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
11185         (edit-abbrevs-mode): Use define-derived-mode.
11187         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
11188         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
11189         that it's defined.
11190         (epa-key-list-mode, epa-key-mode, epa-info-mode):
11191         Use define-derived-mode.
11193         * epg.el (epg-start-encrypt): Minor CSE simplification.
11195 2013-09-06  William Xu  <william.xwl@gmail.com>
11197         * arc-mode.el: Add support for 7za (bug#15264).
11198         (archive-7z-program): New var.
11199         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
11200         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
11201         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
11203 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
11205         Remove URL syntax.
11207         * net/tramp.el (tramp-syntax, tramp-prefix-format)
11208         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
11209         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
11210         (tramp-postfix-host-format, tramp-file-name-regexp)
11211         (tramp-completion-file-name-regexp)
11212         (tramp-completion-dissect-file-name)
11213         (tramp-handle-substitute-in-file-name): Remove 'url case.
11214         (tramp-file-name-regexp-url)
11215         (tramp-completion-file-name-regexp-url): Remove constants.
11217 2013-09-06  Glenn Morris  <rgm@gnu.org>
11219         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
11221 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
11223         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
11224         keywords" below "here-doc beginnings" (Bug#15270).
11226 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11228         * subr.el (pop): Use `car-safe'.
11229         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
11230         to detect unused `pop' return value.
11232         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
11233         var `block-regexp'.
11234         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
11235         (python-fill-string): Remove unused var `marker'.
11236         (python-skeleton-add-menu-items): Remove unused var `items'.
11238         * international/mule-cmds.el: Require CL.
11239         (find-coding-systems-for-charsets): Avoid add-to-list.
11240         (sanitize-coding-system-list): New function, extracted from
11241         select-safe-coding-system-interactively.
11242         (select-safe-coding-system-interactively): Use it.
11243         (read-input-method-name): Accept symbols for `default'.
11245         * emacs-lisp/advice.el (defadvice): Add indent rule.
11247 2013-09-05  Daniel Hackney  <dan@haxney.org>
11249         * dired-x.el:
11250         * net/ange-ftp.el:
11251         * net/browse-url.el:
11252         * net/dbus.el:
11253         * net/eudc.el:
11254         * net/eudcb-ldap.el:
11255         * net/eww.el:
11256         * net/imap.el:
11257         * printing.el:
11258         * vc/ediff-diff.el:
11259         * vc/ediff-init.el:
11260         * vc/ediff-merg.el:
11261         * vc/ediff-mult.el:
11262         * vc/ediff-util.el:
11263         * vc/ediff-wind.el:
11264         * vc/ediff.el:
11265         * vc/emerge.el:
11266         * vc/pcvs.el:
11267         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
11268         byte compiler.  Remove some unused let-bound variables.
11270 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11272         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
11273         a "ref-cell", since it gets better optimized (bug#14883).
11275 2013-09-05  Glenn Morris  <rgm@gnu.org>
11277         * progmodes/cc-awk.el (c-forward-sws): Declare.
11279 2013-09-04  Glenn Morris  <rgm@gnu.org>
11281         * generic-x.el [rul-generic-mode]: Require cc-mode.
11282         (c++-mode-syntax-table): Declare.
11283         (rul-generic-mode-syntax-table): Init in the defvar.
11285 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11287         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
11288         (vc-do-command, vc-set-async-update):
11289         * vc/vc-mtn.el (vc-mtn-dir-status):
11290         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
11291         (vc-hg-pull, vc-hg-merge-branch):
11292         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
11293         (vc-git-merge-branch):
11294         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
11295         (vc-cvs-dir-status-files):
11296         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
11297         (vc-bzr-dir-status-files):
11298         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
11299         * vc/vc-annotate.el: Use lexical-binding.
11300         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
11301         (vc-sentinel-movepoint): Declare.
11302         (vc-annotate): Don't use `goto-line'.
11303         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
11304         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
11305         (vc-sentinel-movepoint): Declare.
11306         * vc/vc-svn.el: Use lexical-binding.
11307         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
11308         * vc/vc-sccs.el:
11309         * vc/vc-rcs.el: Use lexical-binding.
11311         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
11312         `deleted'.  Don't drop errors silently.
11314         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
11316 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
11318         * vc/vc.el (vc-ignore): Rewrite.
11319         (vc-default-ignore): New function.
11320         (vc-default-ignore-completion-table): Use find-ignore-file.
11322         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
11323         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
11324         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
11325         Remove.  Most code moved to vc.el.
11327 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11329         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
11330         * net/tramp-smb.el (tramp-smb-get-file-entries):
11331         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
11332         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
11334         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
11335         Update call to it.
11336         (eww-change-select): Remove unused var `properties'.
11337         (eww-make-unique-file-name): Remove unused var `base'.
11339         * finder.el (finder-compile-keywords): Don't mess with windows.
11341         * calculator.el (calculator-funcall): Fix typo in last change.
11343         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
11345         * emacs-lisp/package.el (package-activate-1): Don't let a missing
11346         <pkg>-autoloads.el file stop us.
11348         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
11349         warnings, and factor out common code.
11351 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
11353         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
11354         two-character operators and whether the character preceding them
11355         changes their meaning (Bug#15208).
11357 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11359         Format code sent to Python shell for robustness.
11360         * progmodes/python.el (python-shell-buffer-substring):
11361         New function.
11362         (python-shell-send-region, python-shell-send-buffer): Use it.
11364 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
11366         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
11367         * net/tramp.el (tramp-user-error): ... here.
11368         (tramp-find-method, tramp-check-proper-host)
11369         (tramp-dissect-file-name, tramp-debug-message)
11370         (tramp-handle-shell-command):
11371         * net/tramp-adb.el (tramp-adb-handle-shell-command):
11372         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
11374         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
11376 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
11378         * avoid.el (mouse-avoidance-point-position)
11379         (mouse-avoidance-too-close-p): Handle case where posn-at-point
11380         returns nil.
11382 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11384         * progmodes/python.el (python-shell-completion-get-completions):
11385         Drop use of deleted `comint-last-prompt-overlay'.
11386         (python-nav-if-name-main): New command.
11388 2013-09-01  Glenn Morris  <rgm@gnu.org>
11390         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11391         Avoid leading space in $wins.  Otherwise the sed command used by
11392         eg compile-main ends up containing "/*.el".  (Bug#15170)
11394         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
11396 2013-08-30  Glenn Morris  <rgm@gnu.org>
11398         * emacs-lisp/bytecomp.el (byte-recompile-directory):
11399         Fix is-this-a-directory logic.  (Bug#15220)
11401 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11403         * textmodes/css-mode.el: Use SMIE.
11404         (css-smie-grammar): New var.
11405         (css-smie--forward-token, css-smie--backward-token)
11406         (css-smie-rules): New functions.
11407         (css-mode): Use them.
11408         (css-navigation-syntax-table): Remove var.
11409         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
11410         (css-indent-calculate, css-indent-line): Remove functions.
11412         Misc changes to reduce use of `(lambda...); and other cleanups.
11413         * cus-edit.el: Use lexical-binding.
11414         (customize-push-and-save, customize-apropos)
11415         (custom-buffer-create-internal): Use closures.
11416         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
11417         * progmodes/ada-xref.el: Use setq.
11418         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
11419         * dframe.el: Use lexical-binding.
11420         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
11421         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
11422         * descr-text.el: Use lexical-binding.
11423         (describe-text-widget, describe-text-sexp, describe-property-list):
11424         Use closures.
11425         * comint.el (comint-history-isearch-push-state): Use a closure.
11426         * calculator.el: Use lexical-binding.
11427         (calculator-number-to-string): Make it work with lexical-binding.
11428         (calculator-funcall): Same and use cl-letf.
11430         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
11431         (lisp--company-doc-string, lisp--company-location): New functions.
11432         (lisp-completion-at-point): Use them to improve Company support.
11434         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
11435         params of lambda expressions.
11436         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
11437         (ruby-smie--opening-pipe-p): New function.
11438         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
11439         symbols and matched |...| for formal params.
11440         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
11441         from being treated as hanging.  Handle "rescue".
11443 2013-08-29  Glenn Morris  <rgm@gnu.org>
11445         * progmodes/cc-engine.el (c-pull-open-brace):
11446         Move definition before use.
11448 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11450         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
11451         are immutable.  Don't use `unsafe' any more.
11452         (cl--defsubst-expand): Don't substitute at the same time as keeping
11453         a residual unused let-binding.  Don't use `unsafe' any more.
11455 2013-08-29  Glenn Morris  <rgm@gnu.org>
11457         * calendar/cal-china.el (calendar-chinese-year-cache):
11458         Recenter on 2015.
11460         * nxml/nxml-util.el (nxml-debug-clear-inside):
11461         Use cl-loop rather than loop.
11463         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
11465         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
11467 2013-08-28  Glenn Morris  <rgm@gnu.org>
11469         * progmodes/antlr-mode.el: No need to require cc-mode twice.
11471         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
11473         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
11475 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11477         * simple.el (repeat-complex-command--called-interactively-skip):
11478         New function.
11479         (repeat-complex-command): Use it (bug#14136).
11481         * progmodes/cc-mode.el: Minor cleanup of var declarations.
11482         (c-define-abbrev-table): Add `doc' argument.
11483         (c-mode-abbrev-table, c++-mode-abbrev-table)
11484         (objc-mode-abbrev-table, java-mode-abbrev-table)
11485         (idl-mode-abbrev-table, pike-mode-abbrev-table)
11486         (awk-mode-abbrev-table): Use it.
11487         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
11488         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
11489         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
11490         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
11491         Move initialization into the declaration; and remove any
11492         autoload cookie.
11494         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
11495         and dynamic let binding.
11497         * vc/smerge-mode.el: Remove redundant :group args.
11499         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
11500         to load-path.
11502 2013-08-28  Juri Linkov  <juri@jurta.org>
11504         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
11505         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
11506         (isearch-other-meta-char): Handle an undefined shifted printing
11507         character by downshifting it.  (Bug#15200)
11509 2013-08-28  Juri Linkov  <juri@jurta.org>
11511         * isearch.el (isearch-search): Change regexp error message for
11512         non-regexp searches.  (Bug#15166)
11514 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
11516         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
11517         for portability to hosts where /bin/sh has problems.
11519 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11521         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
11523 2013-08-27  Juri Linkov  <juri@jurta.org>
11525         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
11526         in the keyboard macro.  (Bug#15126)
11528 2013-08-27  Juri Linkov  <juri@jurta.org>
11530         * isearch.el (isearch-quote-char): Comment out converting unibyte
11531         to multibyte, thus syncing with its `quoted-insert' counterpart.
11532         (Bug#15166)
11534 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
11536         * window.el (display-buffer-use-some-window): Add missing
11537         argument in call of get-largest-window (Bug#15185).
11538         Reported by Stephen Leake.
11540 2013-08-27  Glenn Morris  <rgm@gnu.org>
11542         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
11544 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11546         * progmodes/python.el (python-font-lock-keywords): Don't return nil
11547         from a matcher-function unless there's no more matches (bug#15161).
11549 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
11551         * minibuffer.el: Revert change from 2013-08-20.
11553         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
11554         with text property `tramp-default', if appropriate.
11555         (tramp-check-proper-host): New defun.
11556         (tramp-dissect-file-name): Do not check hostname.  Revert change
11557         of 2013-03-18.
11558         (tramp-backtrace): Make VEC-OR-PROC optional.
11560         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11561         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11562         * net/tramp-sh.el (tramp-maybe-open-connection):
11563         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11564         Apply `tramp-check-proper-host'.
11566 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
11568         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
11569         lambda expression in order to have `describe-variable' display it.
11571 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
11573         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
11574         BUF can be optional.  (Bug#15186)
11576 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
11578         * progmodes/flymake.el (flymake-get-real-file-name-function):
11579         Fix broken customization.  (Bug#15184)
11581 2013-08-25  Alan Mackenzie  <acm@muc.de>
11583         Improve indentation of bracelists defined by macros (without "=").
11585         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
11586         expansion begins with "{", regard it as bracelist when it doesn't
11587         contain a ";".
11589         Parse C++ inher-intro when there's a template split over 2 lines.
11591         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
11592         rigorously the search for "class" etc. followed by ":".
11594         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
11595         random languages a regexp which never matches rather than nil.
11597         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
11599         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
11600         (c-awk-regexp-one-line-possibly-open-char-list-re)
11601         (c-awk-one-line-possibly-open-regexp-re)
11602         (c-awk-one-line-non-syn-ws*-re): Remove.
11603         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
11604         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
11605         (c-awk-space*-unclosed-regexp-/-re): New constants.
11606         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
11607         aren't regexp delimiters.
11609         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
11610         handling for a rare situation in AWK Mode involving unterminated
11611         strings/regexps.
11613 2013-08-23  Glenn Morris  <rgm@gnu.org>
11615         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
11617         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
11619         * files.el (create-file-buffer): If the result would begin with
11620         spaces, prepend a "|" instead of removing them.  (Bug#15162)
11622 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11624         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
11625         text-properties (bug#15155).
11627         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
11628         exist any more.
11629         (calc-keypad-redraw): Remove unused var `pad'.
11630         (calc-keypad-press): Remove unused var `menu'.
11632 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
11634         * window.el (display-buffer-pop-up-frame):
11635         Call pop-up-frame-function with BUFFER current so `make-frame' will
11636         use it as the new frame's buffer (Bug#15133).
11638 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11640         * calendar/timeclock.el: Minor cleanups.
11641         (timeclock-ask-before-exiting, timeclock-use-display-time):
11642         Use `symbol'.
11643         (timeclock-modeline-display): Define as alias before the
11644         actual definition.
11645         (timeclock-mode-line-display): Use define-minor-mode.
11646         (timeclock-day-list-template): Make it a function, add an argument.
11647         (timeclock-day-list-required, timeclock-day-list-length)
11648         (timeclock-day-list-debt, timeclock-day-list-span)
11649         (timeclock-day-list-break): Adjust calls accordingly.
11651 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11653         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
11654         Use read--expression so that completion works again.
11656 2013-08-21  Sam Steingold  <sds@gnu.org>
11658         Add rudimentary inferior shell interaction
11659         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
11660         (sh-set-shell): Reset it.
11661         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
11662         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
11664 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11666         * align.el: Use lexical-binding.
11667         (align-region): Simplify accordingly.
11669 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
11671         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
11673         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
11674         `non-essential' up.
11676 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
11678         * net/tramp.el:
11679         * net/tramp-adb.el:
11680         * net/tramp-cmds.el:
11681         * net/tramp-ftp.el:
11682         * net/tramp-gvfs.el:
11683         * net/tramp-gw.el:
11684         * net/tramp-sh.el: Don't wrap external variable declarations by
11685         `eval-when-compile'.
11687 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11689         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
11690         now that Emacs supports ImageMagick animations.
11692 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
11694         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
11695         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
11697 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
11699         * window.el (mouse-autoselect-window-select): Do autoselect when
11700         mouse pointer is on margin.
11702 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
11704         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
11706 2013-08-16  Glenn Morris  <rgm@gnu.org>
11708         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
11709         Handle "Remote Directory" response of some clients.  (Bug#15058)
11711         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
11712         Tweak warning.  (Bug#14926)
11714         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
11715         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
11717         * image-mode.el (image-mode-map): Add menu items to reverse,
11718         increase, decrease, reset animation speed.
11719         (image--set-speed, image-increase-speed, image-decrease-speed)
11720         (image-reverse-speed, image-reset-speed): New functions.
11721         (image-mode-map): Add bindings for speed commands.
11723         * image.el (image-animate-get-speed, image-animate-set-speed):
11724         New functions.
11725         (image-animate-timeout): Respect image :speed property.
11727 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11729         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
11730         previous line (bug#15101).
11731         (debugger-eval-expression, debugger-record-expression):
11732         Use read--expression (bug#15102).
11734 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
11736         Remove byte compiler warnings, visible when compiling with
11737         `byte-compile-force-lexical-warnings' set to t.
11739         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
11740         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
11741         (tramp-handle-unhandled-file-name-directory)
11742         (tramp-handle-file-notify-add-watch, tramp-action-login)
11743         (tramp-action-succeed, tramp-action-permission-denied)
11744         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
11745         arguments with "_".
11747         * net/tramp-adb.el (tramp-adb-parse-device-names)
11748         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
11749         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
11750         (tramp-adb-handle-file-truename): Remove unused arguments.
11752         * net/tramp-cache.el (tramp-flush-directory-property)
11753         (tramp-flush-connection-property, tramp-list-connections)
11754         (tramp-parse-connection-properties): Prefix unused arguments with "_".
11756         * net/tramp-compat.el (tramp-compat-make-temp-file):
11757         Rename FILENAME to F.
11759         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
11760         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
11761         (tramp-zeroconf-parse-workstation-device-names)
11762         (tramp-zeroconf-parse-webdav-device-names)
11763         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
11765         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
11766         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
11768         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
11769         arguments.
11770         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
11771         (tramp-sh-handle-insert-file-contents-literally)
11772         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
11773         with "_".
11774         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
11775         Remove unused variables.
11777         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11778         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
11779         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
11781         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
11782         Make them a defconst.
11783         (tramp-uuencode-region): Remove unused variable.
11785 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
11787         * frameset.el (frameset--prop-setter): New function.
11788         (frameset-prop): Add gv-setter declaration.
11789         (frameset-filter-minibuffer): Deal with the case that the minibuffer
11790         parameter was already set in FILTERED.  Doc fix.
11791         (frameset--record-minibuffer-relationships): Allow saving a
11792         minibufferless frame without its corresponding minibuffer frame.
11793         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
11794         frame, if the frame id matches.
11795         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
11796         frames before orphaned ones.
11797         (frameset-restore): Warn about orphaned windows, instead of error out.
11799 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
11801         * window.el (window-make-atom): Don't overwrite parameter
11802         already present.
11803         (display-buffer-in-atom-window): Handle special case where we
11804         split an already atomic window.
11805         (window--major-non-side-window, display-buffer-in-side-window)
11806         (window--side-check): Ignore minibuffer window when walking
11807         window tree.
11808         (window-deletable-p): Return 'frame only if no other frame uses
11809         our minibuffer window.
11810         (record-window-buffer): Run buffer-list-update-hook.
11811         (split-window): Make sure window--check-frame won't destroy an
11812         existing atomic window in case the new window gets nested
11813         inside.
11814         (display-buffer-at-bottom): Ignore minibuffer window when
11815         walking window tree.  Don't split a side window.
11816         (pop-to-buffer): Don't set-buffer here, the select-window call
11817         should do that.
11818         (mouse-autoselect-window-select): Autoselect only if we are in the
11819         text portion of the window.
11821 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11823         * net/shr.el (shr-parse-image-data): New function to grab both the
11824         data itself and the Content-Type.
11825         (shr-put-image): Use it.
11827         * net/eww.el (eww-display-image): Ditto.
11829         * image.el (image-content-type-suffixes): New variable.
11831 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11833         * progmodes/python.el (python-imenu--build-tree)
11834         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
11836 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
11838         * simple.el (backward-word): Mention the optional argument.
11840 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11842         * frameset.el (frameset--make): Rename constructor from make-frameset.
11843         (frameset-p, frameset-valid-p): Don't autoload.
11844         (frameset-valid-p): Use normal accessors.
11846 2013-08-13  Glenn Morris  <rgm@gnu.org>
11848         * progmodes/compile.el (compile-command): Tweak example in doc.
11849         * obsolete/scribe.el (scribe-mode):
11850         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
11852         * mail/feedmail.el (feedmail-confirm-outgoing)
11853         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
11855         * cus-start.el (truncate-partial-width-windows): Fix type.
11857         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
11859         * net/shr.el (shr-table-horizontal-line): Fix custom type.
11861 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11863         * emacs-lisp/timer.el (timer--time-setter): New function.
11864         (timer--time): Use it as gv-setter.
11866         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
11867         setter is not a symbol.
11869 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
11871         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
11872         if sending fails.  This makes debugging easier.
11874 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
11876         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
11877         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
11878         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
11880 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
11882         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
11884 2013-08-12  Glenn Morris  <rgm@gnu.org>
11886         * format.el (format-annotate-function):
11887         Handle read-only text properties in the source.  (Bug#14887)
11889 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11891         * net/eww.el (eww-display-html): Ignore coding system errors.
11892         One web site uses "utf-8lias" as the coding system.
11894 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
11896         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
11898 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
11900         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
11901         (tutorial--detailed-help): Remove unused local variables.
11902         (tutorial--save-tutorial-to): Use ignore-errors.
11903         (help-with-tutorial): Use looking-at-p.
11905         * view.el (view-buffer-other-window, view-buffer-other-frame):
11906         Mark unused arguments.
11908         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
11909         (woman-select-symbol-fonts, woman, woman-find-file)
11910         (woman-insert-file-contents, woman-non-underline-faces):
11911         Use string-match-p.
11912         (woman1-unquote): Move declaration.
11914         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
11915         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
11916         argument.  Remove unused local variable.
11917         (xml-parse-elem-type): Use string-match-p.
11918         (xml-substitute-numeric-entities): Use ignore-errors.
11920         * calculator.el (calculator): Mark unused argument.
11921         (calculator-paste, calculator-quit, calculator-integer-p):
11922         Use ignore-errors.
11923         (calculator-string-to-number, calculator-decimal, calculator-exp)
11924         (calculator-op-or-exp): Use string-match-p.
11926         * dired.el (dired-buffer-more-recently-used-p): Declare.
11927         (dired-insert-set-properties, dired-insert-old-subdirs):
11928         Use ignore-errors.
11930         * dired-aux.el (dired-compress): Use ignore-errors.
11931         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
11932         (dired-do-async-shell-command, dired-do-shell-command)
11933         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
11934         (dired-insert-subdir-validate): Use string-match-p.
11935         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
11936         (dired-add-entry): Use string-match-p, looking-at-p.
11937         (dired-insert-subdir-newpos): Remove unused local variable.
11939         * filenotify.el (file-notify-callback): Remove unused local variable.
11941         * filesets.el (filesets-error): Mark unused argument.
11942         (filesets-which-command-p, filesets-filter-dir-names)
11943         (filesets-directory-files, filesets-get-external-viewer)
11944         (filesets-ingroup-get-data): Use string-match-p.
11946         * find-file.el (ff-other-file-name, ff-other-file-name)
11947         (ff-find-the-other-file, ff-cc-hh-converter):
11948         Remove unused local variables.
11949         (ff-get-file-name): Use string-match-p.
11950         (ff-all-dirs-under): Use ignore-errors.
11952         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
11953         (follow-select-if-visible): Remove unused local variable.
11955         * forms.el (read-file-filter): Move declaration.
11956         (forms--make-format, forms--make-parser, forms-insert-record):
11957         Quote function with #'.
11958         (forms--update): Use string-match-p.  Quote function with #'.
11960         * help-mode.el (help-dir-local-var-def): Mark unused argument.
11961         (help-make-xrefs): Use looking-at-p.
11962         (help-xref-on-pp): Use looking-at-p, ignore-errors.
11964         * ibuffer.el (ibuffer-ext-visible-p): Declare.
11965         (ibuffer-confirm-operation-on): Use string-match-p.
11967         * msb.el (msb-item-handler, msb-dired-item-handler):
11968         Mark unused arguments.
11970         * ses.el (ses-decode-cell-symbol)
11971         (ses-kill-override): Remove unused local variable.
11972         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
11973         (ses-load): Use ignore-errors, looking-at-p.
11974         (ses-jump-safe): Use ignore-errors.
11975         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
11977         * tabify.el (untabify, tabify): Mark unused arguments.
11979         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
11980         Mark unused argument.
11981         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
11982         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
11984         * emacs-lisp/timer.el (timer--time): Define setter with
11985         gv-define-setter to avoid deprecation warning.
11987         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
11988         (*record-cmpl-statistics-p*): Remove (was commented out).
11989         (cmpl-statistics-block): Remove (body was commented out).
11990         All callers changed.
11991         (add-completions-from-buffer, load-completions-from-file):
11992         Remove unused variables.
11994 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
11996         * filecache.el (file-cache-delete-file-list):
11997         Print message only when told so.
11998         (file-cache-files-matching): Use #' in mapconcat argument.
12000         * ffap.el (ffap-url-at-point): Fix reference to variable
12001         thing-at-point-default-mail-uri-scheme.
12003 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12005         * subr.el (define-error): New function.
12006         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
12007         error-file-not-found and define with define-error.
12008         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
12009         and define with define-error.
12010         * userlock.el (file-locked, file-supersession):
12011         * simple.el (mark-inactive):
12012         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
12013         * progmodes/ada-mode.el (ada-mode-errors):
12014         * play/life.el (life-extinct):
12015         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
12016         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
12017         * nxml/rng-util.el (rng-error):
12018         * nxml/rng-uri.el (rng-uri-error):
12019         * nxml/rng-match.el (rng-compile-error):
12020         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
12021         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
12022         * nxml/nxml-rap.el (nxml-scan-error):
12023         * nxml/nxml-outln.el (nxml-outline-error):
12024         * net/soap-client.el (soap-error):
12025         * net/gnutls.el (gnutls-error):
12026         * net/ange-ftp.el (ftp-error):
12027         * mpc.el (mpc-proc-error):
12028         * json.el (json-error, json-readtable-error, json-unknown-keyword)
12029         (json-number-format, json-string-escape, json-string-format)
12030         (json-key-format, json-object-format):
12031         * jka-compr.el (compression-error):
12032         * international/quail.el (quail-error):
12033         * international/kkc.el (kkc-error):
12034         * emacs-lisp/ert.el (ert-test-failed):
12035         * calc/calc.el (calc-error, inexact-result, math-overflow)
12036         (math-underflow):
12037         * bookmark.el (bookmark-error-no-filename):
12038         * epg.el (epg-error): Define with define-error.
12040         * time.el (display-time-event-handler)
12041         (display-time-next-load-average): Don't call sit-for since it seems
12042         unnecessary (bug#15045).
12044         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
12045         Use #' instead of ' to quote functions.
12046         (checkdoc-output-mode): Use setq-local.
12047         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
12048         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
12049         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
12050         (checkdoc-ispell, checkdoc-ispell-current-buffer)
12051         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
12052         (checkdoc-ispell-message-text, checkdoc-ispell-start)
12053         (checkdoc-ispell-continue, checkdoc-ispell-comments)
12054         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
12056         * ido.el (ido-completion-help): Fix up compiler warning.
12058 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
12060         * frameset.el (frameset-p): Add autoload cookie.
12061         (frameset--jump-to-register): New function, based on code moved from
12062         register.el.
12063         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
12065         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
12066         (frameset-restore, frameset-save, frameset-session-filter-alist):
12067         Remove declarations.
12068         (register-alist): Doc fix.
12069         (frameset-to-register): Move to frameset.el.
12070         (jump-to-register, describe-register-1): Remove frameset-specific code.
12072 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12074         * allout-widgets.el (allout-widgets-pre-command-business)
12075         (allout-widgets-post-command-business)
12076         (allout-widgets-after-change-handler)
12077         (allout-decorate-item-and-context, allout-set-boundary-marker)
12078         (allout-body-modification-handler)
12079         (allout-graphics-modification-handler): Mark ignored arguments.
12080         (allout-widgets-post-command-business)
12081         (allout-widgets-exposure-change-processor)
12082         (allout-widgets-exposure-undo-processor)
12083         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
12084         (allout-parse-item-at-point, allout-decorate-item-guides)
12085         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
12086         * allout.el (epa-passphrase-callback-function): Declare.
12087         (allout-overlay-insert-in-front-handler)
12088         (allout-overlay-interior-modification-handler)
12089         (allout-isearch-end-handler, allout-chart-siblings)
12090         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
12091         (allout-yank-processing, allout-process-exposed)
12092         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
12093         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
12094         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
12095         (lisp-indent-defform): Mark ignored arguments.
12096         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
12097         (calculate-lisp-indent): Remove unused variables.
12098         * international/characters.el (indian-2-column, arabic-2-column)
12099         (tibetan): Mark ignored arguments.
12100         (use-cjk-char-width-table): Mark ignored arguments.
12101         Remove unused variables.
12102         * international/fontset.el (build-default-fontset-data)
12103         (x-compose-font-name, create-fontset-from-fontset-spec):
12104         Mark ignored arguments.
12105         (fontset-plain-name): Remove unused variables.
12106         * international/mule.el (charset-id, charset-bytes, generic-char-p)
12107         (keyboard-coding-system): Mark ignored arguments.
12108         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
12109         * help.el (resize-temp-buffer-window):
12110         * window.el (display-buffer-in-major-side-window)
12111         (display-buffer-in-side-window, display-buffer-in-previous-window):
12112         Remove unused variables.
12113         * isearch.el (isearch-forward-symbol):
12114         * version.el (emacs-bzr-version-bzr):
12115         * international/mule-cmds.el (current-language-environment):
12116         * term/common-win.el (x-handle-iconic, x-handle-geometry)
12117         (x-handle-display):
12118         * term/pc-win.el (x-list-fonts, x-display-planes)
12119         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
12120         (x-server-version, x-display-screens, x-display-mm-height)
12121         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
12122         (x-selection-owner-p, x-own-selection-internal)
12123         (x-disown-selection-internal, x-get-selection-internal)
12124         (msdos-initialize-window-system):
12125         * term/tty-colors.el (tty-color-alist, tty-color-clear):
12126         * term/x-win.el (x-handle-no-bitmap-icon):
12127         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
12128         (vc-default-find-file-hook, vc-default-extra-menu):
12129         Mark ignored arguments.
12131 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12133         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
12134         break-condition in the context of the debugged code (bug#12685).
12136 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
12138         * comint.el:
12139         Do not use an overlay to highlight the last prompt.  (Bug#14744)
12140         (comint-mode): Make comint-last-prompt buffer local.
12141         (comint-last-prompt): New variable.
12142         (comint-last-prompt-overlay): Remove.  Superseded by
12143         comint-last-prompt.
12144         (comint-snapshot-last-prompt, comint-output-filter):
12145         Use comint-last-prompt.
12147 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12149         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
12150         (frameset-save): Check validity of the resulting frameset.
12152 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
12154         * ido.el (ido-record-command): Add doc string.
12156 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12158         * frameset.el (frameset): Do not disable creation of the default
12159         frameset-p predicate.  Doc fix.
12160         (frameset-valid-p): New function, copied from the old predicate-p.
12161         Add additional checks.
12162         (frameset-restore): Check with frameset-valid-p.
12163         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
12164         (frameset-name, frameset-description, frameset-properties)
12165         (frameset-states): Add docstring.
12166         (frameset-session-filter-alist, frameset-persistent-filter-alist)
12167         (frameset-filter-alist): Doc fixes.
12169 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12171         * frameset.el (frameset-p, frameset-prop): Doc fixes.
12173 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12175         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
12176         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
12177         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
12178         (byte-compile-normal-call): Remove obsolescence check.
12180 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
12182         * frameset.el (frameset-restore): Doc fix.
12184         * register.el (frameset-frame-id, frameset-frame-with-id)
12185         (frameset-p, frameset-restore, frameset-save): Declare.
12186         (register-alist): Document framesets.
12187         (frameset-session-filter-alist): Declare.
12188         (frameset-to-register): New function.
12189         (jump-to-register): Implement jumping to framesets.  Doc fix.
12190         (describe-register-1): Describe framesets.
12192         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
12194 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
12196         * desktop.el (desktop-save-frameset): Use new frameset-save args.
12197         Use lexical-binding.
12199         * frameset.el (frameset): Use type vector, not list (incompatible
12200         change).  Do not declare a new constructor, use the default one.
12201         Upgrade suggested properties `app', `name' and `desc' to slots `app',
12202         `name' and `description', respectively, and add read-only slot
12203         `timestamp'.  Doc fixes.
12204         (frameset-copy, frameset-persistent-filter-alist)
12205         (frameset-filter-alist, frameset-switch-to-gui-p)
12206         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
12207         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
12208         (frameset-filter-iconified, frameset-keep-original-display-p):
12209         Doc fixes.
12210         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
12211         Rename from frameset-filter-(save|restore)-param.  All callers changed.
12212         Doc fix.
12213         (frameset-p): Adapt to change to vector and be more thorough.
12214         Change arg name to OBJECT.  Doc fix.
12215         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
12216         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
12217         All callers changed.
12218         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
12219         All callers changed.
12220         (frameset--record-minibuffer-relationships): Rename from
12221         frameset--process-minibuffer-frames.  All callers changed.
12222         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
12223         Use new default constructor (again).  Doc fix.
12224         (frameset--find-frame-if): Rename from `frameset--find-frame'.
12225         All callers changed.
12226         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
12227         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
12228         Doc fix.
12229         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
12230         PARAMETERS and WINDOW-STATE, respectively.
12231         (frameset-restore): Add new keyword argument PREDICATE.
12232         Reset frameset--target-display to nil.  Doc fix.
12234 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12236         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
12237         (bat-mode): Use it.
12238         (bat-mode-syntax-table): Mark \n as end-of-comment.
12239         (bat-font-lock-keywords): Remove comment rule.
12241         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
12242         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
12244         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
12245         (byte-compile-callargs-warn): Use `push'.
12246         (byte-compile-arglist-warn): Ignore higher-order "calls".
12247         (byte-compile-file-form-autoload): Use `pcase'.
12248         (byte-compile-function-form): If quoting a symbol, check that it exists.
12250 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
12252         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
12253         and add a few popular commands found in batch files.
12254         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
12255         (dos-mode): Doc fixes.
12257 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12259         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
12260         (dos-mode): Use setq-local.  Add space after "rem".
12261         (dos-mode-syntax-table): Don't use "w" for symbol chars.
12262         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
12264 2013-08-07  Arni Magnusson  <arnima@hafro.is>
12266         * progmodes/dos.el: New file.
12267         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
12268         dos-mode.
12270 2013-08-06  Glenn Morris  <rgm@gnu.org>
12272         * calendar/calendar.el: Add new faces, and day-header-array.
12273         (calendar-weekday-header, calendar-weekend-header)
12274         (calendar-month-header): New faces.
12275         (calendar-day-header-construct): New function.
12276         (calendar-day-header-width): Also :set calendar-day-header-array.
12277         (calendar-american-month-header, calendar-european-month-header)
12278         (calendar-iso-month-header): Use calendar- faces.
12279         (calendar-generate-month):
12280         Use calendar-day-header-array for day headers; apply faces to them.
12281         (calendar-mode): Check calendar-font-lock-keywords non-nil.
12282         (calendar-abbrev-construct): Add optional maxlen argument.
12283         (calendar-day-name-array): Doc fix.
12284         (calendar-day-name-array, calendar-abbrev-length)
12285         (calendar-day-abbrev-array):
12286         Also :set calendar-day-header-array, and maybe redraw.
12287         (calendar-day-header-array): New option.  (Bug#15007)
12288         (calendar-font-lock-keywords): Set to nil and make obsolete.
12289         (calendar-day-name): Add option to use header array.
12291 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12293         * net/shr.el (shr-render-td): Remove debugging.
12294         (shr-render-td): Make width computation consistent by defaulting
12295         all zero-width columns to 10 characters.  This may not be optimal,
12296         but it's at least consistent.
12297         (shr-make-table-1): Redo last change to fix the real problem in
12298         colspan handling.
12300 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
12302         * files.el (cache-long-line-scans):
12303         Make obsolete alias to `cache-long-scans'.
12305 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
12307         * frameset.el (frameset, frameset-filter-alist)
12308         (frameset-filter-params, frameset-save, frameset--reuse-frame)
12309         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
12310         (frameset-compute-pos): Rename from frameset--compute-pos,
12311         and add docstring.
12312         (frameset-move-onscreen): Use frameset-compute-pos.
12313         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12315         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
12316         Fix typos in docstrings.
12318 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
12320         * frame.el (get-other-frame): Tiny cleanup.
12322 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
12324         * vc/vc.el (vc-default-ignore-completion-table):
12325         Silence byte-compiler warning.
12327         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
12328         slot, which can indeed be nil.
12329         (frameset-live-filter-alist, frameset-persistent-filter-alist):
12330         Move entry for `left' from persistent to live filter alist.
12331         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
12332         Doc fixes.
12333         (frameset-filter-params): When restoring a frame, copy items added to
12334         `filtered', to avoid unwittingly modifying the original parameters.
12335         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
12336         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
12338         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
12339         to use looking-at-p instead of looking-at.  (Bug#15028)
12341 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12343         Revert introduction of isearch-filter-predicates (bug#14714).
12344         Rely on add-function instead.
12345         * isearch.el (isearch-filter-predicates): Rename it back to
12346         isearch-filter-predicate.
12347         (isearch-message-prefix): Use advice-function-mapc and advice
12348         properties to get the isearch-message-prefix.
12349         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
12350         instead of run-hook-with-args-until-failure.
12351         (isearch-filter-visible): Not obsolete any more.
12352         * loadup.el: Preload nadvice.
12353         * replace.el (perform-replace): Revert to funcall
12354         instead of run-hook-with-args-until-failure.
12355         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
12356         * dired-aux.el (dired-isearch-filenames-mode): Rename from
12357         dired-isearch-filenames-toggle; make it into a proper minor mode.
12358         Use add/remove-function.
12359         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
12360         Call the minor-mode rather than add/remove-hook.
12361         (dired-isearch-filter-filenames):
12362         Remove isearch-message-prefix property.
12363         * info.el (Info--search-loop): New function, extracted from Info-search.
12364         Funcall isearch-filter-predicate instead of
12365         run-hook-with-args-until-failure isearch-filter-predicates.
12366         (Info-search): Use it.
12367         (Info-mode): Use isearch-filter-predicate instead of
12368         isearch-filter-predicates.
12370 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
12372         Do not call to `selected-window' where it is assumed by default.
12373         Affected functions are `window-minibuffer-p', `window-dedicated-p',
12374         `window-hscroll', `window-width', `window-height', `window-buffer',
12375         `window-frame', `window-start', `window-point', `next-window'
12376         and `window-display-table'.
12377         * abbrev.el (abbrev--default-expand):
12378         * bs.el (bs--show-with-configuration):
12379         * buff-menu.el (Buffer-menu-mouse-select):
12380         * calc/calc.el (calc):
12381         * calendar/calendar.el (calendar-generate-window):
12382         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
12383         (diary-make-entry):
12384         * comint.el (send-invisible, comint-dynamic-complete-filename)
12385         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
12386         * completion.el (complete):
12387         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
12388         * disp-table.el (describe-current-display-table):
12389         * doc-view.el (doc-view-insert-image):
12390         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
12391         * ehelp.el (with-electric-help):
12392         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12393         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
12394         * emacs-lisp/helper.el (Helper-help-scroller):
12395         * emulation/cua-base.el (cua--post-command-handler-1):
12396         * eshell/esh-mode.el (eshell-output-filter):
12397         * ffap.el (ffap-gnus-wrapper):
12398         * help-macro.el (make-help-screen):
12399         * hilit-chg.el (highlight-compare-buffers):
12400         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
12401         * hl-line.el (global-hl-line-highlight):
12402         * icomplete.el (icomplete-simple-completing-p):
12403         * isearch.el (isearch-done):
12404         * jit-lock.el (jit-lock-stealth-fontify):
12405         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
12406         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
12407         * mpc.el (mpc-tagbrowser, mpc):
12408         * net/rcirc.el (rcirc-any-buffer):
12409         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
12410         * play/landmark.el (landmark-max-width, landmark-max-height):
12411         * play/zone.el (zone):
12412         * progmodes/compile.el (compilation-goto-locus):
12413         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
12414         * progmodes/etags.el (find-tag-other-window):
12415         * progmodes/fortran.el (fortran-column-ruler):
12416         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12417         * progmodes/verilog-mode.el (verilog-point-text):
12418         * reposition.el (reposition-window):
12419         * rot13.el (toggle-rot13-mode):
12420         * server.el (server-switch-buffer):
12421         * shell.el (shell-dynamic-complete-command)
12422         (shell-dynamic-complete-environment-variable):
12423         * simple.el (insert-buffer, set-selective-display)
12424         (delete-completion-window):
12425         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
12426         (speedbar-recenter):
12427         * startup.el (fancy-splash-head):
12428         * textmodes/ispell.el (ispell-command-loop):
12429         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
12430         * tutorial.el (help-with-tutorial):
12431         * vc/add-log.el (add-change-log-entry):
12432         * vc/compare-w.el (compare-windows):
12433         * vc/ediff-help.el (ediff-indent-help-message):
12434         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
12435         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
12436         (ediff-setup-control-frame):
12437         * vc/emerge.el (emerge-position-region):
12438         * vc/pcvs-util.el (cvs-bury-buffer):
12439         * window.el (walk-windows, mouse-autoselect-window-select):
12440         * winner.el (winner-set-conf, winner-undo): Related users changed.
12442 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
12444         * frameset.el (frameset--set-id): Doc fix.
12445         (frameset-frame-id, frameset-frame-id-equal-p)
12446         (frameset-locate-frame-id): New functions.
12447         (frameset--process-minibuffer-frames, frameset--reuse-frame)
12448         (frameset-restore): Use them.
12450 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
12452         Do not call to `selected-frame' where it is assumed by default.
12453         Affected functions are `raise-frame', `redraw-frame',
12454         `frame-first-window', `frame-terminal' and `delete-frame'.
12455         * calendar/appt.el (appt-disp-window):
12456         * epg.el (epg-wait-for-completion):
12457         * follow.el (follow-delete-other-windows-and-split)
12458         (follow-avoid-tail-recenter):
12459         * international/mule.el (set-terminal-coding-system):
12460         * mail/rmail.el (rmail-mail-return):
12461         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12462         * progmodes/f90.el (f90-add-imenu-menu):
12463         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
12464         * server.el (server-switch-buffer):
12465         * simple.el (delete-completion-window):
12466         * talk.el (talk):
12467         * term/xterm.el (terminal-init-xterm-modify-other-keys)
12468         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
12469         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
12470         * vc/ediff.el (ediff-documentation): Related users changed.
12471         * frame.el (selected-terminal): Remove the leftover.
12473 2013-08-05  Glenn Morris  <rgm@gnu.org>
12475         * calendar/calendar.el (calendar-generate-month):
12476         Fix for calendar-column-width != 1 + calendar-day-digit-width.
12477         (calendar-generate-month, calendar-font-lock-keywords):
12478         Fix for calendar-day-header-width > length of any day name.
12480 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
12482         * desktop.el (desktop-clear): Use new name of sort predicate.
12484         * frameset.el (frameset): Add docstring.  Move :version property to its
12485         own `version' slot.
12486         (frameset-copy): Rename from copy-frameset.
12487         (frameset-p): Check more thoroughly.
12488         (frameset-prop): Do not check for :version, which is no longer a prop.
12489         (frameset-live-filter-alist, frameset-persistent-filter-alist):
12490         Use new :never value instead of t.
12491         (frameset-filter-alist): Expand and clarify docstring.
12492         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
12493         (frameset-filter-minibuffer, frameset-filter-save-param)
12494         (frameset-filter-restore-param, frameset-filter-iconified):
12495         Add pointer to docstring of frameset-filter-alist.
12496         (frameset-filter-params): Rename filter values to be more meaningful:
12497         :never instead of t, and reverse the meanings of :save and :restore.
12498         (frameset--process-minibuffer-frames): Clarify error message.
12499         (frameset-save): Avoid unnecessary and confusing call to framep.
12500         Use new BOA constructor for framesets.
12501         (frameset--reuse-list): Doc fix.
12502         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
12503         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
12504         (frameset-minibufferless-first-p): Doc fix.
12505         Rename from frameset-sort-frames-for-deletion.
12506         (frameset-restore): Doc fixes.  Use new function names.
12507         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12509 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
12511         * desktop.el (desktop-restore-forces-onscreen)
12512         (desktop-restore-reuses-frames): Document :keyword constant values.
12513         (desktop-filter-parameters-alist): Remove, now identical to
12514         frameset-filter-alist.
12515         (desktop--filter-tty*): Remove, moved to frameset.el.
12516         (desktop-save-frameset, desktop-restore-frameset):
12517         Do not pass :filters argument.
12519         * frameset.el (frameset-live-filter-alist)
12520         (frameset-persistent-filter-alist): New variables.
12521         (frameset-filter-alist): Use them.  Add autoload cookie.
12522         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
12523         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
12524         `frameset--id' (it's supposed to be internal to frameset.el).
12525         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
12526         (frameset--initial-params): New function.
12527         (frameset--get-frame): Use it.  Doc fix.
12528         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
12529         Accept :all, not 'all.
12530         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
12531         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
12532         with fbound symbols.  Fix frame id matching, and remove matching ids if
12533         the frame being restored is deleted.  Obey :delete.
12535 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12537         * subr.el (macrop): New function.
12538         (text-clone--maintaining): New var.
12539         (text-clone--maintain): Rename from text-clone-maintain.  Use it
12540         instead of inhibit-modification-hooks.
12542         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
12543         a proxy, so as handle autoloads and redefinitions of the target.
12544         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
12546         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
12547         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
12548         (pcase--mutually-exclusive-p): New function.
12549         (pcase--split-consp): Use it.
12550         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
12551         mutually exclusive with the current predicate.
12553         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
12554         (edebug-macrop): Remove.  Use `macrop' instead.
12555         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
12556         (ad-macro-p):
12557         * eshell/esh-cmd.el (eshell-macrop):
12558         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
12560 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12562         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
12563         (advice-mapc): New function, using it.
12564         (advice-function-member-p): New function.
12565         (advice--normalize): Store the cdr in advice--saved-rewrite since
12566         that's the part that will be changed.
12567         (advice--symbol-function): New function.
12568         (advice-remove): Handle removal before the function is defined.
12569         Adjust to new advice--saved-rewrite.
12570         (advice-member-p): Use advice-function-member-p and
12571         advice--symbol-function.
12573 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
12575         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
12576         (frameset-filter-minibuffer): Doc fix.
12577         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
12578         (frameset--set-id, frameset--process-minibuffer-frames)
12579         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
12580         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
12582         * desktop.el (desktop-clear): Only delete frames when called
12583         interactively and desktop-restore-frames is non-nil.  Doc fix.
12584         (desktop-read): Set desktop-saved-frameset to nil.
12586 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
12588         * vc/vc.el (vc-ignore): Rewrite.
12589         (vc-default-ignore-completion-table, vc--read-lines)
12590         (vc--add-line, vc--remove-regexp): New functions.
12592         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
12593         (vc-svn-ignore-completion-table): New function.
12595         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
12596         (vc-hg-ignore-completion-table)
12597         (vc-hg-find-ignore-file): New functions.
12599         * vc/vc-git.el (vc-git-ignore): Rewrite.
12600         (vc-git-ignore-completion-table)
12601         (vc-git-find-ignore-file): New functions.
12603         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
12605         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
12606         (vc-bzr-ignore-completion-table)
12607         (vc-bzr-find-ignore-file): New functions.
12609 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
12611         * frameset.el (frameset-prop): New function and setter.
12612         (frameset-save): Do not modify frame list passed by the caller.
12614 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12616         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
12618 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12620         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
12621         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
12623         * custom.el (custom-initialize-default, custom-initialize-set)
12624         (custom-initialize-reset, custom-initialize-changed): Affect the
12625         toplevel-default-value (bug#6275, bug#14586).
12626         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
12627         for bug#6275.
12629 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
12631         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
12632         Add cl-def* expressions.
12634         * frameset.el (frameset-filter-params): Fix order of arguments.
12636 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
12638         Move code related to saving frames to frameset.el.
12639         * desktop.el: Require frameset.
12640         (desktop-restore-frames): Doc fix.
12641         (desktop-restore-reuses-frames): Rename from
12642         desktop-restoring-reuses-frames.
12643         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
12644         (desktop-clear): Clear frames too.
12645         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
12646         (desktop--filter-tty*, desktop-save, desktop-read):
12647         Use frameset functions.
12648         (desktop-before-saving-frames-functions, desktop--filter-*-color)
12649         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12650         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
12651         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
12652         (desktop--process-minibuffer-frames, desktop-save-frames)
12653         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
12654         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
12655         (desktop--sort-states, desktop-restoring-frames-p)
12656         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
12657         (desktop-restoring-frameset-p, desktop-restore-frameset)
12658         (desktop--check-dont-save, desktop-save-frameset): New functions.
12659         (desktop--app-id): New constant.
12660         (desktop-first-buffer, desktop-buffer-ok-count)
12661         (desktop-buffer-fail-count): Move before first use.
12662         * frameset.el: New file.
12664 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12666         * files.el: Use lexical-binding.
12667         (dir-locals-read-from-file): Remove unused `err' variable.
12668         (hack-dir-local-variables--warned-coding): New var.
12669         (hack-dir-local-variables): Use it to avoid repeated warnings.
12670         (make-backup-file-name--default-function): New function.
12671         (make-backup-file-name-function): Use it as default.
12672         (buffer-stale--default-function): New function.
12673         (buffer-stale-function): Use it as default.
12674         (revert-buffer-insert-file-contents--default-function): New function.
12675         (revert-buffer-insert-file-contents-function): Use it as default.
12676         (insert-directory): Avoid add-to-list.
12678         * autorevert.el (auto-revert-handler): Simplify.
12679         Use buffer-stale--default-function.
12681 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
12683         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
12685         * whitespace.el (whitespace-ensure-local-variables): New function.
12686         (whitespace-cleanup-region): Call it.
12687         (whitespace-turn-on): Call it.
12689 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
12691         Complete file name handlers.
12693         * net/tramp.el (tramp-handle-set-visited-file-modtime)
12694         (tramp-handle-verify-visited-file-modtime)
12695         (tramp-handle-file-notify-rm-watch): New functions.
12696         (tramp-call-process): Do not bind `default-directory'.
12698         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12699         Order alphabetically.
12700         <access-file, add-name-to-file, dired-call-process>:
12701         <dired-compress-file, file-acl, file-notify-rm-watch>:
12702         <file-ownership-preserved-p, file-selinux-context>:
12703         <make-directory-internal, make-symbolic-link, set-file-acl>:
12704         <set-file-selinux-context, set-visited-file-modtime>:
12705         <verify-visited-file-modtime>: Add handler.
12706         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
12708         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12709         <file-notify-add-watch, file-notify-rm-watch>:
12710         <set-file-times, set-visited-file-modtime>:
12711         <verify-visited-file-modtime>: Add handler.
12712         (with-tramp-gvfs-error-message)
12713         (tramp-gvfs-handle-set-visited-file-modtime)
12714         (tramp-gvfs-fuse-file-name): Remove.
12715         (tramp-gvfs-handle-file-notify-add-watch)
12716         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
12717         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
12719         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12720         Order alphabetically.
12721         <file-notify-rm-watch>: Use default Tramp handler.
12722         <executable-find>: Remove private handler.
12723         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
12724         `default-directory'.
12725         (tramp-sh-handle-executable-find)
12726         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
12727         (tramp-sh-file-gvfs-monitor-dir-process-filter)
12728         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
12729         Do not use `format' in `tramp-message'.
12731         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
12732         <file-notify-rm-watch, set-visited-file-modtime>:
12733         <verify-visited-file-modtime>: Add handler.
12734         (tramp-smb-call-winexe): Do not bind `default-directory'.
12736 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
12738         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
12740 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
12742         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
12743         use it.
12744         (log-view-diff-changeset): Same.
12745         (log-view-diff-common): Call backend command `previous-revision'
12746         to find out the previous revision, in both cases.  Swap the
12747         variables `to' and `fr', so that `fr' usually refers to the
12748         earlier revision (Bug#14989).
12750 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
12752         * ibuf-ext.el (ibuffer-filter-by-filename):
12753         Make it work with dired buffers too.
12755 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
12757         * emacs-lisp/re-builder.el (reb-color-display-p):
12758         * files.el (save-buffers-kill-terminal):
12759         * net/browse-url.el (browse-url):
12760         * server.el (server-save-buffers-kill-terminal):
12761         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
12762         Prefer nil to selected-frame for the first arg of frame-parameter.
12764 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
12766         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
12768 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
12770         * minibuffer.el (completion--twq-all): Try and preserve each
12771         completion's case choice (bug#14907).
12773 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12775         * net/network-stream.el (open-network-stream): Mention the new
12776         :nogreeting parameter.
12777         (network-stream-open-starttls): Use the :nogreeting parameter
12778         (bug#14938).
12780         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
12782         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
12783         more natural than popping.
12785         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
12786         (shr-urlify): Highlight under mouse.
12788 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
12790         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
12792         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
12794         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
12795         buffer for output.
12797         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
12798         point-min==1.  Fix search string.  Fix parentheses missing.
12800         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
12801         assume point-min==1.  Fix search string.  Fix parentheses missing.
12803         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
12805         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
12806         buffer for output.
12808 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
12810         * frame.el (frame-notice-user-settings): Avoid inflooping when the
12811         initial frame is minibuffer-less.  (Bug#14841)
12813 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
12815         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
12816         option.
12818         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12819         (tramp-maybe-open-connection): Use it.
12821 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
12823         * desktop.el (desktop--make-frame): Include `minibuffer' in the
12824         minimal set of parameters passed when creating a frame, because
12825         the minibuffer status of a frame cannot be changed later.
12827 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
12829         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
12830         replace-regexp-in-string and inadvertent omissions in previous change.
12831         (todo-filter-items): Ensure only file names are comma-separated in
12832         name of filtered items buffer.
12834 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
12836         * desktop.el: Optionally force offscreen frames back onscreen.
12837         (desktop-restoring-reuses-frames): New option.
12838         (desktop--compute-pos, desktop--move-onscreen): New functions.
12839         (desktop--make-frame): Use desktop--move-onscreen.
12841 2013-07-27  Alan Mackenzie  <acm@muc.de>
12843         Fontify a Java generic method as a function.
12844         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
12845         value to t.
12847 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
12849         * calendar/todo-mode.el: Add command to rename todo files.
12850         (todo-rename-file): New command.
12851         (todo-key-bindings-t): Add key binding for it.  Change the
12852         bindings of todo-filter-regexp-items(-multifile) to use `x'
12853         instead of `r', since the latter is better suited to the new
12854         renaming command.
12856 2013-07-27  Alan Mackenzie  <acm@muc.de>
12858         Make Java try-with-resources statement parse properly.
12859         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
12860         (c-block-stmt-1-2-key): New language constants/variables.
12861         * progmodes/cc-engine.el (c-beginning-of-statement-1)
12862         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
12863         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
12864         with c-block-stmt-1-2-key.
12866 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
12868         * desktop.el (desktop--make-frame): Apply most frame parameters after
12869         creating the frame to force (partially or totally) offscreen frames to
12870         be restored as such.
12872 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
12874         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
12875         (Bug#14948)
12877 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12879         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
12880         `base' arg of backtrace-frame.
12882 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
12884         * simple.el (list-processes): Doc fix.
12886 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
12888         * desktop.el (desktop--select-frame):
12889         Try harder to reuse existing frames.
12891 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12893         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
12894         (edebug-eval): Use backtrace-eval.
12895         (edebug--display, edebug--recursive-edit): Don't let-bind the
12896         edebug-outer-* vars that keep track of variables we locally let-bind.
12897         (edebug-outside-excursion): Don't restore outside values of locally
12898         let-bound vars.
12899         (edebug--display): Use user-error.
12900         (cl-lexical-debug, cl-debug-env): Remove.
12902 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
12904         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
12905         are restored to be sure that they are visible before deleting any
12906         remaining ones.
12908 2013-07-26  Matthias Meulien  <orontee@gmail.com>
12910         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
12911         vc-print-root-log.  (Bug#14948)
12913 2013-07-26  Richard Stallman  <rms@gnu.org>
12915         Add aliases for encrypting mail.
12916         * epa.el (epa-mail-aliases): New option.
12917         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
12918         Bind inhibit-read-only so read-only text doesn't ruin everything.
12919         (epa-mail-default-recipients): New subroutine broken out.
12920         Handle epa-mail-aliases.
12922 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12924         Add support for lexical variables to the debugger's `e' command.
12925         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
12926         vars, except for debugger-outer-match-data.
12927         (debugger-frame-number): Move check for "on a function call" from
12928         callers into it.  Add `skip-base' argument.
12929         (debugger-frame, debugger-frame-clear): Simplify accordingly.
12930         (debugger-env-macro): Only reset the state stored in non-variables,
12931         i.e. current-buffer and match-data.
12932         (debugger-eval-expression): Rewrite using backtrace-eval.
12933         * subr.el (internal--called-interactively-p--get-frame): Remove.
12934         (called-interactively-p):
12935         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
12936         `base' arg of backtrace-frame instead.
12938 2013-07-26  Glenn Morris  <rgm@gnu.org>
12940         * align.el (align-regexp): Doc fix.  (Bug#14857)
12941         (align-region): Explicit error if subexpression missing/does not match.
12943         * simple.el (global-visual-line-mode):
12944         Do not duplicate the mode lighter.  (Bug#14858)
12946 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
12948         * window.el (display-buffer): In display-buffer bind
12949         split-window-keep-point to t, bug#14829.
12951 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
12953         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
12954         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
12955         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
12956         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12957         Change accordingly.
12958         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12959         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
12961 2013-07-25  Glenn Morris  <rgm@gnu.org>
12963         * dired-x.el (dired-mark-extension): Convert comment to doc string.
12965 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
12967         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
12968         parameter to modify-frame-parameters if the value has not changed;
12969         this is a workaround for bug#14949.
12970         (desktop--make-frame): On cl-delete-if call, check parameter name,
12971         not full parameter.
12973 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
12975         * vc/vc.el (vc-ignore): New function.
12977         * vc/vc-svn.el (vc-svn-ignore): New function.
12979         * vc/vc-hg.el (vc-hg-ignore): New function.
12981         * vc/vc-git.el (vc-git-ignore): New function.
12983         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
12984         (vc-dir-ignore): New function.
12986         * vc/vc-cvs.el (vc-cvs-ignore): New function.
12987         (cvs-append-to-ignore): Move here from pcvs.el.
12989         * vc/vc-bzr.el (vc-bzr-ignore): New function.
12991         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
12993 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
12995         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
12996         (desktop-restore-frames): Warn when deleting an existing frame failed.
12998 2013-07-24  Glenn Morris  <rgm@gnu.org>
13000         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
13002 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
13004         * filenotify.el (file-notify-supported-p):
13005         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13006         Remove functions.
13008         * autorevert.el (auto-revert-use-notify)
13009         (auto-revert-notify-add-watch):
13010         * net/tramp.el (tramp-file-name-for-operation):
13011         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13012         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13013         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13014         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13015         Remove `file-notify-supported-p' entry.
13017 2013-07-24  Glenn Morris  <rgm@gnu.org>
13019         * printing.el: Replace all uses of deleted ps-windows-system,
13020         ps-lp-system, ps-flatten-list with lpr- versions.
13022 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13024         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
13025         checked with memq (bug#14935).
13027         * files.el (revert-buffer-function): Use a non-nil default.
13028         (revert-buffer-preserve-modes): Declare var to
13029         provide access to the `preserve-modes' argument.
13030         (revert-buffer): Let-bind it.
13031         (revert-buffer--default): New function, extracted from revert-buffer.
13033 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13035         * lpr.el: Signal print errors more prominently.
13036         (print-region-function): Don't default to nil.
13037         (lpr-print-region): New function, extracted from print-region-1.
13038         Check lpr's return value and signal an error in case of problem.
13039         (print-region-1): Use it.
13040         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
13041         versions instead.
13042         (ps-printer-name): Default to nil.
13043         (ps-printer-name-option): Default to lpr-printer-switch.
13044         (ps-print-region-function): Don't default to nil.
13045         (ps-postscript-code-directory): Simplify default.
13046         (ps-do-despool): Use lpr-print-region to properly check the outcome.
13047         (ps-string-list, ps-eval-switch, ps-flatten-list)
13048         (ps-flatten-list-1): Remove.
13049         (ps-multibyte-buffer): Avoid setq.
13050         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
13051         (print-region-function, ps-print-region-function): Don't set them here.
13053 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
13055         * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
13056         (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
13057         (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
13058         (ido-decorations): Doc fix.
13060         * ansi-color.el: Fix old URL.
13062 2013-07-23  Michael R. Mauger  <michael@mauger.com>
13064         * progmodes/sql.el: Version 3.3
13065         (sql-product-alist): Improve oracle :prompt-cont-regexp.
13066         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
13067         (sql-interactive-remove-continuation-prompt): Rewrite, use
13068         functions above.  Fix continuation prompt and complete output line
13069         handling.
13070         (sql-redirect-one, sql-execute): Use `read-only-mode' on
13071         redirected output buffer.
13072         (sql-mode): Restore deleted code (Bug#13591).
13074 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
13076         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
13078 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
13080         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
13082         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13083         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13084         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
13086 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
13088         * desktop.el (desktop-clear): Simplify; remove useless checks
13089         against invalid buffer names.
13090         (desktop-list*): Use cl-list*.
13091         (desktop-buffer-info, desktop-create-buffer): Simplify.
13093 2013-07-23  Leo Liu  <sdl.web@gmail.com>
13095         * bookmark.el (bookmark-make-record): Restore NAME as a default
13096         value.  (Bug#14933)
13098 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13100         * emacs-lisp/autoload.el (autoload--setup-output): New function,
13101         extracted from autoload--insert-text.
13102         (autoload--insert-text): Remove.
13103         (autoload--print-cookie-text): New function, extracted from
13104         autoload--insert-cookie-text.
13105         (autoload--insert-cookie-text): Remove.
13106         (autoload-generate-file-autoloads): Adjust calls accordingly.
13108         * winner.el (winner-hook-installed-p): Remove.
13109         (winner-mode): Simplify accordingly.
13111         * subr.el (add-to-list): Fix compiler-macro when `append' is
13112         not constant.  Don't use `cl-member' for the base case.
13114         * progmodes/subword.el: Fix boundary case (bug#13758).
13115         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
13116         own group.
13117         (subword-backward-regexp): Make it a constant.
13118         (subword-forward-internal): Don't treat a trailing capital as the
13119         beginning of a word.
13121 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
13123         * emacs-lisp/package.el (package-menu-mode): Don't modify the
13124         global value of tabulated-list-revert-hook (bug#14930).
13126 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
13128         * desktop.el: Require 'cl-lib.
13129         (desktop-before-saving-frames-functions): New hook.
13130         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
13131         for frames being saved.  Rename from desktop--save-minibuffer-frames.
13132         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
13133         Do not save frames with non-nil `desktop-dont-save' parameter.
13134         Filter out deleted frames.
13135         (desktop--find-frame): Use cl-find-if.
13136         (desktop--select-frame): Use cl-(first|second|third) to access values
13137         of desktop-mini.
13138         (desktop--make-frame): Use cl-delete-if.
13139         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
13140         (desktop-restore-frames): Use cl-(first|second|third) to access values
13141         of desktop-mini.  Look for visible frame at the end, not while
13142         restoring frames.
13144         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
13145         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
13146         Use string-match-p, looking-at-p (bug#14927).
13148 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
13150         * desktop.el (desktop-saved-frame-states):
13151         Rename from desktop--saved-states; all users changed.
13152         (desktop-save-frames): Rename from desktop--save-frames.
13153         Do not save state to desktop file.
13154         (desktop-save): Save desktop-saved-frame-states to desktop file
13155         and reset to nil.
13156         (desktop-restoring-frames-p): New function.
13157         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
13158         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
13159         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
13161         * desktop.el: Correctly restore iconified frames.
13162         (desktop--filter-iconified-position): New function.
13163         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
13165 2013-07-20  Glenn Morris  <rgm@gnu.org>
13167         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
13168         Let `message' do the formatting.
13169         (def-gdb-preempt-display-buffer): Add explicit format.
13171         * image-dired.el (image-dired-track-original-file):
13172         Use with-current-buffer.
13173         (image-dired-track-thumbnail): Use with-current-buffer.
13174         Avoid changing point of wrong window.
13176         * image-dired.el (image-dired-track-original-file):
13177         Avoid changing point of wrong window.  (Bug#14909)
13179 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
13181         * progmodes/gdb-mi.el (gdb-done-or-error):
13182         Guard against "%" in gdb output.  (Bug#14127)
13184 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
13186         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
13187         (Bug#14826)
13189         * international/mule.el (coding-system-iso-2022-flags): Fix last
13190         change.
13192 2013-07-20  Kenichi Handa  <handa@gnu.org>
13194         * international/mule.el (coding-system-iso-2022-flags):
13195         Add `8-bit-level-4'.  (Bug#8522)
13197 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13199         * net/shr.el (shr-mouse-browse-url): New command and keystroke
13200         (bug#14815).
13202         * net/eww.el (eww-process-text-input): Allow inputting when the
13203         point is at the start of the line, as the properties aren't
13204         front-sticky.
13206         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
13207         degenerate widths.
13209 2013-07-19  Richard Stallman  <rms@gnu.org>
13211         * epa.el (epa-popup-info-window): Doc fix.
13213         * subr.el (split-string): New arg TRIM.
13215 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
13217         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
13218         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
13220 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
13222         * filenotify.el (file-notify--library): Rename from
13223         `file-notify-support'.  Do not autoload.  Adapt all uses.
13224         (file-notify-supported-p): New defun.
13226         * autorevert.el (auto-revert-use-notify):
13227         Use `file-notify-supported-p' instead of `file-notify-support'.
13228         Adapt docstring.
13229         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
13231         * net/tramp.el (tramp-file-name-for-operation):
13232         Add `file-notify-supported-p'.
13234         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13235         New defun.
13236         (tramp-sh-file-name-handler-alist): Add it as handler for
13237         `file-notify-supported-p '.
13239         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13240         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13241         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13242         Add `ignore' as handler for `file-notify-*' functions.
13244 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
13246         * simple.el (line-move-partial, line-move): Don't start vscroll or
13247         scroll-up if the current line is not taller than the window.
13248         (Bug#14881)
13250 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
13252         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
13253         highlight question marks in the method names as strings.
13254         (ruby-block-beg-keywords): Inline.
13255         (ruby-font-lock-keyword-beg-re): Extract from
13256         `ruby-font-lock-keywords'.
13258 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
13260         * frame.el (blink-cursor-blinks): New defcustom.
13261         (blink-cursor-blinks-done): New defvar.
13262         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
13263         (blink-cursor-timer-function): Check if number of blinks has been
13264         done on X and NS.
13265         (blink-cursor-suspend, blink-cursor-check): New defuns.
13267 2013-07-15  Glenn Morris  <rgm@gnu.org>
13269         * edmacro.el (edmacro-format-keys): Fix previous change.
13271 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
13273         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
13274         The hack didn't work outside English locales anyway.
13276 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
13278         * simple.el (define-alternatives): Rename from alternatives-define,
13279         per RMS' suggestion.
13281 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
13283         * desktop.el (desktop-restore-frames): Change default to t.
13284         (desktop-restore-in-current-display): Now offer more options.
13285         (desktop-restoring-reuses-frames): New customization option.
13286         (desktop--saved-states): Doc fix.
13287         (desktop-filter-parameters-alist): New variable, renamed and expanded
13288         from desktop--excluded-frame-parameters.
13289         (desktop--target-display): New variable.
13290         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
13291         (desktop--filter-tty*, desktop--filter-*-color)
13292         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13293         (desktop--filter-save-desktop-parm)
13294         (desktop-restore-in-original-display-p): New functions.
13295         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
13296         (desktop--save-minibuffer-frames): New function, inspired by a similar
13297         function from Martin Rudalics.
13298         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
13299         (desktop--restore-in-this-display-p): Remove.
13300         (desktop--find-frame): Rename from desktop--find-frame-in-display
13301         and add predicate argument.
13302         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
13303         (desktop--reuse-list): New variable.
13304         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
13305         New functions.
13306         (desktop--restore-frames): Add support for "minibuffer-special" frames.
13308 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
13310         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
13312 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
13314         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13315         Highlight conversion methods on Kernel.
13317 2013-07-13  Alan Mackenzie  <acm@muc.de>
13319         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
13320         and comment it out.  This out-commenting enables certain C++
13321         declarations to be parsed correctly.
13323 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
13325         * international/mule.el (define-coding-system): Doc fix.
13327         * simple.el (default-font-height): Don't call font-info if the
13328         frame's default font didn't change since the frame was created.
13329         (Bug#14838)
13331 2013-07-13  Leo Liu  <sdl.web@gmail.com>
13333         * ido.el (ido-read-file-name): Guard against non-symbol value.
13335 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
13337         * progmodes/python.el (python-imenu--build-tree): Fix corner case
13338         in nested defuns.
13340 2013-07-13  Leo Liu  <sdl.web@gmail.com>
13342         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
13343         ido-set-matches call.  (Bug#6852)
13345 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
13347         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
13348         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
13349         Ruby 2.0.
13350         (ruby-font-lock-keywords): Distinguish calls to functions with
13351         module-like names from module references.  Highlight character
13352         literals.
13354 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
13356         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
13357         (gdb-send): Handle continued commands.  (Bug#14847)
13359 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
13361         * desktop.el (desktop--v2s): Remove unused local variable.
13362         (desktop-save-buffer): Make defvar-local; adjust docstring.
13363         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
13364         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
13366 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
13368         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
13370 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
13372         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
13373         (Bug#14842)
13375 2013-07-12  Glenn Morris  <rgm@gnu.org>
13377         * doc-view.el: Require cl-lib at runtime too.
13378         (doc-view-remove-if): Remove.
13379         (doc-view-search-next-match, doc-view-search-previous-match):
13380         Use cl-remove-if.
13382         * edmacro.el: Require cl-lib at runtime too.
13383         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
13384         (edmacro-mismatch, edmacro-subseq): Remove.
13386         * shadowfile.el: Require cl-lib.
13387         (shadow-remove-if): Remove.
13388         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
13389         Use cl-remove-if.
13391         * wid-edit.el: Require cl-lib.
13392         (widget-choose): Use cl-remove-if.
13393         (widget-remove-if): Remove.
13395         * progmodes/ebrowse.el: Require cl-lib at runtime too.
13396         (ebrowse-delete-if-not): Remove.
13397         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
13398         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
13399         Use cl-delete-if-not.
13401 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
13403         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
13404         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
13406 2013-07-12  Leo Liu  <sdl.web@gmail.com>
13408         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
13410 2013-07-11  Glenn Morris  <rgm@gnu.org>
13412         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
13413         (edebug-gensym-index, edebug-gensym):
13414         Remove reimplementation of cl-gensym.
13415         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
13417         * thumbs.el: Require cl-lib at run-time too.
13418         (thumbs-gensym-counter, thumbs-gensym):
13419         Remove reimplementation of cl-gensym.
13420         (thumbs-temp-file): Use cl-gensym.
13422         * emacs-lisp/ert.el: Require cl-lib at runtime too.
13423         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
13424         (ert--intersection, ert--set-difference, ert--set-difference-eq)
13425         (ert--union, ert--gensym-counter, ert--gensym-counter)
13426         (ert--coerce-to-vector, ert--remove*, ert--string-position)
13427         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
13428         (ert-make-test-unbound, ert--expand-should-1)
13429         (ert--expand-should, ert--should-error-handle-error)
13430         (should-error, ert--explain-equal-rec)
13431         (ert--plist-difference-explanation, ert-select-tests)
13432         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
13433         Use cl-lib functions rather than reimplementations.
13435 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
13437         * net/tramp.el (tramp-methods): Extend docstring.
13438         (tramp-connection-timeout): New defcustom.
13439         (tramp-error-with-buffer): Reset timestamp only when appropriate.
13440         (with-tramp-progress-reporter): Simplify.
13441         (tramp-process-actions): Improve messages.
13443         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
13444         * net/tramp-sh.el (tramp-maybe-open-connection):
13445         Use `tramp-connection-timeout'.
13446         (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
13447         (Bug#14808)
13449 2013-07-11  Leo Liu  <sdl.web@gmail.com>
13451         * ido.el (ido-read-file-name): Conform to the requirements of
13452         read-file-name.  (Bug#11861)
13453         (ido-read-directory-name): Conform to the requirements of
13454         read-directory-name.
13456 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
13458         * subr.el (delay-warning): New function.
13460 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
13462         * simple.el (default-line-height): New function.
13463         (line-move-partial, line-move): Use it instead of computing the
13464         line height inline.
13465         (line-move-partial): Always compute ROWH.  If the last line is
13466         partially-visible, but its text is completely visible, allow
13467         cursor to enter such a partially-visible line.
13469 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
13471         Improve error messages.  (Bug#14808)
13473         * net/tramp.el (tramp-current-connection): New defvar, moved from
13474         tramp-sh.el.
13475         (tramp-message-show-progress-reporter-message): Remove, not
13476         needed anymore.
13477         (tramp-error-with-buffer): Show message in minibuffer.
13478         Discard input before waiting.  Reset connection timestamp.
13479         (with-tramp-progress-reporter): Improve messages.
13480         (tramp-process-actions): Use progress reporter.  Delete process in
13481         case of error.  Improve messages.
13483         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
13484         Call `tramp-error-with-buffer' with vector and buffer.
13485         (tramp-current-connection): Remove.
13486         (tramp-maybe-open-connection): The car of
13487         `tramp-current-connection' are the first 3 slots of the vector.
13489 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
13491         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
13492         inside continued strings.
13494 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
13496         Timestamp fixes for undo (Bug#14824).
13497         * files.el (clear-visited-file-modtime): Move here from fileio.c.
13499 2013-07-10  Leo Liu  <sdl.web@gmail.com>
13501         * files.el (require-final-newline): Allow safe local value.
13502         (Bug#14834)
13504 2013-07-09  Leo Liu  <sdl.web@gmail.com>
13506         * ido.el (ido-read-directory-name): Handle fallback.
13507         (ido-read-file-name): Update DIR to ido-current-directory.
13508         (Bug#1516)
13509         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
13511 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
13513         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
13514         "autoload".  Remove "warn lower camel case" section, previously
13515         commented out.  Highlight negation char.  Do not highlight the
13516         target in singleton method definitions.
13518 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13520         * faces.el (tty-setup-hook): Declare the hook.
13522         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
13523         and detect when a guard/pred depends on local vars (bug#14773).
13524         (pcase--u1): Adjust caller.
13526 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
13528         * simple.el (line-move-partial, line-move): Account for
13529         line-spacing.
13530         (line-move-partial): Avoid setting vscroll when the last
13531         partially-visible line in window is of default height.
13533 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13535         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
13536         been used a while.
13538 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
13540         * subr.el (read-quoted-char): Remove unused local variable `char'.
13542 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13544         * vc/ediff.el (ediff-version): Version update.
13545         (ediff-files-command, ediff3-files-command, ediff-merge-command)
13546         (ediff-merge-with-ancestor-command, ediff-directories-command)
13547         (ediff-directories3-command, ediff-merge-directories-command)
13548         (ediff-merge-directories-with-ancestor-command): New functions.
13549         All are command-line interfaces to ediff: to facilitate calling
13550         Emacs with the appropriate ediff functions invoked.
13552         * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
13553         New function.
13554         (viper-save-kill-buffer): Check if buffer is modified.
13556         * emulation/viper.el (viper-version): Version update.
13557         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
13559 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13561         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
13562         * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
13563         (viper-intercept-ESC-key): Simplify.
13564         * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
13565         don't use kbd.
13566         * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
13567         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
13568         (viper-setup-ESC-to-escape): New functions.
13569         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
13570         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
13572 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
13574         * simple.el (default-font-height, window-screen-lines):
13575         New functions.
13576         (line-move, line-move-partial): Use them instead of
13577         frame-char-height and window-text-height.  This makes scrolling
13578         text smoother when the buffer's default face uses a font that is
13579         different from the frame's default font.
13581 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
13583         * files.el (write-file): Do not display confirm dialog for NS,
13584         it does its own dialog, which can't be canceled (Bug#14578).
13586 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
13588         * simple.el (line-move-partial): Adjust the row returned by
13589         posn-at-point for the current window-vscroll.  (Bug#14567)
13591 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
13593         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
13594         (tramp-sh-file-inotifywait-process-filter): Handle file names with
13595         spaces.
13597 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
13599         * window.el (window-state-put-stale-windows): New variable.
13600         (window--state-put-2): Save list of windows without matching buffer.
13601         (window-state-put): Remove "bufferless" windows if possible.
13603 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
13605         * simple.el (alternatives-define): Remove leftover :group keyword.
13606         Tweak docstring.
13608 2013-07-06  Leo Liu  <sdl.web@gmail.com>
13610         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
13611         (ido-enable-virtual-buffers): New variable.
13612         (ido-buffer-internal, ido-toggle-virtual-buffers)
13613         (ido-make-buffer-list): Use it.
13614         (ido-exhibit): Support turning on and off virtual buffers
13615         automatically.
13617 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
13619         * simple.el (alternatives-define): New macro.
13621 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13623         * subr.el (read-quoted-char): Use read-key.
13624         (sit-for): Let read-event decode tty input (bug#14782).
13626 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
13628         * calendar/todo-mode.el: Add handling of file deletion, both by
13629         mode command and externally.  Fix various related bugs.
13630         Clarify Commentary and improve some documentation strings and code.
13631         (todo-delete-file): New command.
13632         (todo-check-file): New function.
13633         (todo-show): Handle external deletion of the file we're trying to
13634         show (bug#14688).  Replace called-interactively-p by an optional
13635         prefix argument to avoid problematic interaction with catch form
13636         when byte compiled (bug#14702).
13637         (todo-quit): Handle external deletion of the archive's todo file.
13638         Make sure the buffer that was visiting the archive file is still
13639         live before trying to bury it.
13640         (todo-category-completions): Handle external deletion of any
13641         category completion files.
13642         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
13643         of todo files, in case of external deletion.
13644         (todo-add-file): Replace unnecessary setq by let-binding.
13645         (todo-find-archive): Check whether there are any archives.
13646         Replace unnecessary setq by let-binding.
13647         (todo-archive-done-item): Use find-file-noselect to get the
13648         archive buffer whether or not the archive already exists.
13649         Remove superfluous code.  Use file size instead of buffer-file-name to
13650         check if the archive is new; if it is, update list of archives.
13651         (todo-default-todo-file): Allow nil to be a valid value for when
13652         there are no todo files.
13653         (todo-reevaluate-default-file-defcustom): Use corrected definition
13654         of todo-default-todo-file.
13655         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
13656         (todo-delete-category, todo-show-categories-table)
13657         (todo-category-number): Clarify comment.
13658         (todo-filter-items): Clarify documentation string.
13659         (todo-show-current-file, todo-display-as-todo-file)
13660         (todo-reset-and-enable-done-separator): Tweak documentation string.
13661         (todo-done-separator): Make separator length window-width, since
13662         bug#2749 is now fixed.
13664 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
13666         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
13667         Support both "gvfs-monitor-dir" and "inotifywait".
13668         (tramp-sh-file-inotifywait-process-filter): Rename from
13669         `tramp-sh-file-notify-process-filter'.
13670         (tramp-sh-file-gvfs-monitor-dir-process-filter)
13671         (tramp-get-remote-gvfs-monitor-dir): New defuns.
13673 2013-07-05  Leo Liu  <sdl.web@gmail.com>
13675         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
13677 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13679         * frame.el (display-pixel-height, display-pixel-width)
13680         (display-mm-height, display-mm-width): Mention behavior on
13681         multi-monitor setups in docstrings.
13682         (w32-display-monitor-attributes-list): Declare function.
13683         (display-monitor-attributes-list): Use it.
13685 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
13687         * filenotify.el: New package.
13689         * autorevert.el (top): Require filenotify.el.
13690         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
13691         instead.
13692         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13693         (auto-revert-notify-handler): Use `file-notify-*' functions.
13695         * subr.el (file-notify-handle-event): Move function to filenotify.el.
13697         * net/tramp.el (tramp-file-name-for-operation):
13698         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
13700         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
13701         for `file-notify-add-watch' and `file-notify-rm-watch'.
13702         (tramp-process-sentinel): Improve trace.
13703         (tramp-sh-handle-file-notify-add-watch)
13704         (tramp-sh-file-notify-process-filter)
13705         (tramp-sh-handle-file-notify-rm-watch)
13706         (tramp-get-remote-inotifywait): New defuns.
13708 2013-07-03  Juri Linkov  <juri@jurta.org>
13710         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
13711         call of `occur-read-primary-args' to interactive spec.
13713         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
13714         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
13716 2013-07-03  Matthias Meulien  <orontee@gmail.com>
13718         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
13719         `Buffer-menu-multi-occur'.  Add it to the menu.
13720         (Buffer-menu-mode): Document it in docstring.
13721         (Buffer-menu-multi-occur): New command.  (Bug#14673)
13723 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
13725         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
13726         keywords and built-ins.
13728 2013-07-03  Glenn Morris  <rgm@gnu.org>
13730         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
13732         Make info-xref checks case-sensitive by default
13733         * info.el (Info-find-node, Info-find-in-tag-table)
13734         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
13735         Add option for exact case matching of nodes.
13736         * info-xref.el (info-xref): New custom group.
13737         (info-xref-case-fold): New option.
13738         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
13740 2013-07-03  Leo Liu  <sdl.web@gmail.com>
13742         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
13744 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
13746         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
13747         middle of block statement initially, lower the depth.  Remove
13748         FIXME comment, not longer valid.  Remove middle of block statement
13749         detection, no need to do that anymore since we've been using
13750         `ruby-parse-region' here.
13752 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
13754         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
13756 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
13758         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
13760 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
13762         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
13763         (desktop-restore-in-current-display): New customization option.
13764         (desktop--excluded-frame-parameters): Add `font'.
13765         (desktop--save-frames): Rename from desktop--save-windows.
13766         (desktop--restore-in-this-display-p): New function.
13767         (desktop--make-full-frame): Remove unwanted width/height from
13768         full(width|height) frames.
13769         (desktop--restore-frames): Rename from desktop--restore-windows.
13770         Obey desktop-restore-current-display.  Do not delete old frames or
13771         select a new frame unless we were able to restore at least one frame.
13773 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
13775         * files.el (find-file-noselect): Simplify conditional expression.
13777         * textmodes/remember.el (remember-append-to-file):
13778         Don't mix `find-buffer-visiting' and `get-file-buffer'.
13780         Add `remember-notes' function to store random notes across Emacs
13781         restarts.
13782         * textmodes/remember.el (remember-data-file): Add :set callback to
13783         affect notes buffer (if any).
13784         (remember-notes): New command.
13785         (remember-notes-buffer-name, bury-remember-notes-on-kill):
13786         New defcustoms for the `remember-notes' function.
13787         (remember-notes-save-and-bury-buffer): New command.
13788         (remember-notes-mode-map): New variable.
13789         (remember-mode): New minor mode.
13790         (remember-notes--kill-buffer-query): New function.
13791         * startup.el (initial-buffer-choice): Add notes to custom type.
13793 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
13795         * bindings.el (right-char, left-char): Don't call sit-for, this is
13796         no longer needed.  Use arithmetic comparison only for numerical
13797         arguments.
13799         * international/mule-cmds.el (select-safe-coding-system):
13800         Handle the case of FROM being a string correctly.  (Bug#14755)
13802 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13804         * net/shr.el (shr-make-table-1): Add a sanity check that allows
13805         progression on degenerate tables.
13806         (shr-rescale-image): ImageMagick animated images currently don't work.
13808 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
13810         Some fixes and improvements for desktop frame restoration.
13811         It is still experimental and disabled by default.
13812         * desktop.el (desktop--save-windows): Put the selected frame at
13813         the head of the list.
13814         (desktop--make-full-frame): New function.
13815         (desktop--restore-windows): Try to re-select the frame that was
13816         selected upon saving.  Do not abort if some frames fail to restore,
13817         just show an error message and continue.  Set up maximized frames
13818         so they have default non-maximized dimensions.
13820 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
13822         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13823         Don't start heredoc inside a string or comment.
13825 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
13827         * bindings.el (visual-order-cursor-movement): New defcustom.
13828         (right-char, left-char): Provide visual-order cursor motion by
13829         calling move-point-visually.  Update the doc strings.
13831 2013-06-28  Kenichi Handa  <handa@gnu.org>
13833         * international/mule.el (define-coding-system): New coding system
13834         properties :inhibit-null-byte-detection,
13835         :inhibit-iso-escape-detection, and :prefer-utf-8.
13836         (set-buffer-file-coding-system): If :charset-list property of
13837         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
13838         appropriate for setting.
13840         * international/mule-cmds.el (select-safe-coding-system):
13841         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
13842         multibyte characters, return utf-8 (or one of its siblings).
13844         * international/mule-conf.el (prefer-utf-8): New coding system.
13845         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
13846         files.
13848 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
13850         * net/shr.el (shr-render-region): New function.
13852         * net/eww.el: Autoload `eww-browse-url'.
13854 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
13856         * emacs-lisp/package-x.el (package-upload-buffer-internal):
13857         Adapt to `package-desc-version' being a list.
13858         Use `package--ac-desc-version' to retrieve version from a package
13859         archive element.
13861 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
13863         New experimental feature to save&restore window and frame setup.
13864         * desktop.el (desktop-save-windows): New defcustom.
13865         (desktop--saved-states): New var.
13866         (desktop--excluded-frame-parameters): New defconst.
13867         (desktop--filter-frame-parms, desktop--find-frame-in-display)
13868         (desktop--restore-windows, desktop--save-windows): New functions.
13869         (desktop-save): Call `desktop--save-windows'.
13870         (desktop-read): Call `desktop--restore-windows'.
13872 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13874         * net/shr.el (add-face-text-property): Remove compat definition.
13876 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
13878         * info.el (Info-try-follow-nearest-node): Move search for footnote
13879         above search for node name to prevent missing a footnote (bug#14717).
13881 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
13883         * obsolete/otodo-mode.el: Add obsolescence info to file header.
13885 2013-06-27  Leo Liu  <sdl.web@gmail.com>
13887         * net/eww.el (eww-read-bookmarks): Check file size.
13889 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13891         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
13892         advice--pending if newdef is nil or an autoload (bug#13820).
13893         (advice-mapc): New function.
13895 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13897         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
13898         probably.
13899         (eww-mode-map): Add a menu bar.
13900         (eww-add-bookmark): New command.
13901         (eww-bookmark-mode): New mode and commands.
13902         (eww-add-bookmark): Remove newlines from the title.
13903         (eww-bookmark-browse): Don't bug out if it's the only window.
13905 2013-06-26  Glenn Morris  <rgm@gnu.org>
13907         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
13908         (hfy-size): Handle ttys.  (Bug#14668)
13910         * info-xref.el: Update for Texinfo 5 change in *note format.
13911         (info-xref-node-re, info-xref-note-re): New constants.
13912         (info-xref-check-buffer): Use info-xref-note-re.
13914 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13916         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
13918         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
13919         nil terminate the loop (bug#14718).
13921 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13923         * net/eww.el: Rework history traversal.  When going forward/back,
13924         put these actions into the history, too, so that they can be
13925         replayed.
13926         (eww-render): Move the history reset to the correct buffer.
13928 2013-06-25  Juri Linkov  <juri@jurta.org>
13930         * files-x.el (modify-dir-local-variable): Change the header comment
13931         in the file with directory local variables.  (Bug#14692)
13933         * files-x.el (read-file-local-variable-value): Add `default'.
13934         (Bug#14710)
13936 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13938         * net/eww.el (eww-make-unique-file-name): Create a unique file
13939         name before saving to entering `y' accidentally asynchronously.
13941 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
13943         * net/eww.el (eww-download): New command and keystroke.
13945 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13947         * net/eww.el (eww-copy-page-url): Change name of command.
13949         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
13950         be more consistent with Info and dired.
13952         * net/eww.el (eww-mode-map): Ditto.
13954 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13956         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
13957         packages from archives.
13958         (package-archive-contents): Change format; include obsolete packages.
13959         (package-desc): Use `dir' to mark builtin packages.
13960         (package--from-builtin): Set the `dir' field to `builtin'.
13961         (generated-autoload-file, version-control): Declare.
13962         (package-compute-transaction): Change first arg and return value to be
13963         lists of package-descs.  Adjust to new package-archive-contents format.
13964         (package--add-to-archive-contents): Adjust to new
13965         package-archive-contents format.
13966         (package-download-transaction): Arg is now a list of package-descs.
13967         (package-install): If `pkg' is a package name, pass it as
13968         a requirement, so it is subject to the usual (e.g. disabled) checks.
13969         (describe-package): Accept package-desc as well.
13970         (describe-package-1): Describe a specific package-desc.  Add links to
13971         other package-descs for the same package name.
13972         (package-menu-describe-package): Pass the actual package-desc.
13973         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
13974         works correctly.
13975         (package-desc-status): New function.
13976         (package-menu--refresh): New function, extracted
13977         from package-menu--generate.
13978         (package-menu--generate): Use it.
13979         (package-delete): Update package-alist.
13980         (package-menu-execute): Don't call package-initialize.
13982         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
13983         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
13984         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
13985         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
13986         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
13987         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
13989 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
13991         * window.el (window--state-get-1): Workaround for bug#14527.
13992         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
13994 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13996         * net/eww.el (eww-back-url): Implement the history by stashing all
13997         the data into a list.
13998         (eww-forward-url): Allow going forward in the history, too.
14000 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14002         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
14003         for values and use read--expression for expressions (bug#14710).
14004         (read-file-local-variable): Avoid setq.
14005         (read-file-local-variable-mode): Use minor-mode-list.
14007 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14009         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
14010         for DOI URLs.
14012 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14014         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
14015         Update imenu-support when dialect changes.
14017 2013-06-25  Leo Liu  <sdl.web@gmail.com>
14019         * ido.el (ido-read-internal): Allow forward slash on windows.
14021 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14023         * net/eww.el (eww): Start of strings is \\`, not ^.
14025 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
14027         * net/shr.el (shr-browse-url): Fix interactive spec.
14029         * net/eww.el (eww): Add a trailing slash to domain names.
14031 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
14033         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
14035 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14037         * net/shr.el (shr-browse-url): Use an external browser if given a
14038         prefix.
14040         * net/eww.el (eww-external-browser): Move to shr.
14042 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
14044         * net/eww.el (eww): Work more correctly for file: URLs.
14045         (eww-detect-charset): Allow quoted charsets.
14046         (eww-yank-page-url): New command and keystroke.
14048 2013-06-24  Daiki Ueno  <ueno@gnu.org>
14050         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
14051         file name of gpg executable.
14052         (epg-context-program): New function.
14053         (epg-context-home-directory): New function.
14054         (epg-context-set-program): New function.
14055         (epg-context-set-home-directory): New function.
14056         (epg--start): Use `epg-context-program' instead of
14057         'epg-gpg-program'.
14058         (epg--list-keys-1): Likewise.
14060 2013-06-24  Leo Liu  <sdl.web@gmail.com>
14062         * ido.el (ido-read-internal): Fix bug#14620.
14064 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
14066         * faces.el (face-documentation): Simplify.
14067         (read-face-attribute, tty-find-type, x-resolve-font-name):
14068         Use `string-match-p'.
14069         (list-faces-display): Use `string-match-p'.  Simplify.
14070         (face-spec-recalc): Check face to avoid face alias loops.
14071         (read-color): Use `string-match-p' and non-capturing parenthesis.
14073 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14075         * net/shr.el (shr-rescale-image): Use the new
14076         :max-width/:max-height functionality.
14078 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
14080         * net/eww.el (eww-search-prefix): New variable.
14081         (eww): Use it.
14082         (eww-external-browser): New variable.
14083         (eww-mode-map): New keystroke.
14084         (eww-browse-with-external-browser): New command.
14086         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
14088 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
14090         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14091         Don't skip aligning the next header field when padding is 0;
14092         otherwise, field width is not respected unless the title is as
14093         wide as the field.
14095 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14097         * emacs-lisp/package.el (package-el-version): Remove.
14098         (package-process-define-package): Fix inf-loop.
14099         (package-install): Allow symbols as arguments again.
14101 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
14103         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
14104         add some more keyword-like methods.
14105         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
14107 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
14109         * bs.el (bs-buffer-show-mark): Make defvar-local.
14110         (bs-mode): Use setq-local.
14112         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
14113         (emacs-lock--try-unlocking): Make defvar-local.
14115 2013-06-22  Glenn Morris  <rgm@gnu.org>
14117         * play/cookie1.el (cookie-apropos): Minor simplification.
14119         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
14121 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
14123         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
14124         `regexp-opt', it breaks the build during dumping.
14126 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
14128         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
14129         Highlight keyword-like methods on Kernel and Module with
14130         font-lock-builtin-face.
14131         (auto-mode-alist): Consolidate different entries into one regexp
14132         and add more *file-s.
14134 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
14136         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
14138         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
14139         (diary-entry): Use it in the action of this button type instead of
14140         diary-goto-entry.
14142         * calendar/todo-mode.el: New version.
14143         (todo-add-category): Append new category to end of file and give
14144         it the highest number, instead of putting it at the beginning and
14145         giving it 0.  Incorporate noninteractive functionality.
14146         (todo-forward-category): Adapt to 1-based category numbering.
14147         Allow skipping over archived categories.
14148         (todo-backward-category): Derive from todo-forward-category.
14149         (todo-backward-item, todo-forward-item): Make noninteractive and
14150         delegate interactive part to new commands.  Make sensitive to done items.
14151         (todo-categories): Make value an alist of category names and
14152         vectors of item counts.
14153         (todo-category-beg): Make a defconst.
14154         (todo-category-number): Use 1 instead of 0 as initial value.
14155         (todo-category-select): Make sensitive to overlays, optional item
14156         highlighting and done items.
14157         (todo-delete-item): Make sensitive to overlays and marked and done items.
14158         (todo-edit-item): Make sensitive to overlays and editing of
14159         date/time header optional.  Add format checks.
14160         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
14161         no-op if point is not on an item.  Advertise using todo-edit-quit.
14162         (todo-edit-mode): Make sensitive to new format, font-locking, and
14163         multiple todo files.
14164         (todo-insert-item, todo-insert-item-here): Derive from
14165         todo-basic-insert-item and extend functionality.
14166         (todo-item-end, todo-item-start): Make sensitive to done items.
14167         (todo-item-string): Don't return text properties.  Restore point.
14168         (todo-jump-to-category): Make sensitive to multiple todo files and
14169         todo archives.  Use extended category completion.
14170         (todo-lower-item, todo-raise-item): Rename to *-priority and
14171         derive from todo-set-item-priority.
14172         (todo-mode): Derive from special-mode.  Make sensitive to new
14173         format, font-locking and multiple todo files.  Make read-only.
14174         (todo-mode-map): Don't suppress digit keys, so they can supply
14175         prefix arguments.  Add many new key bindings.
14176         (todo-prefix): Insert as an overlay instead of file text.
14177         Change semantics from diary date expression to purely visual mark.
14178         (todo-print): Rename to todo-print-buffer.  Make buffer display
14179         features printable.  Remove option to restrict number of items
14180         printed.  Add option to print to file.
14181         (todo-print-function): Rename to todo-print-buffer-function.
14182         (todo-quit): Extend to handle exiting new todo modes.
14183         (todo-remove-item): Make sensitive to overlays.
14184         (todo-save): Extend to buffers of filtered items.
14185         (todo-show): Make sensitive to done items, multiple todo files and
14186         new todo modes.  Offer to convert legacy todo file before creating
14187         first new todo file.
14188         (todo-show-priorities): Rename to todo-top-priorities.
14189         Change semantics of value 0.
14190         (todo-top-priorities): Rename to todo-filter-top-priorities,
14191         derive from todo-filter-items and extend functionality.
14192         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
14193         and extend functionality to other types of filtered items.
14194         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
14195         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
14196         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
14197         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
14198         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
14199         (todo-edit-mode-hook, todo-entry-prefix-function)
14200         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
14201         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
14202         (todo-initials, todo-insert-threshold, todo-item-string-start)
14203         (todo-line-string, todo-menu, todo-mode-hook)
14204         (todo-more-important-p, todo-previous-answer, todo-previous-line)
14205         (todo-print-priorities, todo-remove-separator)
14206         (todo-save-top-priorities-too, todo-string-count-lines)
14207         (todo-string-multiline-p, todo-time-string-format)
14208         (todo-tmp-buffer-name): Remove.
14209         (todo-add-file, todo-archive-done-item, todo-choose-archive)
14210         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
14211         (todo-edit-category-diary-inclusion)
14212         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
14213         (todo-edit-file, todo-edit-item-date-day)
14214         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
14215         (todo-edit-item-date-month, todo-edit-item-date-to-today)
14216         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
14217         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
14218         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
14219         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
14220         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
14221         (todo-filter-top-priorities-multifile, todo-find-archive)
14222         (todo-find-filtered-items-file, todo-go-to-source-item)
14223         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
14224         (todo-jump-to-archive-category, todo-lower-category)
14225         (todo-mark-category, todo-marked-item-p, todo-merge-category)
14226         (todo-move-category, todo-move-item, todo-next-button)
14227         (todo-next-item, todo-padded-string, todo-powerset)
14228         (todo-previous-button, todo-previous-item)
14229         (todo-print-buffer-to-file, todo-raise-category)
14230         (todo-rename-category, todo-repair-categories-sexp, todo-search)
14231         (todo-set-category-number, todo-set-item-priority)
14232         (todo-set-top-priorities-in-category)
14233         (todo-set-top-priorities-in-file, todo-show-categories-table)
14234         (todo-sort-categories-alphabetically-or-numerically)
14235         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
14236         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
14237         (todo-toggle-item-header, todo-toggle-item-highlighting)
14238         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
14239         (todo-toggle-view-done-items, todo-toggle-view-done-only)
14240         (todo-unarchive-items, todo-unmark-category): New commands.
14241         (todo-absolute-file-name, todo-add-to-buffer-list)
14242         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
14243         (todo-basic-insert-item, todo-category-completions)
14244         (todo-category-number, todo-category-string-matcher-1)
14245         (todo-category-string-matcher-2, todo-check-filtered-items-file)
14246         (todo-check-format, todo-clear-matches)
14247         (todo-comment-string-matcher, todo-convert-legacy-date-time)
14248         (todo-current-category, todo-date-string-matcher)
14249         (todo-define-insertion-command, todo-diary-expired-matcher)
14250         (todo-diary-goto-entry, todo-diary-item-p)
14251         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
14252         (todo-display-categories, todo-display-sorted, todo-done-item-p)
14253         (todo-done-item-section-p, todo-done-separator)
14254         (todo-done-string-matcher, todo-files, todo-filter-items)
14255         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
14256         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
14257         (todo-insert-category-line, todo-insert-item-from-calendar)
14258         (todo-insert-sort-button, todo-insert-with-overlays)
14259         (todo-insertion-command-name, todo-insertion-key-bindings)
14260         (todo-label-to-key, todo-longest-category-name-length)
14261         (todo-make-categories-list, todo-mode-external-set)
14262         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
14263         (todo-modes-set-3, todo-multiple-filter-files)
14264         (todo-nondiary-marker-matcher, todo-prefix-overlays)
14265         (todo-read-category, todo-read-date, todo-read-dayname)
14266         (todo-read-file-name, todo-read-time)
14267         (todo-reevaluate-category-completions-files-defcustom)
14268         (todo-reevaluate-default-file-defcustom)
14269         (todo-reevaluate-filelist-defcustoms)
14270         (todo-reevaluate-filter-files-defcustom)
14271         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
14272         (todo-reset-done-separator, todo-reset-done-separator-string)
14273         (todo-reset-done-string, todo-reset-global-current-todo-file)
14274         (todo-reset-highlight-item, todo-reset-nondiary-marker)
14275         (todo-reset-prefix, todo-set-categories)
14276         (todo-set-date-from-calendar, todo-set-show-current-file)
14277         (todo-set-top-priorities, todo-short-file-name)
14278         (todo-show-current-file, todo-sort, todo-time-string-matcher)
14279         (todo-total-item-counts, todo-update-buffer-list)
14280         (todo-update-categories-display, todo-update-categories-sexp)
14281         (todo-update-count, todo-validate-name, todo-y-or-n-p):
14282         New functions.
14283         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
14284         New major modes.
14285         (todo-categories, todo-display, todo-edit, todo-faces)
14286         (todo-filtered): New defgroups.
14287         (todo-archived-only, todo-button, todo-category-string, todo-date)
14288         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
14289         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
14290         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
14291         (todo-add-item-if-new-category, todo-always-add-time-string)
14292         (todo-categories-align, todo-categories-archived-label)
14293         (todo-categories-category-label, todo-categories-diary-label)
14294         (todo-categories-done-label, todo-categories-number-separator)
14295         (todo-categories-todo-label, todo-categories-totals-label)
14296         (todo-category-completions-files, todo-completion-ignore-case)
14297         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
14298         (todo-done-separator-string, todo-done-string)
14299         (todo-files-function, todo-filter-done-items, todo-filter-files)
14300         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
14301         (todo-initial-category, todo-initial-file, todo-item-mark)
14302         (todo-legacy-date-time-regexp, todo-mode-line-function)
14303         (todo-nondiary-marker, todo-number-prefix)
14304         (todo-print-buffer-function, todo-show-current-file)
14305         (todo-show-done-only, todo-show-first, todo-show-with-done)
14306         (todo-skip-archived-categories, todo-top-priorities-overrides)
14307         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
14308         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
14309         New defcustoms.
14310         (todo-category-done, todo-date-pattern, todo-date-string-start)
14311         (todo-diary-items-buffer, todo-done-string-start)
14312         (todo-filtered-items-buffer, todo-item-start)
14313         (todo-month-abbrev-array, todo-month-name-array)
14314         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
14315         (todo-top-priorities-buffer): New defconsts.
14316         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
14317         (todo-categories-with-marks, todo-category-string-face)
14318         (todo-comment-face, todo-comment-string, todo-current-todo-file)
14319         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
14320         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
14321         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
14322         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
14323         (todo-font-lock-keywords, todo-global-current-todo-file)
14324         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
14325         (todo-insertion-commands-args)
14326         (todo-insertion-commands-args-genlist)
14327         (todo-insertion-commands-names, todo-insertion-map)
14328         (todo-key-bindings-t, todo-key-bindings-t+a)
14329         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
14330         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
14331         (todo-nondiary-face, todo-print-buffer, todo-time-face)
14332         (todo-visited): New variables.
14334 2013-06-21  Glenn Morris  <rgm@gnu.org>
14336         * play/cookie1.el (cookie-apropos): Add optional display argument.
14337         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
14338         (psychoanalyze-pinhead): Use cookie-doctor.
14340 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14342         * emacs-lisp/package.el (tar-get-file-descriptor)
14343         (tar--extract): Declare.
14345 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
14347         Extend flymake's warning predicate to be a function (bug#14217).
14348         * progmodes/flymake.el (flymake-warning-predicate): New.
14349         (flymake-parse-line): Use it.
14350         (flymake-warning-re): Make obsolete alias to
14351         `flymake-warning-predicate'.
14353 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14355         * emacs-lisp/package.el (package-alist): Include obsolete packages.
14356         (package-obsolete-list): Remove.
14357         (package-activate): Remove min-version argument.  Add `force' argument.
14358         Adjust to new package-alist format.
14359         (package-mark-obsolete): Remove.
14360         (package-unpack): Force reload of the package's autoloads.
14361         (package-installed-p): Check builtins if the installed package is not
14362         recent enough.
14363         (package-initialize): Don't reset package-obsolete-list.
14364         Don't specify which package version to activate.
14365         (package-process-define-package, describe-package-1)
14366         (package-menu--generate): Adjust to new package-alist format.
14368 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14370         * allout-widgets.el (allout-widgets-mode-off)
14371         (allout-widgets-mode-on, allout-widgets-pre-command-business)
14372         (allout-widgets-post-command-business)
14373         (allout-widgets-after-copy-or-kill-function)
14374         (allout-widgets-after-undo-function, allout-test-range-overlaps)
14375         (allout-decorate-item-and-context)
14376         (allout-graphics-modification-handler): Fix typos in docstrings.
14377         (allout-get-or-create-parent-widget): Use `looking-at-p'.
14379         * cmuscheme.el (scheme-start-file): Doc fix.
14380         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
14381         (scheme-input-filter): Use `string-match-p'.
14383         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
14385         * dired-x.el: Use Dired consistently in docstrings.
14387         * dired.el: Use Dired consistently in docstrings.
14388         (dired-readin, dired-mode): Use `setq-local'.
14389         (dired-switches-alist): Make defvar-local.
14390         (dired-buffers-for-dir): Use `zerop'.
14391         (dired-safe-switches-p, dired-switches-escape-p)
14392         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
14393         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
14394         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
14395         (dired-goto-next-nontrivial-file): Use `string-match-p'.
14396         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
14397         (dired-toggle-marks, dired-mark-files-containing-regexp)
14398         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
14399         (dired-flag-auto-save-files, dired-flag-backup-files):
14400         Use `looking-at-p'.
14401         (dired-mark-files-regexp, dired-build-subdir-alist):
14402         Use `string-match-p', `looking-at-p'.
14404         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
14405         (direct-print-region-helper): Use `string-match-p'.
14407 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14409         * comint.el (comint-redirect-results-list-from-process):
14410         Fix infinite loop.
14412 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14414         * net/eww.el (eww-update-header-line-format): Quote % characters.
14416 2013-06-21  Glenn Morris  <rgm@gnu.org>
14418         * play/cookie1.el (cookie): New custom group.
14419         (cookie-file): New option.
14420         (cookie-check-file): New function.
14421         (cookie): Make it interactive.  Make start and end messages optional.
14422         Interactively, display the result.  Default to cookie-file.
14423         (cookie-insert): Default to cookie-file.
14424         (cookie-snarf): Make start and end messages optional.
14425         Default to cookie-file.  Use with-temp-buffer.
14426         (cookie-read): Rename from read-cookie.
14427         Make start and end messages optional.  Default to cookie-file.
14428         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
14429         Do not autoload it.
14430         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
14431         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
14433 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14435         * progmodes/octave.el (octave-mode): Backward compatibility fix.
14437 2013-06-21  Glenn Morris  <rgm@gnu.org>
14439         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
14441 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14442             Daniel Hackney  <dan@haxney.org>
14444         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
14445         Consolidate the single-file vs tarball code.
14446         (package-desc-suffix): New function.
14447         (package-desc-full-name): Don't bother inlining it.
14448         (package-load-descriptor): Return the new package-desc.
14449         (package-mark-obsolete): Remove unused arg `package'.
14450         (package-unpack): Make it work for single files as well.
14451         Make it update package-alist.
14452         (package--make-autoloads-and-stuff): Rename from
14453         package--make-autoloads-and-compile.  Don't compile any more.
14454         (package--compile): New function.
14455         (package-generate-description-file): New function, extracted from
14456         package-unpack-single.
14457         (package-unpack-single): Remove.
14458         (package--with-work-buffer): Add indentation and debugging info.
14459         (package-download-single): Remove.
14460         (package-install-from-archive): Rename from package-download-tar, make
14461         it take a pkg-desc, and make it work for single files as well.
14462         (package-download-transaction): Simplify.
14463         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
14464         external tar program.
14465         (package-install-from-buffer): Remove `pkg-desc' argument.
14466         Use package-tar-file-info for tar-mode buffers.
14467         (package-install-file): Simplify accordingly.
14468         (package-archive-base): Change to take a pkg-desc.
14469         * tar-mode.el (tar--check-descriptor): New function, extracted from
14470         tar-get-descriptor.
14471         (tar-get-descriptor): Use it.
14472         (tar-get-file-descriptor): New function.
14473         (tar--extract): New function, extracted from tar-extract.
14474         (tar--extract): Use it.
14475         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
14476         case the summary uses non-ascii.  Adjust to new calling convention of
14477         package-tar-file-info.
14479 2013-06-21  Leo Liu  <sdl.web@gmail.com>
14481         * comint.el (comint-redirect-results-list-from-process):
14482         Fix random delay.  (Bug#14681)
14484 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
14486         * profiler.el (profiler-format-number): Use log, not log10.
14488 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14490         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
14492 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14494         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
14495         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
14496         yet available.
14497         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
14498         (AUTOGENEL): ... here.
14499         * emacs-lisp/cl-macs.el (cl--sublis): New function.
14500         (cl--defsubst-expand): Use it.
14502 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
14504         * subr.el (log10): Move here from C code, and declare as obsolete.
14505         All uses of (log10 X) replaced with (log X 10).
14507 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14509         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
14510         Declare with `defvar-local'.
14511         (tabulated-list-use-header-line, tabulated-list-entries)
14512         (tabulated-list-padding, tabulated-list-printer)
14513         (tabulated-list-sort-key): Declare with `defvar-local'.
14514         (tabulated-list-init-header, tabulated-list-print-fake-header):
14515         Use `setq-local'.
14517 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
14519         * arc-mode.el (archive-mode): Add `archive-write-file' to
14520         `write-contents-functions' also for remote files.  (Bug#14652)
14522 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
14524         * cus-edit.el (custom-commands): Fix typos.
14525         (custom-display): Fix tooltip text.
14526         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
14527         Fix typos in docstrings.
14528         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
14529         (custom-unlispify-menu-entry, custom-magic-value-create)
14530         (custom-add-see-also, custom-group-value-create): Use ?\s.
14531         (custom-guess-type, customize-apropos, editable-field)
14532         (custom-face-value-create): Use `string-match-p'.
14533         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
14535         * custom.el (custom-load-symbol): Use `string-match-p'.
14537         * ansi-color.el: Convert to lexical binding.
14538         (ansi-colors): Fix URL.
14539         (ansi-color-context, ansi-color-context-region): Use defvar-local.
14540         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
14541         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
14543 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14545         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
14547         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
14549 2013-06-19  Tom Tromey  <tromey@redhat.com>
14551         * net/eww.el (eww-top-url): Remove.
14552         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
14553         (eww-render): Set new variables.  Don't set eww-top-url.
14554         (eww-handle-link): Handle "prev", "home", and "contents".
14555         Downcase the rel text.
14556         (eww-top-url): Choose best top URL.
14558 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14560         * net/eww.el: Rewrite to implement form elements "by hand" instead of
14561         relying in widget.el.  Using widget.el leads to too many
14562         user interface inconsistencies.
14563         (eww-self-insert): Implement entering commands in text fields.
14564         (eww-process-text-input): New function to make text input field editing
14565         work.
14566         (eww-submit): Rewrite to use the new-style form methods.
14567         (eww-select-display): Display the correct selected item.
14568         (eww-change-select): Implement changing the select value.
14569         (eww-toggle-checkbox): Implement radio/checkboxes.
14570         (eww-update-field): Fix compilation error.
14571         (eww-tag-textarea): Implement <textarea>.
14573         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
14574         we don't shadow mode-specific bindings.
14576         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
14577         nothing to push.
14579         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
14581 2013-06-19  Glenn Morris  <rgm@gnu.org>
14583         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
14585 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
14587         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
14588         not needed.
14590         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
14592 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14594         * net/browse-url.el (browse-url-browser-function):
14595         `eww-browse-url' has the right calling signature, `eww' does not.
14597 2013-06-19  Glenn Morris  <rgm@gnu.org>
14599         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14600         Only eval autoloaded macros.
14601         (byte-compile-autoload): Only give the macro warning for macros.
14603         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
14604         (ps-underlined-faces): Declare.
14606         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
14607         (speedbar-add-supported-extension): Declare.
14609         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
14610         Don't include a date stamp in the header of the generated file;
14611         it leads to needless differences between output files.
14613 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
14615         * net/secrets.el (secrets-struct-secret-content-type):
14616         Replace check of introspection data by a test call of "CreateItem".
14617         Some servers do not offer introspection.
14619 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14621         * electric.el (electric-pair-mode): Improve interaction with
14622         electric-layout-mode.
14623         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
14624         (electric-pair-syntax): Use text-mode-syntax-table in comments
14625         and strings.
14626         (electric-pair--insert): New function.
14627         (electric-pair-post-self-insert-function): Use it and
14628         electric--after-char-pos.
14630 2013-06-19  Leo Liu  <sdl.web@gmail.com>
14632         * progmodes/octave.el (octave-help): Fix regexp.
14634 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14636         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
14637         (shr-table-horizontal-line): Allow nil as a value, and change the
14638         default.
14639         (shr-insert-table-ruler): Respect the nil value.
14641 2013-06-18  Tom Tromey  <tromey@barimba>
14643         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14644         New defvars.
14645         (eww-open-file): New defun.
14646         (eww-render): Initialize new variables.
14647         (eww-display-html): Handle "link" and "a".
14648         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
14649         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
14650         (eww-back-url): Rename from eww-previous-url.
14651         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
14652         New defuns.
14654 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
14656         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
14657         Distinguish ternary operator tokens from slash symbol and slash
14658         char literal.
14660 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
14662         Convert symbol prettification into minor mode and global minor mode.
14664         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
14665         `prog-prettify-symbols', and make a local defvar instead of defcustom.
14666         (prettify-symbols--keywords): Rename from
14667         `prog-prettify-symbols-alist' and make a local defvar.
14668         (prettify-symbols--compose-symbol): Rename from
14669         `prog--prettify-font-lock-compose-symbol'.
14670         (prettify-symbols--make-keywords): Rename from
14671         `prog-prettify-font-lock-symbols-keywords' and simplify.
14672         (prog-prettify-install): Remove.
14673         (prettify-symbols-mode): New minor mode, based on
14674         `prog-prettify-install'.
14675         (turn-on-prettify-symbols-mode): New function.
14676         (global-prettify-symbols-mode): New globalized minor mode.
14678         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14679         * progmodes/cfengine.el (cfengine3-mode):
14680         * progmodes/perl-mode.el (perl-mode): Don't call
14681         `prog-prettify-install'; set `prettify-symbols-alist' instead.
14683 2013-06-18  Juri Linkov  <juri@jurta.org>
14685         * files-x.el (modify-file-local-variable-message): New function.
14686         (modify-file-local-variable)
14687         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
14688         and call `modify-file-local-variable-message' when it's non-nil.
14689         (add-file-local-variable, delete-file-local-variable)
14690         (add-file-local-variable-prop-line)
14691         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
14692         and use it.  (Bug#9820)
14694 2013-06-18  Juri Linkov  <juri@jurta.org>
14696         * emulation/vi.el (vi-shell-op):
14697         * emulation/vip.el (vip-execute-com, ex-command):
14698         * emulation/viper-cmd.el (viper-exec-bang):
14699         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
14700         the call of `shell-command-on-region'.  (Bug#14637)
14702         * simple.el (shell-command-on-region): Doc fix.
14704 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14706         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
14707         (bug#14633).
14709 2013-06-18  Glenn Morris  <rgm@gnu.org>
14711         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
14713         * newcomment.el (comment-search-forward, comment-search-backward):
14714         Doc fix.  (Bug#14376)
14716 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
14718         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
14719         (buffer-face-mode-invoke): Doc fix.
14721 2013-06-18  Matthias Meulien  <orontee@gmail.com>
14723         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
14724         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
14726 2013-06-18  Glenn Morris  <rgm@gnu.org>
14728         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
14729         Replace obsolete function generic-make-keywords with its expansion.
14731         * progmodes/python.el (ffap-alist): Declare.
14733         * textmodes/reftex.el (bibtex-mode-map): Declare.
14735 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14737         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
14738         (package-unpack, package-unpack-single): Return the pkg-dir.
14739         (package-download-transaction): Use it to update package-alist.
14741 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14743         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
14744         possible choice.
14746 2013-06-17  Juri Linkov  <juri@jurta.org>
14748         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
14750 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
14752         * emacs-lisp/package.el (package-load-descriptor):
14753         Remove `with-syntax-table' call, `read' doesn't need it.
14754         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
14756 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
14758         * startup.el (command-line): Expand package name returned by
14759         `package--description-file' (bug#14639).
14761 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
14763         * emacs-lisp/package.el (package-load-descriptor): Do not call
14764         `emacs-lisp-mode', just use its syntax table.
14766 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
14768         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
14769         `font-lock-extra-managed-props' if any prettifying keyword is added.
14770         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
14771         (prog-mode): Use `setq-local'.
14773 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14775         * international/characters.el (standard-case-table): Set syntax of ?»
14776         and ?« to punctuation.
14778 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
14780         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
14781         Save relevant match data before calling `syntax-ppss' (bug#14595).
14783 2013-06-15  Juri Linkov  <juri@jurta.org>
14785         * files-x.el (modify-file-local-variable-prop-line): Add local
14786         variables to the end of the existing comment on the first line.
14787         Use `file-auto-mode-skip' to skip interpreter magic line,
14788         and also skip XML declaration.
14790 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14792         * startup.el (package--builtin-versions): New var.
14793         (package-subdirectory-regexp): Remove.
14794         (package--description-file): Hard code its value instead.
14796         * emacs-lisp/package.el: Don't activate packages older than builtin.
14797         (package-obsolete-list): Rename from package-obsolete-alist, and make
14798         it into a simple list of package-desc.
14799         (package-strip-version): Remove.
14800         (package-built-in-p): Use package--builtin-versions.
14801         (package-mark-obsolete): Simplify.
14802         (package-process-define-package): Mark it obsolete if older than the
14803         builtin version.
14804         (package-handle-response): Use line-end-position.
14805         (package-read-archive-contents, package--download-one-archive):
14806         Simplify.
14807         (package--add-to-archive-contents): Skip if older than the builtin or
14808         installed version.
14809         (package-menu-describe-package): Fix last change.
14810         (package-list-unversioned): New var.
14811         (package-menu--generate): Use it.
14813         * emacs-lisp/autoload.el: Manage package--builtin-versions.
14814         (autoload--insert-text, autoload--insert-cookie-text): New functions.
14815         (autoload-builtin-package-versions): New variable.
14816         (autoload-generate-file-autoloads): Use them.
14817         Remove the list of autoloaded functions/macros from the
14818         (autoload...) comments.
14820         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
14822 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
14824         * simple.el (line-move-partial): Don't jump to the next screen
14825         line as soon as it becomes visible.  Instead, continue enlarging
14826         the vscroll until the portion of a tall screen line that's left on
14827         display is about the height of the frame's default font.
14828         (Bug#14567)
14830 2013-06-15  Glenn Morris  <rgm@gnu.org>
14832         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
14833         compilation-error-regexp-alist void, or local while let-bound.
14835         * progmodes/make-mode.el (makefile-mode-syntax-table):
14836         Treat "=" as punctuation.  (Bug#14614)
14838 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
14840         * help-fns.el (describe-variable):
14841         Add extra line for permanent-local variables.
14843 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
14845         * progmodes/scheme.el (scheme-font-lock-keywords-2):
14846         Add export, import, library.  (Bug#9164)
14847         (library): Set indent function.
14849 2013-06-14  Glenn Morris  <rgm@gnu.org>
14851         * term/xterm.el (xterm--query):
14852         Stop after first matching handler.  (Bug#14615)
14854 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
14856         Add support for dired in saveplace.
14857         * dired.el (dired-initial-position-hook): New variable.
14858         (dired-initial-position): Call hook to place cursor position.
14859         * saveplace.el (save-place-to-alist): Add dired position.
14860         (save-place-dired-hook): New function.
14862 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14864         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
14865         through a symbol rather than letrec.
14867         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
14868         (package-desc): Add `dir' field.
14869         (package-desc-full-name): New function.
14870         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
14871         (package-maybe-load-descriptor): Remove.
14872         (package-load-all-descriptors): Just call package-load-descriptor.
14873         (package--disabled-p): New function.
14874         (package-desc-vers, package-desc-doc): Remove aliases.
14875         (package--dir): Remove function.
14876         (package-activate): Check if a package is disabled.
14877         (package-process-define-package): New function, extracted from
14878         define-package.
14879         (define-package): Turn into a place holder.
14880         (package-unpack-single, package-tar-file-info):
14881         Use package--description-file.
14882         (package-compute-transaction): Use package--disabled-p.
14883         (package-download-transaction): Don't call
14884         package-maybe-load-descriptor since they're all loaded anyway.
14885         (package-install): Change argument to be a pkg-desc.
14886         (package-delete): Use a single pkg-desc argument.
14887         (describe-package-1): Use package-desc-dir instead of package--dir.
14888         Use package-desc property instead of package-symbol.
14889         (package-install-button-action): Adjust accordingly.
14890         (package--push): Rewrite.
14891         (package-menu--print-info): Adjust accordingly.  Change the ID format
14892         to be a pkg-desc.
14893         (package-menu-describe-package, package-menu-get-status)
14894         (package-menu--find-upgrades, package-menu-mark-upgrades)
14895         (package-menu-execute, package-menu--name-predicate):
14896         Adjust accordingly.
14897         * startup.el (package--description-file): New function.
14898         (command-line): Use it.
14899         * emacs-lisp/package-x.el (package-upload-buffer-internal):
14900         Use package-desc-version.
14902         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
14903         (byte-compile-preprocess): Use it.
14904         (byte-compile-file-form-defalias): Try a bit harder to use macros we
14905         can't quite recognize.
14906         (byte-compile-add-to-list): Remove.
14907         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
14908         (cconv-closure-convert): Add assertion.
14910         * emacs-lisp/map-ynp.el: Use lexical-binding.
14911         (map-y-or-n-p): Remove unused vars `tail' and `object'.
14912         Factor out some repeated code.
14914 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14916         * subr.el (with-eval-after-load): New macro.
14917         (eval-after-load): Allow form to be a function.
14918         take advantage of lexical-binding.
14919         (do-after-load-evaluation): Use dolist and adjust to new format.
14920         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
14922 2013-06-13  Juri Linkov  <juri@jurta.org>
14924         * replace.el (perform-replace): Display "symbol " and other search
14925         modes from `isearch-message-prefix' in the *Help* buffer.
14927         * isearch.el (isearch-query-replace): Add " symbol" and other
14928         possible search modes from `isearch-message-prefix' to the prompt.
14929         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
14930         when reading a regexp to collect.
14932 2013-06-13  Juri Linkov  <juri@jurta.org>
14934         * isearch.el (word-search-regexp): Match whitespace if the search
14935         string begins or ends in whitespace.  The LAX arg is applied to
14936         both ends of the search string.  Use `regexp-quote' and explicit
14937         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
14938         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
14939         boundaries are replaced with symbol boundaries, and characters
14940         between symbols match non-word non-symbol syntax.  (Bug#14602)
14942 2013-06-13  Juri Linkov  <juri@jurta.org>
14944         * isearch.el (isearch-del-char): Don't exceed the length of
14945         `isearch-string' by the prefix arg.  (Bug#14563)
14947 2013-06-13  Juri Linkov  <juri@jurta.org>
14949         * isearch.el (isearch-yank-word, isearch-yank-line)
14950         (isearch-char-by-name, isearch-quote-char)
14951         (isearch-printing-char, isearch-process-search-char):
14952         Add optional count prefix arg.  (Bug#14563)
14954         * international/isearch-x.el
14955         (isearch-process-search-multibyte-characters):
14956         Add optional count prefix arg.
14958 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14960         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
14961         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
14962         lexical-binding.
14964 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
14966         * subr.el (set-temporary-overlay-map): Add on-exit argument.
14968 2013-06-13  Glenn Morris  <rgm@gnu.org>
14970         * startup.el (tty-handle-args):
14971         Don't just discard "--" and anything after.  (Bug#14608)
14973         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
14975 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
14977         Implement changes in Secret Service API.  Make it backward compatible.
14978         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
14979         (secrets-create-item): Use it.  Prefix properties with interface.
14981 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
14983         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
14984         (term-emulate-terminal): Respect term-suppress-hard-newline.
14986 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
14988         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
14989         Only remove a `thumb-file' overlay.  (Bug#14548)
14991 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
14993         * mail/reporter.el (reporter-submit-bug-report):
14994         Handle missing package-name.  (Bug#14600)
14996 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14998         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
14999         (reftex-citation-prompt, reftex-default-bibliography)
15000         (reftex-bib-or-thebib, reftex-get-bibfile-list)
15001         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
15002         (reftex-bib-sort-author, reftex-bib-sort-year)
15003         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
15004         (reftex-extract-bib-entries-from-thebibliography)
15005         (reftex-get-bibkey-default, reftex-get-bib-names)
15006         (reftex-parse-bibtex-entry, reftex-get-bib-field)
15007         (reftex-format-bib-entry, reftex-parse-bibitem)
15008         (reftex-format-bibitem, reftex-do-citation)
15009         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
15010         (reftex-restrict-bib-matches, reftex-extract-bib-file)
15011         (reftex-insert-bib-matches, reftex-format-citation)
15012         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
15013         (reftex-create-bibtex-file): Add docstrings, mostly by converting
15014         existing comments into docstrings.
15016 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
15018         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
15020 2013-06-12  Andreas Schwab  <schwab@suse.de>
15022         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
15023         for auto-save files.
15025 2013-06-12  Glenn Morris  <rgm@gnu.org>
15027         * ido.el (ido-delete-ignored-files): Remove.
15028         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
15029         Go back to calling ido-ignore-item-p directly.
15031 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
15033         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
15035         * ido.el (ido-delete-ignored-files): New function,
15036         split from ido-make-file-list-1.
15037         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
15038         (ido-make-file-list-1): Use ido-delete-ignored-files.
15040 2013-06-12  Leo Liu  <sdl.web@gmail.com>
15042         * progmodes/octave.el (inferior-octave-startup)
15043         (inferior-octave-completion-table)
15044         (inferior-octave-track-window-width-change)
15045         (octave-eldoc-function-signatures, octave-help)
15046         (octave-find-definition): Use single quoted strings.
15047         (inferior-octave-startup-args): Change default value.
15048         (inferior-octave-startup): Do not hard code "-i" and
15049         "--no-line-editing".
15050         (inferior-octave-resync-dirs): Add optional arg NOERROR.
15051         (inferior-octave-directory-tracker): Use it.
15052         (octave-goto-function-definition): Robustify.
15053         (octave-help): Support highlighting operators in 'See also'.
15054         (octave-find-definition): Find subfunctions only in Octave mode.
15056 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15058         * help-fns.el (help-fns--compiler-macro): If the handler function is
15059         named, then put a link to it.
15060         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
15061         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
15062         (cl-typep): Use it.
15063         (cl-eval-when): Simplify debug spec.
15064         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
15065         compiler-macro function instead of setting `compiler-macro-file'.
15067 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
15069         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
15070         * vc/vc-hooks.el (vc-stay-local): Doc fix.
15072 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15073             Daniel Hackney  <dan@haxney.org>
15075         First part of Daniel Hackney's patch to package.el.
15076         * emacs-lisp/package.el: Use defstruct.
15077         (package-desc): New, main struct.
15078         (package--bi-desc, package--ac-desc): New structs, used to describe the
15079         format in external files.
15080         (package-desc-vers): Replace with package-desc-version accessor.
15081         (package-desc-doc): Replace with package-desc-summary accessor.
15082         (package-activate-1): Remove `package' arg since the pkg-vec now
15083         includes the name.
15084         (define-package): Use package-desc-from-define.
15085         (package-unpack-single): Change file-name arg to be a symbol.
15086         (package--add-to-archive-contents): Use package-desc-create and new
15087         accessor functions to package--ac-desc.
15088         (package-buffer-info, package-tar-file-info): Return a package-desc.
15089         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
15090         arg to be a package-desc.
15091         (package-install-file): Adjust accordingly.  Use \' to match EOS.
15092         (package--from-builtin): New function.
15093         (describe-package-1, package-menu--generate): Use it.
15094         (package--make-autoloads-and-compile): Change name arg to be a symbol.
15095         (package-generate-autoloads): Idem and return the name of the file.
15096         * emacs-lisp/package-x.el (package-upload-buffer-internal):
15097         Change pkg-info arg to be a package-desc.
15098         Use package-make-ac-desc.
15099         (package-upload-file): Use \' to match EOS.
15100         * finder.el (finder-compile-keywords): Use package-make-builtin.
15102 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15104         * vc/vc.el (vc-deduce-fileset): Change error message.
15105         (vc-read-backend): New function.
15106         (vc-next-action): Use it.
15108         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
15110         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
15111         (prolog-font-lock-keywords): Use regexp-opt instead.
15112         Don't manually highlight strings.
15113         (prolog-mode-variables): Simplify comment-start-skip.
15114         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
15116         * emacs-lisp/generic.el (generic--normalise-comments)
15117         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
15118         (generic-mode-set-comments): Use them.
15119         (generic-bracket-support): Use setq-local.
15120         (generic-make-keywords-list): Declare obsolete.
15122 2013-06-11  Glenn Morris  <rgm@gnu.org>
15124         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15125         Prettify after setting font-lock-defaults.  (Bug#14574)
15127 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
15129         * replace.el (query-replace, occur-read-regexp-defaults-function)
15130         (replace-search):
15131         * subr.el (declare-function, number-sequence, local-set-key)
15132         (substitute-key-definition, locate-user-emacs-file)
15133         (with-silent-modifications, split-string, eval-after-load):
15134         Fix typos, remove unneeded backslashes and reflow some docstrings.
15136 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15138         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
15139         default for Elisp files.
15141 2013-06-11  Glenn Morris  <rgm@gnu.org>
15143         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
15144         although define-derived-mode was doing this anyway.  (Bug#14583)
15146 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
15148         * allout.el (allout-encryption-plaintext-sanitization-regexps):
15149         Fix make-variable-buffer-local call to refer to the correct variable.
15151 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
15153         * eshell/em-term.el (eshell-visual-commands)
15154         (eshell-visual-subcommands, eshell-visual-options):
15155         Add summary line to docstrings.  Add cross-references.
15157 2013-06-10  Glenn Morris  <rgm@gnu.org>
15159         * epa.el (epa-read-file-name): New function.  (Bug#14510)
15160         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
15162 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
15164         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
15165         output redirection to be ignored with visual commands.
15167 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
15169         * eshell/em-term.el (eshell-visual-command-p): New function.
15170         (eshell-term-initialize): Move long lambda to separate function
15171         eshell-visual-command-p.
15172         * eshell/em-dirs.el (eshell-dirs-initialize):
15173         * eshell/em-script.el (eshell-script-initialize):
15174         Add missing #' to lambda.
15176 2013-06-08  Leo Liu  <sdl.web@gmail.com>
15178         * progmodes/octave.el (octave-add-log-current-defun): New function.
15179         (octave-mode): Set add-log-current-defun-function.
15180         (octave-goto-function-definition): Do not move point if not found.
15181         (octave-find-definition): Enhance to try subfunctions first.
15183 2013-06-08  Glenn Morris  <rgm@gnu.org>
15185         * emacs-lisp/bytecomp.el (byte-compile-char-before)
15186         (byte-compile-backward-char, byte-compile-backward-word):
15187         Improve previous change, to handle non-explicit nil.
15189 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15191         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
15192         (smie--opener/closer-at-point): New function.
15193         (smie--matching-block-data): Use it.  Don't match from right after an
15194         opener or right before a closer.  Obey smie-blink-matching-inners.
15195         Don't signal a mismatch for repeated inners like "switch..case..case".
15197 2013-06-07  Leo Liu  <sdl.web@gmail.com>
15199         * progmodes/octave.el (octave-mode): Set comment-use-global-state
15200         to t.  (Bug#14303)
15201         (octave-function-header-regexp): Fix.  (Bug#14570)
15202         (octave-help-mode-finish-hook, octave-help-mode-finish):
15203         Remove.  Just use temp-buffer-show-hook.
15205         * newcomment.el (comment-search-backward): Revert last change.
15206         (Bug#14434)
15208         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
15210 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
15212         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
15213         through xargs, to avoid failure due to MS-Windows limitations on
15214         command-line length.
15216 2013-06-06  Glenn Morris  <rgm@gnu.org>
15218         * font-lock.el (lisp-font-lock-keywords-2):
15219         Treat user-error like error.
15221         * emacs-lisp/bytecomp.el (byte-compile-char-before)
15222         (byte-compile-backward-char, byte-compile-backward-word):
15223         Handle explicit nil arguments.  (Bug#14565)
15225 2013-06-05  Alan Mackenzie  <acm@muc.de>
15227         * isearch.el (isearch-allow-prefix): New user option.
15228         (isearch-other-meta-char): Don't exit isearch when a prefix
15229         argument is typed whilst `isearch-allow-prefix' is non-nil.
15230         (Bug#9706)
15232 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15234         * autorevert.el (auto-revert-notify-handler): Use memq.
15235         Hide assertion failure.
15237         * skeleton.el: Use cl-lib.
15238         (skeleton-further-elements): Use defvar-local.
15239         (skeleton-insert): Use cl-progv.
15241 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
15243         * progmodes/prog-mode.el (prog-prettify-symbols)
15244         (prog-prettify-install): Update docstrings.
15246 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15248         * simple.el: Move all the prog-mode code to prog-mode.el.
15249         * progmodes/prog-mode.el: New file.
15250         * loadup.el: Add prog-mode.el.
15252 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
15254         * simple.el (prog-prettify-symbols): Add version.
15255         (prog-prettify-install): Add convenience function to prettify symbols.
15257         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
15258         (perl--augmented-font-lock-keywords-1)
15259         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
15260         variables and use it.
15262         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15263         (cfengine3-mode): Remove unneeded variable and use it.
15265         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15266         (lisp--augmented-font-lock-keywords-1)
15267         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
15268         Remove unneeded variables and use it.
15270 2013-06-05  João Távora  <joaotavora@gmail.com>
15272         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
15273         to point when opening the connection.  (Bug#14380)
15275 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15277         * subr.el (load-history-regexp, load-history-filename-element)
15278         (eval-after-load, after-load-functions, do-after-load-evaluation)
15279         (eval-next-after-load, display-delayed-warnings)
15280         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
15281         definition of save-match-data.
15282         (overriding-local-map): Remove accidental obsolescence declaration.
15284         * emacs-lisp/edebug.el (edebug-result): Move before first use.
15286 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
15288         Generalize symbol prettify support to prog-mode and implement it
15289         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
15290         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
15291         (prog--prettify-font-lock-compose-symbol)
15292         (prog-prettify-font-lock-symbols-keywords): New variables and
15293         functions to support symbol prettification.
15294         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15295         (lisp--augmented-font-lock-keywords-1)
15296         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
15297         (lisp--prettify-symbols-alist): Implement prettify of lambda.
15298         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15299         (cfengine3--prettify-symbols-alist, cfengine3-mode):
15300         Implement prettify of -> => :: strings.
15301         * progmodes/perl-mode.el (perl-prettify-symbols)
15302         (perl--font-lock-compose-symbol)
15303         (perl--font-lock-symbols-keywords): Move to prog-mode.
15304         (perl--prettify-symbols-alist): Prettify -> => :: strings.
15305         (perl-font-lock-keywords-1)
15306         (perl-font-lock-keywords-2): Remove explicit prettify support.
15307         (perl--augmented-font-lock-keywords)
15308         (perl--augmented-font-lock-keywords-1)
15309         (perl--augmented-font-lock-keywords-2, perl-mode):
15310         Implement prettify support.
15312 2013-06-05  Leo Liu  <sdl.web@gmail.com>
15314         Re-implement SMIE matching block highlight using
15315         show-paren-data-function.  (Bug#14395)
15316         * emacs-lisp/smie.el (smie-matching-block-highlight)
15317         (smie--highlight-matching-block-overlay)
15318         (smie--highlight-matching-block-lastpos)
15319         (smie-highlight-matching-block)
15320         (smie-highlight-matching-block-mode): Remove.
15321         (smie--matching-block-data-cache): New variable.
15322         (smie--matching-block-data): New function.
15323         (smie-setup): Use smie--matching-block-data for
15324         show-paren-data-function.
15326         * progmodes/octave.el (octave-mode-menu): Fix.
15327         (octave-find-definition): Skip garbage lines.
15329 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15331         Fix compilation error with simultaneous dynamic+lexical scoping.
15332         Add warning when a defvar appears after the first let-binding.
15333         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
15334         (byte-compile-close-variables): Initialize it.
15335         (byte-compile--declare-var): New function.
15336         (byte-compile-file-form-defvar)
15337         (byte-compile-file-form-define-abbrev-table)
15338         (byte-compile-file-form-custom-declare-variable): Use it.
15339         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
15340         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
15341         (byte-compile-bind): Handle dynamic bindings that shadow
15342         lexical bindings.
15343         (byte-compile-unbind): Make arg non-optional.
15344         (byte-compile-let): Simplify.
15345         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
15346         (cconv--analyse-function, cconv-analyse-form): Populate it.
15347         Protect byte-compile-bound-variables to limit the scope of defvars.
15348         (cconv-analyse-form): Add missing rule for (defvar <foo>).
15349         Remove unneeded rule for `declare'.
15351         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
15352         so as to avoid depending on cl-adjoin at run-time.
15353         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
15355         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
15356         (macroexp--warn-and-return): Use it.
15358 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15360         * subr.el: Convert to lexical binding.
15361         (overriding-local-map): Make obsolete.
15362         (add-to-list): Doc fix.  Add compiler macro.
15363         (read-key): Swap values of local maps.
15365 2013-06-05  Leo Liu  <sdl.web@gmail.com>
15367         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
15369 2013-06-04  Leo Liu  <sdl.web@gmail.com>
15371         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
15372         (compilation-auto-jump): Suppress the "Mark set" message to give
15373         way to exit message.
15375 2013-06-04  Alan Mackenzie  <acm@muc.de>
15377         Remove faulty optimisation from indentation calculation.
15378         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
15379         search limit based on 2000 characters back from indent-point.
15381 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
15383         * eshell/em-term.el (cl-lib): Require `cl-lib'.
15385 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15387         * emacs-lisp/lisp.el: Use lexical-binding.
15388         (lisp--local-variables-1, lisp--local-variables): New functions.
15389         (lisp--local-variables-completion-table): New var.
15390         (lisp-completion-at-point): Use it complete let-bound vars.
15392         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
15393         eagerly (bug#14422).
15395 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
15397         * autorevert.el (auto-revert-notify-enabled)
15398         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
15399         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
15400         (auto-revert-notify-handler): Handle also gfilenotify.
15402         * subr.el (file-notify-handle-event): New defun.  Replacing ...
15403         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
15404         Remove.
15406 2013-06-03  Juri Linkov  <juri@jurta.org>
15408         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
15409         `M-s h .'.  (Bug#14427)
15411         * hi-lock.el (highlight-symbol-at-point): New alias for the new
15412         command `hi-lock-face-symbol-at-point'.
15413         (hi-lock-face-symbol-at-point): New command.
15414         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
15415         (hi-lock-menu): Add `highlight-symbol-at-point'.
15416         (hi-lock-mode): Doc fix.
15418         * isearch.el (isearch-forward-symbol-at-point): New command.
15419         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
15420         (isearch-highlight-regexp): Add a regexp which matches
15421         words/symbols for word/symbol mode.
15423         * subr.el (find-tag-default-bounds): New function with the body
15424         mostly moved from `find-tag-default'.
15425         (find-tag-default): Move most code to `find-tag-default-bounds',
15426         call it and apply `buffer-substring-no-properties' afterwards.
15428 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
15430         * eshell/em-term.el (eshell-term-initialize):
15431         Use `cl-intersection' rather than `intersection'.
15433 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
15435         * vc/log-view.el: Doc fix.
15436         (log-view-mode-map): Copy keymap from `special-mode-map'.
15438 2013-06-02  Eric Ludlam  <zappo@gnu.org>
15440         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
15441         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
15442         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
15443         (eieio-unbound, eieio-default-superclass)
15444         (eieio--define-field-accessors, method-static, method-before)
15445         (method-primary, method-after, method-num-lists)
15446         (method-generic-before, method-generic-primary)
15447         (method-generic-after, method-num-slots)
15448         (eieio-specialized-key-to-generic-key)
15449         (eieio--check-type, class-v, class-p)
15450         (eieio-class-name, define-obsolete-function-alias)
15451         (eieio-class-parents-fast, eieio-class-children-fast)
15452         (same-class-fast-p, class-constructor, generic-p)
15453         (generic-primary-only-p, generic-primary-only-one-p)
15454         (class-option-assoc, class-option, eieio-object-p)
15455         (class-abstract-p, class-method-invocation-order)
15456         (eieio-defclass-autoload-map, eieio-defclass-autoload)
15457         (eieio-class-un-autoload, eieio-defclass)
15458         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
15459         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
15460         (eieio--defgeneric-init-form, eieio-defgeneric-form)
15461         (eieio-defgeneric-reset-generic-form)
15462         (eieio-defgeneric-form-primary-only)
15463         (eieio-defgeneric-reset-generic-form-primary-only)
15464         (eieio-defgeneric-form-primary-only-one)
15465         (eieio-defgeneric-reset-generic-form-primary-only-one)
15466         (eieio-unbind-method-implementations)
15467         (eieio--defmethod, eieio--typep)
15468         (eieio-perform-slot-validation, eieio-validate-slot-value)
15469         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
15470         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
15471         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
15472         (eieio-slot-name-index, eieio-class-slot-name-index)
15473         (eieio-set-defaults, eieio-initarg-to-attribute)
15474         (eieio-attribute-to-initarg, eieio-c3-candidate)
15475         (eieio-c3-merge-lists, eieio-class-precedence-c3)
15476         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
15477         (eieio-class-precedence-list, eieio-generic-call-methodname)
15478         (eieio-generic-call-arglst, eieio-generic-call-key)
15479         (eieio-generic-call-next-method-list)
15480         (eieio-pre-method-execution-functions, eieio-generic-call)
15481         (eieio-generic-call-primary-only, eieiomt-method-list)
15482         (eieiomt-optimizing-obarray, eieiomt-install)
15483         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
15484         (eieio-generic-form, eieio-defmethod, make-obsolete)
15485         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
15486         (defclass): Remove `eval-and-compile' from macro.
15487         (call-next-method, shared-initialize): Instead of using
15488         `scoped-class' variable, use new eieio--scoped-class, and
15489         eieio--with-scoped-class.
15490         (initialize-instance): Rename local variable 'scoped-class' to
15491         'this-class' to remove ambiguitity from old global.
15493         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
15494         eieio.el.
15495         (eieio--scoped-class-stack): New variable.
15496         (eieio--scoped-class): New fcn.
15497         (eieio--with-scoped-class): New scoping macro.
15498         (eieio-defclass): Use pushnew instead of add-to-list.
15499         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
15500         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
15501         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
15502         `scoped-class' variable, use new eieio--scoped-class, and
15503         eieio--with-scoped-class.
15505         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
15507 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
15509         * eshell/esh-ext.el (eshell-external-command): Pass args to
15510         `eshell-find-interpreter'.
15511         (eshell-find-interpreter): Add new second parameter ARGS.
15513         * eshell/em-script.el (eshell-script-initialize): Add second arg
15514         to the function added as MATCH to `eshell-interpreter-alist'.
15516         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
15517         the function added as MATCH to `eshell-interpreter-alist'.
15519         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
15520         (eshell-visual-options): New defcustom.
15521         (eshell-escape-control-x): Adapt docstring.
15522         (eshell-term-initialize): Test `eshell-visual-subcommands' and
15523         `eshell-visual-options' in addition to `eshell-visual-commands'.
15524         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
15526 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
15528         * progmodes/python.el (python-indent-block-enders): Add break,
15529         continue and raise keywords.
15531 2013-06-01  Glenn Morris  <rgm@gnu.org>
15533         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
15535         Plain (f)boundp silences compilation warnings since Emacs 22.1.
15536         * progmodes/cc-cmds.el (delete-forward-p):
15537         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
15538         * progmodes/cc-engine.el (buffer-syntactic-context):
15539         * progmodes/cc-fonts.el (face-property-instance):
15540         * progmodes/cc-mode.el (set-keymap-parents):
15541         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
15542         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
15543         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
15544         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
15545         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
15547         * progmodes/cc-vars.el (other): Emacs has this widget since
15548         at least 21.1, so don't (re)define it.
15550         * eshell/em-cmpl.el (eshell-cmpl-initialize):
15551         Replace the obsolete alias pcomplete-arg-quote-list.
15553 2013-06-01  Leo Liu  <sdl.web@gmail.com>
15555         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
15556         punctuation syntax.
15557         (inferior-octave-minimal-columns)
15558         (inferior-octave-last-column-width): New variables.
15559         (inferior-octave-track-window-width-change): New function.
15560         (inferior-octave-mode): Adjust column width so that Octave output,
15561         for example from 'ls', can fit into the window nicely.
15563 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
15565         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15566         Highlight expansions inside regexp literals.
15568 2013-05-31  Glenn Morris  <rgm@gnu.org>
15570         * obsolete/sym-comp.el (symbol-complete):
15571         Replace obsolete completion-annotate-function.
15573         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
15575 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
15577         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
15578         New function, checks if point is inside a literal that allows
15579         expression expansion.
15580         (ruby-syntax-propertize-expansion): Use it.
15581         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
15582         around the body.
15584 2013-05-30  Juri Linkov  <juri@jurta.org>
15586         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
15587         to "\M-si".
15588         (isearch-invisible): New variable.
15589         (isearch-forward): Doc fix.
15590         (isearch-mode): Set `isearch-invisible'
15591         to the value of `search-invisible'.
15592         (isearch-toggle-case-fold): Doc fix.
15593         (isearch-toggle-invisible): New command.
15594         (isearch-query-replace): Let-bind `search-invisible'
15595         to the value of `isearch-invisible'.
15596         (isearch-search): Use `isearch-invisible' instead of
15597         `search-invisible'.  Let-bind `search-invisible'
15598         to the value of `isearch-invisible'.  (Bug#11378)
15600 2013-05-30  Juri Linkov  <juri@jurta.org>
15602         * replace.el (perform-replace): Avoid `isearch-range-invisible'
15603         call when `query-flag' is nil and `search-invisible' is non-nil.
15604         (Bug#11746)
15606 2013-05-30  Glenn Morris  <rgm@gnu.org>
15608         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
15610         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
15611         (cc-require): Suppress spurious "noruntime" warnings.
15612         (cc-require-when-compile): Use fboundp, for sake of compiler.
15614         * progmodes/cc-mode.el: Move load of cc-vars before that of
15615         cc-langs (which in turn loads cc-vars), to quieten compiler.
15617 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15619         * paren.el: Simplify the code.
15620         (show-paren-mode): Always start the timer.
15621         (show-paren--idle-timer): Rename from show-paren-idle-timer.
15622         (show-paren--overlay, show-paren--overlay-1): Rename from
15623         show-paren-overlay and show-paren-overlay-1, and initialize to an
15624         overlay rather than to nil.
15625         (show-paren-function): Misc cleanup and simplifications.
15627 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15629         * paren.el (show-paren-data-function): New hook.
15630         (show-paren--default): New function, extracted from show-paren-function.
15631         (show-paren-function): Use show-paren-data-function.
15633 2013-05-30  Glenn Morris  <rgm@gnu.org>
15635         * ielm.el (ielm-map, ielm-complete-symbol):
15636         Use completion-at-point rather than obsolete functions.
15637         (inferior-emacs-lisp-mode): Doc fix.
15638         Set completion-at-point-functions, rather than
15639         comint-dynamic-complete-functions.
15641         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
15642         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
15643         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
15645         * image.el (image-animated-p): Tweak definition.
15647         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
15648         (rlogin-process-connection-type): Tweak default.  Add set-after.
15649         (rlogin-host): Doc fix.
15650         (rlogin): Tweak prompt.
15651         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
15653         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
15654         * progmodes/tcl.el (inferior-tcl-mode-map):
15655         Use completion-at-point rather than obsolete alias.
15657         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
15659         * minibuffer.el (read-file-name-completion-ignore-case):
15660         Move before completion--in-region, for eager macro expansion.
15662 2013-05-29  Juri Linkov  <juri@jurta.org>
15664         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
15665         for total count of matching lines.  Add `global-matches' for total
15666         count of matches.  Rename `matches' to `lines' for count of
15667         matching lines.  Add `matches' for count of matches.
15668         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
15669         to `prev-line' for line number of prev match endpt.
15670         Increment `matches' for every match.  Print the number of
15671         matching lines in the header.
15672         (occur-context-lines): Rename `lines' to `curr-line'.
15673         Rename `prev-lines' to `prev-line'.  (Bug#14017)
15675 2013-05-29  Juri Linkov  <juri@jurta.org>
15677         * replace.el (perform-replace): Add `skip-read-only-count',
15678         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
15679         Increment them for corresponding conditions and report the number
15680         of skipped occurrences in the final message.  (Bug#11746)
15681         (query-replace, query-replace-regexp, query-replace-regexp-eval)
15682         (replace-string, replace-regexp): Doc fix.
15684 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15686         * emacs-lisp/trace.el (trace--read-args): Provide a default.
15688         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
15689         prog-mode-map (bug#14504).
15691 2013-05-29  Leo Liu  <sdl.web@gmail.com>
15693         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
15694         (octave-help): Small simplification.
15696         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
15697         off the highlight first.
15699 2013-05-29  Glenn Morris  <rgm@gnu.org>
15701         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
15702         Handle idlwave-last-system-routine-info-cons-cell being nil.
15704         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15705         (idlwave-write-paths): Simplify via with-temp-buffer.
15707         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
15708         * emulation/cua-rect.el: Also load cua-base at run time.
15710         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
15711         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
15712         (cperl-imenu-on-info): Require imenu.
15714 2013-05-28  Alan Mackenzie  <acm@muc.de>
15716         Handle "capitalised keywords" correctly.
15717         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
15719 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
15721         * eshell/em-unix.el: Add -r option to cp.
15723 2013-05-28  Glenn Morris  <rgm@gnu.org>
15725         * vc/vc-arch.el (vc-exec-after): Declare.
15726         (vc-switches): Autoload.
15727         * vc/vc-bzr.el: No need to require vc when compiling.
15728         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
15729         (vc-resynch-buffer, vc-dir-refresh): Declare.
15730         (vc-setup-buffer, vc-switches): Autoload.
15731         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
15732         (vc-resynch-buffer): Declare.
15733         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
15734         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
15735         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
15736         (grep-read-regexp, grep-read-files, grep-expand-template)
15737         (vc-dir-refresh): Declare.
15738         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
15739         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
15740         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
15741         * vc/vc-mtn.el (vc-exec-after): Declare.
15742         (vc-switches): Autoload.
15743         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
15744         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
15745         (vc-file-tree-walk): Declare.
15746         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
15747         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
15748         (vc-tag-precondition, vc-rename-master): Autoload.
15749         * vc/vc-svn.el (vc-exec-after): Declare.
15750         (vc-switches, vc-setup-buffer): Autoload.
15751         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
15752         Autoload.
15753         (vc-resynch-buffer): Declare.
15755         * obsolete/fast-lock.el (byte-compile-warnings):
15756         Don't warn about obsolete features in this obsolete file.
15758         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
15759         Move definition before use.
15761         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
15762         (dun-unix-verbs): Remove dun-zippy.
15763         (dun-zippy): Remove function.
15765         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
15767 2013-05-27  Juri Linkov  <juri@jurta.org>
15769         * replace.el (replace-search): New function with code moved out
15770         from `perform-replace'.
15771         (replace-highlight, replace-dehighlight): Move function definitions
15772         up closer to `replace-search'.  (Bug#11746)
15774 2013-05-27  Juri Linkov  <juri@jurta.org>
15776         * replace.el (perform-replace): Ignore invisible matches.
15777         In addition to checking `query-replace-skip-read-only', also
15778         filter out matches by calling `run-hook-with-args-until-failure'
15779         on `isearch-filter-predicates', and also check `search-invisible'
15780         for t or call `isearch-range-invisible'.
15781         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
15783 2013-05-27  Juri Linkov  <juri@jurta.org>
15785         * isearch.el (isearch-filter-predicates): Rename from
15786         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
15787         (isearch-message-prefix): Display text from the property
15788         `isearch-message-prefix' of the currently active filters.
15789         (isearch-search): Don't compare `isearch-filter-predicate' with
15790         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
15791         on `isearch-filter-predicates'.  Also check `search-invisible' for t
15792         or call `isearch-range-invisible'.
15793         (isearch-filter-visible): Make obsolete.
15794         (isearch-lazy-highlight-search):
15795         Call `run-hook-with-args-until-failure' on
15796         `isearch-filter-predicates' and use `isearch-range-invisible'.
15798         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
15799         `isearch-filter-predicates' instead of `funcall'ing
15800         `isearch-filter-predicate'.
15801         (Info-mode): Set `Info-isearch-filter' to
15802         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
15804         * dired-aux.el (dired-isearch-filter-predicate-orig):
15805         Remove variable.
15806         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
15807         (dired-isearch-filenames-end): Add and remove
15808         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
15809         instead of changing the value of `isearch-filter-predicate'.
15810         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
15811         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
15812         Put property `isearch-message-prefix' to "filename " on
15813         `dired-isearch-filter-filenames'.
15815         * wdired.el (wdired-change-to-wdired-mode):
15816         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
15817         locally instead of changing `isearch-filter-predicate'.
15818         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
15820 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
15822         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
15823         return the commit hash (Bug#14459).  Also set the
15824         `vc-git-detached' property.
15825         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
15826         (vc-git-mode-line-string): Use the same help-echo format whether
15827         in detached mode or not, because we know the actual revision now.
15828         When in detached mode, shorten the revision to 7 chars.
15830 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15832         * emacs-lisp/easy-mmode.el (define-minor-mode):
15833         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
15834         mode hook and provide a docstring.
15836 2013-05-27  Alan Mackenzie  <acm@muc.de>
15838         Remove spurious syntax-table text properties inserted by C-y.
15839         * progmodes/cc-mode.el (c-after-change): Also clear hard
15840         syntax-table property with value nil.
15842 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
15844         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
15845         when reading the events; the buffer layout shall not be changed.
15847 2013-05-27  Leo Liu  <sdl.web@gmail.com>
15849         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
15850         New variable.
15851         (inferior-octave-directory-tracker): Automatically re-sync
15852         default-directory.
15853         (octave-help): Improve handling of 'See also'.
15855 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15857         * doc-view.el: Minor naming convention tweaks.
15858         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
15860         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
15861         even if there's no `display' property yet (bug#14435).
15863 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
15865         * subr.el (unmsys--file-name): Rename from reveal-filename.
15867         * Makefile.in (custom-deps, finder-data, autoloads)
15868         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15869         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15870         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
15872 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15874         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
15875         error-completion on the first 2 args of condition-case (bug#14446).
15876         Don't burp at EOB.
15878 2013-05-25  Leo Liu  <sdl.web@gmail.com>
15880         * comint.el (comint-previous-matching-input): Do not flood the
15881         *Messages* buffer with trivial messages.
15883 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15885         * progmodes/flymake.el (flymake-nop): Don't return a string.
15886         (flymake-set-at): Fix typo.
15888         * simple.el (read--expression): New function, extracted from
15889         eval-expression.  Set completion-at-point-functions (bug#14465).
15890         (eval-expression, eval-minibuffer): Use it.
15892 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
15894         * progmodes/flymake.el (flymake-save-buffer-in-file)
15895         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
15896         (flymake-selected-frame, flymake-log, flymake-ins-after)
15897         (flymake-set-at, flymake-get-buildfile-from-cache)
15898         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
15899         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
15900         Refine the doc string.
15901         (flymake-get-file-name-mode-and-masks): Reformat.
15902         (flymake-get-real-file-name-function): Fix a minor bug.
15904 2013-05-24  Juri Linkov  <juri@jurta.org>
15906         * progmodes/grep.el (grep-mode-font-lock-keywords):
15907         Support =linenumber= format used by git-grep for lines with
15908         function names.  (Bug#13549)
15910 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15912         * progmodes/octave.el (octave-smie-rules): Return nil rather than
15913         0 after a semi-colon; it works better for smie-auto-fill.
15914         (octave--indent-new-comment-line): New function.
15915         (octave-indent-new-comment-line): Use it (indirectly).
15916         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
15917         modify comment-line-break-function.
15919         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
15920         (smie-setup): Use add-function to set it.
15922 2013-05-24  Sam Steingold  <sds@gnu.org>
15924         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
15925         argument (before the `interactive' argument).
15927 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15929         * image-mode.el (image-mode-winprops): Add winprops to
15930         image-mode-winprops-alist before running
15931         image-mode-new-window-functions.
15932         * doc-view.el (doc-view-new-window-function): Don't delay
15933         doc-view-goto-page via timers (bug#14435).
15935 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
15937         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
15938         (doc-view-desktop-save-buffer): New function.
15939         (doc-view-restore-desktop-buffer): New function.
15940         (desktop-buffer-mode-handlers):
15941         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
15942         handler.
15943         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
15944         `desktop-save-buffer' function.
15946 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
15948         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
15949         (tramp-gvfs-file-name-handler): Raise a user error when
15950         `tramp-gvfs-enabled' is nil.
15951         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
15952         Do not raise a user error when loading package.  (Bug#14447)
15954         * net/xesam.el: Move to obsolete/.
15956 2013-05-24  Glenn Morris  <rgm@gnu.org>
15958         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
15960         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
15962         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
15963         (Info-find-node, Man-getpage-in-background): Declare.
15965         * mail/unrmail.el (unrmail):
15966         Replace obsolete detect-coding-with-priority.
15968         * net/socks.el (socks-split-string): Use this rather than split-string.
15969         (socks-nslookup-host): Update for above change.
15970         (dynamic-choice, s5-dynamic-choice-match)
15971         (s5-dynamic-choice-match-inline, s5-widget-value-create):
15972         Comment out unused code.
15974         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
15975         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
15976         (gud-tooltip-echo-area): Make obsolete.
15977         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
15979         * progmodes/js.el (js--optimize-arglist): Declare.
15981         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
15983         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
15984         (ediff-window-C): Declare.
15986         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
15987         Tweak requires to silence compiler.
15989         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
15990         (he-search-string, he-tried-table, he-expand-list)
15991         (he-init-string, he-string-member, he-substitute-string)
15992         (he-reset-string): Declare.
15994         * obsolete/options.el (list-options): Use custom-variable-p,
15995         rather than obsolete alias.
15997 2013-05-23  Sam Steingold  <sds@gnu.org>
15999         * simple.el (shell-command-on-region): Pass the `replace' argument
16000         down to `call-process-region' to comply with the doc as reported on
16001         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
16003 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16005         * emacs-lisp/smie.el (smie-indent-forward-token)
16006         (smie-indent-backward-token): Handle string tokens (bug#14381).
16008 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16010         * ielm.el (ielm-menu): New menu.
16011         (inferior-emacs-lisp-mode): Set comment-start.
16013 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
16015         * textmodes/reftex.el (reftex-ref-style-toggle):
16016         Fix deactivate action.
16018         * textmodes/reftex-vars.el (reftex-ref-style-alist):
16019         Add cleveref macros.
16021         * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
16022         Accept options for bibliography commands.
16023         * textmodes/reftex-vars.el (reftex-bibliography-commands):
16024         Add addbibresource.  Basic Biblatex support.
16026 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
16028         * net/tramp-gvfs.el (top):
16029         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
16030         when loading package.  (Bug#14447)
16032 2013-05-23  Glenn Morris  <rgm@gnu.org>
16034         * progmodes/js.el: No need to load comint when compiling.
16035         (ring-insert, comint-send-string, comint-send-input)
16036         (comint-last-input-end, ido-chop): Declare.
16038         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
16039         * vc/ediff-mult.el: Adjust requires.
16040         (ediff-directories-internal, ediff-directory-revisions-internal)
16041         (ediff-patch-file-internal): Declare.
16042         * vc/ediff-ptch.el: Adjust requires.
16043         (ediff-use-last-dir, ediff-buffers-internal): Declare.
16044         (ediff-find-file): Autoload.
16045         * vc/ediff-util.el: No need to load ediff when compiling.
16046         (ediff-regions-internal): Declare.
16047         * vc/ediff-wind.el: Adjust requires.
16048         (ediff-compute-toolbar-width): Define when compiling.
16049         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
16050         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
16051         (dired-get-filename, dired-get-marked-files)
16052         (ediff-last-dir-patch, ediff-patch-default-directory)
16053         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
16054         (ediff-patch-buffer-internal): Declare.
16056         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
16057         (ispell-process, ispell-buffer-local-words, lm-summary)
16058         (lm-section-start, lm-section-end): Declare.
16059         (checkdoc-ispell-init): Simplify.
16061         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
16062         (he-string-member, he-reset-string, he-substitute-string): Declare.
16064         * eshell/em-ls.el: Adjust requires.
16065         (eshell-glob-regexp): Declare.
16066         * eshell/em-tramp.el: Adjust requires.
16067         (eshell-parse-command): Autoload.
16068         * eshell/em-xtra.el: Adjust requires.
16069         (eshell-parse-command): Autoload.
16070         * eshell/esh-ext.el: Adjust requires.
16071         (eshell-parse-command, eshell-close-handles): Autoload.
16072         * eshell/esh-io.el: Adjust requires.
16073         (eshell-output-filter): Autoload.
16074         * eshell/esh-util.el: No need to load tramp when compiling.
16075         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
16076         Declare.
16077         (eshell-parse-ange-ls): Require ange-ftp and tramp.
16078         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
16079         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
16080         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
16081         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
16082         * eshell/esh-opt.el, eshell/esh-proc.el:
16083         * eshell/esh-var.el: Adjust requires.
16084         * eshell/eshell.el: Do not require esh-util twice.
16085         (eshell-add-input-to-history): Declare.
16086         (eshell-command): Check history module is active before using it.
16088         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
16090 2013-05-22  Leo Liu  <sdl.web@gmail.com>
16092         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
16094 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
16096         * autorevert.el (auto-revert-notify-add-watch)
16097         (auto-revert-notify-handler): Add `attrib' for the inotify case,
16098         it indicates changes in file modification time.
16100 2013-05-22  Glenn Morris  <rgm@gnu.org>
16102         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
16103         Always delete the autoloaded function from the noruntime and
16104         unresolved functions lists.
16106         * allout.el: No need to load epa, epg, overlay when compiling.
16107         (epg-context-set-passphrase-callback, epg-list-keys)
16108         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
16109         (epg-key-user-id-list): Declare.
16111         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16112         (viper-set-parsing-style-toggling-macro)
16113         (viper-set-emacs-state-searchstyle-macros):
16114         Use called-interactively-p on Emacs.
16115         (viper-looking-back): Make it an obsolete alias.  Update callers.
16116         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
16117         Use looking-back rather than viper-looking-back.
16118         (viper-tmp-insert-at-eob, viper-enlarge-region)
16119         (viper-read-string-with-history, viper-register-to-point)
16120         (viper-append-to-register, viper-change-state-to-vi)
16121         (viper-backward-char-carefully, viper-forward-char-carefully)
16122         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
16123         (viper-change-state-to-emacs): Declare.
16124         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
16125         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
16126         * emulation/viper-mous.el: Do not load viper-cmd.
16127         (viper-backward-char-carefully, viper-forward-char-carefully)
16128         (viper-forward-word, viper-adjust-window): Declare.
16130         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
16132         * progmodes/idlw-help.el (idlwave-help-fontify):
16133         Use called-interactively-p.
16135         * term/w32console.el (w32-get-console-codepage)
16136         (w32-get-console-output-codepage): Declare.
16138         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
16139         Remove unnecessary declarations.
16140         (dframe-message): Doc fix.
16142         * info.el (dframe-select-attached-frame, dframe-current-frame):
16143         Declare.
16145         * speedbar.el (speedbar-message): Make it an obsolete alias.
16146         Update all callers.
16147         (speedbar-with-attached-buffer)
16148         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
16149         (speedbar-with-writable): Use backquote.
16150         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
16151         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
16152         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
16153         rather than speedbar- aliases.
16154         * mail/rmail.el: Load dframe rather than speedbar when compiling.
16155         (speedbar-make-specialized-keymap, speedbar-insert-button)
16156         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
16157         (speedbar-do-function-pointer): Declare.
16158         (rmail-speedbar-button, rmail-speedbar-find-file)
16159         (rmail-speedbar-move-message):
16160         Use dframe-with-attached-buffer rather than speedbar- alias.
16161         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
16162         (dframe-message, speedbar-make-specialized-keymap)
16163         (speedbar-add-expansion-list, speedbar-mode-functions-list)
16164         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
16165         (speedbar-insert-button, dframe-select-attached-frame)
16166         (dframe-maybee-jump-to-attached-frame)
16167         (speedbar-change-initial-expansion-list)
16168         (speedbar-previously-used-expansion-list-name): Declare.
16169         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
16170         Use dframe-message, dframe-with-attached-buffer rather than
16171         speedbar- aliases.
16172         (gud-sentinel): Silence compiler.
16173         * progmodes/vhdl-mode.el (speedbar-refresh)
16174         (speedbar-do-function-pointer, speedbar-add-supported-extension)
16175         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
16176         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
16177         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
16178         (speedbar-file-lists, speedbar-make-tag-line)
16179         (speedbar-line-directory, speedbar-goto-this-file)
16180         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
16181         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
16182         (speedbar-make-button, speedbar-reset-scanners)
16183         (speedbar-files-item-info, speedbar-line-text)
16184         (speedbar-find-file-in-frame, speedbar-set-timer)
16185         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
16186         (speedbar-with-writable): Do not (re)define it.
16187         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
16188         rather than speedbar- alias.
16190 2013-05-21  Leo Liu  <sdl.web@gmail.com>
16192         * progmodes/octave.el (octave-mode-menu): Update and re-organize
16193         menu items.
16194         (octave-mode): Tweak fill-nobreak-predicate.
16195         (inferior-octave-startup): Check process to avoid infinite loop.
16196         (inferior-octave): Pop to buffer first to show abornmal process
16197         exit information.
16199 2013-05-21  Glenn Morris  <rgm@gnu.org>
16201         * printing.el (pr-menu-bar): Define when compiling.
16203 2013-05-21  Leo Liu  <sdl.web@gmail.com>
16205         * progmodes/octave.el (octave-auto-fill): Remove.
16206         (octave-indent-new-comment-line): Improve.
16207         (octave-mode): Use auto fill mode through
16208         comment-line-break-function and fill-nobreak-predicate.
16209         (octave-goto-function-definition): Support DEFUN_DLD.
16210         (octave-beginning-of-defun): Small tweak.
16211         (octave-help): Show parent directory.
16213 2013-05-21  Glenn Morris  <rgm@gnu.org>
16215         * files.el (dired-unmark):
16216         * progmodes/gud.el (gdb-input): Update declarations.
16218         * calculator.el (electric, ehelp): No need to load when compiling.
16219         (Electric-command-loop, electric-describe-mode): Declare.
16221         * doc-view.el (doc-view-current-converter-processes): Move before use.
16223         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16224         Move MODE-set-explicitly definition before use.
16226         * international/mule-diag.el (mule-diag):
16227         Don't use obsolete window-system-version.
16229         * mail/feedmail.el (smtpmail): No need to load when compiling.
16230         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
16232         * mail/mail-utils.el (rfc822): No need to load when compiling.
16233         (rfc822-addresses): Autoload it.
16234         (mail-strip-quoted-names): Trivial simplification.
16236         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
16237         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
16239         * net/snmp-mode.el (tempo): Don't duplicate requires.
16241         * progmodes/prolog.el (info): No need to load when compiling.
16242         (comint): Require before shell requires it.
16243         (Info-goto-node): Autoload it.
16244         (Info-follow-nearest-node): Declare.
16245         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
16247         * textmodes/artist.el (picture-mode-exit): Declare.
16249         * textmodes/reftex-parse.el (reftex-parse-from-file):
16250         Trivial rewrite so the compiler can parse it better.
16252 2013-05-20  Leo Liu  <sdl.web@gmail.com>
16254         * progmodes/octave.el (octave-help-mode-map)
16255         (octave-help-mode-finish-hook): New variables.
16256         (octave-help-mode, octave-help-mode-finish): New functions.
16257         (octave-help): Use octave-help-mode.
16259 2013-05-20  Glenn Morris  <rgm@gnu.org>
16261         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
16263 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
16265         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
16266         start at point, so that expansion starting right after opening
16267         slash in a regexp is recognized.
16268         (ruby-syntax-before-regexp-re): New defvar, extracted from
16269         ruby-syntax-propertize-function.  Since the value of this regexp
16270         is looked up at runtime now, we should be able to turn
16271         `ruby-syntax-methods-before-regexp' into a defcustom later.
16272         (ruby-syntax-propertize-function): Split regexp matching into two
16273         parts, for opening and closing slashes.  That allows us to skip
16274         over string interpolations and support multiline regexps.
16275         Don't call `ruby-syntax-propertize-expansions', instead use another rule
16276         for them, which calls `ruby-syntax-propertize-expansion'.
16277         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
16278         call to `ruby-syntax-propertize-function'.
16279         (ruby-syntax-propertize-expansion): Extracted from
16280         `ruby-syntax-propertize-expansions'.  Handles one expansion.
16281         (ruby-syntax-propertize-percent-literal): Leave point right after
16282         the percent symbol, so that the expression expansion rule can
16283         propertize the contents.
16284         (ruby-syntax-propertize-heredoc): Leave point at bol following the
16285         heredoc openers.
16286         (ruby-syntax-propertize-expansions): Remove.
16288 2013-05-18  Juri Linkov  <juri@jurta.org>
16290         * man.el (Man-default-man-entry): Remove `-' from the end
16291         of the default value.  (Bug#14400)
16293 2013-05-18  Glenn Morris  <rgm@gnu.org>
16295         * comint.el (comint-password-prompt-regexp):
16296         Allow "password for XXX" where XXX contains colons (eg https://...).
16298 2013-05-18  Leo Liu  <sdl.web@gmail.com>
16300         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
16301         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
16302         (octave-source-directories): Don't check process.
16303         (octave-source-directories, octave-find-definition): Doc fix.
16305 2013-05-18  Glenn Morris  <rgm@gnu.org>
16307         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
16308         Remove backspace/delete bindings.  (Bug#14392)
16310         * cus-dep.el (custom-make-dependencies): Sort the output.
16311         (custom-versions-load-alist): Convert comment to doc.
16313 2013-05-17  Leo Liu  <sdl.web@gmail.com>
16315         * newcomment.el (comment-search-backward): Stricter in finding
16316         comment start.  (Bug#14303)
16318         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
16319         (octave-comment-start-skip): Properly anchored.
16321 2013-05-17  Leo Liu  <sdl.web@gmail.com>
16323         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
16324         Clean up when turned off.  (Bug#14395)
16325         (smie--highlight-matching-block-overlay): No longer buffer-local.
16326         (smie-highlight-matching-block): Adjust.
16328 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
16330         Doc string fix for "nanoseconds" (Bug#14406).
16331         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
16332         Fix doc string typo that had "nanoseconds" instead of "microseconds".
16334 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
16336         * calc/calc-units.el (math-extract-units): Preserve powers
16337         of units.
16339 2013-05-17  Leo Liu  <sdl.web@gmail.com>
16341         * subr.el (delete-consecutive-dups): New function.
16342         * ido.el (ido-set-matches-1): Use it.
16343         * progmodes/octave.el (inferior-octave-completion-table): Use it.
16344         * ido.el (ido-remove-consecutive-dups): Remove.
16346 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16348         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16349         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
16350         regexp-opt's `words'.
16352 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16354         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
16355         (smie--highlight-matching-block-overlay)
16356         (smie--highlight-matching-block-lastpos)
16357         (smie--highlight-matching-block-timer): New variables.
16358         (smie-highlight-matching-block): New function.
16359         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
16360         (smie-setup): Conditionally enable smie-blink-matching-open.
16362 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
16364         Sync with upstream verilog-mode r840.
16365         * progmodes/verilog-mode.el (verilog-mode-version)
16366         (verilog-mode-release-date): Update.
16367         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
16368         (verilog-sig-tieoff): Fix string error on
16369         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
16370         (verilog-read-decls): Fix parameters confusing
16371         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
16373 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
16375         * subr.el (reveal-filename): New function.
16377         * loadup.el: Compute Emacs executable versions on MS-Windows,
16378         where executables have the .exe extension.  Add a hard link
16379         emacs-XX.YY.ZZ.exe on MS-Windows.
16381         * Makefile.in (XARGS_LIMIT): New variable.
16382         (custom-deps, finder-data, autoloads)
16383         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16384         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16385         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
16386         (compile-main): Limit xargs according to $(XARGS_LIMIT).
16388 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16390         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
16391         (octave-mode-menu, octave-mode-map): Remove its uses.
16393 2013-05-16  Reto Zimmermann  <reto@gnu.org>
16395         Sync with upstream vhdl mode v3.34.2.
16396         * progmodes/vhdl-mode.el: Use `push' throughout.
16397         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
16398         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
16399         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
16400         (vhdl-actual-generic-name): New option to derive actual generic name.
16401         (vhdl-port-paste-signals): Replace formal by actual generics.
16402         (vhdl-beautify): New name for old group vhdl-align.  Update users.
16403         (vhdl-beautify-options): New option.
16404         (vhdl-last-input-event): New compat alias.  Use throughout.
16405         (vhdl-goto-line): Replace user level function `goto-line'.
16406         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
16407         vhdl-fix-statement-buffer.
16408         (vhdl-create-mode-menu): Add some entries.
16409         (vhdl-align-region-groups): Respect vhdl-beautify-options.
16410         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
16411         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
16412         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
16413         to force statements on one line.
16414         (vhdl-remove-trailing-spaces-region):
16415         New, split from vhdl-remove-trailing-spaces.
16416         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
16417         Respect vhdl-beautify-options.
16418         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
16419         (vhdl-update-sensitivity-list): Not add with index if exists without.
16420         Not include array index with signal.  Ignore keywords in comments.
16421         (vhdl-get-visible-signals): Regexp tweaks.
16422         (vhdl-template-component-inst): Handle empty library.
16423         (vhdl-template-type): Add template for 'enum' type.
16424         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
16425         Use vhdl-replace-string.
16426         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
16427         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
16428         (vhdl-speedbar-initialize): Update for above name change.
16429         (vhdl-compose-wire-components): Fix in handling of constants.
16430         (vhdl-error-regexp-emacs-alist): New variable.
16431         (vhdl-error-regexp-add-emacs): New function;
16432         adds support for new compile.el (Emacs 22+)
16433         (vhdl-generate-makefile-1): Change target order for single lib. units.
16434         Allow use of absolute file names.
16436 2013-05-16  Leo Liu  <sdl.web@gmail.com>
16438         * simple.el (prog-indent-sexp): Indent enclosing defun.
16440 2013-05-15  Glenn Morris  <rgm@gnu.org>
16442         * cus-start.el (show-trailing-whitespace): Move to editing basics.
16443         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
16444         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
16445         (whitespace-highlight): Move to whitespace group.
16447         * comint.el (comint-source):
16448         * pcmpl-linux.el (pcmpl-linux):
16449         * shell.el (shell-faces):
16450         * eshell/esh-opt.el (eshell-opt):
16451         * international/ccl.el (ccl): Remove empty custom groups.
16453         * completion.el (dynamic-completion-mode):
16454         * jit-lock.el (jit-lock-debug-mode):
16455         * minibuffer.el (completion-in-region-mode):
16456         * type-break.el (type-break-mode-line-message-mode)
16457         (type-break-query-mode):
16458         * emulation/tpu-edt.el (tpu-edt-mode):
16459         * progmodes/subword.el (global-subword-mode, global-superword-mode):
16460         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16461         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
16463         * term/xterm.el (xterm): Change parent group to terminals.
16465         * master.el (master): Remove empty custom group.
16466         (master-mode): Remove unused :group argument.
16467         * textmodes/refill.el (refill): Remove empty custom group.
16468         (refill-mode): Remove unused :group argument.
16470         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
16472         * cus-dep.el: Provide a feature.
16473         (custom-make-dependencies): Ignore dotfiles (dir-locals).
16474         Don't mistakenly ignore files whose basenames match a basename
16475         from preloaded-file-list (eg cedet/ede/simple.el).
16476         Add a fallback method for getting :group.
16478 2013-05-15  Juri Linkov  <juri@jurta.org>
16480         * isearch.el (isearch-char-by-name): Rename from
16481         `isearch-insert-char-by-name'.  Doc fix.
16482         (isearch-forward): Mention `isearch-char-by-name' in
16483         the docstring.  (Bug#13348)
16485         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
16486         `exit-minibuffer' instead of
16487         `isearch-nonincremental-exit-minibuffer'.
16488         (isearch-edit-string): Remove mention of
16489         `isearch-nonincremental-exit-minibuffer' from docstring.
16490         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
16491         (isearch-forward-exit-minibuffer)
16492         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
16494 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16496         * loadup.el: Just use unversioned DOC.
16498         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
16499         literals as extending to EOB.
16500         (nxml-last-fontify-end): Remove unused variable.
16501         (nxml-after-change1): Use with-silent-modifications.
16502         (nxml-extend-after-change-region): Simplify.
16503         (nxml-extend-after-change-region1): Remove function.
16504         (nxml-after-change1): Don't adjust for dependent regions.
16505         (nxml-fontify-matcher): Simplify.
16506         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
16507         (xmltok-add-dependent): Remove function.
16508         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
16509         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
16510         (xmltok-scan-prolog-after-processing-instruction-open): Treat
16511         unclosed <[[, <?, comment, and other literals as extending to EOB.
16512         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
16513         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
16514         Remove functions.
16515         (rng-do-some-validation-1): Don't mark dependent regions.
16516         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
16517         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
16518         (nxml-clear-dependent-regions): Remove functions.
16519         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
16520         (nxml-ensure-scan-up-to-date):
16521         Don't clear&mark dependent regions.
16523 2013-05-15  Leo Liu  <sdl.web@gmail.com>
16525         * progmodes/octave.el (octave-goto-function-definition):
16526         Improve and fix callers.
16528 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16530         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
16531         the setter (bug#14387).
16533         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
16534         surrounding group (bug#14402).
16536 2013-05-14  Juri Linkov  <juri@jurta.org>
16538         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
16539         (Bug#14390)
16541 2013-05-14  Glenn Morris  <rgm@gnu.org>
16543         * progmodes/f90.el (f90-imenu-generic-expression):
16544         Fix typo in 2013-05-08 change.  (Bug#14402)
16546 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16548         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
16549         Remove signals for which replies are never received.
16551 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16553         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
16554         (gdb-handler-alist, gdb-handler-number): Remove variables.
16555         (gdb-handler-list): New variable.
16556         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
16557         (gdb-pending-handler-p, gdb-handle-reply)
16558         (gdb-remove-all-pending-triggers): New functions.
16559         (gdb-discard-unordered-replies): New defcustom.
16560         (gdb-handler): New defstruct.
16561         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
16562         instead of gdb-pending-triggers.  Update docstring.
16563         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
16564         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
16565         (gdb-var-update-handler, def-gdb-auto-update-trigger)
16566         (def-gdb-auto-update-handler, gdb-get-changed-registers)
16567         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
16568         (gdb-frame-handler): Pending triggers are now automatically managed.
16569         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
16570         Remove argument.
16571         (gdb-input): Automatically handles pending triggers.  Update docstring.
16572         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
16573         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
16574         Update comments.
16575         (gdb-done-or-error): Now use gdb-handle-reply.
16577 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
16579         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
16580         gdb-debug-log.
16582 2013-05-14  Glenn Morris  <rgm@gnu.org>
16584         * subr.el (user-emacs-directory-warning): New option.
16585         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
16587 2013-05-14  Leo Liu  <sdl.web@gmail.com>
16589         * progmodes/octave.el (octave-font-lock-keywords): Fix error
16590         during redisplay.
16591         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
16592         (octave-font-lock-texinfo-comment): Fix invalid search bound
16593         error: wrong side of point.
16595 2013-05-14  Glenn Morris  <rgm@gnu.org>
16597         * progmodes/flymake.el (flymake-xml-program): New option.
16598         (flymake-xml-init): Use it.
16600         * term/xterm.el: Provide a feature.
16602         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
16604 2013-05-13  Glenn Morris  <rgm@gnu.org>
16606         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
16607         Add compat aliases as a hack workaround.  (Bug#14384)
16609 2013-05-13  Leo Liu  <sdl.web@gmail.com>
16611         * progmodes/octave.el (octave-indent-comment): Fix indentation for
16612         ###, and %!.
16613         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
16614         C-M-q.
16615         (octave-comment-start-skip): Include %!.
16616         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
16618 2013-05-12  Leo Liu  <sdl.web@gmail.com>
16620         * progmodes/octave.el (inferior-octave-startup): Store the value
16621         of __octave_srcdir__ for octave-source-directories.
16622         (inferior-octave-check-process): New function refactored out of
16623         inferior-octave-send-list-and-digest.
16624         (octave-source-directories)
16625         (octave-find-definition-filename-function): New variables.
16626         (octave-source-directories)
16627         (octave-find-definition-default-filename): New functions.
16628         (octave-find-definition): Improve to find functions implemented in C++.
16630 2013-05-12  Glenn Morris  <rgm@gnu.org>
16632         * calendar/diary-lib.el (diary-outlook-format-1):
16633         Don't include dayname in the output.  (Bug#14349)
16635 2013-05-11  Glenn Morris  <rgm@gnu.org>
16637         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
16639         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
16640         Treat cc-provide like provide.
16642 2013-05-11  Kevin Ryde  <user42@zip.com.au>
16644         * cus-dep.el (custom-make-dependencies):
16645         Use generated-autoload-load-name for the sake of files such
16646         such cedet/semantic/bovine/c.el, where the base file name
16647         is not in load-path.  (Bug#5277)
16649 2013-05-11  Glenn Morris  <rgm@gnu.org>
16651         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
16652         Provide features.
16654 2013-05-11  Leo Liu  <sdl.web@gmail.com>
16656         * progmodes/octave.el (octave-indent-comment): Improve.
16657         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
16658         (octave-eldoc-function-signatures, octave-eldoc-function):
16659         New functions.
16660         (octave-mode, inferior-octave-mode): Add eldoc support.
16662 2013-05-11  Richard Stallman  <rms@gnu.org>
16664         * epa.el (epa-decrypt-file): Take output file name as argument
16665         and read it using `interactive'.
16667 2013-05-11  Leo Liu  <sdl.web@gmail.com>
16669         * progmodes/octave.el (octave-beginning-of-line)
16670         (octave-end-of-line): Check before using up-list because it jumps
16671         out of more syntactic contructs since moving to smie.
16672         (octave-indent-comment): New function.
16673         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
16674         (octave-begin-keywords, octave-end-keywords)
16675         (octave-reserved-words, octave-smie-bnf-table)
16676         (octave-smie-rules): Add new keywords from Octave 3.6.4.
16678 2013-05-11  Glenn Morris  <rgm@gnu.org>
16680         * faces.el (internal-face-x-get-resource):
16681         * frame.el (ns-display-monitor-attributes-list):
16682         * calc/calc-aent.el (math-to-radians-2):
16683         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
16684         Fix declarations.
16686         * calc/calc-menu.el: Make it loadable in isolation.
16688         * net/eudcb-bbdb.el: Make it loadable without bbdb.
16689         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
16690         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
16691         (eudc-bbdb-query-internal): Require 'bbdb.
16693         * lpr.el (lpr-headers-switches):
16694         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
16696         * progmodes/sql.el (sql-login-params): Fix and improve :type.
16698         * emulation/edt-mapper.el: In batch mode, error rather than hang.
16700         * term.el (term-set-escape-char): Make it idempotent.
16702 2013-05-10  Leo Liu  <sdl.web@gmail.com>
16704         * progmodes/octave.el (inferior-octave-completion-table):
16705         No longer a function and all uses changed.  Use cache to speed up
16706         completion due to bug#11906.
16707         (octave-beginning-of-defun): Re-write to be more general.
16709 2013-05-10  Glenn Morris  <rgm@gnu.org>
16711         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
16713 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16715         * comint.el (comint-redirect-send-command-to-process): Use :around
16716         rather than :override for comint-redirect-filter.
16717         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
16718         Call it instead of comint-redirect-original-filter-function (which
16719         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
16721 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
16723         * frame.el (display-monitor-attributes-list): Add NS case.
16724         (ns-display-monitor-attributes-list): Declare.
16726 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
16728         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
16730 2013-05-09  Glenn Morris  <rgm@gnu.org>
16732         * international/fontset.el (vertical-centering-font-regexp):
16733         Set standard-value.
16735         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
16737         * bookmark.el (bookmark-search-delay):
16738         * cus-start.el (vertical-centering-font-regexp):
16739         * ps-mule.el (ps-mule-font-info-database-default):
16740         * ps-print.el (ps-default-fg, ps-default-bg):
16741         * type-break.el (type-break-good-break-interval):
16742         * whitespace.el (whitespace-indentation-regexp)
16743         (whitespace-space-after-tab-regexp):
16744         * emacs-lisp/testcover.el (testcover-1value-functions)
16745         (testcover-noreturn-functions, testcover-progn-functions)
16746         (testcover-prog1-functions):
16747         * emulation/viper-init.el (viper-emacs-state-cursor-color):
16748         * eshell/em-glob.el (eshell-glob-translate-alist):
16749         * play/tetris.el (tetris-tty-colors):
16750         * progmodes/cpp.el (cpp-face-default-list):
16751         * progmodes/flymake.el (flymake-allowed-file-name-masks):
16752         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
16753         (idlwave-help-browser-generic-args):
16754         * progmodes/make-mode.el (makefile-special-targets-list):
16755         * progmodes/python.el (python-shell-virtualenv-path):
16756         * progmodes/verilog-mode.el (verilog-active-low-regexp)
16757         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
16758         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
16759         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
16760         * textmodes/reftex-vars.el (reftex-format-label-function):
16761         * textmodes/remember.el (remember-diary-file): Fix custom types.
16763         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
16764         Add :version.
16766 2013-05-09  Leo Liu  <sdl.web@gmail.com>
16768         * progmodes/octave.el (inferior-octave-completion-at-point):
16769         Restore file completion.  (Bug#14300)
16770         (inferior-octave-startup): Fix incorrect highlighting for the
16771         first prompt.
16773 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16775         * progmodes/ruby-mode.el: First cut at SMIE support.
16776         (ruby-use-smie): New var.
16777         (ruby-smie-grammar): New constant.
16778         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
16779         (ruby-smie--forward-token, ruby-smie--backward-token)
16780         (ruby-smie-rules): New functions.
16781         (ruby-mode-variables): Setup SMIE if applicable.
16783 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
16785         * simple.el (line-move-visual): Signal beginning/end of buffer
16786         only if vertical-motion moved less than it was requested.  Avoids
16787         silly incorrect error messages when there are display strings with
16788         multiple newlines at EOL.
16790 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16792         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
16793         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
16794         (prolog-char-quote-workaround):
16795         * progmodes/cperl-mode.el (cperl-under-as-char):
16796         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
16797         Mark as obsolete.
16798         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
16799         their declaration.
16800         (vhdl-mode-syntax-table-init): Remove.
16802         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
16803         last change.
16805         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
16806         syntax for "_".
16807         (ld-script-font-lock-keywords):
16808         Change regexps to use things like \_< and \_>.
16810         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
16811         Change all regexps to use things like \_< and \_>.
16813         * progmodes/autoconf.el (autoconf-definition-regexp)
16814         (autoconf-font-lock-keywords, autoconf-current-defun-function):
16815         Handle a _ with symbol syntax.
16816         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
16818         * progmodes/ada-mode.el (ada-mode-abbrev-table):
16819         Consolidate declaration.
16820         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
16821         the declaration.
16822         (ada-create-syntax-table): Remove.
16823         (ada-capitalize-word): Don't mess with the syntax of "_" since it
16824         already has the right syntax nowadays.
16825         (ada-goto-next-word): Don't change the syntax of "_".
16827         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
16828         with-wrapper-hook.
16830 2013-05-08  Sam Steingold  <sds@gnu.org>
16832         * thingatpt.el (thing-at-point): Accept optional second argument
16833         NO-PROPERTIES to strip the text properties from the return value.
16834         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
16835         to `thing-at-point' instead of stripping the properties ourselves.
16836         Also, when `thing-at-point' fails to find a url, prepend "http://"
16837         to the filename at point on the assumption that the user is
16838         pointing at something like gnu.org/gnu.
16840 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
16842         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16843         * faces.el (crm-separator):
16844         Silence byte-compiler.
16846         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
16847         (tool-bar-map): Remove unneeded defvars.
16849 2013-05-08  Leo Liu  <sdl.web@gmail.com>
16851         Re-work a fix for bug#10994 based on Le Wang's patch.
16852         * ido.el (ido-remove-consecutive-dups): New helper.
16853         (ido-completing-read): Use it.
16854         (ido-chop): Revert fix for bug#10994.
16856 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
16858         * cus-edit.el (custom-save-variables):
16859         Pretty-print long values.  (Bug#14187)
16861 2013-05-08  Glenn Morris  <rgm@gnu.org>
16863         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
16864         (m4-mode-syntax-table): Init in the defvar.
16865         (m4-mode-abbrev-table): Let define-derived-mode define it.
16867 2013-05-08  Tom Tromey  <tromey@redhat.com>
16869         * progmodes/m4-mode.el (m4-mode-syntax-table):
16870         Do not treat "_" as word constituent.  (Bug#14167)
16872 2013-05-07  Glenn Morris  <rgm@gnu.org>
16874         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
16875         Remove explicit eshell-isearch-cancel-map.
16877         * progmodes/f90.el (f90-smart-end-names): New option.
16878         (f90-smart-end): Doc fix.
16879         (f90-end-block-optional-name): New constant.
16880         (f90-block-match): Respect f90-smart-end-names.
16882 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16884         * progmodes/octave.el (octave-smie-forward-token): Be more careful
16885         about implicit semi-colons (bug#14218).
16887 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16889         * frame.el (display-monitor-attributes-list)
16890         (frame-monitor-attributes): New functions.
16892 2013-05-06  Leo Liu  <sdl.web@gmail.com>
16894         * progmodes/octave.el (octave-syntax-propertize-function): Change
16895         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
16896         (octave-font-lock-keywords): Use octave-operator-regexp.
16897         (octave-completion-at-point): Rename from
16898         octave-completion-at-point-function.
16899         (inferior-octave-directory-tracker): Robustify.
16900         (octave-text-functions): Remove and fix its uses.  No such things
16901         any more.
16903 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16905         * emacs-lisp/trace.el (trace--display-buffer): New function.
16906         (trace-make-advice): Use it.
16908 2013-05-06  Juri Linkov  <juri@jurta.org>
16910         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
16911         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
16912         Doc fix.
16913         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
16914         in the help string.  (Bug#12985)
16916 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
16918         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
16920 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16922         * progmodes/perl-mode.el: Add support for here documents.
16923         (perl-syntax-propertize-function): Match here-doc markers.
16924         (perl-syntax-propertize-special-constructs): Find their end.
16925         (perl-imenu-generic-expression): Use [:alnum:].
16927         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
16928         (advice--add-function): Refresh the advice if already present
16929         (bug#14317).
16931 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
16933         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
16935 2013-05-06  Glenn Morris  <rgm@gnu.org>
16937         * w32-fns.el (w32-charset-info-alist): Declare.
16939         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
16940         of its defcustom properties.
16941         (eshell-cmpl-initialize): No need to load pcomplete.
16943         * generic-x.el: No need to require comint when compiling.
16945         * net/eudc-export.el: Make it loadable without bbdb.
16946         (top-level): Use require rather than load-library.
16947         (eudc-create-bbdb-record, eudc-bbdbify-phone)
16948         (eudc-batch-export-records-to-bbdb)
16949         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
16950         Require bbdb.
16952 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16954         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
16955         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
16956         some tweaks, instead.
16958 2013-05-05  Leo Liu  <sdl.web@gmail.com>
16960         * progmodes/octave.el (octave-font-lock-keywords)
16961         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
16962         (inferior-octave-send-list-and-digest): Improve error message.
16963         (octave-mode, inferior-octave-mode): Use setq-local.
16964         (octave-help): Set info-lookup-mode.
16966 2013-05-05  Richard Stallman  <rms@gnu.org>
16968         * vc/compare-w.el (compare-windows-whitespace):
16969         Treat no-break space as whitespace.
16971         * mail/rmailsum.el (rmail-summary-rmail-update):
16972         Detect empty summary and don't change selected message.
16973         (rmail-summary-goto-msg): Likewise.
16975         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
16976         Doc fixes, rename args.
16978 2013-05-05  Alan Mackenzie  <acm@muc.de>
16980         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
16982 2013-05-05  Juri Linkov  <juri@jurta.org>
16984         * info.el (Info-read-subfile): Use (point-min) instead of (point)
16985         to not add the length of the summary segment to the return value.
16986         (Bug#14125)
16988 2013-05-05  Leo Liu  <sdl.web@gmail.com>
16990         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
16991         (inferior-octave-output-filter): Remove.
16992         (octave-send-region, inferior-octave-startup): Fix callers.
16993         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
16994         (octave-binary-file-extensions): New user variable.
16995         (octave-find-definition): Confirm if opening binary files.
16996         (octave-help-file): Use octave-find-definition to get the binary
16997         confirmation.
16998         (octave-help): Adjust for octave-help-file change.
17000 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17002         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
17003         Merge the two entries that handle function definitions.
17004         (pascal--syntax-propertize): New const.
17005         (pascal-mode): Use it.  Use setq-local.
17007 2013-05-04  Glenn Morris  <rgm@gnu.org>
17009         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
17010         (diary-from-outlook): Respect diary-from-outlook-function.
17012 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17014         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
17015         Move the declaration from C.
17016         (read-minibuffer, eval-minibuffer): Move from C.
17017         (completion-setup-function): Avoid minibuffer-completion-contents.
17019 2013-05-03  Leo Liu  <sdl.web@gmail.com>
17021         * progmodes/octave.el (octave-font-lock-keywords): Do not
17022         dehighlight 'end' in comments or strings.
17023         (octave-completing-read, octave-goto-function-definition):
17024         New helpers.
17025         (octave-help-buffer): New user variable.
17026         (octave-help-file, octave-help-function): New button types.
17027         (octave-help): New command and bind it to C-h ;.
17028         (octave-find-definition): New command and bind it to M-.
17029         (user-error): Alias to error if not defined.
17031 2013-05-02  Leo Liu  <sdl.web@gmail.com>
17033         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
17034         for \.  (bug#14332)
17035         (octave-font-lock-keywords): Include [ and {.
17037 2013-05-02  Leo Liu  <sdl.web@gmail.com>
17039         * progmodes/octave.el (inferior-octave-startup-file): Change default.
17040         (inferior-octave): Remove calling comint-mode and return the buffer.
17041         (inferior-octave-startup): Cosmetic changes.
17043 2013-05-02  Leo Liu  <sdl.web@gmail.com>
17045         * progmodes/octave.el (octave-syntax-propertize-function):
17046         Include the case when ' is at line beginning.  (Bug#14336)
17048 2013-05-02  Glenn Morris  <rgm@gnu.org>
17050         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
17051         * desktop.el (vc-dir-mode): Just autoload it here.
17053 2013-05-02  Alan Mackenzie  <acm@muc.de>
17055         Eliminate variable c-standard-font-lock-fontify-region-function.
17056         * progmodes/cc-mode.el
17057         (c-standard-font-lock-fontify-region-function): Remove.
17058         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
17060 2013-05-01  Leo Liu  <sdl.web@gmail.com>
17062         * progmodes/octave.el: Compatible with older emacs-24 releases.
17063         (inferior-octave-has-built-in-variables): Remove.  Built-in
17064         variables were removed from Octave in 2007.
17065         (inferior-octave-startup): Fix uses.
17066         (comint-line-beginning-position): Remove compatibility code for
17067         emacs 21.
17069 2013-05-01  Juri Linkov  <juri@jurta.org>
17071         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
17073 2013-05-01  Juri Linkov  <juri@jurta.org>
17075         * comint.el (comint-previous-matching-input): Don't print message
17076         "History item: %d" when `isearch-mode' is active.
17077         (comint-history-isearch-message): Print message "History item: %d"
17078         when `comint-input-ring-index' is not empty and this function is
17079         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
17081 2013-05-01  Leo Liu  <sdl.web@gmail.com>
17083         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
17084         definitions.  Use completion-at-point to insert keywords.
17085         (octave-abbrev-start): Remove.
17086         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
17088 2013-04-30  Leo Liu  <sdl.web@gmail.com>
17090         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
17091         change.
17093 2013-04-30  Alan Mackenzie  <acm@muc.de>
17095         Handle arbitrarily long C++ member initialisation lists.
17096         * progmodes/cc-engine.el (c-back-over-member-initializers):
17097         new function.
17098         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
17099         (most) member init lists.
17101 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
17103         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
17104         variable.
17106 2013-04-30  Leo Liu  <sdl.web@gmail.com>
17108         * progmodes/octave.el (octave-variables): Remove.  No builtin
17109         variables any more.  All converted to functions.
17110         (octave-font-lock-keywords, octave-completion-at-point-function):
17111         Fix uses.
17112         (octave-font-lock-texinfo-comment): New user variable.
17113         (octave-texinfo-font-lock-keywords): New variable for texinfo
17114         comment block.
17115         (octave-function-comment-block): New face.
17116         (octave-font-lock-texinfo-comment): New function.
17117         (octave-mode): Font lock texinfo comment block.
17119 2013-04-29  Leo Liu  <sdl.web@gmail.com>
17121         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
17122         indexing expression.
17123         (octave-continuation-string): Do not use \.
17124         (inferior-octave-complete-impossible): Remove.
17125         (inferior-octave-completion-table)
17126         (inferior-octave-completion-at-point): Remove its uses.
17127         (inferior-octave-startup): completion_matches was introduced to
17128         Octave in 1996 so safe to assume it.
17129         (octave-function-file-comment): Improve to follow how Octave does it.
17130         (octave-update-function-file-comment): Tweak.
17132 2013-04-29  Leo Liu  <sdl.web@gmail.com>
17134         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
17135         (inferior-octave-startup): Remove inferior-octave-startup-hook.
17136         (octave-function-file-comment): Fix typo.
17137         (octave-sync-function-file-names): Use read-char-choice.
17139 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
17141         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
17142         to t for the less important warnings.
17144 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
17146         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
17148 2013-04-27  Glenn Morris  <rgm@gnu.org>
17150         * vc/log-view.el (log-view-current-entry):
17151         Treat "---" separator lines as part of the following rev.  (Bug#14169)
17153 2013-04-27  Juri Linkov  <juri@jurta.org>
17155         * subr.el (read-number): Doc fix about using it by interactive
17156         code letter `n'.  (Bug#14254)
17158 2013-04-27  Juri Linkov  <juri@jurta.org>
17160         * desktop.el (desktop-auto-save-timeout): New option.
17161         (desktop-file-checksum): New variable.
17162         (desktop-save): Add optional arg `auto-save' and don't auto-save
17163         if nothing changed.
17164         (desktop-auto-save-timer): New variable.
17165         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
17166         (after-init-hook): Call `desktop-auto-save-set-timer'.
17167         Suggested by Reuben Thomas <rrt@sc3d.org> in
17168         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
17170 2013-04-27  Leo Liu  <sdl.web@gmail.com>
17172         * progmodes/octave.el (octave-function-file-p)
17173         (octave-skip-comment-forward, octave-function-file-comment)
17174         (octave-update-function-file-comment): New functions.
17175         (octave-mode-map): Bind C-c ; to
17176         octave-update-function-file-comment.
17177         (octave-mode-menu): Add octave-update-function-file-comment.
17178         (octave-mode, inferior-octave-mode): Fix doc-string.
17179         (octave-insert-defun): Conform to Octave's coding convention.
17180         (Bug#14285)
17182         * files.el (basic-save-buffer): Don't let errors in
17183         before-save-hook prevent saving buffer.
17185 2013-04-20  Roland Winkler  <winkler@gnu.org>
17187         * faces.el (read-face-name): Use completing-read if arg multiple
17188         is nil.
17190 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
17192         * ls-lisp.el (ls-lisp-insert-directory): If no files are
17193         displayed, move point to after the totals line.
17194         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
17195         for the details.
17197 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17199         * emacs-lisp/package.el (package-autoload-ensure-default-file):
17200         Add current dir to the load-path.
17201         (package-generate-autoloads): Don't rely on
17202         autoload-ensure-default-file.
17204 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
17206         * textmodes/remember.el (remember-store-in-files): Document that
17207         the file name format is passed to `format-time-string'.
17209 2013-04-26  Leo Liu  <sdl.web@gmail.com>
17211         * progmodes/octave.el (octave-sync-function-file-names): New function.
17212         (octave-mode): Use it in before-save-hook.
17214 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17216         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
17217         (bug#14274).
17219         * progmodes/octave.el (octave-smie-forward-token): Properly skip
17220         \n and comment, even if it's not an implicit ; (bug#14218).
17222 2013-04-26  Glenn Morris  <rgm@gnu.org>
17224         * subr.el (read-number): Once more use `read' rather than
17225         `string-to-number', to trap non-numeric input.  (Bug#14254)
17227 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
17229         * emacs-lisp/syntax.el (syntax-propertize-multiline):
17230         Use `syntax-multiline' text property consistently instead of
17231         `font-lock-multiline'.  (Bug#14237)
17233 2013-04-26  Glenn Morris  <rgm@gnu.org>
17235         * emacs-lisp/shadow.el (list-load-path-shadows):
17236         No longer necessary to check for duplicate simple.el, since
17237         2012-07-07 change to init_lread to not include installation lisp
17238         directories in load-path when running uninstalled.  (Bug#14270)
17240 2013-04-26  Leo Liu  <sdl.web@gmail.com>
17242         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
17243         (octave-mode, inferior-octave-mode): Use setq-local.
17244         (octave-not-in-string-or-comment-p): Rename to
17245         octave-in-string-or-comment-p.
17246         (octave-in-comment-p, octave-in-string-p)
17247         (octave-in-string-or-comment-p): Replace defsubst with defun.
17249 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
17251         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
17253 2013-04-25  Bastien Guerry  <bzg@gnu.org>
17255         * textmodes/remember.el (remember-data-directory)
17256         (remember-directory-file-name-format): Fix custom types.
17258 2013-04-25  Leo Liu  <sdl.web@gmail.com>
17260         * progmodes/octave.el (octave-completion-at-point-function):
17261         Make use of inferior octave process.
17262         (octave-initialize-completions): Remove.
17263         (inferior-octave-completion-table): New function.
17264         (inferior-octave-completion-at-point): Use it.
17265         (octave-completion-alist): Remove.
17267 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17269         * progmodes/opascal.el: Use font-lock and syntax-propertize.
17270         (opascal-mode-syntax-table): New var.
17271         (opascal-literal-kind, opascal-is-literal-end)
17272         (opascal-literal-token-at): Rewrite.
17273         (opascal--literal-start-re, opascal-font-lock-keywords)
17274         (opascal--syntax-propertize): New constants.
17275         (opascal-font-lock-defaults): Adjust.
17276         (opascal-mode): Use them.  Set comment-<foo> variables as well.
17277         (delphi-comment-face, opascal-comment-face, delphi-string-face)
17278         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
17279         (delphi-other-face, opascal-other-face): Remove face variables.
17280         (opascal-save-state): Remove macro.
17281         (opascal-fontifying-progress-step): Remove constant.
17282         (opascal--ignore-changes): Remove var.
17283         (opascal-set-token-property, opascal-parse-next-literal)
17284         (opascal-is-stable-literal, opascal-complete-literal)
17285         (opascal-is-literal-start, opascal-face-of)
17286         (opascal-parse-region, opascal-parse-region-until-stable)
17287         (opascal-fontify-region, opascal-after-change)
17288         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
17289         (opascal-debug-parse-region, opascal-debug-parse-window)
17290         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
17291         (opascal-debug-fontify-buffer): Remove.
17292         (opascal-debug-mode-map): Adjust accordingly.
17294 2013-04-25  Leo Liu  <sdl.web@gmail.com>
17296         Merge octave-mod.el and octave-inf.el into octave.el with some
17297         cleanups.
17298         * progmodes/octave.el: New file renamed from octave-mod.el.
17299         * progmodes/octave-inf.el: Merged into octave.el.
17300         * progmodes/octave-mod.el: Renamed to octave.el.
17302 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
17304         * textmodes/reftex-vars.el
17305         (reftex-label-ignored-macros-and-environments): New defcustom.
17307         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
17309 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17311         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
17312         (smie-indent-keyword): Improve the check to ensure that the next
17313         comment is really on the same line.
17314         (smie-indent-comment): Don't align with a subsequent closer (or eob).
17316         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
17317         semi-colons if the line is not otherwise empty (bug#14218).
17319 2013-04-25  Glenn Morris  <rgm@gnu.org>
17321         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
17323 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17325         * progmodes/opascal.el (opascal-set-token-property): Rename from
17326         opascal-set-text-properties and only set `token' (bug#14134).
17327         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
17328         (opascal-literal-text-properties): Remove.
17329         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
17330         Adjust callers.
17332 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
17334         * textmodes/remember.el (remember-handler-functions): Add an
17335         option for a new handler `remember-store-in-files'.
17336         (remember-data-directory, remember-directory-file-name-format):
17337         New options.
17338         (remember-store-in-files): New function to store remember notes
17339         as separate files within a directory.
17341 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
17343         * progmodes/compile.el (compilation-next-error-function):
17344         Pass "formats" to compilation-find-file (bug#11777).
17346 2013-04-24  Glenn Morris  <rgm@gnu.org>
17348         * vc/vc-bzr.el (vc-bzr-print-log):
17349         * vc/vc-hg.el (vc-hg-print-log):
17350         * vc/vc-svn.el (vc-svn-print-log):
17351         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
17353         * vc/vc-bzr.el (vc-bzr-print-log):
17354         * vc/vc-cvs.el (vc-cvs-print-log):
17355         * vc/vc-git.el (vc-git-print-log):
17356         * vc/vc-hg.el (vc-hg-print-log):
17357         * vc/vc-mtn.el (vc-mtn-print-log):
17358         * vc/vc-rcs.el (vc-rcs-print-log):
17359         * vc/vc-sccs.el (vc-sccs-print-log):
17360         * vc/vc-svn.el (vc-svn-print-log):
17361         * vc/vc.el (vc-print-log-internal): Doc fixes.
17363 2013-04-23  Glenn Morris  <rgm@gnu.org>
17365         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
17366         Remove venerable code attempting to avoid substitute-command-keys.
17368 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
17370         * textmodes/reftex-vars.el (reftex-label-regexps):
17371         Call `reftex-compile-variables' after changes to this variable.
17373 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17375         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
17376         Use lexical-binding.
17377         (jit-lock-force-redisplay): Use markers, check buffer's continued
17378         existence and beware narrowed buffers.
17379         (jit-lock-fontify-now): Adjust call accordingly.
17381 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17383         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
17384         to avoid misleading the user.
17386 2013-04-22  Leo Liu  <sdl.web@gmail.com>
17388         * info-look.el: Prefer latex2e.info.  (Bug#14240)
17390 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
17392         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
17394         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
17395         * net/tramp.el (tramp-call-process): ... here.
17396         (tramp-set-completion-function, tramp-parse-putty):
17397         * net/tramp-adb.el (tramp-adb-execute-adb-command):
17398         * net/tramp-gvfs.el (tramp-gvfs-send-command):
17399         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17400         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
17401         (tramp-call-local-coding-command): Use `tramp-call-process'
17402         instead of `tramp-compat-call-process'.
17404         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
17405         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
17406         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
17407         (tramp-find-inline-compress): Improve traces.
17408         (tramp-maybe-send-script): Check for Perl binary.
17409         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
17411 2013-04-22  Daiki Ueno  <ueno@gnu.org>
17413         * epg.el (epg-context-pinentry-mode): New function.
17414         (epg-context-set-pinentry-mode): New function.
17415         (epg--start): Pass --pinentry-mode option to gpg command.
17417 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
17419         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
17420         `comint-dynamic-complete' is obsolete since 24.1, replaced by
17421         `completion-at-point'.  (Bug#13774)
17423         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
17424         default key binding for `describe-distribution' has been moved to
17425         `C-h C-o'.  (Bug#13970)
17427 2013-04-21  Glenn Morris  <rgm@gnu.org>
17429         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
17430         Add doc strings.
17431         (vc-print-log): Clarify interactive prompt.
17433 2013-04-20  Glenn Morris  <rgm@gnu.org>
17435         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17436         No longer include timestamp etc information.
17438 2013-04-20  Roland Winkler  <winkler@gnu.org>
17440         * faces.el (read-face-name): Bug fix, return just one face if arg
17441         multiple is nil.  (Bug#14209)
17443 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17445         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
17446         (remove-function): Autoload.
17448         * comint.el (comint-redirect-original-filter-function): Remove.
17449         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
17450         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
17451         (vc-cvs-annotate-command):
17452         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
17453         * progmodes/prolog.el (prolog-consult-compile):
17454         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
17455         Use add/remove-function instead.
17456         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
17457         (gud-tooltip-process-output, gud-tooltip-tips):
17458         Use add/remove-function instead.
17459         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
17460         (scheme-interaction-mode, exit-scheme-interaction-mode):
17461         Use add/remove-function instead.
17463         * vc/vc-dispatcher.el: Use lexical-binding.
17464         (vc--process-sentinel): Rename from vc-process-sentinel.
17465         Change last arg to be the code to run.  Don't use vc-previous-sentinel
17466         and vc-sentinel-commands any more.
17467         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
17468         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
17470 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
17472         * progmodes/sh-script.el (sh-imenu-generic-expression):
17473         Handle function names with a single character.  (Bug#14111)
17475 2013-04-19  Dima Kogan  <dima@secretsauce.net>  (tiny change)
17477         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
17478         for subroutines defined in an eval (bug#14182).
17480 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17482         * bookmark.el (bookmark-completing-read): Improve handling of empty
17483         string (bug#14176).
17485 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17487         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
17489 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17491         New faster Imenu implementation (bug#14058).
17492         * progmodes/python.el (python-imenu-prev-index-position)
17493         (python-imenu-format-item-label-function)
17494         (python-imenu-format-parent-item-label-function)
17495         (python-imenu-format-parent-item-jump-label-function):
17496         New vars.
17497         (python-imenu-format-item-label)
17498         (python-imenu-format-parent-item-label)
17499         (python-imenu-format-parent-item-jump-label)
17500         (python-imenu--put-parent, python-imenu--build-tree)
17501         (python-imenu-create-index, python-imenu-create-flat-index)
17502         (python-util-popn): New functions.
17503         (python-mode): Set imenu-create-index-function to
17504         python-imenu-create-index.
17506 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17508         * winner.el (winner-active-region): Use region-active-p, activate-mark
17509         and deactivate-mark (bug#14225).
17511         * simple.el (deactivate-mark): Don't inline it.
17513 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
17515         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
17517 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
17519         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
17520         file extensions from the archive-mode entry in order to prefer
17521         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
17523 2013-04-18  Leo Liu  <sdl.web@gmail.com>
17525         * bindings.el (help-event-list): Add ?\?.
17527 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17529         * subr.el (with-wrapper-hook): Declare obsolete.
17530         * simple.el (filter-buffer-substring-function): New hook.
17531         (filter-buffer-substring): Use it.
17532         (filter-buffer-substring-functions): Mark obsolete.
17533         * minibuffer.el (completion-in-region-function): New hook.
17534         (completion-in-region): Use it.
17535         (completion-in-region-functions): Mark obsolete.
17536         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
17537         * abbrev.el (abbrev-expand-function): New hook.
17538         (expand-abbrev): Use it.
17539         (abbrev-expand-functions): Mark obsolete.
17540         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
17541         and :filter-return.
17543 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17545         * progmodes/python.el (python-nav--syntactically): Fix cornercases
17546         and do not care about match data.
17548 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17550         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
17551         completion tables when completing error conditions and
17552         `declare' arguments.
17553         (lisp-complete-symbol, field-complete): Mark as obsolete.
17554         (check-parens): Unmatched parens are user errors.
17555         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
17557 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
17559         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
17560         command changed buffer (ie. `flyspell-pre-buffer' is not current
17561         buffer), which prevents making decisions based on invalid value of
17562         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
17563         cause an error when `flyspell-pre-point' was nil after switching
17564         buffers.
17565         (flyspell-post-command-hook): No longer needs to change buffers when
17566         checking pre-word.  While at it remove unnecessary progn.
17568 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
17570         * textmodes/ispell.el (ispell-add-per-file-word-list):
17571         Fix `flyspell-correct-word-before-point' error when accepting
17572         words and `coment-padding' is an integer by using
17573         `comment-normalize-vars' (Bug #14214).
17575 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17577         New defun movement commands.
17578         * progmodes/python.el (python-nav--syntactically)
17579         (python-nav--forward-defun, python-nav-backward-defun)
17580         (python-nav-forward-defun): New functions.
17582 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
17584         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
17585         (python-syntax-context): Use named compiler-macro for backwards
17586         compatibility with Emacs 24.x.
17588 2013-04-17  Leo Liu  <sdl.web@gmail.com>
17590         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
17591         octave-hide-process-buffer.
17593 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17595         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
17596         (bug#14216).
17598 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
17600         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
17601         Fix adjustment of offset when receiving incomplete responses from GDB
17602         (bug#14129).
17604 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17606         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
17607         python-mode-abbrev-table.
17608         (python-skeleton-define): Adjust accordingly.
17609         (python-mode-abbrev-table): New table that inherits from it so that
17610         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
17612         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
17613         (abbrev-symbol): Use it.
17614         (abbrev--before-point): Use it since we already handle inheritance.
17616 2013-04-16  Leo Liu  <sdl.web@gmail.com>
17618         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
17619         binding to info-lookup-symbol.
17621 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
17623         * minibuffer.el (completion--twq-all):
17624         * term/ns-win.el (ns-initialize-window-system):
17625         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
17627 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17629         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
17630         global bindings.
17632         * doc-view.el (doc-view-start-process): Handle url-handler directories.
17634 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
17636         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
17637         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
17638         to nil.
17639         (ruby-end-of-defun): Remove the unused arg, change the docstring
17640         to reflect that this function is only used as the value of
17641         `end-of-defun-function'.
17642         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
17643         to reflect an earlier change that beginning/end-of-defun functions
17644         jump between methods in a class definition, as well as top-level
17645         functions.
17647 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17649         * minibuffer.el (minibuffer-complete): Don't just scroll
17650         a *Completions* that's been iconified.
17651         (minibuffer-force-complete): Make sure repetitions do cycle when going
17652         through completion-in-region -> minibuffer-complete.
17654 2013-04-15  Alan Mackenzie  <acm@muc.de>
17656         Correct the placement of c-cpp-delimiters when there're #s not at
17657         col 0.
17659         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
17660         place a submatch around the #.
17661         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
17662         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
17663         on the #, not BOL.
17665 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17667         * emacs-lisp/nadvice.el: Properly test names when adding advice.
17668         (advice--member-p): New arg `name'.
17669         (advice--add-function, advice-member-p): Use it (bug#14202).
17671 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
17673         Reformulate java imenu-generic-expression.
17674         The old expression contained ill formed regexps.
17676         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
17677         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
17678         (cc-imenu-java-method-arg-regexp): New defconsts.
17679         (cc-imenu-java-build-type-args-regex): New defun.
17680         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
17681         handling of spaces in the regexp.
17683 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
17685         * textmodes/ispell.el (ispell-command-loop): Remove
17686         flyspell highlight of a word when ispell accepts it (bug #14178).
17688 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
17690         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
17691         uses code from the previous `ange-ftp-run-real-handler'.
17692         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
17693         only in case that function exist.  This is needed for proper
17694         unloading of Tramp.
17696 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
17698         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
17700         * textmodes/reftex.el (reftex-compile-variables): Use it.
17702 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17704         * files.el (normal-mode): Only use default major-mode if no other mode
17705         was specified.
17707         * emacs-lisp/trace.el (trace-values): New function.
17709         * files.el: Allow : in local variables (bug#14089).
17710         (hack-local-variable-regexp): New var.
17711         (hack-local-variables-prop-line, hack-local-variables): Use it.
17713 2013-04-13  Roland Winkler  <winkler@gnu.org>
17715         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
17716         data before it gets modified by bibtex-beginning-of-entry.
17718 2013-04-13  Roland Winkler  <winkler@gnu.org>
17720         * textmodes/bibtex.el (bibtex-url): Doc fix.
17722 2013-04-13  Roland Winkler  <winkler@gnu.org>
17724         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
17725         does not visit a BibTeX file, exclude it from the list of buffers
17726         returned by bibtex-initialize.
17728 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
17730         * window.el (split-window): Remove interactive form, since as a
17731         command this function is a special case of split-window-below.
17732         Correct doc string.
17734 2013-04-12  Roland Winkler  <winkler@gnu.org>
17736         * faces.el (read-face-name): Do not override value of arg default.
17737         Allow single faces and strings as default values.  Remove those
17738         elements from return value that are not faces.
17739         (describe-face): Simplify.
17740         (face-at-point): New optional args thing and multiple so that this
17741         function can provide the same functionality previously provided by
17742         read-face-name.
17743         (make-face-bold, make-face-unbold, make-face-italic)
17744         (make-face-unitalic, make-face-bold-italic, invert-face)
17745         (modify-face, read-face-and-attribute): Use face-at-point.
17747         * cus-edit.el (customize-face, customize-face-other-window)
17748         * cus-theme.el (custom-theme-add-face)
17749         * face-remap.el (buffer-face-set)
17750         * facemenu.el (facemenu-set-face): Use face-at-point.
17752 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
17754         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
17756 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
17758         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
17759         off leading { and trailing } from field values.
17761 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17763         * emacs-lisp/timer.el (timer--check): New function.
17764         (timer--time, timer-set-function, timer-event-handler): Use it.
17765         (timer-set-idle-time): Simplify.
17766         (timer--activate): CSE.
17767         (timer-event-handler): Give more info in error message.
17768         (internal-timer-start-idle): New function, moved from C.
17770         * mpc.el (mpc-proc): Add `restart' argument.
17771         (mpc-proc-cmd): Use it.
17772         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
17773         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
17774         less often.
17776 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
17778         * progmodes/sh-script.el: Implement `sh-mode' own
17779         `add-log-current-defun-function' (bug#14112).
17780         (sh-current-defun-name): New function.
17781         (sh-mode): Use the function.
17783 2013-04-09  Bastien Guerry  <bzg@gnu.org>
17785         * simple.el (choose-completion-string): Fix docstring (bug#14163).
17787 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17789         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
17791         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
17792         timer (bug#14156).
17794 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
17796         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
17797         declaration.
17799 2013-04-07  Leo Liu  <sdl.web@gmail.com>
17801         * pcmpl-x.el: New file.
17803 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
17805         Do not set x-display-name until X connection is established.
17806         This is needed to prevent from weird situation described at
17807         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
17808         * frame.el (make-frame): Set x-display-name after call to
17809         window system initialization function, not before.
17810         * term/x-win.el (x-initialize-window-system): Add optional
17811         display argument and use it.
17812         * term/w32-win.el (w32-initialize-window-system):
17813         * term/ns-win.el (ns-initialize-window-system):
17814         * term/pc-win.el (msdos-initialize-window-system):
17815         Add compatible optional display argument.
17817 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
17819         * files.el (normal-backup-enable-predicate): On MS-Windows and
17820         MS-DOS compare truenames of temporary-file-directory and of the
17821         file, so that 8+3 aliases (usually found in $TEMP on Windows)
17822         don't fail comparison by compare-strings.  Also, compare file
17823         names case-insensitively on MS-Windows and MS-DOS.
17825 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17827         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
17828         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
17830 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
17832         * whitespace.el (whitespace-color-on, whitespace-color-off):
17833         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
17835 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
17837         * ispell.el (ispell-set-spellchecker-params):
17838         Really set `ispell-args' for all equivs.
17840 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17842         * ido.el (ido-completions): Use extra elements of ido-decorations
17843         (bug#14143).
17844         (ido-decorations): Update docstring.
17846 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
17848         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17849         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
17850         nil during initialization, in order not to miss changes since the
17851         file was opened.  (Bug#14140)
17853 2013-04-05  Leo Liu  <sdl.web@gmail.com>
17855         * kmacro.el (kmacro-call-macro): Fix bug#14135.
17857 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
17859         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
17861 2013-04-04  Glenn Morris  <rgm@gnu.org>
17863         * electric.el (electric-pair-inhibit-predicate): Add :version.
17865 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17867         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
17868         when a package is required several times (bug#14082).
17870 2013-04-04  Roland Winkler  <winkler@gnu.org>
17872         * faces.el (read-face-name): Behave as promised by the docstring.
17873         Assume that arg default is a list of faces.
17874         (describe-face): Call read-face-name with list of default faces.
17876 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17878         * bookmark.el: Fix deletion of bookmarks (bug#13972).
17879         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
17880         (bookmark-bmenu-execute-deletions): Only skip first line if it's
17881         the header.
17882         (bookmark-exit-hook-internal): Save even if list is empty.
17884 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
17886         * emacs-lisp/package.el (package-pinned-packages): New var.
17887         (package--add-to-archive-contents): Obey it (bug#14118).
17889 2013-04-03  Alan Mackenzie  <acm@muc.de>
17891         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
17892         Also adapt to the new values of element 7 of a parse state.
17894         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
17895         parameter `not-in-delimiter'.  Handle being inside comment opener.
17896         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
17897         character in case we're typing a '*' after a '/'.
17898         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
17899         instead by passing the parameter to c-state-pp-to-literal.
17901         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
17902         for elt. 7 of a parse state.
17904 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
17906         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
17907         * international/latin1-disp.el, international/mule-util.el:
17908         * language/cyril-util.el, language/european.el, language/ind-util.el:
17909         * language/lao-util.el, language/thai.el, language/tibet-util.el:
17910         * language/tibetan.el, language/viet-util.el:
17911         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
17913 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17915         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
17916         (electric-pair-post-self-insert-function): Use it.
17917         (electric-pair-default-inhibit): New function, extracted from
17918         electric-pair-post-self-insert-function.
17920 2013-03-31  Roland Winkler  <winkler@gnu.org>
17922         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
17924 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17926         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
17928 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
17930         Un-indent after "pass" and "return" statements (Bug#13888)
17931         * progmodes/python.el (python-indent-block-enders): New var.
17932         (python-indent-calculate-indentation): Use it.
17934 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
17936         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
17937         defun.  Defining it as defalias could introduce too eager
17938         byte-compiler optimization.  (Bug#14030)
17940 2013-03-30  Chong Yidong  <cyd@gnu.org>
17942         * iswitchb.el (iswitchb-read-buffer): Fix typo.
17944 2013-03-30  Leo Liu  <sdl.web@gmail.com>
17946         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
17947         (kmacro-execute-from-register): Pass the keyboard macro to
17948         kmacro-call-macro or repeating won't work correctly.
17950 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
17952         * progmodes/subword.el: Back to using `forward-symbol'.
17954         * subr.el (forward-whitespace, forward-symbol)
17955         (forward-same-syntax): Move from thingatpt.el.
17957 2013-03-29  Leo Liu  <sdl.web@gmail.com>
17959         * kmacro.el (kmacro-to-register): New command.
17960         (kmacro-execute-from-register): New function.
17961         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
17963 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17965         * mpc.el: Use defvar-local and setq-local.
17966         (mpc--proc-connect): Connection failures are not bugs.
17967         (mpc-mode-map): `follow-link' only applies to the buffer's content.
17968         (mpc-volume-map): Bind to the up-events.
17970 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
17972         * progmodes/subword.el (superword-mode): Use `forward-sexp'
17973         instead of `forward-symbol'.
17975 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17977         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
17978         (edebug--recursive-edit): Use it.
17979         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
17980         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
17982 2013-03-28  Leo Liu  <sdl.web@gmail.com>
17984         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
17986 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
17988         * facemenu.el (list-colors-callback): New defvar.
17989         (list-colors-redisplay): New function.
17990         (list-colors-display): Install list-colors-redisplay as the
17991         revert-buffer-function.  (Bug#14063)
17993 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17995         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
17996         and suffixes don't overlap (bug#14061).
17998         * case-table.el: Use lexical-binding.
17999         (case-table-get-table): New function.
18000         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
18002 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
18004         * progmodes/subword.el: Add `superword-mode' to do word motion
18005         over symbol_words (parallels and leverages `subword-mode' which
18006         does word motion inside MixedCaseWords).
18008 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
18010         * eshell/em-unix.el: Move su and sudo to...
18011         * eshell/em-tramp.el: ...Eshell tramp module.
18013 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18015         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
18016         Change return value to be a sexp.  Delay `get-buffer' to after
18017         restoring the desktop (bug#13951).
18019 2013-03-26  Leo Liu  <sdl.web@gmail.com>
18021         * register.el: Move semantic tag handling back to
18022         cedet/semantic/senator.el.  (Bug#14052)
18024 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18026         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
18027         into the prompt either (bug#13963).
18029 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18031         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
18032         part of "(error-foo)".
18034 2013-03-24  Juri Linkov  <juri@jurta.org>
18036         * replace.el (list-matching-lines-prefix-face): New defcustom.
18037         (occur-1): Pass `list-matching-lines-prefix-face' to the function
18038         `occur-engine' if `face-differs-from-default-p' returns t.
18039         (occur-engine): Add `,' inside backquote construct to evaluate
18040         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
18041         Pass `prefix-face' to the functions `occur-context-lines' and
18042         `occur-engine-add-prefix'.
18043         (occur-engine-add-prefix, occur-context-lines): Add optional arg
18044         `prefix-face' and propertize the prefix with `prefix-face'.
18045         (Bug#14017)
18047 2013-03-24  Leo Liu  <sdl.web@gmail.com>
18049         * nxml/rng-valid.el (rng-validate-while-idle)
18050         (rng-validate-quick-while-idle): Guard against deleted buffer.
18051         (Bug#13999)
18053         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
18054         is the last entry in kill-buffer-hook.
18056         * files.el (kill-buffer-hook): Doc fix.
18058 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
18060         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
18061         Make it safe-local.
18063         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
18065 2013-03-23  Leo Liu  <sdl.web@gmail.com>
18067         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
18068         Remove.
18070         * nxml/rng-valid.el (rng-validate-mode)
18071         (rng-after-change-function, rng-do-some-validation):
18072         * nxml/rng-maint.el (rng-validate-buffer):
18073         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
18074         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
18075         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
18076         (nxml-extend-after-change-region): Use with-silent-modifications.
18078         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
18079         timer-idle-list.
18081         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
18082         (rng-next-error-1, rng-previous-error-1): Do not let-bind
18083         timer-idle-list.  (Bug#13999)
18085 2013-03-23  Juri Linkov  <juri@jurta.org>
18087         * info.el (info-index-match): New face.
18088         (Info-index, Info-apropos-matches): Add a nested subgroup to the
18089         main pattern and add text properties with the new face to matches
18090         in index entries relative to the beginning of the index entry.
18091         (Bug#14015)
18093 2013-03-21  Eric Ludlam  <zappo@gnu.org>
18095         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
18096         Inhibit read only while inserting objects.
18098 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
18100         * progmodes/cfengine.el: Update docs to mention
18101         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
18102         symbol motion.  Remove "_" from the word syntax.
18104 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
18106         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
18107         syntax for both `cfengine2-mode' and `cfengine3-mode'.
18109 2013-03-20  Juri Linkov  <juri@jurta.org>
18111         * info.el (Info-next-reference-or-link)
18112         (Info-prev-reference-or-link): New functions.
18113         (Info-next-reference, Info-prev-reference): Use them.
18114         (Info-try-follow-nearest-node): Handle footnote navigation.
18115         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
18117 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18119         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
18120         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
18122 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
18124         Suppress unnecessary non-ASCII chatter during build process.
18125         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
18126         (batch-skkdic-convert): Suppress most of the chatter.
18127         It's not needed so much now that machines are faster,
18128         and its non-ASCII component was confusing; see Dmitry Gutov in
18129         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
18131 2013-03-20  Leo Liu  <sdl.web@gmail.com>
18133         * ido.el (ido-chop): Fix bug#10994.
18135 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
18137         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
18138         Remove vars.
18139         (whitespace-color-on, whitespace-color-off):
18140         Use `font-lock-fontify-buffer' (Bug#13817).
18142 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18144         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
18145         remapping in mode-line.
18146         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
18148 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
18150         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
18151         value for `whitespace-line' face (Bug#13875).
18152         (whitespace-font-lock-keywords): Change description.
18153         (whitespace-color-on): Don't save `font-lock-keywords' value, save
18154         the constructed keywords instead.
18155         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
18157 2013-03-19  Leo Liu  <sdl.web@gmail.com>
18159         * progmodes/compile.el (compilation-display-error): New command.
18160         (compilation-mode-map, compilation-minor-mode-map): Bind it to
18161         C-o.  (Bug#13992)
18163 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
18165         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
18167 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
18169         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
18171 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
18173         * net/tramp-compat.el (tramp-compat-user-error): New defun.
18175         * net/tramp-adb.el (tramp-adb-handle-shell-command):
18176         * net/tramp-gvfs.el (top):
18177         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
18178         (tramp-handle-shell-command): Use it.
18179         (tramp-dissect-file-name): Raise an error when hostname is a
18180         method name, and neither method nor user is specified.
18182         * net/trampver.el: Update release number.
18184 2013-03-18  Leo Liu  <sdl.web@gmail.com>
18186         Make sure eldoc can be turned off properly.
18187         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
18188         eldoc-mode.
18189         (eldoc-display-message-p): Revert last change.
18190         (eldoc-display-message-no-interference-p)
18191         (eldoc-print-current-symbol-info): Tweak.
18193 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
18195         * doc-view.el (doc-view-new-window-function): Check the new window
18196         overlay's display property instead the char property of the
18197         buffer's first char.  Use `with-selected-window' instead of
18198         `save-window-excursion' with `select-window'.
18199         (doc-view-document->bitmap): Check the current doc-view overlay's
18200         display property instead the char property of the buffer's first char.
18202 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
18204         Automate the build of ja-dic.el (Bug#13984).
18205         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
18206         from the input, rather than assume that it's been done for us by the
18207         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
18208         the current date into a ja-dic.el comment, as that complicates
18209         regression testing.
18211 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18213         * whitespace.el: Fix double evaluation.
18214         (whitespace-space, whitespace-hspace, whitespace-tab)
18215         (whitespace-newline, whitespace-trailing, whitespace-line)
18216         (whitespace-space-before-tab, whitespace-indentation)
18217         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
18218         obsolete defvars.
18219         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
18220         (whitespace-color-on): Use a single font-lock-add-keywords call.
18221         Fix double-evaluation of face variables.
18223 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
18225         * net/tramp-adb.el (tramp-adb-parse-device-names):
18226         Use `start-process' instead of `call-process'.  Otherwise, the
18227         function might be blocked under MS Windows.  (Bug#13299)
18229 2013-03-17  Leo Liu  <sdl.web@gmail.com>
18231         Extend eldoc to display info in the mode-line.  (Bug#13978)
18232         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
18233         (eldoc-mode-line-string): New variable.
18234         (eldoc-minibuffer-message): New function.
18235         (eldoc-message-function): New variable.
18236         (eldoc-message): Use it.
18237         (eldoc-display-message-p)
18238         (eldoc-display-message-no-interference-p):
18239         Support eldoc-post-insert-mode.
18241         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
18242         (eval-expression): Run it.
18244 2013-03-17  Roland Winkler  <winkler@gnu.org>
18246         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
18247         strings in the list of return values.
18249 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
18251         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
18252         radix before checking for HMS forms.
18254 2013-03-16  Leo Liu  <sdl.web@gmail.com>
18256         * progmodes/scheme.el: Add indentation and font-locking for λ.
18257         (Bug#13975)
18259 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18261         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
18262         token before point (bug#13942).
18264 2013-03-16  Leo Liu  <sdl.web@gmail.com>
18266         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
18268 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
18270         * startup.el (command-line-normalize-file-name): Fix handling of
18271         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
18272         <xfq.free@gmail.com> in
18273         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
18275 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
18277         Sync with Tramp 2.2.7.
18279         * net/trampver.el: Update release number.
18281 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
18283         * doc-view.el: Fix bug#13887.
18284         (doc-view-insert-image): Don't modify overlay associated to
18285         non-live windows, and implement horizontal centering of image in
18286         case it's smaller than the window.
18287         (doc-view-new-window-function): Force redisplay of new windows on
18288         doc-view buffers.
18290 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
18292         * saveplace.el (save-place-alist-to-file): Don't sort
18293         `save-place-alist', just pretty-print it (bug#13882).
18295 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
18297         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
18298         Check whether `default-file-name-coding-system' is bound.
18299         It isn't in XEmacs.
18301 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18303         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
18304         backquotes for `obsolete' (bug#13929).
18306         * international/mule.el (find-auto-coding): Include file name in
18307         obsolescence warning (bug#13922).
18309 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
18311         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
18312         for CFEngine 3-specific indentation.
18313         (cfengine3-indent-line): Use it.  Fix up category regex.
18314         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
18316 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18318         * type-break.el (type-break-file-name):
18319         * textmodes/remember.el (remember-data-file):
18320         * strokes.el (strokes-file):
18321         * shadowfile.el (shadow-initialize):
18322         * saveplace.el (save-place-file):
18323         * ps-bdf.el (bdf-cache-file):
18324         * progmodes/idlwave.el (idlwave-config-directory):
18325         * net/quickurl.el (quickurl-url-file):
18326         * international/kkc.el (kkc-init-file-name):
18327         * ido.el (ido-save-directory-list-file):
18328         * emulation/viper.el (viper-custom-file-name):
18329         * emulation/vip.el (vip-startup-file):
18330         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
18331         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
18333 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
18335         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
18336         * language/thai-word.el: Switch to UTF-8.
18338 See ChangeLog.16 for earlier changes.
18340 ;; Local Variables:
18341 ;; coding: utf-8
18342 ;; End:
18344   Copyright (C) 2011-2014 Free Software Foundation, Inc.
18346   This file is part of GNU Emacs.
18348   GNU Emacs is free software: you can redistribute it and/or modify
18349   it under the terms of the GNU General Public License as published by
18350   the Free Software Foundation, either version 3 of the License, or
18351   (at your option) any later version.
18353   GNU Emacs is distributed in the hope that it will be useful,
18354   but WITHOUT ANY WARRANTY; without even the implied warranty of
18355   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18356   GNU General Public License for more details.
18358   You should have received a copy of the GNU General Public License
18359   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.